ADD: 检测计划添加导入标识字段以及逻辑
This commit is contained in:
@@ -110,5 +110,10 @@ public class AdPlan extends BaseEntity implements Serializable {
|
|||||||
* 来源
|
* 来源
|
||||||
*/
|
*/
|
||||||
private String origin;
|
private String origin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否为导入(比对式使用) 0-否 1-是
|
||||||
|
*/
|
||||||
|
private Integer importFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -152,4 +152,8 @@ public class AdPlanVO {
|
|||||||
private String origin;
|
private String origin;
|
||||||
|
|
||||||
private AdPlanTestConfig testConfig;
|
private AdPlanTestConfig testConfig;
|
||||||
|
/**
|
||||||
|
* 是否导入,0-否 1-是
|
||||||
|
*/
|
||||||
|
private Integer importFlag;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1709,6 +1709,7 @@ public class AdPlanServiceImpl extends ServiceImpl<AdPlanMapper, AdPlan> impleme
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新检测计划信息
|
// 更新检测计划信息
|
||||||
|
plan.setImportFlag(1);
|
||||||
plan.setFatherPlanId(CommonEnum.FATHER_ID.getValue());
|
plan.setFatherPlanId(CommonEnum.FATHER_ID.getValue());
|
||||||
saveOrUpdate(plan);
|
saveOrUpdate(plan);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user