|
|
@@ -97,7 +97,9 @@
|
|
|
</update>
|
|
|
|
|
|
<select id="selectTaskLogList" resultType="com.goafanti.order.bo.TaskLogBo">
|
|
|
- select a.id,a.task_id taskId,a.content,date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTimes,b.name as aName
|
|
|
- from task_log a left join admin b on a.aid=b.id where a.task_id= #{id,jdbcType=INTEGER} order by a.create_time
|
|
|
+ select a.id,a.task_id taskId,a.content,date_format(a.create_time,'%Y-%m-%d %H:%i:%S') as createTimes,b.name as aName,
|
|
|
+ a.sotp_id ,c.reason
|
|
|
+ from task_log a left join admin b on a.aid=b.id left join task_sopt c on a.sotp_id =c.id
|
|
|
+ where a.task_id= #{id,jdbcType=INTEGER} order by a.create_time
|
|
|
</select>
|
|
|
</mapper>
|