anderx месяцев назад: 2
Родитель
Сommit
c044272242

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

@@ -63,7 +63,7 @@ public class ReleaseUserTask {
 	 * 客户释放
 	 *
 	 */
-//	@Scheduled(cron = "0 48 11  * * ?")
+//	@Scheduled(cron = "0 43 15  * * ?")
 //	@RequestMapping("/open/test")
 	@Scheduled(cron = "0 0 1  * * ?")
 	public void startTask() {

+ 3 - 3
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -2581,7 +2581,6 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		List<UserTransferLog> list3 = new ArrayList<UserTransferLog>();
 		if (!list.isEmpty()) {
 			for (int i = 0; i < list.size(); i++) {
-
 				newList.add(list.get(i));
 				if (50 == newList.size() || i == list.size() - 1) {
 					if (!newList.isEmpty()) {
@@ -2591,10 +2590,11 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 							UserTransferLog utl = new UserTransferLog();
 							utl.setAid(lrb.getAid());
 							utl.setCreateTime(date);
-							if (type == 0)
+							if (type == 0){
 								utl.setType(4);
-							else if (type == 1)
+							}else if (type == 1){
 								utl.setType(5);
+							}
 							utl.setUid(lrb.getUid());
 							list3.add(utl);
 						}