|
|
|
@ -144,6 +144,7 @@ public class EhsNoticeMessageFileController extends BaseController
|
|
|
|
|
cidsTemp[j]=bas.getDeptId();
|
|
|
|
|
j++;
|
|
|
|
|
}
|
|
|
|
|
ehsNoticeMessageFile.setState(1);
|
|
|
|
|
List<EhsNoticeMessageFile> fileList = ehsNoticeMessageFileService.selectEhsNoticeMessageFileList(ehsNoticeMessageFile);
|
|
|
|
|
// fileList里面有deptId,但没有deptName,这里给他设置把,以后再说循环查库的问题
|
|
|
|
|
String cids=",";
|
|
|
|
@ -156,13 +157,13 @@ public class EhsNoticeMessageFileController extends BaseController
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//String[] cc = ehsNoticeMessageFile.getCompaynList().split(",");
|
|
|
|
|
for(int i=0;i<cidsTemp.length;i++){
|
|
|
|
|
/*for(int i=0;i<cidsTemp.length;i++){
|
|
|
|
|
if(cids.indexOf(cidsTemp[i].toString())==-1){
|
|
|
|
|
EhsNoticeMessageFile emFile = new EhsNoticeMessageFile();
|
|
|
|
|
emFile.setDeptName(comMap.get(cidsTemp[i]));
|
|
|
|
|
fileList.add(emFile);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
return getDataTable(fileList);
|
|
|
|
|
}
|
|
|
|
|
@GetMapping("/downloadlist/{id}")
|
|
|
|
|