重点工程部分代码
parent
745db61979
commit
e74db7d77c
|
@ -100,6 +100,7 @@ public class AIWarningController extends BaseController {
|
||||||
set.add(p);
|
set.add(p);
|
||||||
});
|
});
|
||||||
if (set.size() == listperson.size()) { //判断是否有重复数据
|
if (set.size() == listperson.size()) { //判断是否有重复数据
|
||||||
|
HashMap pdListmap = new HashMap<>();
|
||||||
for (int i = 0; i < listperson.size(); i++) {
|
for (int i = 0; i < listperson.size(); i++) {
|
||||||
pd.put("AIWARNING_PEOPLE", listperson.get(i));
|
pd.put("AIWARNING_PEOPLE", listperson.get(i));
|
||||||
pd.put("CONTRACT_PIC_ID", this.get32UUID()); //主键
|
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("OPERATOR", DateUtil.date2Str(new Date())); //修改人
|
||||||
pd.put("ISDELETE", 0); //是否删除
|
pd.put("ISDELETE", 0); //是否删除
|
||||||
aiwarningService.addPeople(pd);
|
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 {
|
} else {
|
||||||
map.put("state", "1");
|
map.put("state", "1");
|
||||||
|
|
Loading…
Reference in New Issue