重点工程部分代码

pull/14/head
z 2023-12-19 17:34:17 +08:00
parent 3aa8b0d9af
commit ef780ecd83
1 changed files with 10 additions and 8 deletions

View File

@ -111,19 +111,21 @@ public class AIWarningController extends BaseController {
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); //是否删除
pdList.put("AIWARNING_PEOPLE", listperson.get(i));
pdList.put("CONTRACT_PIC_ID", this.get32UUID()); //主键
pdList.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
pdList.put("CREATOR", DateUtil.date2Str(new Date())); //添加人
pdList.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
pdList.put("OPERATOR", DateUtil.date2Str(new Date())); //修改人
pdList.put("ISDELETE", 0); //是否删除
pdListmap.put("pdList"+i,JSON.toJSONString(pdList));
}
pd.put("pdListmap",JSON.toJSONString(pdListmap));
} else {
map.put("state", "1");
map.put("msg", "报警人有重复数据");
}
map.put("dockData",JSON.toJSONString(pd));
map.put("result", errInfo);
return map;
}