|
@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="xmmc != null and xmmc != ''"> and xmmc = #{xmmc}</if>
|
|
<if test="xmmc != null and xmmc != ''"> and xmmc = #{xmmc}</if>
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
- <if test="deptType != null and deptType != ''"> and dept_type = #{deptType}</if>
|
|
|
|
|
|
+ <if test="deptType != null and deptType != ''"> and find_in_set(dept_type, #{deptType})</if>
|
|
<if test="shjg != null and shjg != ''"> and shjg = #{shjg}</if>
|
|
<if test="shjg != null and shjg != ''"> and shjg = #{shjg}</if>
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
|
|
<if test="ancestors != null and ancestors != ''"> and ancestors = #{ancestors}</if>
|
|
<if test="ancestors != null and ancestors != ''"> and ancestors = #{ancestors}</if>
|