|
@@ -401,6 +401,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isGbmy != null and isGbmy != ''"> and is_gbmy = #{isGbmy}</if>
|
|
|
<if test="jgmc != null and jgmc != ''"> and jgmc like concat('%', #{jgmc}, '%')</if>
|
|
|
)
|
|
|
+ AND a.state = '1'
|
|
|
AND a.create_user_type = '01'
|
|
|
AND a.zzzt = '1'
|
|
|
<if test="xm != null and xm != ''"> and a.xm like concat('%', #{xm}, '%')</if>
|
|
@@ -587,6 +588,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN yljg_bmxx c ON a.shbn = c.id
|
|
|
<where>
|
|
|
a.create_user_type = '02'
|
|
|
+ a.state = '1'
|
|
|
AND a.zzzt = '1'
|
|
|
AND b.sczt = '01'
|
|
|
<if test="xzqhId != null and isBj == 0"> and b.ssxzqh IN ( SELECT CODE FROM SYS_DEPT_JL WHERE FIND_IN_SET(#{xzqhId},ancestors) OR CODE = #{xzqhId} )</if>
|