|
@@ -115,8 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectYljgYgJbxxList" parameterType="YljgYgJbxx" resultMap="YljgYgJbxxResult">
|
|
|
<include refid="selectYljgYgJbxxVo"/>
|
|
|
<where>
|
|
|
- <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>
|
|
|
- <if test="xzqhId != null and isBj == 1"> and b.ssxzqh = #{xzqhId}</if>
|
|
|
+ a.state = 1
|
|
|
<if test="xm != null and xm != ''"> and a.xm like concat('%', #{xm}, '%')</if>
|
|
|
<if test="jgId != null and jgId != ''"> and a.jg_id = #{jgId}</if>
|
|
|
<if test="sfzlx != null and sfzlx != ''"> and a.sfzlx = #{sfzlx}</if>
|