From 697fdf200fbdd9e7b788e6d41efe124847df10b8 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Thu, 5 May 2022 17:52:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E8=AE=A1=E5=88=92=E6=8E=92=E4=BA=A7?= =?UTF-8?q?=20=20=E6=97=A5=E8=AE=A1=E5=88=92=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../production/controller/PalletController.java | 16 ++++++++++++++++ .../production/service/PalletService.java | 11 +++++++++++ .../service/impl/PalletServiceImpl.java | 6 ++++++ 3 files changed, 33 insertions(+) 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; + } }