| | |
| | | public static final String COMPANY_FILE ="COMPANY_FILE" ; |
| | | public static final String SMS_COMNAME = "SMS_COMNAME"; |
| | | public static final String TAXES_FILE = "TAXES_FILE"; |
| | | public static final String APPLY_FILE ="APPLY_FILE" ; |
| | | public static final String SETTLE_FILE ="SETTLE_FILE" ; |
| | | |
| | | /** |
| | | * 企业数据来源 0平台注册 1后台导入 |
| | |
| | | |
| | | public static BigDecimal countDetailFee(Solutions solutions,Date startDate, Date endDate){ |
| | | //查询保险实际周期 |
| | | Integer cycle = DateUtil.calculateBetween(endDate,startDate,solutions.getDataType()); |
| | | Integer cycle = DateUtil.calculateBetween(endDate,startDate,solutions.getTimeUnit()); |
| | | if(cycle==-1){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"日期信息错误!"); |
| | | } |
| | |
| | | RETURN_APPLY(3, "发起退回申请"), |
| | | PLATFORM_AGREE(4, "平台同意(已退回)"), |
| | | CLOSE(5, "已关闭"), |
| | | PALTFORM_CHECK_PASS(6, "审核不通过"), |
| | | PALTFORM_CHECK_PASS_NO(7, "审核通过"), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (ApplyLogType c : ApplyLogType.values()) { |
| | | for (InsuranceApplyStatus c : InsuranceApplyStatus.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | public enum SettleClaimsStatus { |
| | | WAIT_ACCEPTANCE(0, "待受理"), |
| | | RETURN_ACCEPTANCE(1, "退回受理"), |
| | | CONFIRM_INFORMATION(2, "确认资料"), |
| | | FINISH_ACCEPTANCE(3, "完成受理"), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private int key; |
| | | |
| | | // 构造方法 |
| | | SettleClaimsStatus(int key, String name) { |
| | | this.name = name; |
| | | this.key = key; |
| | | } |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (SettleClaimsStatus c : SettleClaimsStatus.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 SettleClaimsLogType { |
| | | UPLOAD(0, "提交报案","提交意见:${param}"), |
| | | PLATFORM_RETURN(1, "平台退回","提交意见:${param}"), |
| | | CONFIRM_INFORMATION(2, "平台确认资料","提交意见:${param}"), |
| | | PLATFORM_FINISH(3, "平台完成受理","提交意见:${param}"), |
| | | UPDATE_DATA(4, "修改信息","提交意见:${param}"), |
| | | SUPPLEMENT(5, "补充说明","提交意见:${param}"), |
| | | COMPANY_APPLY_RETURN(6, "平台理赔处理","提交意见:${param}"), |
| | | COMPANY_APPLY_CLOSE(7, "平台备注标签",""), |
| | | PLATFORM_AGREE_BACK(8, "平台添加报案号",""), |
| | | PLATFORM_UN_AGREE_BACK(9, "企业下载资料",""), |
| | | COMPANY_EDIT(10, "平台下载资料",""), |
| | | PLATFORM_CHECK_PASS(11, "平台上传资料",""), |
| | | ; |
| | | // 成员变量 |
| | | private String name; |
| | | private String info; |
| | | private int key; |
| | | |
| | | // 构造方法 |
| | | SettleClaimsLogType(int key, String name,String info) { |
| | | this.name = name; |
| | | this.info = info; |
| | | this.key = key; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (ApplyLogType c : ApplyLogType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.name; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static String getInfo(int index) { |
| | | for (ApplyLogType c : ApplyLogType.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; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //3=退回申请;4=平台审批通过;0=审批驳回;5=平台审批驳回 |
| | | public enum ApplyChangeLogStatus { |
| | | UPLOAD(0, "发起申请"), |