| | |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.dao.business.dto.CountCyclePriceDTO; |
| | | import com.doumee.dao.business.model.ApplyChange; |
| | | import com.doumee.dao.business.model.ApplyDetail; |
| | | import com.doumee.dao.business.model.InsuranceApply; |
| | | import com.doumee.dao.business.model.Solutions; |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.business.vo.ChangeDealTypeVO; |
| | | import com.doumee.dao.business.vo.CountCyclePriceVO; |
| | | import io.swagger.models.auth.In; |
| | |
| | | return Constants.equalsInteger(model.getStatus(), ApplyChangeStatus.APPROVE.getKey())?"批减生效起期":"期望批减生效起期"; |
| | | } |
| | | } |
| | | |
| | | |
| | | public static String getApplyTimeTitle(int type, UnionApply model){ |
| | | if(type ==1){ |
| | | return Constants.equalsInteger(model.getStatus(), UnionApplyStatus.FINISH.getKey())?"保险生效起期":"期望保险生效起期"; |
| | | }else{ |
| | | return Constants.equalsInteger(model.getStatus(), UnionApplyStatus.FINISH.getKey())?"保险生效止期":"预计生效止期"; |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 获取批改单时间标题列 |
| | | * @param type 0更换派遣单位 1加保 0减保 |
| | | * @param model |
| | | * @return |
| | | */ |
| | | public static String getChangeApplyTimeTitle(int type, UnionChange model){ |
| | | if(type ==2){ |
| | | return Constants.equalsInteger(model.getStatus(), UnionChangeStatus.FINISH.getKey())?"批单生效期":"期望批单生效期"; |
| | | }else if(type ==1){ |
| | | return Constants.equalsInteger(model.getStatus(), UnionChangeStatus.FINISH.getKey())?"批增生效起期":"期望批增生效起期"; |
| | | }else{ |
| | | return Constants.equalsInteger(model.getStatus(), UnionChangeStatus.FINISH.getKey())?"批减生效起期":"期望批减生效起期"; |
| | | } |
| | | } |
| | | /** |
| | | * 企业数据来源 0平台注册 1后台导入 |
| | | */ |