郑永安
2023-09-04 3c8f3a7b74f62a9053cd9d860d8f1d37454712eb
src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml
@@ -211,6 +211,9 @@
      <if test="record.roleId != null">
        and r.roleid = #{record.roleId}
      </if>
      <if test="record.companyid != null">
        and c.id = #{record.companyid}
      </if>
    </where>
  </select>
  <select id="selectSuperviseUserDataList" resultMap="UserVo">
@@ -260,7 +263,7 @@
        and user.realname like concat ('%',#{record.realname,jdbcType=VARCHAR},'%')
      </if>
      <if test="record.company != null and record.company !=''">
        and user.company like concat ('%',#{record.company,jdbcType=VARCHAR},'%')
        and user.company like concat ('%',#{record.company},'%')
      </if>
      <if test="record.job != null and record.job !=''">
        and user.job like concat ('%',#{record.job,jdbcType=VARCHAR},'%')