岗位管理新增党政同责考核类型

This commit is contained in:
mythxb 2024-04-07 16:07:01 +08:00
parent 420b0f9a07
commit cf511da4f5
5 changed files with 56 additions and 1 deletions

View File

@ -39,6 +39,17 @@ public class ChangePerformDto {
@ApiModelProperty("地区id")
private String areaCode;
@ApiModelProperty("党政同责考核类型 1、直属部门 2、其他有关部门 3、属地 4、不考核")
private Integer examineState;
public Integer getExamineState() {
return examineState;
}
public void setExamineState(Integer examineState) {
this.examineState = examineState;
}
public String getAreaCode() {
return areaCode;
}

View File

@ -8,10 +8,15 @@ package com.rzyc.enums;
*/
public enum ExamineState {
//审核中
AUDITING(1),
//已发布
RELEASE(2),
//上传资料
UPLOAD(3),
//评分中
SCOREING(4),
//评分完成
COMPLETE(5);
private Integer state;

View File

@ -0,0 +1,35 @@
package com.rzyc.enums;
import io.swagger.annotations.ApiModel;
/**
* 党政同责考核类型 1直属部门 2其他有关部门 3属地 4不考核
* @version v1.0
* @author dong
* @date 2024/4/7 14:59
*/
public enum ExamineStatus {
//负有安全生产监管职责的部门
SAFE_UNIT(1),
//其他有关部门
OTHER_UNIT(2),
//属地
AREA(3),
//不考核
NOT_EXAMINE(4);
private Integer state;
ExamineStatus(Integer state) {
this.state = state;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
}

View File

@ -128,7 +128,7 @@ public class ListPerform implements Serializable {
@TableField("position_type")
private Integer positionType;
@ApiModelProperty("党政同责考核类型 1、负有安全生产监管职责的部门 2、其他有关部门 3、属地")
@ApiModelProperty("党政同责考核类型 1、直属部门 2、其他有关部门 3、属地 4、不考核")
@TableField("examine_state")
private Integer examineState;

View File

@ -163,6 +163,7 @@
area_path,
area_path_name,
position_type,
examine_state,
SupClassCode, viewJurisdiction,SupClassName,
CreatedOn, CreatedBy, ModifiedOn,
@ -178,6 +179,7 @@
#{areaPath,jdbcType=VARCHAR},
#{areaPathName,jdbcType=VARCHAR},
#{positionType,jdbcType=INTEGER},
#{examineState,jdbcType=INTEGER},
#{supclasscode,jdbcType=VARCHAR},
#{viewJurisdiction,jdbcType=VARCHAR},
#{supclassname,jdbcType=VARCHAR},
@ -627,6 +629,7 @@
<result column="SupClassId" jdbcType="VARCHAR" property="supclassid" />
<result column="completion" jdbcType="VARCHAR" property="completion" />
<result column="performName" jdbcType="VARCHAR" property="performName" />
<result column="examine_state" jdbcType="INTEGER" property="examineState" />
<result column="SupClassCode" jdbcType="VARCHAR" property="supclasscode" />
<result column="viewJurisdiction" jdbcType="VARCHAR" property="viewJurisdiction" />
<result column="SupClassName" jdbcType="VARCHAR" property="supclassname" />
@ -673,6 +676,7 @@
area_path = #{record.areaPath,jdbcType=VARCHAR},
position_type = #{record.positionType,jdbcType=INTEGER},
area_path_name = #{record.areaPathName,jdbcType=VARCHAR},
examine_state = #{record.examineState,jdbcType=INTEGER},
SupClassCode = #{record.supclasscode,jdbcType=VARCHAR},
viewJurisdiction = #{record.viewJurisdiction,jdbcType=VARCHAR},
WorkDivision = #{record.workdivision,jdbcType=VARCHAR},