forked from rongchao/epmet-cloud-rizhao
				
			
				 7 changed files with 291 additions and 20 deletions
			
			
		| @ -0,0 +1,35 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * 被艾特的人 | |||
|  * | |||
|  * @author yinzuomei@elink-cn.com | |||
|  * @date 2021/8/3 15:51 | |||
|  */ | |||
| @Data | |||
| public class MentionUserFormDTO implements Serializable { | |||
| 
 | |||
|     /** | |||
|      * 人大代表用户id | |||
|      */ | |||
|     private String npcUserId; | |||
| 
 | |||
|     /** | |||
|      * 人大代表注册网格id | |||
|      */ | |||
|     private String gridId; | |||
| 
 | |||
|     /** | |||
|      * 人大代表注册网格所属社区id | |||
|      */ | |||
|     private String agencyId; | |||
| 
 | |||
|     /** | |||
|      * 注册网格的所有上级 | |||
|      */ | |||
|     private String pids; | |||
| } | |||
| @ -0,0 +1,34 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * 报给谁? | |||
|  * | |||
|  * @author yinzuomei@elink-cn.com | |||
|  * @date 2021/8/3 15:51 | |||
|  */ | |||
| @Data | |||
| public class ReportOrgFormDTO implements Serializable { | |||
|     /** | |||
|      * 报给?: 网格:grid; 社区:community; 乡(镇、街道)级:street; 区县级: district; 市级: city; 省级:province。 | |||
|      */ | |||
|     private String orgType; | |||
| 
 | |||
|     /** | |||
|      * 报给的组织或者网格id | |||
|      */ | |||
|     private String orgId; | |||
| 
 | |||
|     /** | |||
|      * org_id的上级组织id,org_id是跟组织,此列为0 | |||
|      */ | |||
|     private String orgPid; | |||
| 
 | |||
|     /** | |||
|      * org_id的所有上级组织id,org_id是跟组织,此列为0 | |||
|      */ | |||
|     private String orgPids; | |||
| } | |||
| @ -0,0 +1,61 @@ | |||
| package com.epmet.constant; | |||
| 
 | |||
| import com.epmet.commons.tools.constant.StrConstant; | |||
| 
 | |||
| /** | |||
|  * resi_event_operation_log事件操作日志枚举类 | |||
|  * | |||
|  * @author yinzuomei@elink-cn.com | |||
|  * @date 2021/8/3 16:38 | |||
|  */ | |||
| public enum ResiEventAction { | |||
|     // 1、发布事件:publish;
 | |||
|     // 2、撤回事件:recall;
 | |||
|     // 3、复:reply;
 | |||
|     // 4、立项:shift_project;
 | |||
|     // 5、办结:close_case;
 | |||
|     // 6、选择是否已解决:choose_resolve;
 | |||
|     // 7、查看阅读事件:read:人大代表未读=>已读;工作人员待处理=>处理中;
 | |||
|      PUBLISH ( "publish",""), | |||
|      RECALL( "recall",""), | |||
|      REPLY ("reply",""), | |||
|      SHIFIT_PROJECT ( "shift_project",""), | |||
|      CLOSE_CASE ( "close_case",""), | |||
|      CHOOSE_RESOLVE ( "choose_resolve",""), | |||
|      READ( "read",""); | |||
| 
 | |||
| 
 | |||
|     private String code; | |||
|     private String desc; | |||
| 
 | |||
|     ResiEventAction(String code, String desc) { | |||
|         this.code = code; | |||
|         this.desc = desc; | |||
|     } | |||
| 
 | |||
|     public static String getDesc(String code) { | |||
|         ResiEventAction[] businessModeEnums = values(); | |||
|         for (ResiEventAction resiEventAction : businessModeEnums) { | |||
|             if (resiEventAction.getCode()==code) { | |||
|                 return resiEventAction.getDesc(); | |||
|             } | |||
|         } | |||
|         return StrConstant.EPMETY_STR; | |||
|     } | |||
| 
 | |||
|     public String getCode(){ | |||
|         return this.code; | |||
|     } | |||
| 
 | |||
|     public void setCode(String code) { | |||
|         this.code = code; | |||
|     } | |||
| 
 | |||
|     public String getDesc(){ | |||
|         return this.desc; | |||
|     } | |||
| 
 | |||
|     public void setDesc(String desc) { | |||
|         this.desc = desc; | |||
|     } | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue