Commit df158ff9 by 谢海旭

招聘管理:HRBP表结构调整

1 parent 19cac8ac
......@@ -25,6 +25,24 @@ public class RecruitmentProvinceHrbpRelation implements Serializable {
private Integer id;
/**
* 业务类型值
*/
@Column(name = "business_type")
private String businessType;
/**
* 业务类型名称
*/
@Column(name = "business_type_name")
private String businessTypeName;
/**
* 是否负责全国(1是/0否)
*/
@Column(name = "is_all_province")
private Integer isAllProvince;
/**
* 省份名称
*/
@Column(name = "province_name")
......
......@@ -6,6 +6,9 @@
WARNING - @mbg.generated
-->
<id column="id" property="id" jdbcType="INTEGER" />
<result column="business_type" property="businessType" jdbcType="VARCHAR" />
<result column="business_type_name" property="businessTypeName" jdbcType="VARCHAR" />
<result column="is_all_province" property="isAllProvince" jdbcType="TINYINT" />
<result column="province_name" property="provinceName" jdbcType="VARCHAR" />
<result column="province_code" property="provinceCode" jdbcType="VARCHAR" />
<result column="hrbp_name" property="hrbpName" jdbcType="VARCHAR" />
......@@ -20,14 +23,21 @@
<!--
WARNING - @mbg.generated
-->
id, province_name, province_code, hrbp_name, hrbp_phone, created_by,
created_date, updated_by, updated_date, deleted_flag
id, business_type, business_type_name, is_all_province, province_name,
province_code, hrbp_name, hrbp_phone, created_by, created_date,
updated_by, updated_date, deleted_flag
</sql>
<select id="listProvinceHrbpRelation" resultMap="BaseResultMap" parameterType="cn.com.glsx.dj.staff.model.RecruitmentProvinceHrbpRelation">
SELECT <include refid="Base_Column_List"/>
FROM dj_car_life_recruitment_province_hrbp_relation
WHERE deleted_flag = 'N'
<if test="businessType != null and businessType != ''">
AND business_type = #{businessType}
</if>
<if test="isAllProvince != null">
AND is_all_province = #{isAllProvince}
</if>
<if test="provinceName != null and provinceName != ''">
AND province_name LIKE CONCAT('%', #{provinceName}, '%')
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!