|
@@ -251,7 +251,7 @@ public class LabCheckRecordDetailsController extends BaseController {
|
|
|
applyvo.setUserId(sysUser.getUserId());
|
|
applyvo.setUserId(sysUser.getUserId());
|
|
|
List<LabSecurityApplyVO> applist = labSecurityApplyService.selectApplyListEffective(applyvo);
|
|
List<LabSecurityApplyVO> applist = labSecurityApplyService.selectApplyListEffective(applyvo);
|
|
|
//获取实验室集合
|
|
//获取实验室集合
|
|
|
- if(applist.size()>0){
|
|
|
|
|
|
|
+ if(!applist.isEmpty() && applist.size()>0){
|
|
|
List<Long> ids = new ArrayList<>();
|
|
List<Long> ids = new ArrayList<>();
|
|
|
for (int i=0;i<applist.size();i++){
|
|
for (int i=0;i<applist.size();i++){
|
|
|
ids.add(applist.get(i).getSubjectId());
|
|
ids.add(applist.get(i).getSubjectId());
|
|
@@ -337,7 +337,7 @@ public class LabCheckRecordDetailsController extends BaseController {
|
|
|
applyvo.setUserId(sysUser.getUserId());
|
|
applyvo.setUserId(sysUser.getUserId());
|
|
|
List<LabSecurityApplyVO> applist = labSecurityApplyService.selectApplyListEffective(applyvo);
|
|
List<LabSecurityApplyVO> applist = labSecurityApplyService.selectApplyListEffective(applyvo);
|
|
|
//获取实验室集合
|
|
//获取实验室集合
|
|
|
- if(applist.size()>0){
|
|
|
|
|
|
|
+ if(!applist.isEmpty() && applist.size()>0){
|
|
|
List<Long> ids = new ArrayList<>();
|
|
List<Long> ids = new ArrayList<>();
|
|
|
for (int i=0;i<applist.size();i++){
|
|
for (int i=0;i<applist.size();i++){
|
|
|
ids.add(applist.get(i).getSubjectId());
|
|
ids.add(applist.get(i).getSubjectId());
|