소스 검색

释放客户修改

Signed-off-by: anderx <312518615@qq.com>
anderx 5 년 전
부모
커밋
73084fb9ba
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      src/main/java/com/goafanti/common/task/ReleaseUserTask.java

+ 6 - 6
src/main/java/com/goafanti/common/task/ReleaseUserTask.java

@@ -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);
+						}
 				}
 				
 			}