| | |
| | | <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" /> |
| | |
| | | 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> |
| | |
| | | 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> |
| | |
| | | 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> |