diff --git a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnforcementRegistrationController.java b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnforcementRegistrationController.java index 9516e4b6..d802020d 100644 --- a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnforcementRegistrationController.java +++ b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnforcementRegistrationController.java @@ -64,6 +64,17 @@ public class AppEnforcementRegistrationController extends BaseController List list = enforcementRegistrationService.selectEnforcementRegistrationList(enforcementRegistration); return getDataTable(list); } + /** + * 查询执法端-执法登记列表 + */ + @GetMapping("/selectList") + @ResponseBody + public ZDResponse selectList(EnforcementRegistration enforcementRegistration) + { + List list = enforcementRegistrationService.selectEnforcementRegistrationList(enforcementRegistration); + return ZDResponse.success("获取执法登录信息",list); + } + /** * 查询执法端-执法登记列表 @@ -355,7 +366,7 @@ public class AppEnforcementRegistrationController extends BaseController /** * 获取预警信息 */ - @RequiresPermissions("code:registration:list") +// @RequiresPermissions("code:registration:list") @GetMapping("/queryEarlyWarning") @ResponseBody public ZDResponse queryEarlyWarning(EnforcementRegistration enforcementRegistration) diff --git a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java index 44d90380..d881385f 100644 --- a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java +++ b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java @@ -193,12 +193,13 @@ public class AppEnterpriseLawEnforcementController extends BaseController enterpriseLawEnforcement.setUniteCheck(IdUtil.simpleUUID()); // 先单独处理主单 enterpriseLawEnforcement.setTmpDeptJson(JSON.toJSONString(enterpriseLawEnforcement.getUserObjs())); + String tmpId = enterpriseLawEnforcement.getId(); if (StringUtils.isNotEmpty(enterpriseLawEnforcement.getId())) { resNum += enterpriseLawEnforcementService.updateEnterpriseLawEnforcement(enterpriseLawEnforcement); enterpriseLawEnforcement.setId(null); //查询数据变更之前的原始数据 EnterpriseLawEnforcement enterpriseLawEnforcement1 = - enterpriseLawEnforcementService.selectEnterpriseLawEnforcementById(enterpriseLawEnforcement.getId()); + enterpriseLawEnforcementService.selectEnterpriseLawEnforcementById(tmpId); //短信通知,限制为执法时间变更 if(!enterpriseLawEnforcement1.getCheckTime().equals(enterpriseLawEnforcement.getCheckItem())){ // 新增默认下发短信 diff --git a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppLawEnforcementWarningListController.java b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppLawEnforcementWarningListController.java index 1917240e..21426023 100644 --- a/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppLawEnforcementWarningListController.java +++ b/lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppLawEnforcementWarningListController.java @@ -62,6 +62,14 @@ public class AppLawEnforcementWarningListController extends BaseController List list = lawEnforcementWarningListService.selectLawEnforcementWarningListList(lawEnforcementWarningList); return getDataTable(list); } + @GetMapping("/queryListByEnterpriseNumber") + @ResponseBody + public ZDResponse queryListByEnterpriseNumber(LawEnforcementWarningList lawEnforcementWarningList) + { + List list = lawEnforcementWarningListService.selectLawEnforcementWarningByEnterpriseNumber(lawEnforcementWarningList); + return ZDResponse.success("获取当前企业本月预警信息",list); + } + /** * 新增执法预警列表 diff --git a/lib/EmergencyService/zdxtEmergencyAuthService/src/main/java/com/zdxt/auth/feign/UserApiImpl.java b/lib/EmergencyService/zdxtEmergencyAuthService/src/main/java/com/zdxt/auth/feign/UserApiImpl.java index 44de77b7..4ddc316c 100644 --- a/lib/EmergencyService/zdxtEmergencyAuthService/src/main/java/com/zdxt/auth/feign/UserApiImpl.java +++ b/lib/EmergencyService/zdxtEmergencyAuthService/src/main/java/com/zdxt/auth/feign/UserApiImpl.java @@ -353,7 +353,7 @@ public class UserApiImpl implements UserApi { @Override public String checkClientLoginNameUnique(String loginName, Integer userSource) { - return iUserService.checkLoginNameUnique(loginName); + return iUserService.checkClientLoginNameUnique(loginName,userSource); } @Override diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnforcementInspectionProgram.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnforcementInspectionProgram.java index 01b306af..92b1ad7b 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnforcementInspectionProgram.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnforcementInspectionProgram.java @@ -85,6 +85,19 @@ public class EnforcementInspectionProgram extends BaseDomain * 日期快捷查询 1 本月 2 本季度 3 本年 4 本周 */ private Integer dateType; + /** + * 日期类型, 1 年度 2 季度 3 月度 + */ + private String timeType; + + /** + * 月度 + */ + private String mouth; + /** + * 季度 + */ + private String quarter; /** * 文件对象 @@ -266,6 +279,30 @@ public class EnforcementInspectionProgram extends BaseDomain this.searchType = searchType; } + public String getTimeType() { + return timeType; + } + + public void setTimeType(String timeType) { + this.timeType = timeType; + } + + public String getMouth() { + return mouth; + } + + public void setMouth(String mouth) { + this.mouth = mouth; + } + + public String getQuarter() { + return quarter; + } + + public void setQuarter(String quarter) { + this.quarter = quarter; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseComplaint.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseComplaint.java index 9953b410..7a8df644 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseComplaint.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseComplaint.java @@ -71,6 +71,11 @@ public class EnterpriseComplaint extends BaseDomain */ private String complaintDepartmentIds; + /** + * 投诉类型 1 联合执法投诉 + */ + private Integer complaintType; + public String getEnforcementTime() { return enforcementTime; } @@ -333,6 +338,13 @@ public class EnterpriseComplaint extends BaseDomain this.complaintDepartmentIds = complaintDepartmentIds; } + public Integer getComplaintType() { + return complaintType; + } + + public void setComplaintType(Integer complaintType) { + this.complaintType = complaintType; + } @Override public String toString() { diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/LawEnforcementWarningList.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/LawEnforcementWarningList.java index 5eda8aad..e8c5c584 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/LawEnforcementWarningList.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/LawEnforcementWarningList.java @@ -66,6 +66,10 @@ public class LawEnforcementWarningList extends BaseDomain * 结束时间 */ private String endTime; + /** + * 是否展示 + */ + private Boolean show = false; public void setId(String id) @@ -184,6 +188,14 @@ public class LawEnforcementWarningList extends BaseDomain this.endTime = endTime; } + public Boolean getShow() { + return show; + } + + public void setShow(Boolean show) { + this.show = show; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/LawEnforcementWarningListMapper.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/LawEnforcementWarningListMapper.java index 6fa11e20..3938f7b2 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/LawEnforcementWarningListMapper.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/mapper/LawEnforcementWarningListMapper.java @@ -17,7 +17,7 @@ public interface LawEnforcementWarningListMapper * @param id 执法预警列表ID * @return 执法预警列表 */ - public LawEnforcementWarningList selectLawEnforcementWarningListById(String id); + LawEnforcementWarningList selectLawEnforcementWarningListById(String id); /** * 查询执法预警列表列表 @@ -25,7 +25,14 @@ public interface LawEnforcementWarningListMapper * @param lawEnforcementWarningList 执法预警列表 * @return 执法预警列表集合 */ - public List selectLawEnforcementWarningListList(LawEnforcementWarningList lawEnforcementWarningList); + List selectLawEnforcementWarningListList(LawEnforcementWarningList lawEnforcementWarningList); + + /** + * 查询企业预警信息 + * @param lawEnforcementWarningList + * @return + */ + List selectLawEnforcementWarningByEnterpriseNumber(LawEnforcementWarningList lawEnforcementWarningList); /** * 新增执法预警列表 @@ -33,7 +40,7 @@ public interface LawEnforcementWarningListMapper * @param lawEnforcementWarningList 执法预警列表 * @return 结果 */ - public int insertLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); + int insertLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); /** * 修改执法预警列表 @@ -41,7 +48,7 @@ public interface LawEnforcementWarningListMapper * @param lawEnforcementWarningList 执法预警列表 * @return 结果 */ - public int updateLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); + int updateLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); /** * 删除执法预警列表 @@ -49,7 +56,7 @@ public interface LawEnforcementWarningListMapper * @param id 执法预警列表ID * @return 结果 */ - public int deleteLawEnforcementWarningListById(String id); + int deleteLawEnforcementWarningListById(String id); /** * 批量删除执法预警列表 @@ -57,5 +64,5 @@ public interface LawEnforcementWarningListMapper * @param ids 需要删除的数据ID * @return 结果 */ - public int deleteLawEnforcementWarningListByIds(String[] ids); + int deleteLawEnforcementWarningListByIds(String[] ids); } diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/ILawEnforcementWarningListService.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/ILawEnforcementWarningListService.java index 0f177f33..6b9d70fd 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/ILawEnforcementWarningListService.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/ILawEnforcementWarningListService.java @@ -17,7 +17,7 @@ public interface ILawEnforcementWarningListService * @param id 执法预警列表ID * @return 执法预警列表 */ - public LawEnforcementWarningList selectLawEnforcementWarningListById(String id); + LawEnforcementWarningList selectLawEnforcementWarningListById(String id); /** * 查询执法预警列表列表 @@ -25,7 +25,14 @@ public interface ILawEnforcementWarningListService * @param lawEnforcementWarningList 执法预警列表 * @return 执法预警列表集合 */ - public List selectLawEnforcementWarningListList(LawEnforcementWarningList lawEnforcementWarningList); + List selectLawEnforcementWarningListList(LawEnforcementWarningList lawEnforcementWarningList); + + /** + * 查询企业预警信息 + * @param lawEnforcementWarningList + * @return + */ + List selectLawEnforcementWarningByEnterpriseNumber(LawEnforcementWarningList lawEnforcementWarningList); /** * 新增执法预警列表 @@ -33,7 +40,7 @@ public interface ILawEnforcementWarningListService * @param lawEnforcementWarningList 执法预警列表 * @return 结果 */ - public int insertLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); + int insertLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); /** * 修改执法预警列表 @@ -41,7 +48,7 @@ public interface ILawEnforcementWarningListService * @param lawEnforcementWarningList 执法预警列表 * @return 结果 */ - public int updateLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); + int updateLawEnforcementWarningList(LawEnforcementWarningList lawEnforcementWarningList); /** * 批量删除执法预警列表 @@ -49,7 +56,7 @@ public interface ILawEnforcementWarningListService * @param ids 需要删除的数据ID * @return 结果 */ - public int deleteLawEnforcementWarningListByIds(String ids); + int deleteLawEnforcementWarningListByIds(String ids); /** * 删除执法预警列表信息 @@ -57,5 +64,5 @@ public interface ILawEnforcementWarningListService * @param id 执法预警列表ID * @return 结果 */ - public int deleteLawEnforcementWarningListById(String id); + int deleteLawEnforcementWarningListById(String id); } diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java index 698cd3d2..110c881d 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnforcementRegistrationServiceImpl.java @@ -264,6 +264,10 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat RuleList ruleList = new RuleList(); ruleList.setStatus(0); List ruleLists = ruleListService.selectRuleListList(ruleList); + //企业预警 + List qyWarnList = new ArrayList<>(); + //执法预警 + List zfWarnList = new ArrayList<>(); for (RuleList list : ruleLists) { // 先获取规则 RuleItemList ruleItem = new RuleItemList(); @@ -273,70 +277,77 @@ public class EnforcementRegistrationServiceImpl implements IEnforcementRegistrat // 根据规则作为条件查询符合要求的数据 List regList = new ArrayList<>(); for (RuleItemList rule : ruleItemLists) { - List tmpList = new ArrayList<>(); + if(list.getRuleCode().equals("zf_warn")){ String time = getTime(rule.getCycleTime().intValue()); String[] timeArr = time.split(","); - tmpList = enforcementRegistrationMapper.countMentByTimeLawNew(timeArr[0],timeArr[1]); - tmpList.forEach(res ->{ + List enforceRegCounts = enforcementRegistrationMapper.countMentByTimeLawNew(timeArr[0], timeArr[1]); + enforceRegCounts.forEach(res ->{ res.setBeginTime(timeArr[0]); res.setEndTime(timeArr[1]); }); + zfWarnList.addAll(enforceRegCounts); }else if (list.getRuleCode().equals("qy_warn")){ String time = getTime(rule.getCycleTime().intValue()); String[] timeArr = time.split(","); - tmpList = enforcementRegistrationMapper.countMentByTimeQyNew(timeArr[0],timeArr[1]); - tmpList.forEach(res ->{ - res.setBeginTime(timeArr[0]); - res.setEndTime(timeArr[1]); - }); - }else { - tmpList = enforcementRegistrationMapper.countMentByTime2(rule.getCycleTime(), searchValue); + List qyWarnList1 = enforcementRegistrationMapper.countMentByTimeQyNew(timeArr[0], timeArr[1]); + if(qyWarnList1.size() > 0){ + qyWarnList1.forEach(res ->{ + res.setBeginTime(timeArr[0]); + res.setEndTime(timeArr[1]); + }); + qyWarnList.addAll(qyWarnList1); + } } - regList.addAll(tmpList); } - // 对数据进行组合 - Map maxItems = regList.stream() - .collect(Collectors.groupingBy( - EnforceRegCount::getLawEnforcementId, - Collectors.collectingAndThen( - Collectors.maxBy(Comparator.comparingInt(EnforceRegCount::getNum)), - Optional::get))); - Date nowDate = DateUtils.getNowDate(); -// List lawEnforcementWarningLists = new ArrayList<>(); - - Iterator> iterator = maxItems.entrySet().iterator(); - while (iterator.hasNext()) { - EnforceRegCount reg = iterator.next().getValue(); - // 判断预警级别 - for (RuleItemList rule : ruleItemLists) { -// if (reg.getNum() >= rule.getExistAlarm() && reg.getNum() <= rule.getExistAlarmEnd()) { - if (reg.getNum() >= rule.getExistAlarm()) { - reg.setLevel(rule.getAlarmType()); -// LawEnforcementWarningList lawEnforcementWarningList = new LawEnforcementWarningList(); -// lawEnforcementWarningList.setId(IdUtil.simpleUUID()); -// //获取执法次数 -// lawEnforcementWarningList.setEnforcementNumber(reg.getNum()); -// //企业名称 -// lawEnforcementWarningList.setEnterpriseName(reg.getLawEnforcement()); -// //企业统一信用代码 -// lawEnforcementWarningList.setEnterpriseNumber(reg.getEnterpriseNumber()); -// //预警原因 -// lawEnforcementWarningList.setWarningCause(""+ reg.getNum() +""); -// //预警时间 -// lawEnforcementWarningList.setWarningTime(nowDate); -// //创建时间 -// lawEnforcementWarningList.setCreateTime(nowDate); - if(list.getRuleCode().equals("zf_warn")){ - reg.setWarnType(0); - }else if (list.getRuleCode().equals("qy_warn")){ - reg.setWarnType(1); + if(zfWarnList.size() > 0){ + //企业需分别 对数据进行组合 + Map zfMaxItems = zfWarnList.stream() + .collect(Collectors.groupingBy( + EnforceRegCount::getEnterpriseNumber, + Collectors.collectingAndThen( + Collectors.maxBy(Comparator.comparingInt(EnforceRegCount::getNum)), + Optional::get))); + + Iterator> iterator = zfMaxItems.entrySet().iterator(); + while (iterator.hasNext()) { + EnforceRegCount reg = iterator.next().getValue(); + // 判断预警级别 + for (RuleItemList rule : ruleItemLists) { + if (reg.getNum() >= rule.getExistAlarm()) { + reg.setLevel(rule.getAlarmType()); + if(list.getRuleCode().equals("zf_warn")){ + reg.setWarnType(0); + results.add(reg); + } + break; + } + } + } + } + if(qyWarnList.size() > 0){ + //企业需分别 对数据进行组合 + Map qyMaxItems = qyWarnList.stream() + .collect(Collectors.groupingBy( + EnforceRegCount::getEnterpriseNumber, + Collectors.collectingAndThen( + Collectors.maxBy(Comparator.comparingInt(EnforceRegCount::getNum)), + Optional::get))); + + Iterator> qyIterator = qyMaxItems.entrySet().iterator(); + while (qyIterator.hasNext()) { + EnforceRegCount reg = qyIterator.next().getValue(); + // 判断预警级别 + for (RuleItemList rule : ruleItemLists) { + if (reg.getNum() >= rule.getExistAlarm()) { + reg.setLevel(rule.getAlarmType()); + if(list.getRuleCode().equals("qy_warn")){ + reg.setWarnType(1); + results.add(reg); + } + break; } - //存储告警信息 -// lawEnforcementWarningLists.add(lawEnforcementWarningList); - results.add(reg); - break; } } } diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/LawEnforcementWarningListServiceImpl.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/LawEnforcementWarningListServiceImpl.java index 8380b69f..36c07e7c 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/LawEnforcementWarningListServiceImpl.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/LawEnforcementWarningListServiceImpl.java @@ -46,6 +46,12 @@ public class LawEnforcementWarningListServiceImpl implements ILawEnforcementWarn return lawEnforcementWarningListMapper.selectLawEnforcementWarningListList(lawEnforcementWarningList); } + @Override + public List selectLawEnforcementWarningByEnterpriseNumber(LawEnforcementWarningList lawEnforcementWarningList) { + + return lawEnforcementWarningListMapper.selectLawEnforcementWarningByEnterpriseNumber(lawEnforcementWarningList); + } + /** * 新增执法预警列表 * diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementInspectionProgramMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementInspectionProgramMapper.xml index 56310750..f2865ae0 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementInspectionProgramMapper.xml +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnforcementInspectionProgramMapper.xml @@ -20,13 +20,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + - select id, plan_year, plan_name, enforcement_department, + select + id, plan_year, plan_name, enforcement_department, enforcement_department_id, enforcement_time, enforcement_area, create_time, create_by, user_id, dept_id, is_delete,is_publish, - bureau_dept_id,bureau_dept_name from enforcement_inspection_program + bureau_dept_id,bureau_dept_name,time_type,mouth,quarter + from enforcement_inspection_program diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseComplaintMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseComplaintMapper.xml index 89535ece..5efe7a08 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseComplaintMapper.xml +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseComplaintMapper.xml @@ -23,13 +23,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + select id, rel_id, enforce_type, problem_description, enterprise_address, linkman, linkman_tel, com_or_opi, authorization, create_time, pro_wo_code,enterprise_number, enterprise_name,status,evaluate_time,complaint_departments,complaint_department_ids, - enforcement_time + enforcement_time,complaint_type from enterprise_complaint @@ -76,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" complaint_departments, complaint_department_ids, enforcement_time, + complaint_type, #{id}, @@ -94,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{complaintDepartments}, #{complaintDepartmentIds}, #{enforcementTime}, + #{complaintType}, diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml index 3c22f4e7..06dc1bd2 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseLawEnforcementMapper.xml @@ -296,6 +296,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" tmp_dept_json = #{tmpDeptJson}, bureau_dept_name = #{bureauDeptName}, bureau_dept_id = #{bureauDeptId}, + check_time_order = #{checkTimeOrder}, where id = #{id} diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/LawEnforcementWarningListMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/LawEnforcementWarningListMapper.xml index 57148477..c7682cbc 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/LawEnforcementWarningListMapper.xml +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/LawEnforcementWarningListMapper.xml @@ -27,7 +27,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" +