forked from integrated_whb/integrated_whb
不知道为什么日常清单的隐患不需要提交
parent
e19420c283
commit
278f4d53fd
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue