|
|
@@ -26,7 +26,10 @@ import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
import java.time.LocalDateTime;
|
|
|
-import java.util.*;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
|
|
|
|
|
|
|
@@ -115,8 +118,8 @@ public class FosterwxTaskListController extends BaseController<FosterwxTaskList>
|
|
|
fosterwxMobileLambdaQueryWrapper.last("Limit 1");
|
|
|
FosterwxMobile fosterwxMobile = fosterwxMobileService.getOne(fosterwxMobileLambdaQueryWrapper);
|
|
|
|
|
|
- // 完成或者封禁的状态下不新增任务
|
|
|
- if (Arrays.asList("2,3,4,5".split(",")).contains(fosterwxMobile.getStatus())) continue;
|
|
|
+ // 封禁的状态下不新增任务
|
|
|
+ if (2 == fosterwxMobile.getWxStatus()) continue;
|
|
|
|
|
|
fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, authUser, true);
|
|
|
}
|