洪城义警-正式版后台
tangzy
2022-02-25 0a4fbcd9d997005bda2b5ac5dc9daa586342d7db
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -80,8 +80,11 @@
        <if test="user.account!=null and user.account != ''">
            and account like concat('%',#{user.account},'%')
        </if>
        <if test="user.jurisdiction!=null and user.jurisdiction != ''">
            and jurisdiction like concat('%',#{user.jurisdiction},'%')
        </if>
        <if test="user.realName!=null and user.realName != ''">
            and real_name like concat('%',#{user.real_name},'%')
            and real_name like concat('%',#{user.realName},'%')
        </if>
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
@@ -350,5 +353,12 @@
        and account = #{account}
    </select>
    <update id="updateAcc">
        update blade_user set stype=#{stype} where  account=#{account}
    </update>
    <delete id="delete">
        delete from  blade_user where account=#{account}
    </delete>
</mapper>