mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
bug修改
This commit is contained in:
+11
-11
@@ -24,21 +24,21 @@
|
||||
p.deleted
|
||||
from process p
|
||||
<where>
|
||||
p.deleted = 0
|
||||
<if test="page.userId != null and page.userId != '' ">
|
||||
and p.id in (select process_id from process_user where user_id = #{page.userId})
|
||||
p.deleted = 0 and p.organ_id = #{vo.organId}
|
||||
<if test="vo.userId != null and vo.userId != '' ">
|
||||
and p.id in (select process_id from process_user where user_id = #{vo.userId})
|
||||
</if>
|
||||
<if test="page.name != null and page.name != '' ">
|
||||
and p.name like concat('%', #{page.name}, '%')
|
||||
<if test="vo.name != null and vo.name != '' ">
|
||||
and p.name like concat('%', #{vo.name}, '%')
|
||||
</if>
|
||||
<if test="page.isEnabled != null">
|
||||
and p.is_enabled = #{page.isEnabled}
|
||||
<if test="vo.isEnabled != null">
|
||||
and p.is_enabled = #{vo.isEnabled}
|
||||
</if>
|
||||
<if test="page.type != null">
|
||||
and p.type = #{page.type}
|
||||
<if test="vo.type != null">
|
||||
and p.type = #{vo.type}
|
||||
</if>
|
||||
<if test="page.pieceType != null">
|
||||
and p.piece_type = #{page.pieceType}
|
||||
<if test="vo.pieceType != null">
|
||||
and p.piece_type = #{vo.pieceType}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user