Administrator
2021-08-24 c9424db1c23fcddd6f4eabdb5e3ef51d2c208613
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -45,6 +45,8 @@
        <result column="is_apply" property="isApply"/>
        <result column="is_train" property="isTrain"/>
        <result column="birthtime" property="birthtime"/>
        <result column="healstats" property="healstats"/>
        <result column="soil" property="soil"/>
    </resultMap>
    <!--带坐标-->
@@ -312,7 +314,7 @@
    <select id="selectInr" resultType="java.util.HashMap">
        SELECT real_name as realName,id FROM  blade_user
        WHERE role_id='1412226235153731586'
        WHERE role_id='1412226235153731586' and status=1
          <if test="deptid!=null and deptid!='' and dept!='1123598813738675201'">
              and dept_id=#{deptid}
          </if>
@@ -345,4 +347,10 @@
    <select id="getUserAgeById" resultType="org.springblade.modules.system.vo.UserVO">
        select id,ifnull(TIMESTAMPDIFF(YEAR, birthday, CURDATE()),0) age from blade_user where id = #{userId}
    </select>
    <select id="selectUser" resultType="java.util.HashMap">
        select CAST(id AS CHAR) as groupmember,real_name as rname from blade_user
    </select>
</mapper>