智慧保安后台管理-外网项目备份
tangzy
2021-08-11 c0bf52690604d78dcbff7bf465e088133f1d2eea
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -43,6 +43,7 @@
        <result column="my_picture" property="myPicture"/>
        <result column="is_apply" property="isApply"/>
        <result column="deptname" property="deptname"/>
        <result column="birthtime" property="birthtime"/>
    </resultMap>
    <select id="selectUserPage" resultMap="userResultMap">
@@ -294,4 +295,12 @@
        )
    </select>
    <select id="selectInr" resultType="java.util.HashMap">
        SELECT real_name as realName,id FROM  blade_user
        WHERE role_id='1412226235153731586'
          <if test="deptid!=null and deptid!='' and dept!='1123598813738675201'">
              and dept_id=#{deptid}
          </if>
    </select>
</mapper>