| | |
| | | |
| | | HBD_BD_APPLY_PDF(15, "合并单-保单申请表PDF ", "合并单-保单申请表PDF "), |
| | | HBD_BD_SIGNED_PDF(16, "合并单-签署后保单申请表PDF", "合并单-签署后保单申请表PDF"), |
| | | COMPANY_TBD_SIGNED_PDF(17, "合并单-投保单-商户提交(企业签署)", "合并单-签署后保单申请表PDF"), |
| | | SOLUTIONS_CONFIRMATION_LATTER(18, "委托保 - 投保方案确认书", "委托保 - 方案确认书"), |
| | | MEMBER_LIST_LATTER(19, "委托保 - 投保人员名单", "委托保 - 方案确认书"), |
| | | CHANGE_MEMBER_LIST_LATTER(20, "委托保 - 加减保人员名单", "委托保 - 方案确认书"), |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | public enum UnionChangeStatus { |
| | | MERGE(0, "待签署申请单","",0), |
| | | UPLOAD_INSURANCE_POLICY(1, "待上传保单","",0), |
| | | FINISH(2, "保障中","",0), |
| | | CLOSE(3, "关闭","",0), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private String info; |
| | | private int key; |
| | | private int collectStatus; |
| | | |
| | | |
| | | // 构造方法 |
| | | UnionChangeStatus(int key, String name,String info,int collectStatus) { |
| | | this.name = name; |
| | | this.key = key; |
| | | this.info = info; |
| | | this.collectStatus = collectStatus; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (UnionChangeStatus c : UnionChangeStatus.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static List<Integer> getKesByStatus(Integer collectStatus) { |
| | | List<Integer> list = new ArrayList<>(); |
| | | if(collectStatus!=null){ |
| | | for (UnionChangeStatus c : UnionChangeStatus.values()) { |
| | | if (Constants.equalsInteger(c.getCollectStatus() ,collectStatus)) { |
| | | list.add(c.getKey()); |
| | | } |
| | | } |
| | | } |
| | | return list; |
| | | } |
| | | public static Integer getCollectStatus(Integer index) { |
| | | for (UnionChangeStatus c : UnionChangeStatus.values()) { |
| | | if (Constants.equalsInteger(c.getKey() , index)) { |
| | | return c.collectStatus; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static String getInfo(int index) { |
| | | for (UnionChangeStatus c : UnionChangeStatus.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.info; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | // get set 方法 |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public int getKey() { |
| | | return key; |
| | | } |
| | | |
| | | public void setKey(int key) { |
| | | this.key = key; |
| | | } |
| | | |
| | | public String getInfo() { |
| | | return info; |
| | | } |
| | | |
| | | public void setInfo(String info) { |
| | | this.info = info; |
| | | } |
| | | |
| | | public int getCollectStatus() { |
| | | return collectStatus; |
| | | } |
| | | |
| | | public void setCollectStatus(int collectStatus) { |
| | | this.collectStatus = collectStatus; |
| | | } |
| | | } |
| | | |
| | | public enum InsuranceApplyStatus { |
| | | UPLOAD(0, "提交投保","",0), |
| | | PLATFORM_RETURN(1, "审核不通过","提交意见:${param}",4), |
| | |
| | | CLOSE(9, "订单关闭","",6), |
| | | PLATFORM_CHECK_PASS(10,"平台投保审核通过","提交意见:${param}",0), |
| | | COMPANY_BACK_APPLY_PASS(11, "企业申请退回(平台投保审核通过)","提交意见:${param}",5), |
| | | COMPANY_APPLY_SIGNATURE(12, "委托保-企业已签署投保确认书","提交意见:${param}",5), |
| | | COMPANY_MEMBER_LIST_SIGNATURE(13, "委托保-企业已签署人员名单","提交意见:${param}",5), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | |
| | | CLOSE(6, "已关闭"), |
| | | PALTFORM_CHECK_PASS(7, "审核通过"), |
| | | PALTFORM_CHECK_PASS_NO(8, "审核不通过"), |
| | | COMPANY_SIGN(9, "企业签署人员名单 - 委托保"), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |