This commit is contained in:
parent
9a0b35ce96
commit
6b876c137f
|
|
@ -32,9 +32,9 @@ public class ToDoBean extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private String taskTypeId;
|
private String taskTypeId;
|
||||||
|
|
||||||
/** 代办任务 */
|
/** 任务类型 */
|
||||||
@Excel(name = "代办任务")
|
@Excel(name = "任务类型")
|
||||||
@ApiModelProperty(value = "代办任务")
|
@ApiModelProperty(value = "任务类型")
|
||||||
private String taskType;
|
private String taskType;
|
||||||
|
|
||||||
/** 代办事件 */
|
/** 代办事件 */
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
SELECT
|
SELECT
|
||||||
tt.task_id as taskId,
|
tt.task_id as taskId,
|
||||||
tt.`code` as taskCode,
|
tt.`code` as taskCode,
|
||||||
tt.task_type as taskTypeId,
|
tt.task_type as taskType,
|
||||||
sd2.dict_label as taskType,
|
|
||||||
tt.task_status as taskStatus,
|
tt.task_status as taskStatus,
|
||||||
tt.create_by as createBy,
|
tt.create_by as createBy,
|
||||||
tt.create_time as createTime,
|
tt.create_time as createTime,
|
||||||
|
|
@ -19,12 +18,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
dept2.dept_name as sellerCompanyName
|
dept2.dept_name as sellerCompanyName
|
||||||
FROM
|
FROM
|
||||||
tm_task tt
|
tm_task tt
|
||||||
LEFT JOIN sys_dict_data sd2 on sd2.dict_value=tt.task_type
|
|
||||||
LEFT JOIN sys_dept dept1 on dept1.dept_id=tt.buyer_company_id
|
LEFT JOIN sys_dept dept1 on dept1.dept_id=tt.buyer_company_id
|
||||||
LEFT JOIN sys_dept dept2 on dept2.dept_id=tt.seller_company_id
|
LEFT JOIN sys_dept dept2 on dept2.dept_id=tt.seller_company_id
|
||||||
WHERE
|
WHERE
|
||||||
tt.`status` = '1'
|
tt.`status` = '1'
|
||||||
and sd2.dict_type in ('tm_task_type')
|
|
||||||
and tt.task_type in (2)
|
and tt.task_type in (2)
|
||||||
and tt.task_status in (1,2,3,4,5,10,15,20,99)
|
and tt.task_status in (1,2,3,4,5,10,15,20,99)
|
||||||
<if test="buyerCompanyId != null">
|
<if test="buyerCompanyId != null">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue