管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-23 c0869b3fbf71760199750cb208046692a34b3f2d
src/main/resources/mapper/sys/DepMapper.xml
@@ -26,10 +26,10 @@
        select * from lf.sys_dep where id = #{id}
    </select>
    <select id="selectDepsByIds" resultType="com.lf.server.entity.ctrl.IdNameEntity">
        select id "id",fn_get_fullname(depcode, 1) "name" from lf.sys_dep where id in
        <foreach item="id" collection="ids" index="index" open="(" separator="," close=")">
            #{id}
    <select id="selectDepsByCodes" resultType="com.lf.server.entity.ctrl.IdNameEntity">
        select id "id",fn_get_fullname(code, 1) "name" from lf.sys_dep where code in
        <foreach item="code" collection="codes" index="index" open="(" separator="," close=")">
            #{code}
        </foreach>
    </select>