|
|
@@ -60,12 +60,12 @@ public class ReleaseUserTask {
|
|
|
for(User u : userList){
|
|
|
if(StringUtils.isNotBlank(u.getId())) {
|
|
|
userTmpList = customerServiceImpl.selectWaitReleaseCustomer(u.getId());
|
|
|
-// userTmpList = customerServiceImpl.selectWaitReleaseCustomer("1");
|
|
|
- lockUserList.addAll(userTmpList);
|
|
|
- businessTmpList = customerServiceImpl.selectWaitReleaseBusiness(u.getId());
|
|
|
-// businessTmpList = customerServiceImpl.selectWaitReleaseBusiness("1");
|
|
|
- lockBusinessList.addAll(businessTmpList);
|
|
|
- }
|
|
|
+// userTmpList = customerServiceImpl.selectWaitReleaseCustomer("1");
|
|
|
+ if(!userTmpList.isEmpty())lockUserList.addAll(userTmpList);
|
|
|
+ businessTmpList = customerServiceImpl.selectWaitReleaseBusiness(u.getId());
|
|
|
+// businessTmpList = customerServiceImpl.selectWaitReleaseBusiness("1");
|
|
|
+ if(!businessTmpList.isEmpty())lockBusinessList.addAll(businessTmpList);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|