|
|
@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
|
<select id="selectLinkageDictList" parameterType="LinkageDict" resultMap="LinkageDictResult"> |
|
|
<select id="selectLinkageDictList" parameterType="LinkageDict" resultMap="LinkageDictResult"> |
|
|
<include refid="selectLinkageDictVo"/> |
|
|
<include refid="selectLinkageDictVo"/> |
|
|
<where> |
|
|
<where> |
|
|
<if test="title != null and title != ''"> and title = #{title}</if> |
|
|
<if test="title != null and title != ''"> and title = #{title}</if> |
|
|
<if test="value != null and value != ''"> and `value` = #{value}</if> |
|
|
<if test="value != null and value != ''"> and `value` = #{value}</if> |
|
|
<if test="parentId != null and parentId != ''"> and parent_id = #{parentId}</if> |
|
|
<if test="parentId != null and parentId != ''"> and parent_id = #{parentId}</if> |
|
|
@ -38,6 +38,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="status != null "> and status = #{status}</if> |
|
|
<if test="status != null "> and status = #{status}</if> |
|
|
<if test="creator != null and creator != ''"> and creator = #{creator}</if> |
|
|
<if test="creator != null and creator != ''"> and creator = #{creator}</if> |
|
|
<if test="updator != null and updator != ''"> and updator = #{updator}</if> |
|
|
<if test="updator != null and updator != ''"> and updator = #{updator}</if> |
|
|
|
|
|
<!-- 数据范围过滤 --> |
|
|
|
|
|
${params.dataScope} |
|
|
|
|
|
or dept_id is null |
|
|
</where> |
|
|
</where> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|