|
|
@@ -21,6 +21,7 @@
|
|
|
<result column="task_allocator" jdbcType="VARCHAR" property="taskAllocator" />
|
|
|
<result column="task_receiver" jdbcType="VARCHAR" property="taskReceiver" />
|
|
|
<result column="deleted_sign" jdbcType="INTEGER" property="deletedSign" />
|
|
|
+ <result column="publish_status" jdbcType="INTEGER" property="publishStatus" />
|
|
|
<result column="serial_number" jdbcType="INTEGER" property="serialNumber" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.goafanti.common.model.ContractTask">
|
|
|
@@ -556,6 +557,7 @@
|
|
|
a.task_status as taskStatus,
|
|
|
date_format(a.task_distribution_time ,'%Y-%m-%d %H:%i:%S') as taskDistributionTime,
|
|
|
a.task_comment as taskComment,
|
|
|
+ a.publish_status as publishStatus,
|
|
|
b.bname as commodityName ,
|
|
|
c.cname as categoryName,
|
|
|
c.id as categoryId,
|
|
|
@@ -578,7 +580,8 @@
|
|
|
left join admin f on a.task_receiver = f.id
|
|
|
left join user g on d.uid = g.id
|
|
|
left join t_order h on h.order_no=d.order_no
|
|
|
- left join admin i on h.salesman_id = i.id
|
|
|
- a.id = #{taskId,jdbcType=VARCHAR}
|
|
|
+ left join admin i on h.salesman_id = i.id
|
|
|
+ where 1=1
|
|
|
+ and a.id = #{taskId,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
</mapper>
|