| | |
| | | BD_SIGNED_PDF(9, "签署后保单申请表PDF", "签署后保单申请表PDF"), |
| | | COM_SING_IMG(10, "企业印章", "企业印章"), |
| | | BD_DONE_PDF(11, "最终报单", "最终报单"), |
| | | |
| | | CA_PD_PDF(12, "最终报单", "最终报单"), |
| | | CA_APPLY_JIAJIAN_SIGN(13, "加减保申请签章文件", "加减保申请签章文件"), |
| | | CA_APPLY_CHANGEUNIT_SIGN(14, "换厂申请签章文件", "换厂申请签章文件"), |
| | | |
| | | |
| | | ; |
| | |
| | | |
| | | } |
| | | |
| | | public enum ApplyCollectStatus { |
| | | DSP(0, "待审批"), |
| | | DCD(1, "待出单"), |
| | | BZZ(2, "保障中"), |
| | | YGQ(3, "已过期"), |
| | | YTH(4, "已退回"), |
| | | THSQZ(5, "退回申请中"), |
| | | YGB(6, "已关闭"), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private int key; |
| | | |
| | | // 构造方法 |
| | | ApplyCollectStatus(int key, String name) { |
| | | this.name = name; |
| | | this.key = key; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (ApplyCollectStatus c : ApplyCollectStatus.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | | } |
| | | 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 enum ApplyLogType { |
| | | UPLOAD(0, "提交投保","提交意见:${param}"), |
| | |
| | | CA_PALTFORM_REFUSE_APPLY(20, "驳回退回申请",""), |
| | | CA_PALTFORM_EDIT_PIDAN(21, "修改批单","修改原因:${param}"), |
| | | PALTFORM_EDIT_BD(22, "修改保单","修改原因:${param}"), |
| | | |
| | | CA_CHANGUNIT_APPLY_SIGN(24, "换成申请企业签章",""), |
| | | CA_JIAJIAN_APPLY_SIGN(23, "加减保申请企业签章",""), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | |
| | | } |
| | | |
| | | public enum InsuranceApplyStatus { |
| | | UPLOAD(0, "提交投保",""), |
| | | PLATFORM_RETURN(1, "审核不通过","提交意见:${param}"), |
| | | WAIT_SIGNATURE(2, "已上传代签申请表待企业签章",""), |
| | | SIGNATURE(3, "已签章待上传保险单",""), |
| | | FAIL_RETURN(4, "保单出具失败退回",""), |
| | | UPLOAD_INSURANCE(5, "保单完成","保险生效起期:${param}变更为${param1}"), |
| | | COMPANY_BACK_APPLY_UPLOAD(6, "企业申请退回(提交投保)","提交意见:${param}"), |
| | | COMPANY_BACK_APPLY_WAIT_SIGNATURE(7, "企业申请退回(待签章)","提交意见:${param}"), |
| | | COMPANY_BACK_APPLY_SIGNATURE(8, "企业申请退回(已签章)","提交意见:${param}"), |
| | | CLOSE(9, "订单关闭",""), |
| | | PLATFORM_CHECK_PASS(10,"平台投保审核通过",""), |
| | | UPLOAD(0, "提交投保","",0), |
| | | PLATFORM_RETURN(1, "审核不通过","提交意见:${param}",4), |
| | | WAIT_SIGNATURE(2, "已上传代签申请表待企业签章","",1), |
| | | SIGNATURE(3, "已签章待上传保险单","",1), |
| | | FAIL_RETURN(4, "保单出具失败退回","",0), |
| | | UPLOAD_INSURANCE(5, "保单完成","保险生效起期:${param}变更为${param1}",2), |
| | | COMPANY_BACK_APPLY_UPLOAD(6, "企业申请退回(提交投保)","提交意见:${param}",5), |
| | | COMPANY_BACK_APPLY_WAIT_SIGNATURE(7, "企业申请退回(待签章)","提交意见:${param}",5), |
| | | COMPANY_BACK_APPLY_SIGNATURE(8, "企业申请退回(已签章)","提交意见:${param}",5), |
| | | CLOSE(9, "订单关闭","",6), |
| | | PLATFORM_CHECK_PASS(10,"平台投保审核通过","",1), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private String info; |
| | | private int key; |
| | | private int collectStatus; |
| | | |
| | | // 构造方法 |
| | | InsuranceApplyStatus(int key, String name,String info) { |
| | | InsuranceApplyStatus(int key, String name,String info,int collectStatus) { |
| | | this.name = name; |
| | | this.key = key; |
| | | this.info = info; |
| | | this.collectStatus = collectStatus; |
| | | } |
| | | |
| | | // 普通方法 |
| | |
| | | for (InsuranceApplyStatus c : InsuranceApplyStatus.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 (InsuranceApplyStatus c : InsuranceApplyStatus.values()) { |
| | | if (Constants.equalsInteger(c.getCollectStatus() ,collectStatus)) { |
| | | list.add(c.getKey()); |
| | | } |
| | | } |
| | | } |
| | | return list; |
| | | } |
| | | public static Integer getCollectStatus(Integer index) { |
| | | for (InsuranceApplyStatus c : InsuranceApplyStatus.values()) { |
| | | if (Constants.equalsInteger(c.getKey() , index)) { |
| | | return c.collectStatus; |
| | | } |
| | | } |
| | | return null; |
| | |
| | | public void setInfo(String info) { |
| | | this.info = info; |
| | | } |
| | | |
| | | public int getCollectStatus() { |
| | | return collectStatus; |
| | | } |
| | | |
| | | public void setCollectStatus(int collectStatus) { |
| | | this.collectStatus = collectStatus; |
| | | } |
| | | } |
| | | |
| | | public static BigDecimal countDetailFee(Solutions solutions,Date startDate, Date endDate){ |