重点工程部分代码

pull/14/head
z 2023-12-20 17:35:26 +08:00
parent a64ca447ed
commit bb2381b7b2
1 changed files with 18 additions and 3 deletions

View File

@ -67,7 +67,15 @@ public class AppKeyprojectCheckController extends BaseController {
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
pd.put("ISDELETE", 0); //是否删除
pd.put("SOURCE", 2); //企业2
keyprojectcheckService.save(pd);
PageData parm1 = new PageData();
ArrayList<PageData> parm2List = new ArrayList<>();
ArrayList<PageData> parm3List = new ArrayList<>();
parm1.putAll(pd);
keyprojectcheckService.save(parm1);
String currentTime = DateUtil.date2Str(new Date());
if (Tools.notEmpty(pd.getString("SITUATIONJSON"))) {
@ -84,6 +92,7 @@ public class AppKeyprojectCheckController extends BaseController {
situationPd.put("OPERATOR", pd.getString("OPERATOR")); //修改人
situationPd.put("OPERATTIME", time); //修改时间
keyprojectcheckInfoService.save(situationPd);
parm2List.add(situationPd);
time = DateUtil.calculateDateSecond(time, 1);
}
}
@ -121,6 +130,8 @@ public class AppKeyprojectCheckController extends BaseController {
keyprojectHiddenService.save(hidden);
parm3List.add(hidden);
hiddenList.add(hidden);
time = DateUtil.calculateDateSecond(time, 1);
}
@ -176,8 +187,12 @@ public class AppKeyprojectCheckController extends BaseController {
}catch (Exception e){
e.printStackTrace();
}finally {
map.put("pd", pd);
map.put("dockData", JSON.toJSONString(pd));
PageData pageData = new PageData();
pageData.put("p1",parm1);
pageData.put("p1",parm1);
pageData.put("p1",parm1);
map.put("pd",pd);
map.put("dockData", JSON.toJSONString(pageData));
map.put("result", errInfo);
}
return map;