|
@@ -31,6 +31,7 @@
|
|
|
<result column="end_date" property="endDate" />
|
|
|
<result column="start_date" property="startDate" />
|
|
|
<result column="finish_date" property="finishDate" />
|
|
|
+ <result column="is_delete" property="isDelete" />
|
|
|
<result column="plate1" property="plate1" />
|
|
|
<result column="plate2" property="plate2" />
|
|
|
<result column="plate3" property="plate3" />
|
|
@@ -40,7 +41,7 @@
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, task_name, company_id, owner_id, contacts_id, executor_id, clue_id, custom_id, business_opportunity_id, order_id, product_id, status, priority, is_repeat, repeat_type, repeat_end_never, repeat_end_count, repeat_end_date, repeat_design_day, repeat_design_sameday, task_desc, creater_id, creater_name, create_date, end_date, start_date, finish_date, plate1, plate2, plate3, plate4, plate5
|
|
|
+ id, task_name, company_id, owner_id, contacts_id, executor_id, clue_id, custom_id, business_opportunity_id, order_id, product_id, status, priority, is_repeat, repeat_type, repeat_end_never, repeat_end_count, repeat_end_date, repeat_design_day, repeat_design_sameday, task_desc, creater_id, creater_name, create_date, end_date, start_date, finish_date, is_delete, plate1, plate2, plate3, plate4, plate5
|
|
|
</sql>
|
|
|
|
|
|
<resultMap id="TaskVoMap" type="com.management.platform.entity.vo.TasKVo">
|
|
@@ -63,6 +64,7 @@
|
|
|
<result column="repeat_end_count" property="repeatEndCount" />
|
|
|
<result column="repeat_end_date" property="repeatEndDate" />
|
|
|
<result column="repeat_design_day" property="repeatDesignDay" />
|
|
|
+ <result column="repeat_design_sameday" property="repeatDesignSameday" />
|
|
|
<result column="task_desc" property="taskDesc" />
|
|
|
<result column="creater_id" property="createrId" />
|
|
|
<result column="creater_name" property="createrName" />
|
|
@@ -70,6 +72,7 @@
|
|
|
<result column="end_date" property="endDate" />
|
|
|
<result column="start_date" property="startDate" />
|
|
|
<result column="finish_date" property="finishDate" />
|
|
|
+ <result column="is_delete" property="isDelete" />
|
|
|
<result column="plate1" property="plate1" />
|
|
|
<result column="plate2" property="plate2" />
|
|
|
<result column="plate3" property="plate3" />
|
|
@@ -121,6 +124,8 @@
|
|
|
left join task_executor on task.id=task_executor.task_id
|
|
|
|
|
|
<where>
|
|
|
+ and 1=1 and is_delete=0
|
|
|
+
|
|
|
<if test=" taskName!= null and taskName != ''">
|
|
|
AND task.task_name LIKE CONCAT('%', #{taskName}, '%')
|
|
|
</if>
|
|
@@ -183,6 +188,8 @@
|
|
|
left join contacts on task.contacts_id=contacts.id
|
|
|
left join task_executor on task.id=task_executor.task_id
|
|
|
<where>
|
|
|
+ and 1=1 and is_delete=0
|
|
|
+
|
|
|
<if test=" taskName!= null and taskName != ''">
|
|
|
AND task.task_name LIKE CONCAT('%', #{taskName}, '%')
|
|
|
</if>
|