Mr.Zhang
2023-10-16 9d6d3cbcd640dcc2ca2f65d85c9be0942391abe5
server/src/main/resources/mappers/SystemUserMapper.xml
@@ -97,10 +97,11 @@
    FROM `system_login_log` s left join company c on s.COMPANY_ID = c.ID
    <where>
      s.COMPANY_ID is not null
      and s.SUCCESS = 1
      and s.ORGIN is not null
      <if test="dto.orgin != null">
        AND s.orgin = #{dto.orgin}
      </if>
      <if test="dto.companyName != null and dto.companyName != ''">
        AND c.`NAME` LIKE CONCAT('%', #{dto.companyName}, '%')
      </if>