main
杜函宇 3 months ago
parent ca8168f948
commit a1763def9c

@ -85,10 +85,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<select id="selectUnitList" parameterType="unit" resultMap="unitResult">
select a.*,d.dept_name as deptName from unit_info a
left join sys_dept d on a.dept_id = d.dept_id
select a.* from unit_info a
<where>
a.del_flag = '0' and d.del_flag = '0'
a.del_flag = '0'
<if test="req.nickName != null and req.nickName != '' ">
and a.nick_name like concat('%',#{req.nickName},'%')
</if>

Loading…
Cancel
Save