5 changed files with 128 additions and 13 deletions
@ -0,0 +1,51 @@ |
|||||||
|
package com.biutag.supervision.pojo.enums.complaintCollection; |
||||||
|
|
||||||
|
|
||||||
|
import com.biutag.supervision.constants.enums.CodeEnum; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Getter; |
||||||
|
|
||||||
|
import java.util.Set; |
||||||
|
|
||||||
|
/** |
||||||
|
* @ClassName ComplaintCollectionProcessingStatusEnum |
||||||
|
* @Description 涉访涉诉局长信箱状态 |
||||||
|
* @Author shihao |
||||||
|
* @Date 2026/1/30 18:03 |
||||||
|
*/ |
||||||
|
@Schema(description = "涉访涉诉局长信箱状态") |
||||||
|
@Getter |
||||||
|
public enum ComplaintCollectionProcessingStatusEnum implements CodeEnum { |
||||||
|
|
||||||
|
|
||||||
|
COMPLETION("completion","已办结"), |
||||||
|
|
||||||
|
TERMINATED("terminated","已终止"), |
||||||
|
|
||||||
|
PROCESSING("processing","办理中"), |
||||||
|
|
||||||
|
DELAYED("delayed", "已延期"); |
||||||
|
|
||||||
|
private final String code; |
||||||
|
private final String desc; |
||||||
|
|
||||||
|
ComplaintCollectionProcessingStatusEnum(String code, String desc) { |
||||||
|
this.code = code; |
||||||
|
this.desc = desc; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String getCode() { |
||||||
|
return code; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String getDesc() { |
||||||
|
return desc; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
// 涉访涉诉中局长信箱可办结的状态
|
||||||
|
public static final Set<String> ALLOWED_COMPLETE_STATUS = |
||||||
|
Set.of(COMPLETION.code, TERMINATED.code); |
||||||
|
} |
||||||
@ -0,0 +1,54 @@ |
|||||||
|
package com.biutag.supervision.pojo.enums.complaintCollection; |
||||||
|
|
||||||
|
import com.biutag.supervision.constants.enums.CodeEnum; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
|
||||||
|
|
||||||
|
@Schema(description = "涉访涉诉来源表子类枚举类") |
||||||
|
public enum ComplaintCollectionSourceTableSubOneEnum implements CodeEnum { |
||||||
|
|
||||||
|
|
||||||
|
// ===== 局长信箱体系 =====
|
||||||
|
MAYOR_MAILBOX_JZ("23_jz", "局长信箱"), |
||||||
|
MAYOR_MAILBOX_TZ("23_tz", "厅长信箱"), |
||||||
|
MAILBOX_REPORT("23_jb", "110举报投诉"), |
||||||
|
|
||||||
|
// ===== 信访体系 =====
|
||||||
|
NATIONAL_PETITION_1("21_1", "国家信访件"), |
||||||
|
PROVINCE_PETITION("21_2", "省信访件"), |
||||||
|
CITY_PETITION("21_3", "市信访件"), |
||||||
|
|
||||||
|
MINISTRY_PETITION_1("22_1", "公安部信访件"), |
||||||
|
PROVINCE_PETITION_2("22_2", "省厅信访件"), |
||||||
|
CITY_PETITION_2("22_3", "市局信访件"), |
||||||
|
|
||||||
|
// ===== 投诉体系 =====
|
||||||
|
MINISTRY_CASE("17_1", "公安部件"), |
||||||
|
PROVINCE_CASE("17_2", "省厅件"), |
||||||
|
CITY_CASE("17_3", "市局件"), |
||||||
|
|
||||||
|
// ===== 领导交办 =====
|
||||||
|
CITY_LEADER_ASSIGN("18", "市局领导交办"), |
||||||
|
BRIGADE_LEADER_ASSIGN("19", "支队领导交办"), |
||||||
|
SUPERIOR_LEADER_ASSIGN("20", "上级领导交办"); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private final String code; |
||||||
|
private final String desc; |
||||||
|
|
||||||
|
ComplaintCollectionSourceTableSubOneEnum(String code, String desc) { |
||||||
|
this.code = code; |
||||||
|
this.desc = desc; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String getCode() { |
||||||
|
return code; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String getDesc() { |
||||||
|
return desc; |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue