forked from integrated_whb/integrated_whb
不知道为什么日常清单的隐患不需要提交
parent
e19420c283
commit
278f4d53fd
|
@ -150,12 +150,12 @@ public class AppCheckRecordController extends BaseController {
|
||||||
String ArrayDATA_IDS[] = ids.split(",");
|
String ArrayDATA_IDS[] = ids.split(",");
|
||||||
PageData hiddens = new PageData();
|
PageData hiddens = new PageData();
|
||||||
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
|
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
|
||||||
PageData list = listmanagerService.findById(pd);
|
// PageData list = listmanagerService.findById(pd);
|
||||||
if(list.getString("TYPE").equals("listType0001")){
|
// if(list.getString("TYPE").equals("listType0001")){
|
||||||
hiddens.put("STATE", "0");
|
// hiddens.put("STATE", "0");
|
||||||
}else{
|
// }else{
|
||||||
hiddens.put("STATE", "1");
|
hiddens.put("STATE", "1");
|
||||||
}
|
// }
|
||||||
hiddens.put("IDS", ArrayDATA_IDS);
|
hiddens.put("IDS", ArrayDATA_IDS);
|
||||||
hiddenService.updateAll(hiddens);
|
hiddenService.updateAll(hiddens);
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,12 +142,12 @@ public class AppCustomCheckRecordController extends BaseController {
|
||||||
String ArrayDATA_IDS[] = ids.split(",");
|
String ArrayDATA_IDS[] = ids.split(",");
|
||||||
PageData hiddens = new PageData();
|
PageData hiddens = new PageData();
|
||||||
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
|
hiddens.put("CHECKRECORD_ID", pd.get("CHECKRECORD_ID"));
|
||||||
PageData list = customService.findById(pd);
|
// PageData list = customService.findById(pd);
|
||||||
if(list.getString("TYPE").equals("listType0001")){
|
// if(list.getString("TYPE").equals("listType0001")){
|
||||||
hiddens.put("STATE", "0");
|
// hiddens.put("STATE", "0");
|
||||||
}else{
|
// }else{
|
||||||
hiddens.put("STATE", "1");
|
hiddens.put("STATE", "1");
|
||||||
}
|
// }
|
||||||
hiddens.put("IDS", ArrayDATA_IDS);
|
hiddens.put("IDS", ArrayDATA_IDS);
|
||||||
customHiddenService.updateAll(hiddens);
|
customHiddenService.updateAll(hiddens);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue