Commit ad8986bd authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/develop' into develop

parents 4534f3ff cc6dab0f
...@@ -405,9 +405,9 @@ public class InsurancesConstants { ...@@ -405,9 +405,9 @@ public class InsurancesConstants {
public static final String INSURANCE_REFUND_STATUS_FOUR_ERROR = "商险已减员,无法减员"; public static final String INSURANCE_REFUND_STATUS_FOUR_ERROR = "商险已减员,无法减员";
/** /**
* 替换结算月份和原有结算月份相同 * 变更结算月和当前结算月一致
*/ */
public static final String SETTLE_MONTH_IDENTICAL = "替换结算月份和原有结算月份相同"; public static final String SETTLE_MONTH_IDENTICAL = "变更结算月和当前结算月一致";
/** /**
* 商险待投保,无法减员 * 商险待投保,无法减员
...@@ -429,6 +429,11 @@ public class InsurancesConstants { ...@@ -429,6 +429,11 @@ public class InsurancesConstants {
*/ */
public static final String SETTLE_MONTH_CHANGE_REFUND_STATUS_FOUR_ERROR = "商险已减员,无法变更结算月"; public static final String SETTLE_MONTH_CHANGE_REFUND_STATUS_FOUR_ERROR = "商险已减员,无法变更结算月";
/**
* 减员流程中,无法变更结算月
*/
public static final String SETTLE_MONTH_CHANGE_REFUND_STATUS_ONE_ERROR = "减员流程中,无法变更结算月";
/** /**
* 商险结算中,无法变更结算月 * 商险结算中,无法变更结算月
*/ */
......
package com.yifu.cloud.plus.v1.yifu.insurances.entity; package com.yifu.cloud.plus.v1.yifu.insurances.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity; import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
...@@ -20,26 +22,32 @@ public class TInsuranceRefund extends BaseEntity { ...@@ -20,26 +22,32 @@ public class TInsuranceRefund extends BaseEntity {
/** /**
* 主键id * 主键id
*/ */
@TableId(type = IdType.ASSIGN_ID)
@Schema(description = "主键")
private String id; private String id;
/** /**
* 保单信息主键 * 保单信息主键
*/ */
@Schema(description = "保单信息主键")
private String insDetailId; private String insDetailId;
/** /**
* 减员状态 * 减员状态
*/ */
@Schema(description = "减员状态")
private Integer reduceHandleStatus; private Integer reduceHandleStatus;
/** /**
* 退费金额 * 退费金额
*/ */
@Schema(description = "退费金额")
private BigDecimal refundMoney; private BigDecimal refundMoney;
/** /**
* 备注 * 备注
*/ */
@Schema(description = "备注")
private String remark; private String remark;
/** /**
......
...@@ -74,9 +74,14 @@ public class LocalDateUtil { ...@@ -74,9 +74,14 @@ public class LocalDateUtil {
* @return {@link LocalDate} * @return {@link LocalDate}
*/ */
public static LocalDate parseLocalDate(String strDate){ public static LocalDate parseLocalDate(String strDate){
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern(NORM_DATE_PATTERN, Locale.CHINA); try {
LocalDate localDate = LocalDate.parse(strDate, dateTimeFormatter); DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern(NORM_DATE_PATTERN, Locale.CHINA);
return localDate; LocalDate localDate = LocalDate.parse(strDate, dateTimeFormatter);
return localDate;
}catch (Exception e){
e.printStackTrace();
return null;
}
} }
/** /**
......
...@@ -91,4 +91,23 @@ public class DeptChangeCheckParam implements Serializable { ...@@ -91,4 +91,23 @@ public class DeptChangeCheckParam implements Serializable {
@Schema(description = "结算方式") @Schema(description = "结算方式")
private Integer oldSettleType; private Integer oldSettleType;
/**
* 默认结算id
*/
@Schema(description = "默认结算id")
private String defaultSettleId;
/**
* 预估保费
*/
@Schema(description = "预估保费")
private String estimatePremium;
/**
* 实际保费
*/
@Schema(description = "实际保费")
private String actualPremium;
} }
...@@ -132,7 +132,7 @@ public class InsuranceAddParam implements Serializable { ...@@ -132,7 +132,7 @@ public class InsuranceAddParam implements Serializable {
* 险种主键 * 险种主键
*/ */
@JsonIgnore @JsonIgnore
private String insuranceTypeId; private Long insuranceTypeId;
/** /**
* 商险购买地省code * 商险购买地省code
......
...@@ -171,5 +171,9 @@ public class InsuranceRefundListVo implements Serializable { ...@@ -171,5 +171,9 @@ public class InsuranceRefundListVo implements Serializable {
@Schema(description = "减员状态 1待减员 2减员中3减员退回") @Schema(description = "减员状态 1待减员 2减员中3减员退回")
private Integer reduceHandleStatus; private Integer reduceHandleStatus;
/**
* 购买月数
*/
@Schema(description = "购买月数")
private Long buyMonth;
} }
package com.yifu.cloud.plus.v1.yifu.insurances.entity; package com.yifu.cloud.plus.v1.yifu.insurances.vo;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
......
...@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail; import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefundDetail; import com.yifu.cloud.plus.v1.yifu.insurances.vo.TInsuranceRefundDetail;
import com.yifu.cloud.plus.v1.yifu.insurances.vo.*; import com.yifu.cloud.plus.v1.yifu.insurances.vo.*;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
......
...@@ -640,7 +640,7 @@ ...@@ -640,7 +640,7 @@
</foreach> </foreach>
</select> </select>
<!-- 查询保单减员退费信息--> <!-- 查询保单减员退费信息-->
<select id="selectRefundDetail" resultType="com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefundDetail"> <select id="selectRefundDetail" resultType="com.yifu.cloud.plus.v1.yifu.insurances.vo.TInsuranceRefundDetail">
select select
detail.DEPT_NO as deptNo, detail.DEPT_NO as deptNo,
detail.EMP_NAME as empName, detail.EMP_NAME as empName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment