main
杜函宇 1 month ago
parent 4dfb8d1cac
commit 0dd26b2676

@ -50,6 +50,8 @@
<result property="updateTime" column="update_time"/> <result property="updateTime" column="update_time"/>
<result property="remark" column="remark"/> <result property="remark" column="remark"/>
<result property="delFlag" column="del_flag"/> <result property="delFlag" column="del_flag"/>
<result property="deptName" column="deptName"/>
<result property="ancestors" column="ancestors"/>
<collection property="otherConcat" javaType="java.util.List" ofType="com.ruoyi.tc.entity.UnitOtherConcat"> <collection property="otherConcat" javaType="java.util.List" ofType="com.ruoyi.tc.entity.UnitOtherConcat">
<id property="concatId" column="concat_id"/> <id property="concatId" column="concat_id"/>
<result property="qtlxrxm" column="qtlxrlxfs"/> <result property="qtlxrxm" column="qtlxrlxfs"/>
@ -85,7 +87,8 @@
</resultMap> </resultMap>
<select id="selectUnitList" parameterType="unit" resultMap="unitResult"> <select id="selectUnitList" parameterType="unit" resultMap="unitResult">
select a.* from unit_info a select a.*,b.dept_name as deptName from unit_info a
left join sys_dept b on a.dept_id = b.dept_id
<where> <where>
a.del_flag = '0' a.del_flag = '0'
<if test="req.nickName != null and req.nickName != '' "> <if test="req.nickName != null and req.nickName != '' ">

Loading…
Cancel
Save