diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java index 29fd3b44..4311eb88 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillController.java @@ -157,8 +157,8 @@ public class AbnormalBillController { * @return */ @GetMapping("/init") - public R init(String messageType){ - return R.ok(abnormalBillService.init(messageType)); + public R init(String messageType,String type){ + return R.ok(abnormalBillService.init(messageType,type)); } // @GetMapping("/findAllUserByUserGroup") diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillService.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillService.java index a80c2d26..93fe07d4 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillService.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillService.java @@ -55,7 +55,7 @@ public interface AbnormalBillService extends IService { /** * 初始化 */ - HashMap init(String messageType); + HashMap init(String messageType,String type); /** * 待办事项 * @param abnormalBillDto diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java index 75a9ca69..125e4ef8 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java @@ -185,7 +185,7 @@ public class AbnormalBillServiceImpl extends ServiceImpl init(String messageType) { + public HashMap init(String messageType,String type) { HashMap hashMap = new HashMap<>(); String site = CommonMethods.getSite(); //消息类型 @@ -224,6 +224,18 @@ public class AbnormalBillServiceImpl extends ServiceImpl