智慧保安后台管理-外网
Administrator
2021-11-22 834f4b42af823fc58c43ce99e330dbeb2b98df5d
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -54,7 +54,7 @@
    <select id="selectUserPages" resultMap="userResultMap">
        select
        distinct
        bu.*,
        bu.*,IF(mod(SUBSTR(bu.cardid,17,1),2),1,2) sexs,
        sll.longitude,sll.latitude,
        bd.dept_name
        from
@@ -133,7 +133,7 @@
        <if test="user.examinationType!=null and user.examinationType != ''">
            and bu.examination_type = #{user.examinationType}
        </if>
        ORDER BY bu.id
        ORDER BY bu.id desc
    </select>
    <select id="selectUserPage" resultMap="userResultMap">
@@ -190,7 +190,7 @@
        <if test="user.examinationType!=null and user.examinationType != ''">
            and examination_type = #{user.examinationType}
        </if>
        ORDER BY bu.id
        ORDER BY bu.id desc
    </select>
    <select id="getUser" resultMap="userResultMap">
@@ -233,7 +233,7 @@
    <!--保安员列表-->
    <select id="selectUserPageSecurity" resultMap="userResultMap">
        select
        bu.*
        bu.*,IF(mod(SUBSTR(bu.cardid,17,1),2),1,2) sexs
        from
        blade_user bu
        left join