jiangping
2025-03-27 7b51c9e1abc198a501f7858599da9c116130fd6f
server/system_service/src/main/resources/mappers/SystemUserMapper.xml
@@ -67,7 +67,10 @@
        AND  usr.`status` = #{dto.status}
      </if>
      <if test="dto.memberType != null ">
        AND  m.`type` = #{dto.memberType}
        AND  usr.`type` = #{dto.memberType}
      </if>
      <if test="dto.workStatus != null ">
        AND  m.WORK_STATUS = #{dto.workStatus}
      </if>
      <if test="dto.companyId != null ">
        AND  usr.COMPANY_ID  = #{dto.companyId}
@@ -76,7 +79,7 @@
        AND  sd.`type` = #{dto.companyType}
      </if>
      <if test="dto.querySpecial != null and dto.querySpecial == 1 ">
            AND find_in_set(#{dto.companySpecialId},REPLACE(sd.company_path,"/",","))
            AND find_in_set(#{dto.companySpecialId},REPLACE(sd.company_path,'/',','))
      </if>
    </where>
    ${orderByClause}