Commit e45d462b by 墨竹

Merge remote-tracking branch 'origin/developer' into developer

parents 44820140 41a9c9e5
......@@ -24,11 +24,11 @@ public class PendingListQDTO implements Serializable {
/**
* 是否完成 0否 1是
*/
private Integer finishFlag;
private Integer finishFlag = -1;
/**
* 是否逾期 1是 0否
*/
private Integer overdueFlag;
private Integer overdueFlag = -1;
/**
* 门店id
......
......@@ -6,8 +6,8 @@ package com.gic.haoban.manage.api.enums;
public enum PendingTaskTypeEnum {
PERFORMANCE(0, "月指标", "请完善{}月份指标"),
TEL_TASK(1, "话务任务", "您收到了新的话务任务【{}】,赶紧去执行吧~"),
GROUP_TASK(2, "群发任务", "您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-客户联系中执行吧~"),
ACTIVITY(3, "活动", "您报名的{}活动已经开始啦,快去转发赚佣金吧~"),;
GROUP_TASK(3, "群发任务", "您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-客户联系中执行吧~"),
ACTIVITY(4, "活动", "您报名的{}活动已经开始啦,快去转发赚佣金吧~"),;
private int type;
private String name;
private String description;
......
......@@ -251,7 +251,7 @@
<if test="overdueFlag != -1">
and overdue_flag = #{overdue_flag}
</if>
<if test="clerkId != -1">
<if test="clerkId != null">
and clerk_id = #{clerkId}
</if>
order by overdue_time desc
......
......@@ -45,6 +45,11 @@ public class NotifyController extends WebBaseController {
@RequestMapping("/commission/list")
public HaobanResponse pendingList(@RequestBody @Valid PendingListQO qo) {
PendingListQDTO pendingListQDTO = EntityUtil.changeEntityByOrika(PendingListQDTO.class, qo);
pendingListQDTO.setFinishFlag(0);
pendingListQDTO.setOverdueFlag(-1);
if (qo.getFilterStatus() == 1) {
pendingListQDTO.setOverdueFlag(1);
}
ServiceResponse<Page<PendingTaskDetailDTO>> retPage = pendingTaskApiService.pagePendingTask(pendingListQDTO, qo.getBasePageInfo());
return resultResponse(HaoBanErrCode.ERR_1, retPage.getResult());
}
......
......@@ -3,13 +3,14 @@ package com.gic.haoban.manage.web.qo;
import com.gic.commons.web.qo.PageQo;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* Created 2021/12/16.
*
* @author hua
*/
public class PendingListQO extends PageQo {
public class PendingListQO extends PageQo implements Serializable {
/**
* 企业id
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment