兴安列表优化
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
select reviewer,
|
||||
state,
|
||||
sp.position type,
|
||||
date_format(created_time, '%Y-%m-%d %H:%i:%s') createdTime,
|
||||
date_format(ifnull(updated_time,created_time), '%Y-%m-%d %H:%i:%s') createdTime,
|
||||
sp.name reviewerName
|
||||
from vis_visitor_review_process vvrp
|
||||
left join sys_people sp on vvrp.reviewer = sp.id and sp.del_flag = '0'
|
||||
|
||||
@@ -64,6 +64,12 @@
|
||||
<if test="exitPermitNo != null and exitPermitNo != ''">and e.exitPermit_no = #{exitPermitNo}</if>
|
||||
<if test="applyName != null and applyName != ''">and e.`name` like concat('%', #{applyName}, '%')</if>
|
||||
<if test="exitId != null">and r.`exit_id` = #{exitId}</if>
|
||||
<if test="exitIds != null and exitIds.size() > 0">
|
||||
and r.`exit_id` in
|
||||
<foreach collection="exitIds" item="id" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user