工单管理-改动
This commit is contained in:
@ -114,4 +114,19 @@
|
||||
<update id="dropEmsTicketById" parameterType="String">
|
||||
update ems_ticket set isDelete = 0 where id = #{id}
|
||||
</update>
|
||||
|
||||
<select id="getAllTicketList" resultType="com.xzzn.ems.domain.vo.TicketListVo">
|
||||
SELECT t.ticket_no as ticketNo,
|
||||
t.title as title,
|
||||
t.content as content,
|
||||
t.`status` as status,
|
||||
s.user_name as userName,
|
||||
s1.user_name as workName,
|
||||
t.create_time as createTime,
|
||||
t.id
|
||||
FROM ems_ticket t
|
||||
LEFT JOIN sys_user s on t.user_id = s.user_id
|
||||
LEFT JOIN sys_user s1 on t.work_user_id = s1.user_id
|
||||
where isDelete = 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user