重点工程部分代码

pull/14/head
z 2023-12-19 17:27:01 +08:00
parent 745db61979
commit e74db7d77c
1 changed files with 9 additions and 0 deletions

View File

@ -100,6 +100,7 @@ public class AIWarningController extends BaseController {
set.add(p);
});
if (set.size() == listperson.size()) { //判断是否有重复数据
HashMap pdListmap = new HashMap<>();
for (int i = 0; i < listperson.size(); i++) {
pd.put("AIWARNING_PEOPLE", listperson.get(i));
pd.put("CONTRACT_PIC_ID", this.get32UUID()); //主键
@ -109,6 +110,14 @@ public class AIWarningController extends BaseController {
pd.put("OPERATOR", DateUtil.date2Str(new Date())); //修改人
pd.put("ISDELETE", 0); //是否删除
aiwarningService.addPeople(pd);
PageData pdList = new PageData();
pd.put("AIWARNING_PEOPLE", listperson.get(i));
pd.put("CONTRACT_PIC_ID", this.get32UUID()); //主键
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
pd.put("CREATOR", DateUtil.date2Str(new Date())); //添加人
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
pd.put("OPERATOR", DateUtil.date2Str(new Date())); //修改人
pd.put("ISDELETE", 0); //是否删除
}
} else {
map.put("state", "1");