|
@@ -273,7 +273,10 @@ public class FosterwxCashWorkClientController {
|
|
|
@PostMapping(value = "/changeTaskMobileStatus", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
|
|
@PostMapping(value = "/changeTaskMobileStatus", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
|
|
|
@ApiOperation(value = "客户端返回发送状态 根据id更新状态<br>状态(1:待发送;2:发送中;3:已发送;4:已过期;5:发送失败)")
|
|
@ApiOperation(value = "客户端返回发送状态 根据id更新状态<br>状态(1:待发送;2:发送中;3:已发送;4:已过期;5:发送失败)")
|
|
|
public Object changeTaskMobileStatus(FosterwxCashScheduleTaskMobile fosterwxCashScheduleTaskMobile) {
|
|
public Object changeTaskMobileStatus(FosterwxCashScheduleTaskMobile fosterwxCashScheduleTaskMobile) {
|
|
|
- fosterwxCashScheduleTaskMobileService.updateById(fosterwxCashScheduleTaskMobile);
|
|
|
|
|
|
|
+ Arrays.asList(fosterwxCashScheduleTaskMobile.getIds().split(",")).forEach(id -> {
|
|
|
|
|
+ fosterwxCashScheduleTaskMobile.setId(Integer.valueOf(id));
|
|
|
|
|
+ fosterwxCashScheduleTaskMobileService.updateById(fosterwxCashScheduleTaskMobile);
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
return AjaxResult.success("更新成功!");
|
|
return AjaxResult.success("更新成功!");
|
|
|
}
|
|
}
|