增加重点企业、双随机一公开企业计划任务

This commit is contained in:
chenlinlin 2025-04-30 17:59:17 +08:00
parent 1ad11c12e6
commit 1d03f8e222
3 changed files with 4 additions and 3 deletions

View File

@ -70,7 +70,7 @@ public class AutoEnforcementPlan extends BaseModel {
@Comment("企业ID列表") @Comment("企业ID列表")
private String enterpriseIds; private String enterpriseIds;
/** /**
* 计划类型1重点检查企业清单2双重双随机一公开清单 * 计划类型1重点检查企业2双重双随机一公开
*/ */
@Column(length = 1) @Column(length = 1)
@Comment("计划类型1重点检查企业清单2双重双随机一公开清单") @Comment("计划类型1重点检查企业清单2双重双随机一公开清单")

View File

@ -68,6 +68,7 @@ public class EnforcementInfoDto {
private String fillingFlag;//立案 private String fillingFlag;//立案
private String planId;//任务id(自动执法计划派发) private String planId;//任务id(自动执法计划派发)
private String planType; //任务类型(自动执法计划派发)1重点检查企业清单2双重双随机一公开清单 private String planType; //任务类型(自动执法计划派发)1重点检查企业清单2双重双随机一公开清单
} }

View File

@ -157,9 +157,9 @@ public class EnforcementInfoService {
enforceCheck.setCheckType("3"); enforceCheck.setCheckType("3");
} else if ("4".equals(enforcementInfo.getDataFrom())) { } else if ("4".equals(enforcementInfo.getDataFrom())) {
enforceCheck.setPlanId(enforcementInfoDto.getPlanId()); enforceCheck.setPlanId(enforcementInfoDto.getPlanId());
if ("1".equals(enforcementInfoDto.getPlanType())) { // 1重点检查企业清单 if ("1".equals(enforcementInfoDto.getPlanType())) { // 重点检查企业清单
enforceCheck.setCheckType("7"); enforceCheck.setCheckType("7");
} else if ("2".equals(enforcementInfoDto.getPlanType())) { // 2双重双随机一公开清单 } else if ("2".equals(enforcementInfoDto.getPlanType())) { // 双重双随机一公开清单
enforceCheck.setCheckType("8"); enforceCheck.setCheckType("8");
} }
} else { } else {