liurunyu
2023-11-12 1ff17fd97a85cd191467b4a2ffe0e4b7b1959af5
pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaUserMapper.xml
@@ -36,7 +36,7 @@
    </resultMap>
    <resultMap id="someResultMap" extends="partResultMap" type="com.dy.pipIrrGlobal.pojoBa.BaUser">
        <collection property="roleList" fetchType="lazy" column="{userId=id}" select="com.dy.pipIrrGlobal.daoBa.BaRoleMapper.selectByUserId" />
        <collection property="roleList" fetchType="eager" column="{userId=id}" select="com.dy.pipIrrGlobal.daoBa.BaRoleMapper.selectByUserId" />
    </resultMap>
    <sql id="Base_Column_List">
@@ -85,8 +85,8 @@
        </trim>
        order by id DESC
        <trim prefix="limit " >
            <if test="queryStart != null and queryCount != null">
                #{queryStart}, #{queryCount}
            <if test="start != null and count != null">
                #{start}, #{count}
            </if>
        </trim>
    </select>