zhangfeng
2023-07-19 2019d3ea4088eae51b5d52a2f6245841deb26781
src/main/java/com/gk/hotwork/Mapper/mybatis/UserInfoMapper.xml
@@ -65,6 +65,11 @@
    <result column="crossy" property="crossY" jdbcType="DECIMAL" />
    <result column="issecurityofficer" property="issecurityofficer" jdbcType="TINYINT" />
    <result column="updateat" property="updateat" jdbcType="TIMESTAMP" />
    <result column="executive_level" property="executiveLevel" jdbcType="INTEGER" />
    <result column="province" property="province" jdbcType="VARCHAR" />
    <result column="city" property="city" jdbcType="VARCHAR" />
    <result column="county" property="county" jdbcType="VARCHAR" />
    <result column="professional_level" property="professionalLevel" jdbcType="INTEGER" />
    <association property="companyInfo" javaType="com.gk.hotwork.Domain.CompanyInfo">
      <result column="company_id" property="id"  />
      <result column="company" property="company"  />
@@ -187,7 +192,7 @@
    left join userroles as r on r.userid = `user`.id
    <where>
        `user`.status = 1
        and  user.type != 1
        and  user.type = 3
      <if test="record.username != null and record.username !=''">
        and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
      </if>
@@ -244,7 +249,7 @@
    left join userroles as r on r.userid = `user`.id
    <where>
      `user`.status = 1
      and  user.type != 1
      and  user.type = 2
      <if test="record.username != null and record.username !=''">
        and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
      </if>
@@ -314,7 +319,7 @@
    left join speciality as s on s.id = `user`.speciality_id
    <where>
      `user`.status = 1
      and  user.type != 1
      and  user.type = 4
      <if test="record.username != null and record.username !=''">
        and user.username like concat ('%',#{record.username,jdbcType=VARCHAR},'%')
      </if>