Commit c2029a66 by 范富荣

督导-月报:新增带教进度/结果,下月计划字段

1 parent 366122a5
...@@ -171,4 +171,16 @@ public class SupervisorTaskDTO implements Serializable { ...@@ -171,4 +171,16 @@ public class SupervisorTaskDTO implements Serializable {
@ApiModelProperty(notes = "门店关联列表") @ApiModelProperty(notes = "门店关联列表")
private List<SupervisorTaskMerchant> taskMerchantList; private List<SupervisorTaskMerchant> taskMerchantList;
/**
* 带教进度/结果
*/
@ApiModelProperty(notes = "带教进度/结果(1000字以内)")
private String teachingProgress;
/**
* 下月计划
*/
@ApiModelProperty(notes = "下月计划(1000字以内)")
private String nextMonthPlan;
} }
...@@ -153,4 +153,16 @@ public class SupervisorTaskInfo implements Serializable { ...@@ -153,4 +153,16 @@ public class SupervisorTaskInfo implements Serializable {
*/ */
@Column(name = "need_assist_items") @Column(name = "need_assist_items")
private String needAssistItems; private String needAssistItems;
/**
* 带教进度/结果
*/
@Column(name = "teaching_progress")
private String teachingProgress;
/**
* 下月计划
*/
@Column(name = "next_month_plan")
private String nextMonthPlan;
} }
\ No newline at end of file \ No newline at end of file
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
<result column="store_manager_name" property="storeManagerName" jdbcType="VARCHAR" /> <result column="store_manager_name" property="storeManagerName" jdbcType="VARCHAR" />
<result column="next_work_items" property="nextWorkItems"/> <result column="next_work_items" property="nextWorkItems"/>
<result column="need_assist_items" property="needAssistItems"/> <result column="need_assist_items" property="needAssistItems"/>
<result column="teaching_progress" property="teachingProgress"/>
<result column="next_month_plan" property="nextMonthPlan"/>
</resultMap> </resultMap>
<resultMap id="ResultMapWithBLOBs" type="cn.com.glsx.dj.supervisor.model.SupervisorTaskInfo" extends="BaseResultMap" > <resultMap id="ResultMapWithBLOBs" type="cn.com.glsx.dj.supervisor.model.SupervisorTaskInfo" extends="BaseResultMap" >
<!-- <!--
...@@ -55,6 +57,8 @@ ...@@ -55,6 +57,8 @@
<result column="supervisor_uuid" property="supervisorUuid"/> <result column="supervisor_uuid" property="supervisorUuid"/>
<result column="next_work_items" property="nextWorkItems"/> <result column="next_work_items" property="nextWorkItems"/>
<result column="need_assist_items" property="needAssistItems"/> <result column="need_assist_items" property="needAssistItems"/>
<result column="teaching_progress" property="teachingProgress"/>
<result column="next_month_plan" property="nextMonthPlan"/>
<collection property="taskImageList" ofType="cn.com.glsx.dj.supervisor.model.SupervisorTaskImage"> <collection property="taskImageList" ofType="cn.com.glsx.dj.supervisor.model.SupervisorTaskImage">
<result column="image_url" property="imageUrl" /> <result column="image_url" property="imageUrl" />
</collection> </collection>
...@@ -71,7 +75,8 @@ ...@@ -71,7 +75,8 @@
--> -->
id, task_type, task_status, on_duty_flag, merchant_id, merchant_name, start_date, end_date, id, task_type, task_status, on_duty_flag, merchant_id, merchant_name, start_date, end_date,
supervisor_phone, supervisor_name, created_by, create_time, updated_by, updated_phone, supervisor_phone, supervisor_name, created_by, create_time, updated_by, updated_phone,
updated_date, deleted_flag, task_desc, store_manager_phone, store_manager_name updated_date, deleted_flag, task_desc, store_manager_phone, store_manager_name,
teaching_progress, next_month_plan
</sql> </sql>
<sql id="Blob_Column_List" > <sql id="Blob_Column_List" >
<!-- <!--
...@@ -82,7 +87,7 @@ ...@@ -82,7 +87,7 @@
<select id="getTaskDetailById" resultMap="TaskDetailMap"> <select id="getTaskDetailById" resultMap="TaskDetailMap">
select sti.id, sti.task_type, sti.task_status, sti.on_duty_flag, sti.merchant_id, sti.merchant_name, sti.task_desc,sti.task_context,sti.create_time,sti.updated_date, select sti.id, sti.task_type, sti.task_status, sti.on_duty_flag, sti.merchant_id, sti.merchant_name, sti.task_desc,sti.task_context,sti.create_time,sti.updated_date,
stim.image_url,sti.store_manager_name,sti.store_manager_phone,sti.updated_by,sti.start_date,sti.next_work_items,sti.need_assist_items stim.image_url,sti.store_manager_name,sti.store_manager_phone,sti.updated_by,sti.start_date,sti.next_work_items,sti.need_assist_items,sti.teaching_progress,sti.next_month_plan
from supervisor_task_info sti from supervisor_task_info sti
left join supervisor_task_image stim on stim.relation_id = sti.id and stim.deleted_flag = 'N' left join supervisor_task_image stim on stim.relation_id = sti.id and stim.deleted_flag = 'N'
<where> <where>
...@@ -92,7 +97,8 @@ ...@@ -92,7 +97,8 @@
<select id="listTask" parameterType="cn.com.glsx.dj.supervisor.dto.SupervisorTaskQueryDTO" resultMap="TaskDetailMap"> <select id="listTask" parameterType="cn.com.glsx.dj.supervisor.dto.SupervisorTaskQueryDTO" resultMap="TaskDetailMap">
select sti.id, sti.task_type, sti.task_status,sti.updated_date,sti.updated_phone, sti.updated_by, sti.store_manager_name, select sti.id, sti.task_type, sti.task_status,sti.updated_date,sti.updated_phone, sti.updated_by, sti.store_manager_name,
sti.task_desc,sti.task_context, sti.merchant_name, sti.create_time, sti.start_date, sti.end_date, sti.supervisor_uuid sti.task_desc,sti.task_context, sti.merchant_name, sti.create_time, sti.start_date, sti.end_date, sti.supervisor_uuid,
sti.teaching_progress,sti.next_month_plan
from supervisor_task_info sti from supervisor_task_info sti
<where> <where>
sti.deleted_flag = 'N' sti.deleted_flag = 'N'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!