增加重点企业、双随机一公开企业计划任务
This commit is contained in:
parent
1ad11c12e6
commit
1d03f8e222
|
|
@ -70,7 +70,7 @@ public class AutoEnforcementPlan extends BaseModel {
|
|||
@Comment("企业ID列表")
|
||||
private String enterpriseIds;
|
||||
/**
|
||||
* 计划类型(1:重点检查企业清单,2:双重双随机一公开清单)
|
||||
* 计划类型(1:重点检查企业,2:双重双随机一公开)
|
||||
*/
|
||||
@Column(length = 1)
|
||||
@Comment("计划类型(1:重点检查企业清单,2:双重双随机一公开清单)")
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ public class EnforcementInfoDto {
|
|||
private String fillingFlag;//立案
|
||||
|
||||
private String planId;//任务id(自动执法计划派发)
|
||||
|
||||
private String planType; //任务类型(自动执法计划派发)1:重点检查企业清单,2:双重双随机一公开清单
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -157,9 +157,9 @@ public class EnforcementInfoService {
|
|||
enforceCheck.setCheckType("3");
|
||||
} else if ("4".equals(enforcementInfo.getDataFrom())) {
|
||||
enforceCheck.setPlanId(enforcementInfoDto.getPlanId());
|
||||
if ("1".equals(enforcementInfoDto.getPlanType())) { // 1:重点检查企业清单,
|
||||
if ("1".equals(enforcementInfoDto.getPlanType())) { // 重点检查企业清单,
|
||||
enforceCheck.setCheckType("7");
|
||||
} else if ("2".equals(enforcementInfoDto.getPlanType())) { // 2:双重双随机一公开清单
|
||||
} else if ("2".equals(enforcementInfoDto.getPlanType())) { // 双重双随机一公开清单
|
||||
enforceCheck.setCheckType("8");
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue