政策表添加政策分类(可分为人才引进、人才培养、人才激励等类别)
This commit is contained in:
@@ -64,6 +64,9 @@ public class PolicyInfo extends BaseEntity {
|
|||||||
@ApiModelProperty("浏览数")
|
@ApiModelProperty("浏览数")
|
||||||
private Integer viewNum;
|
private Integer viewNum;
|
||||||
|
|
||||||
|
@ApiModelProperty("政策分类(0人才引进、1人才培养、2人才激励)")
|
||||||
|
private String policyCategory;
|
||||||
|
|
||||||
//标签
|
//标签
|
||||||
/** 1-大龄人员;2-低保人员;3-残疾人员;4-失地农名或联队职工;5-防止返贫;6-未就业大中专毕业生;7-退役军人;8-长期失业人员;9-城镇零就业家庭成员;10.刑满释放人员 **/
|
/** 1-大龄人员;2-低保人员;3-残疾人员;4-失地农名或联队职工;5-防止返贫;6-未就业大中专毕业生;7-退役军人;8-长期失业人员;9-城镇零就业家庭成员;10.刑满释放人员 **/
|
||||||
private String policyTag;
|
private String policyTag;
|
||||||
|
|||||||
@@ -31,5 +31,8 @@ public class PolicyInfoQuery {
|
|||||||
@ApiModelProperty("状态(0启用 1禁用),空表示不过滤")
|
@ApiModelProperty("状态(0启用 1禁用),空表示不过滤")
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
|
@ApiModelProperty("政策分类(0人才引进、1人才培养、2人才激励)")
|
||||||
|
private String policyCategory;
|
||||||
|
|
||||||
private List<String> policyTags;
|
private List<String> policyTags;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,9 @@
|
|||||||
<if test="query.status != null">
|
<if test="query.status != null">
|
||||||
and (status IS NULL or status = #{query.status})
|
and (status IS NULL or status = #{query.status})
|
||||||
</if>
|
</if>
|
||||||
|
<if test="query.policyCategory != null">
|
||||||
|
and policy_category = #{query.policyCategory}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by publish_time desc, create_time desc
|
order by publish_time desc, create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user