|
@@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
|
|
|
+import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
@@ -59,6 +60,15 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private CorpService corpService;
|
|
private CorpService corpService;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FosterwxMobileTaskTimeListService fosterwxMobileTaskTimeListService;
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FosterwxTaskTemplateService fosterwxTaskTemplateService;
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FosterwxTaskListService fosterwxTaskListService;
|
|
|
|
|
+
|
|
|
/*
|
|
/*
|
|
|
* @fast
|
|
* @fast
|
|
|
* 默认生成的控制器所继承的父类中有index/add/edit/del四个基础方法,均为post json请求
|
|
* 默认生成的控制器所继承的父类中有index/add/edit/del四个基础方法,均为post json请求
|
|
@@ -74,19 +84,19 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
if (getForsterwxMobileHandle.getWxFriendName() != null && !getForsterwxMobileHandle.getWxFriendName().isEmpty()) {
|
|
if (getForsterwxMobileHandle.getWxFriendName() != null && !getForsterwxMobileHandle.getWxFriendName().isEmpty()) {
|
|
|
//.当查询条件包含微信好友名称时
|
|
//.当查询条件包含微信好友名称时
|
|
|
List<FosterwxMobileWxfriend> hasWxfriendList = fosterwxMobileWxfriendService.list(new QueryWrapper<FosterwxMobileWxfriend>()
|
|
List<FosterwxMobileWxfriend> hasWxfriendList = fosterwxMobileWxfriendService.list(new QueryWrapper<FosterwxMobileWxfriend>()
|
|
|
- .like("wx_name","%"+getForsterwxMobileHandle.getWxFriendName()+"%"));
|
|
|
|
|
- List<Integer> mobileIds = hasWxfriendList.stream().map(FosterwxMobileWxfriend::getMobileId).collect(Collectors.toList());
|
|
|
|
|
- if(hasWxfriendList == null || hasWxfriendList.size() <= 0){
|
|
|
|
|
|
|
+ .like("wx_name", "%" + getForsterwxMobileHandle.getWxFriendName() + "%"));
|
|
|
|
|
+ List<Integer> mobileIds = hasWxfriendList.stream().map(FosterwxMobileWxfriend::getId).collect(Collectors.toList());
|
|
|
|
|
+ if (hasWxfriendList == null || hasWxfriendList.size() <= 0) {
|
|
|
return AjaxResult.success(res);
|
|
return AjaxResult.success(res);
|
|
|
}
|
|
}
|
|
|
- if (getForsterwxMobileHandle.getId() == null){
|
|
|
|
|
|
|
+ if (getForsterwxMobileHandle.getId() == null) {
|
|
|
getForsterwxMobileHandle.setIds(mobileIds);
|
|
getForsterwxMobileHandle.setIds(mobileIds);
|
|
|
}
|
|
}
|
|
|
res = fosterwxMobileService.getList(getForsterwxMobileHandle);
|
|
res = fosterwxMobileService.getList(getForsterwxMobileHandle);
|
|
|
List<FosterwxMobileVo> list = fosterwxMobileService.setWxFriend(res.getList());
|
|
List<FosterwxMobileVo> list = fosterwxMobileService.setWxFriend(res.getList());
|
|
|
res.setList(list);
|
|
res.setList(list);
|
|
|
|
|
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
//.正常查询
|
|
//.正常查询
|
|
|
res = fosterwxMobileService.getList(getForsterwxMobileHandle);
|
|
res = fosterwxMobileService.getList(getForsterwxMobileHandle);
|
|
|
List<FosterwxMobileVo> list = fosterwxMobileService.setWxFriend(res.getList());
|
|
List<FosterwxMobileVo> list = fosterwxMobileService.setWxFriend(res.getList());
|
|
@@ -102,12 +112,26 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
return AjaxResult.error("ids null");
|
|
return AjaxResult.error("ids null");
|
|
|
}
|
|
}
|
|
|
FosterwxMobile res = service.getOne(new QueryWrapper<FosterwxMobile>().eq("id", ids));
|
|
FosterwxMobile res = service.getOne(new QueryWrapper<FosterwxMobile>().eq("id", ids));
|
|
|
|
|
+
|
|
|
|
|
+ // 获取默认模板号
|
|
|
|
|
+ FosterwxStation fosterwxStation = fosterwxStationService.getById(res.getStationId());
|
|
|
|
|
+ if (null == fosterwxStation) return AjaxResult.error("无法获取站点");
|
|
|
|
|
+ res.setTemplateId(fosterwxStation.getTaskTemplateId());
|
|
|
|
|
+
|
|
|
Corp corp = corpService.getById(res.getWorkWxCorpId());
|
|
Corp corp = corpService.getById(res.getWorkWxCorpId());
|
|
|
if (null != corp) {
|
|
if (null != corp) {
|
|
|
res.setWxAppid(corp.getWxCorpid());
|
|
res.setWxAppid(corp.getWxCorpid());
|
|
|
}
|
|
}
|
|
|
List<FosterwxMobileWxfriend> friendList = fosterwxMobileWxfriendService.list(new QueryWrapper<FosterwxMobileWxfriend>().eq("mobile_id", res.getId()).orderByAsc("seq"));
|
|
List<FosterwxMobileWxfriend> friendList = fosterwxMobileWxfriendService.list(new QueryWrapper<FosterwxMobileWxfriend>().eq("mobile_id", res.getId()).orderByAsc("seq"));
|
|
|
res.setFriend(friendList);
|
|
res.setFriend(friendList);
|
|
|
|
|
+
|
|
|
|
|
+ // 获取账号任务时间list
|
|
|
|
|
+ List<FosterwxMobileTaskTimeList> fosterwxMobileTaskTimeLists = fosterwxMobileTaskTimeListService.list(new LambdaQueryWrapper<FosterwxMobileTaskTimeList>().eq(FosterwxMobileTaskTimeList::getMobileUnioCode, res.getMobileUnioCode()).orderByAsc(FosterwxMobileTaskTimeList::getId));
|
|
|
|
|
+
|
|
|
|
|
+ if (!fosterwxMobileTaskTimeLists.isEmpty()) {
|
|
|
|
|
+ res.setTaskTimeLists(fosterwxMobileTaskTimeLists);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return AjaxResult.success(Constants.SUCCESS, res);
|
|
return AjaxResult.success(Constants.SUCCESS, res);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -130,8 +154,9 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
fosterwxMobileService.save(addHandle.getRaw());
|
|
fosterwxMobileService.save(addHandle.getRaw());
|
|
|
// 判断开始做任务时间是否设置了
|
|
// 判断开始做任务时间是否设置了
|
|
|
AjaxResult ajaxResult = null;
|
|
AjaxResult ajaxResult = null;
|
|
|
- if (null != addHandle.getRaw().getTaskStartAt()) {
|
|
|
|
|
- ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(addHandle.getRaw(), authUser, false);
|
|
|
|
|
|
|
+ if (null != addHandle.getRaw().getTaskTimeLists().get(0).getTaskStartAt()) {
|
|
|
|
|
+ fosterwxMobileTaskTimeListService.insertByMobile(addHandle.getRaw(), addHandle.getRaw().getTaskTimeLists().get(0));
|
|
|
|
|
+ ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(addHandle.getRaw(), addHandle.getRaw().getTaskTimeLists().get(0), authUser, false);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (null == ajaxResult) return AjaxResult.success(HttpMsg.success, addHandle.getRaw().getId());
|
|
if (null == ajaxResult) return AjaxResult.success(HttpMsg.success, addHandle.getRaw().getId());
|
|
@@ -140,14 +165,17 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/editPro")
|
|
@PostMapping("/editPro")
|
|
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
public Object editPro(@Valid @RequestBody EditHandle<FosterwxMobile> editHandle, @AuthUser User authUser) {
|
|
public Object editPro(@Valid @RequestBody EditHandle<FosterwxMobile> editHandle, @AuthUser User authUser) {
|
|
|
String[] ids = editHandle.getIds().split(",");
|
|
String[] ids = editHandle.getIds().split(",");
|
|
|
for (String id : ids) {
|
|
for (String id : ids) {
|
|
|
this.onUpdate(editHandle);
|
|
this.onUpdate(editHandle);
|
|
|
FosterwxMobile fosterwxMobile = editHandle.getRaw();
|
|
FosterwxMobile fosterwxMobile = editHandle.getRaw();
|
|
|
FosterwxMobile oldVO = fosterwxMobileService.getById(id);
|
|
FosterwxMobile oldVO = fosterwxMobileService.getById(id);
|
|
|
|
|
+ List<FosterwxMobileTaskTimeList> oldTimeList = fosterwxMobileTaskTimeListService.list(new LambdaQueryWrapper<FosterwxMobileTaskTimeList>().eq(FosterwxMobileTaskTimeList::getMobileUnioCode, oldVO.getMobileUnioCode()).orderByAsc(FosterwxMobileTaskTimeList::getId));
|
|
|
// 新增账号
|
|
// 新增账号
|
|
|
fosterwxMobileService.update(fosterwxMobile, new QueryWrapper<FosterwxMobile>().eq("id", id));
|
|
fosterwxMobileService.update(fosterwxMobile, new QueryWrapper<FosterwxMobile>().eq("id", id));
|
|
|
|
|
+
|
|
|
fosterwxMobile = fosterwxMobileService.getById(id);
|
|
fosterwxMobile = fosterwxMobileService.getById(id);
|
|
|
// 更新个微池个微二维码及企微appid
|
|
// 更新个微池个微二维码及企微appid
|
|
|
FosterwxMobile finalFosterwxMobile = fosterwxMobile;
|
|
FosterwxMobile finalFosterwxMobile = fosterwxMobile;
|
|
@@ -161,10 +189,48 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
}}, new QueryWrapper<FosterwxMobilePool>().eq("pool_index", fosterwxMobile.getMobileUnioCode()));
|
|
}}, new QueryWrapper<FosterwxMobilePool>().eq("pool_index", fosterwxMobile.getMobileUnioCode()));
|
|
|
}
|
|
}
|
|
|
// 判断开始做任务时间是否设置了
|
|
// 判断开始做任务时间是否设置了
|
|
|
|
|
+ // 获取最新的一条时间任务
|
|
|
|
|
+ FosterwxMobileTaskTimeList fosterwxMobileTaskTimeList = new FosterwxMobileTaskTimeList();
|
|
|
|
|
+
|
|
|
|
|
+ if (!editHandle.getRaw().getTaskTimeLists().isEmpty()) {
|
|
|
|
|
+ FosterwxMobileTaskTimeList sample = editHandle.getRaw().getTaskTimeLists().get(editHandle.getRaw().getTaskTimeLists().size() - 1);
|
|
|
|
|
+ fosterwxMobileTaskTimeList.setTaskStartAt(sample.getTaskStartAt());
|
|
|
|
|
+ fosterwxMobileTaskTimeList.setTaskEndAt(sample.getTaskEndAt());
|
|
|
|
|
+ fosterwxMobileTaskTimeList.setTemplateId(sample.getTemplateId());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
AjaxResult ajaxResult = null;
|
|
AjaxResult ajaxResult = null;
|
|
|
- if (null != fosterwxMobile.getTaskStartAt() && oldVO.getTaskStartAt() == null) {
|
|
|
|
|
- if (fosterwxMobile.getWxStatus() != 2) {
|
|
|
|
|
- ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, authUser, false);
|
|
|
|
|
|
|
+ // 全新增加任务的场合
|
|
|
|
|
+ // 批量操作的时候传过来的件数不能跟数据库件数比较 因此独立判断
|
|
|
|
|
+ if (editHandle.getRaw().getTaskTimeLists().size() > oldTimeList.size() || (editHandle.getRaw().getType() != null && editHandle.getRaw().getTaskTimeLists().size() == 2)) {
|
|
|
|
|
+ if (null != fosterwxMobileTaskTimeList.getTaskStartAt()) {
|
|
|
|
|
+ if (null != fosterwxMobileTaskTimeList.getTaskEndAt()) {
|
|
|
|
|
+ LocalDate startDate = fosterwxMobileTaskTimeList.getTaskStartAt().toLocalDate();
|
|
|
|
|
+ LocalDate endDate = fosterwxMobileTaskTimeList.getTaskEndAt().toLocalDate();
|
|
|
|
|
+
|
|
|
|
|
+ long dayLong = endDate.toEpochDay() - startDate.toEpochDay() + 1;
|
|
|
|
|
+
|
|
|
|
|
+ LambdaQueryWrapper<FosterwxTaskList> fosterTaskListLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
|
+ fosterTaskListLambdaQueryWrapper.eq(FosterwxTaskList::getTemplateId, fosterwxMobileTaskTimeList.getTemplateId());
|
|
|
|
|
+ if (dayLong > fosterwxTaskListService.count(fosterTaskListLambdaQueryWrapper))
|
|
|
|
|
+ return AjaxResult.error(fosterwxMobile.getMobileUnioCode() + "设置的持续时间超过模板的长度");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ fosterwxMobileTaskTimeListService.insertByMobile(fosterwxMobile, fosterwxMobileTaskTimeList);
|
|
|
|
|
+ ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, fosterwxMobileTaskTimeList, authUser, false);
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 原有任务
|
|
|
|
|
+ if (null != fosterwxMobileTaskTimeList.getTaskStartAt() && oldTimeList.get(oldTimeList.size() - 1).getTaskStartAt() == null) {
|
|
|
|
|
+ if (fosterwxMobile.getWxStatus() != 2) {
|
|
|
|
|
+ ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, fosterwxMobileTaskTimeList, authUser, false);
|
|
|
|
|
+ }
|
|
|
|
|
+ } else if (null != fosterwxMobileTaskTimeList.getTaskEndAt() && oldTimeList.get(oldTimeList.size() - 1).getTaskEndAt() == null) {
|
|
|
|
|
+ fosterwxMobileTaskTimeListService.update(new FosterwxMobileTaskTimeList() {{
|
|
|
|
|
+ setTaskEndAt(fosterwxMobileTaskTimeList.getTaskEndAt());
|
|
|
|
|
+ }}, new LambdaQueryWrapper<FosterwxMobileTaskTimeList>().eq(FosterwxMobileTaskTimeList::getMobileUnioCode, fosterwxMobile.getMobileUnioCode()));
|
|
|
|
|
+ // 删除后面的任务
|
|
|
|
|
+ fosterwxTaskScheduleService.remove(new LambdaQueryWrapper<FosterwxTaskSchedule>().eq(FosterwxTaskSchedule::getStationId, oldVO.getStationId()).eq(FosterwxTaskSchedule::getMobileCode, oldVO.getMobileCode()).gt(FosterwxTaskSchedule::getSendDate, fosterwxMobileTaskTimeList.getTaskEndAt()));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// 判断微信状态是否更新为封禁
|
|
// 判断微信状态是否更新为封禁
|
|
@@ -173,7 +239,7 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
}
|
|
}
|
|
|
// 判断微信状态是否更新为正常
|
|
// 判断微信状态是否更新为正常
|
|
|
if (fosterwxMobile.getWxStatus() == 1 && oldVO.getWxStatus() == 2) {
|
|
if (fosterwxMobile.getWxStatus() == 1 && oldVO.getWxStatus() == 2) {
|
|
|
- ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, authUser, true);
|
|
|
|
|
|
|
+ ajaxResult = fosterwxTaskScheduleService.insertByTaskDate(fosterwxMobile, fosterwxMobileTaskTimeList, authUser, true);
|
|
|
}
|
|
}
|
|
|
if (ajaxResult != null) {
|
|
if (ajaxResult != null) {
|
|
|
return AjaxResult.error(id + "账号批量操作中出现错误");
|
|
return AjaxResult.error(id + "账号批量操作中出现错误");
|
|
@@ -260,7 +326,16 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
for (int i = 1; i <= dayOfMonth; i++) {
|
|
for (int i = 1; i <= dayOfMonth; i++) {
|
|
|
String date = getForsterwxMobileHandle.getYear() + "-" + String.format("%02d", Integer.valueOf(getForsterwxMobileHandle.getMonth())) + "-" + String.format("%02d", i);
|
|
String date = getForsterwxMobileHandle.getYear() + "-" + String.format("%02d", Integer.valueOf(getForsterwxMobileHandle.getMonth())) + "-" + String.format("%02d", i);
|
|
|
|
|
|
|
|
- res.put(date, fosterwxTaskScheduleService.getTaskListByMobileCode(stationId, mobileCode, date));
|
|
|
|
|
|
|
+ List<FosterwxTaskSchedule> fosterwxTaskScheduleList = fosterwxTaskScheduleService.getTaskListByMobileCode(stationId, mobileCode, date);
|
|
|
|
|
+
|
|
|
|
|
+ fosterwxTaskScheduleList.forEach(fosterwxTaskSchedule -> {
|
|
|
|
|
+ FosterwxTaskTemplate fosterwxTaskTemplate = fosterwxTaskTemplateService.getById(fosterwxTaskSchedule.getTemplateId());
|
|
|
|
|
+ if (null != fosterwxTaskTemplate) {
|
|
|
|
|
+ fosterwxTaskSchedule.setTemplateName(fosterwxTaskTemplate.getTemplateName());
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ res.put(date, fosterwxTaskScheduleList);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -501,5 +576,68 @@ public class FosterwxMobileController extends BaseController<FosterwxMobile> {
|
|
|
|
|
|
|
|
return AjaxResult.success(HttpMsg.importSuccess);
|
|
return AjaxResult.success(HttpMsg.importSuccess);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 检查任务时间状态是否一致
|
|
|
|
|
+ * @param editHandle
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ @PostMapping("/checkTaskTime")
|
|
|
|
|
+ public Object checkTaskTime(@Valid @RequestBody EditHandle<FosterwxMobile> editHandle) {
|
|
|
|
|
+ List<String> idList = Arrays.asList(editHandle.getIds().split(","));
|
|
|
|
|
+ // 作为判断标准
|
|
|
|
|
+ List<FosterwxMobileTaskTimeList> baseList = new ArrayList<>();
|
|
|
|
|
+ FosterwxMobile fosterwxMobile = fosterwxMobileService.getById(idList.get(0));
|
|
|
|
|
+ if (fosterwxMobile == null) return AjaxResult.error("无法获取账号");
|
|
|
|
|
+
|
|
|
|
|
+ baseList = fosterwxMobileTaskTimeListService.list(new LambdaQueryWrapper<FosterwxMobileTaskTimeList>().eq(FosterwxMobileTaskTimeList::getMobileUnioCode, fosterwxMobile.getMobileUnioCode()));
|
|
|
|
|
+ FosterwxMobileTaskTimeList baseVO = null;
|
|
|
|
|
+
|
|
|
|
|
+ if (!baseList.isEmpty()) {
|
|
|
|
|
+ baseVO = baseList.get(baseList.size() - 1);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ for (int i = 1; i < idList.size(); i++) {
|
|
|
|
|
+ List<FosterwxMobileTaskTimeList> compareList = new ArrayList<>();
|
|
|
|
|
+ fosterwxMobile = fosterwxMobileService.getById(idList.get(i));
|
|
|
|
|
+ if (fosterwxMobile == null) return AjaxResult.error("无法获取账号");
|
|
|
|
|
+
|
|
|
|
|
+ compareList = fosterwxMobileTaskTimeListService.list(new LambdaQueryWrapper<FosterwxMobileTaskTimeList>().eq(FosterwxMobileTaskTimeList::getMobileUnioCode, fosterwxMobile.getMobileUnioCode()));
|
|
|
|
|
+
|
|
|
|
|
+ // 进行判断
|
|
|
|
|
+ if ((baseList.isEmpty() && !compareList.isEmpty()) || (!baseList.isEmpty() && compareList.isEmpty()))
|
|
|
|
|
+ return AjaxResult.error("第" + (i + 1) + "条任务详情不一致,存在从没开始设置任务的情况");
|
|
|
|
|
+
|
|
|
|
|
+ FosterwxMobileTaskTimeList compareVO = null;
|
|
|
|
|
+ if (!compareList.isEmpty()) {
|
|
|
|
|
+ compareVO = compareList.get(compareList.size() - 1);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ if (null == baseVO || null == compareVO) continue;
|
|
|
|
|
+
|
|
|
|
|
+ if (baseVO.getTaskEndAt() == null) {
|
|
|
|
|
+ if (compareVO.getTaskEndAt() != null)
|
|
|
|
|
+ return AjaxResult.error("第" + (i + 1) + "条任务结束详情不一致");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ if (compareVO.getTaskEndAt() == null)
|
|
|
|
|
+ return AjaxResult.error("第" + (i + 1) + "条任务结束详情不一致");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 开始编辑返回的数据
|
|
|
|
|
+ if (null == baseVO.getTaskEndAt()) {
|
|
|
|
|
+ // 设置最后面的开始时间
|
|
|
|
|
+ if (baseVO.getTaskStartAt().isBefore(compareVO.getTaskStartAt())) {
|
|
|
|
|
+ baseVO.setTaskStartAt(compareVO.getTaskStartAt());
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 设置最后面的结束时间
|
|
|
|
|
+ if (baseVO.getTaskEndAt().isBefore(compareVO.getTaskEndAt())) {
|
|
|
|
|
+ baseVO.setTaskEndAt(compareVO.getTaskEndAt());
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return AjaxResult.success(baseVO);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|