|
|
@@ -61,10 +61,10 @@ public class ReleaseUserTask {
|
|
|
if(StringUtils.isNotBlank(u.getId())) {
|
|
|
userTmpList = customerServiceImpl.selectWaitReleaseCustomer(u.getId());
|
|
|
// userTmpList = customerServiceImpl.selectWaitReleaseCustomer("1");
|
|
|
- if(!userTmpList.isEmpty())lockUserList.addAll(userTmpList);
|
|
|
+ if(userTmpList!=null&&!userTmpList.isEmpty())lockUserList.addAll(userTmpList);
|
|
|
businessTmpList = customerServiceImpl.selectWaitReleaseBusiness(u.getId());
|
|
|
// businessTmpList = customerServiceImpl.selectWaitReleaseBusiness("1");
|
|
|
- if(!businessTmpList.isEmpty())lockBusinessList.addAll(businessTmpList);
|
|
|
+ if(businessTmpList!=null&&!businessTmpList.isEmpty())lockBusinessList.addAll(businessTmpList);
|
|
|
}
|
|
|
}
|
|
|
|