From cec49f06df75b3f4aa05e5a78f61a3344b75e885 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com>
Date: Fri, 23 Jul 2021 15:41:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=97=A5=E5=BF=97=E8=A1=A8?=
=?UTF-8?q?=E7=9A=84=E6=9B=B4=E6=94=B9=EF=BC=8C=E5=8A=A0=E5=BC=82=E5=B8=B8?=
=?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../controller/AbnormalBillController.java | 3 +
.../controller/AbnormalBillLogController.java | 6 +-
.../anomaly/mapper/AbnormalBillLogMapper.java | 3 +-
.../mesnac/anomaly/model/AbnormalBillLog.java | 34 ++++++++-
.../service/AbnormalBillLogService.java | 3 +-
.../impl/AbnormalBillLogServiceImpl.java | 74 ++++++++++---------
.../service/impl/AbnormalBillServiceImpl.java | 9 ++-
.../mapper/AbnormalBillLogMapper.xml | 69 +++++++++++++----
.../resources/mapper/AbnormalBillMapper.xml | 6 +-
9 files changed, 145 insertions(+), 62 deletions(-)
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 8064d0a8..e90edfc3 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
@@ -9,6 +9,7 @@ import com.foreverwin.mesnac.anomaly.service.AbnormalBillService;
import com.foreverwin.mesnac.anomaly.service.FileUploadedService;
import com.foreverwin.mesnac.common.dto.SfcDispatchDto;
import com.foreverwin.mesnac.common.service.SfcDispatchCommonService;
+import com.foreverwin.modular.core.util.CommonMethods;
import com.foreverwin.modular.core.util.FrontPage;
import com.foreverwin.modular.core.util.R;
import org.springframework.beans.factory.annotation.Autowired;
@@ -75,6 +76,8 @@ public class AbnormalBillController {
public R page(FrontPage frontPage, AbnormalBill abnormalBill){
IPage result;
QueryWrapper queryWrapper = new QueryWrapper<>();
+ String site = CommonMethods.getSite();
+ abnormalBill.setSite(site);
queryWrapper.setEntity(abnormalBill);
if (frontPage.getGlobalQuery() != null && !"".equals(frontPage.getGlobalQuery().trim())) {
//TODO modify global query
diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillLogController.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillLogController.java
index 95a440dc..368d81ad 100644
--- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillLogController.java
+++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/controller/AbnormalBillLogController.java
@@ -16,7 +16,7 @@ import java.util.List;
/**
*
* @author 赵嘉伟
- * @since 2021-07-16
+ * @since 2021-07-23
*/
@RestController
@RequestMapping("/Z-ABNORMAL-BILL-LOG")
@@ -113,6 +113,8 @@ public class AbnormalBillLogController {
.or().like(AbnormalBillLog::getClosedUser, frontPage.getGlobalQuery())
.or().like(AbnormalBillLog::getAbnormalReason, frontPage.getGlobalQuery())
.or().like(AbnormalBillLog::getBeforeMeasure, frontPage.getGlobalQuery())
+ .or().like(AbnormalBillLog::getReportSendUserGroup, frontPage.getGlobalQuery())
+ .or().like(AbnormalBillLog::getCancelSendUserGroup, frontPage.getGlobalQuery())
.or().like(AbnormalBillLog::getCreatedUser, frontPage.getGlobalQuery())
.or().like(AbnormalBillLog::getModifiedUser, frontPage.getGlobalQuery())
);
@@ -163,6 +165,7 @@ public class AbnormalBillLogController {
return R.ok(abnormalBillLogService.removeByIds(ids));
}
+
@GetMapping("saveAndUpdate")
public R saveAndUpdate(AbnormalBill abnormalBill,
AbnormalBillDispose abnormalBillDispose,
@@ -172,4 +175,5 @@ public class AbnormalBillLogController {
abnormalBillLogService.saveAndUpdate(abnormalBill,abnormalBillDispose,ncGroupAndNcCodes,dutyCauseType,dutyType);
return R.ok();
}
+
}
\ No newline at end of file
diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/mapper/AbnormalBillLogMapper.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/mapper/AbnormalBillLogMapper.java
index 71b2dcc7..4d898f53 100644
--- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/mapper/AbnormalBillLogMapper.java
+++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/mapper/AbnormalBillLogMapper.java
@@ -12,11 +12,10 @@ import org.springframework.stereotype.Repository;
*
*
* @author 赵嘉伟
- * @since 2021-07-16
+ * @since 2021-07-23
*/
@Repository
public interface AbnormalBillLogMapper extends BaseMapper {
AbnormalBillLog findAllByAbnormalNo(@Param("abnormalBill") AbnormalBill abnormalBill);
-
}
\ No newline at end of file
diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/model/AbnormalBillLog.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/model/AbnormalBillLog.java
index e413b17f..8e503406 100644
--- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/model/AbnormalBillLog.java
+++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/model/AbnormalBillLog.java
@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
*
*
* @author 赵嘉伟
- * @since 2021-07-16
+ * @since 2021-07-23
*/
@TableName("Z_ABNORMAL_BILL_LOG")
@@ -284,6 +284,16 @@ public class AbnormalBillLog extends Model {
*/
@TableField("BEFORE_MEASURE")
private String beforeMeasure;
+ /**
+ * 提报发送用户组
+ */
+ @TableField("REPORT_SEND_USER_GROUP")
+ private String reportSendUserGroup;
+ /**
+ * 取消发送用户组
+ */
+ @TableField("CANCEL_SEND_USER_GROUP")
+ private String cancelSendUserGroup;
/**
* 创建人
*/
@@ -722,6 +732,22 @@ public class AbnormalBillLog extends Model {
this.beforeMeasure = beforeMeasure;
}
+ public String getReportSendUserGroup() {
+ return reportSendUserGroup;
+ }
+
+ public void setReportSendUserGroup(String reportSendUserGroup) {
+ this.reportSendUserGroup = reportSendUserGroup;
+ }
+
+ public String getCancelSendUserGroup() {
+ return cancelSendUserGroup;
+ }
+
+ public void setCancelSendUserGroup(String cancelSendUserGroup) {
+ this.cancelSendUserGroup = cancelSendUserGroup;
+ }
+
public String getCreatedUser() {
return createdUser;
}
@@ -858,6 +884,10 @@ public static final String ABNORMAL_REASON = "ABNORMAL_REASON";
public static final String BEFORE_MEASURE = "BEFORE_MEASURE";
+public static final String REPORT_SEND_USER_GROUP = "REPORT_SEND_USER_GROUP";
+
+public static final String CANCEL_SEND_USER_GROUP = "CANCEL_SEND_USER_GROUP";
+
public static final String CREATED_USER = "CREATED_USER";
public static final String CREATED_DATA_TIME = "CREATED_DATA_TIME";
@@ -927,6 +957,8 @@ public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";
", closedDateTime = " + closedDateTime +
", abnormalReason = " + abnormalReason +
", beforeMeasure = " + beforeMeasure +
+ ", reportSendUserGroup = " + reportSendUserGroup +
+ ", cancelSendUserGroup = " + cancelSendUserGroup +
", createdUser = " + createdUser +
", createdDataTime = " + createdDataTime +
", modifiedUser = " + modifiedUser +
diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillLogService.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillLogService.java
index 50878b58..9bdf6cdf 100644
--- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillLogService.java
+++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/AbnormalBillLogService.java
@@ -16,7 +16,7 @@ import java.util.List;
*
*
* @author 赵嘉伟
- * @since 2021-07-16
+ * @since 2021-07-23
*/
public interface AbnormalBillLogService extends IService {
@@ -35,5 +35,4 @@ public interface AbnormalBillLogService extends IService {
@RequestParam List dutyCauseType,
@RequestParam List dutyType);
-
}
\ No newline at end of file
diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java
index c778dd40..aa3b9edb 100644
--- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java
+++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillLogServiceImpl.java
@@ -38,7 +38,7 @@ import java.util.List;
*
*
* @author 赵嘉伟
- * @since 2021-07-16
+ * @since 2021-07-23
*/
@Service
@Transactional(rollbackFor = Exception.class)
@@ -90,6 +90,36 @@ public class AbnormalBillLogServiceImpl extends ServiceImpl routers = routerService.selectList(router);
+ if(routers == null || routers.size() == 0){
+ throw BusinessException.build("该返修工艺不存在");
+ }
+ }
+ //判断返修工单是否正确
+ if(!StringUtil.isBlank(abnormalBillDispose.getResolveShopOrder())){
+ ShopOrder shopOrder = shopOrderMapper.selectById(HandleEnum.SHOP_ORDER.getHandle(site, abnormalBillDispose.getResolveShopOrder()));
+ if(shopOrder == null){
+ throw BusinessException.build("该返修工单不存在");
+ }
+ }
+ //发送用户
+ String[] split = abnormalBillDispose.getResolveSendUser().split(",");
+ List strings = Arrays.asList(split);
+ int length = nwaUserMapper.checkUser(site, strings);
+ if(length != strings.size()){
+ throw BusinessException.build("发送用户填报错误");
+ }
+
+
if(abnormalBillLogMapper.selectById(abnormalBillLog.getHandle()) == null){
//根据abnormalNo找到不合格代码组
StringBuilder ncGroup = new StringBuilder();
@@ -107,14 +137,14 @@ public class AbnormalBillLogServiceImpl extends ServiceImpl ncGroups =new ArrayList<>();
if(!StringUtil.isBlank(ncGroup.toString().toString())){
ncGroup = new StringBuilder(ncGroup.substring(0, ncGroup.length() - 1));
- List strings = Arrays.asList(ncGroup.toString().split(","));
- ncGroups.add(strings.get(0));
- for (int i = 1; i < strings.size(); i++) {
+ List ncGroupList = Arrays.asList(ncGroup.toString().split(","));
+ ncGroups.add(ncGroupList.get(0));
+ for (int i = 1; i < ncGroupList.size(); i++) {
for(int j = 0; j < ncGroups.size(); j++){
- if(j == (ncGroups.size() - 1) && !ncGroups.get(j).equals(strings.get(i))){
- ncGroups.add(strings.get(i));
+ if(j == (ncGroups.size() - 1) && !ncGroups.get(j).equals(ncGroupList.get(i))){
+ ncGroups.add(ncGroupList.get(i));
}
- if(ncGroups.get(j).equals(strings.get(i))){
+ if(ncGroups.get(j).equals(ncGroupList.get(i))){
break;
}
}
@@ -135,34 +165,7 @@ public class AbnormalBillLogServiceImpl extends ServiceImpl routers = routerService.selectList(router);
- if(routers == null || routers.size() == 0){
- throw BusinessException.build("该返修工艺不存在");
- }
- }
- //判断返修工单是否正确
- if(!StringUtil.isBlank(abnormalBillDispose.getResolveShopOrder())){
- ShopOrder shopOrder = shopOrderMapper.selectById(HandleEnum.SHOP_ORDER.getHandle(site, abnormalBillDispose.getResolveShopOrder()));
- if(shopOrder == null){
- throw BusinessException.build("该返修工单不存在");
- }
- }
- //发送用户
- String[] split = abnormalBillDispose.getResolveSendUser().split(",");
- List strings = Arrays.asList(split);
- int length = nwaUserMapper.checkUser(site, strings);
- if(length != strings.size()){
- throw BusinessException.build("发送用户填报错误");
- }
+
@@ -172,4 +175,5 @@ public class AbnormalBillLogServiceImpl extends ServiceImpl
+
+
@@ -64,7 +66,7 @@
- HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, NC_CODE_GROUP, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, DUTY_USER, DUTY_DATE_TIME, DUTY_DEPART, PRINCIPAL_USER, DUTY_CAUSE_DESCRIPTION, DUTY_CAUSE_TYPE, DUTY_TYPE, DUTY_SEND_USER_GROUP, RESOLVE_USER, RESOLVE_DATE_TIME, ABNORMAL_METHOD, ROUTER_BO, RESOLVE_SHOP_ORDER, RESOLVE_REMARK, RESOLVE_SEND_USER, CLOSED_USER, CLOSED_DATE_TIME, ABNORMAL_REASON, BEFORE_MEASURE, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
+ HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, OPERATION, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, NC_CODE_GROUP, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTOR, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, DUTY_USER, DUTY_DATE_TIME, DUTY_DEPART, PRINCIPAL_USER, DUTY_CAUSE_DESCRIPTION, DUTY_CAUSE_TYPE, DUTY_TYPE, DUTY_SEND_USER_GROUP, RESOLVE_USER, RESOLVE_DATE_TIME, ABNORMAL_METHOD, ROUTER_BO, RESOLVE_SHOP_ORDER, RESOLVE_REMARK, RESOLVE_SEND_USER, CLOSED_USER, CLOSED_DATE_TIME, ABNORMAL_REASON, BEFORE_MEASURE, REPORT_SEND_USER_GROUP, CANCEL_SEND_USER_GROUP, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
@@ -150,6 +152,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -216,6 +220,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -290,6 +296,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -364,6 +372,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -438,6 +448,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -512,6 +524,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -586,6 +600,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -656,6 +672,8 @@
CLOSED_DATE_TIME,
ABNORMAL_REASON,
BEFORE_MEASURE,
+ REPORT_SEND_USER_GROUP,
+ CANCEL_SEND_USER_GROUP,
CREATED_USER,
CREATED_DATA_TIME,
MODIFIED_USER,
@@ -714,6 +732,8 @@
#{closedDateTime},
#{abnormalReason},
#{beforeMeasure},
+ #{reportSendUserGroup},
+ #{cancelSendUserGroup},
#{createdUser},
#{createdDataTime},
#{modifiedUser},
@@ -779,6 +799,8 @@
#{closedDateTime},
#{abnormalReason},
#{beforeMeasure},
+ #{reportSendUserGroup},
+ #{cancelSendUserGroup},
#{createdUser},
#{createdDataTime},
#{modifiedUser},
@@ -840,6 +862,8 @@
CLOSED_DATE_TIME=#{et.closedDateTime},
ABNORMAL_REASON=#{et.abnormalReason},
BEFORE_MEASURE=#{et.beforeMeasure},
+ REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
+ CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
CREATED_USER=#{et.createdUser},
CREATED_DATA_TIME=#{et.createdDataTime},
MODIFIED_USER=#{et.modifiedUser},
@@ -901,6 +925,8 @@
CLOSED_DATE_TIME=#{et.closedDateTime},
ABNORMAL_REASON=#{et.abnormalReason},
BEFORE_MEASURE=#{et.beforeMeasure},
+ REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
+ CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
CREATED_USER=#{et.createdUser},
CREATED_DATA_TIME=#{et.createdDataTime},
MODIFIED_USER=#{et.modifiedUser},
@@ -962,6 +988,8 @@
CLOSED_DATE_TIME=#{et.closedDateTime},
ABNORMAL_REASON=#{et.abnormalReason},
BEFORE_MEASURE=#{et.beforeMeasure},
+ REPORT_SEND_USER_GROUP=#{et.reportSendUserGroup},
+ CANCEL_SEND_USER_GROUP=#{et.cancelSendUserGroup},
CREATED_USER=#{et.createdUser},
CREATED_DATA_TIME=#{et.createdDataTime},
MODIFIED_USER=#{et.modifiedUser},
@@ -1022,6 +1050,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -1113,6 +1143,8 @@
AND CLOSED_DATE_TIME=#{ew.entity.closedDateTime}
AND ABNORMAL_REASON=#{ew.entity.abnormalReason}
AND BEFORE_MEASURE=#{ew.entity.beforeMeasure}
+ AND REPORT_SEND_USER_GROUP=#{ew.entity.reportSendUserGroup}
+ AND CANCEL_SEND_USER_GROUP=#{ew.entity.cancelSendUserGroup}
AND CREATED_USER=#{ew.entity.createdUser}
AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}
AND MODIFIED_USER=#{ew.entity.modifiedUser}
@@ -1134,22 +1166,25 @@
)
+
+
+
+
diff --git a/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml b/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml
index 44a68d0e..57024160 100644
--- a/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml
+++ b/anomaly/src/main/resources/mapper/AbnormalBillMapper.xml
@@ -238,7 +238,7 @@
AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
- ${ew.sqlSegment}
+ ${ew.sqlSegment}
@@ -406,12 +406,12 @@
AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}
- ${ew.sqlSegment}
+ AND ${ew.sqlSegment}
- ${ew.sqlSegment}
+ AND ${ew.sqlSegment}