不知道为什么日常清单的隐患不需要提交

dev
wangpeng 2024-07-14 17:17:10 +08:00
parent e19420c283
commit 278f4d53fd
2 changed files with 10 additions and 10 deletions

View File

@ -150,12 +150,12 @@ public class AppCheckRecordController extends BaseController {
String ArrayDATA_IDS[] = ids.split(",");
PageData hiddens = new PageData();
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
PageData list = listmanagerService.findById(pd);
if(list.getString("TYPE").equals("listType0001")){
hiddens.put("STATE", "0");
}else{
// PageData list = listmanagerService.findById(pd);
// if(list.getString("TYPE").equals("listType0001")){
// hiddens.put("STATE", "0");
// }else{
hiddens.put("STATE", "1");
}
// }
hiddens.put("IDS", ArrayDATA_IDS);
hiddenService.updateAll(hiddens);
}

View File

@ -142,12 +142,12 @@ public class AppCustomCheckRecordController extends BaseController {
String ArrayDATA_IDS[] = ids.split(",");
PageData hiddens = new PageData();
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
PageData list = customService.findById(pd);
if(list.getString("TYPE").equals("listType0001")){
hiddens.put("STATE", "0");
}else{
// PageData list = customService.findById(pd);
// if(list.getString("TYPE").equals("listType0001")){
// hiddens.put("STATE", "0");
// }else{
hiddens.put("STATE", "1");
}
// }
hiddens.put("IDS", ArrayDATA_IDS);
customHiddenService.updateAll(hiddens);
}