Commit c2029a66 by 范富荣

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

1 parent 366122a5
......@@ -171,4 +171,16 @@ public class SupervisorTaskDTO implements Serializable {
@ApiModelProperty(notes = "门店关联列表")
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 {
*/
@Column(name = "need_assist_items")
private String needAssistItems;
/**
* 带教进度/结果
*/
@Column(name = "teaching_progress")
private String teachingProgress;
/**
* 下月计划
*/
@Column(name = "next_month_plan")
private String nextMonthPlan;
}
\ No newline at end of file
......@@ -26,6 +26,8 @@
<result column="store_manager_name" property="storeManagerName" jdbcType="VARCHAR" />
<result column="next_work_items" property="nextWorkItems"/>
<result column="need_assist_items" property="needAssistItems"/>
<result column="teaching_progress" property="teachingProgress"/>
<result column="next_month_plan" property="nextMonthPlan"/>
</resultMap>
<resultMap id="ResultMapWithBLOBs" type="cn.com.glsx.dj.supervisor.model.SupervisorTaskInfo" extends="BaseResultMap" >
<!--
......@@ -55,6 +57,8 @@
<result column="supervisor_uuid" property="supervisorUuid"/>
<result column="next_work_items" property="nextWorkItems"/>
<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">
<result column="image_url" property="imageUrl" />
</collection>
......@@ -71,7 +75,8 @@
-->
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,
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 id="Blob_Column_List" >
<!--
......@@ -82,7 +87,7 @@
<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,
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
left join supervisor_task_image stim on stim.relation_id = sti.id and stim.deleted_flag = 'N'
<where>
......@@ -92,7 +97,8 @@
<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,
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
<where>
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!