diff --git a/src/main/java/com/letian/modules/production/controller/PalletController.java b/src/main/java/com/letian/modules/production/controller/PalletController.java index dba84de..4c237b0 100644 --- a/src/main/java/com/letian/modules/production/controller/PalletController.java +++ b/src/main/java/com/letian/modules/production/controller/PalletController.java @@ -400,4 +400,20 @@ public class PalletController { } return responseData; } + + /** + * @Description getScheduleSerialNo + * @Title getScheduleSerialNo + * @param + * @author rq + * @date 2021/8/13 14:08 + * @return double + * @throw + */ + @PostMapping("/getScheduleSerialNo") + public R getScheduleSerialNo(@RequestBody ScheduleSerialNoListData inData){ + List list =palletService.getScheduleSerialNo(inData); + return R.ok().put("rows", list).put("total",list.size()); + } + } diff --git a/src/main/java/com/letian/modules/production/service/PalletService.java b/src/main/java/com/letian/modules/production/service/PalletService.java index cc4a1e3..8812f14 100644 --- a/src/main/java/com/letian/modules/production/service/PalletService.java +++ b/src/main/java/com/letian/modules/production/service/PalletService.java @@ -224,4 +224,15 @@ public interface PalletService { * @date 2021/3/1 */ void printSerialNo(List inList, HttpSession session , HttpServletRequest request) throws ParseException; + + /** + * @Description TODO + * @Title getScheduleSerialNo + * @param inData + * @author rq + * @date 2022/5/5 17:25 + * @return List + * @throw + */ + List getScheduleSerialNo(ScheduleSerialNoListData inData); } diff --git a/src/main/java/com/letian/modules/production/service/impl/PalletServiceImpl.java b/src/main/java/com/letian/modules/production/service/impl/PalletServiceImpl.java index 5b1243e..bb7f4ae 100644 --- a/src/main/java/com/letian/modules/production/service/impl/PalletServiceImpl.java +++ b/src/main/java/com/letian/modules/production/service/impl/PalletServiceImpl.java @@ -684,4 +684,10 @@ public class PalletServiceImpl implements PalletService { } } + + @Override + public List getScheduleSerialNo(ScheduleSerialNoListData inData){ + List serialList=palletMapper.getSerialList(inData); + return serialList; + } }