liujie
2025-05-22 f4babe96dfb43de6467d783d71778ba10717b99d
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/SystemUserMapper.xml
@@ -27,6 +27,9 @@
      <if test="null != query.systemRoleId">
         and a.system_role_id = #{query.systemRoleId}
      </if>
      <if test="null != query.accountLevel and 1 == query.accountLevel   ">
         and h.level = #{query.accountLevel}
      </if>
      <if test="null != query.accountLevel and 2 == query.accountLevel and query.type==2 and query.code != null and query.code !=''  ">
         and h.level >= #{query.accountLevel} and h.districts_code = #{query.code}
      </if>