智慧农业后台管理
guoshilong
2022-08-19 457c68f549ef82c3f07c3a699e54b93a6e626554
更新用户查询条件
1 files modified
2 ■■■ changed files
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -77,7 +77,7 @@
    <select id="getUserList" resultType="org.springblade.modules.system.entity.User">
        SELECT * FROM  blade_user where 1=1
        <if test="user.farmId!=null and user.farmId!=''">
           and find_in_set(farm_id,#{user.farmId})
           and find_in_set(#{user.farmId},farm_id)
        </if>
    </select>