Commit 7bc08476 authored by zhaji's avatar zhaji

"feature-zhaJi:新增商险结算表及对应操作层代码"

parent e4236267
package com.yifu.cloud.plus.v1.yifu.insurances.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 商险结算表
* @TableName t_insurance_settle
*/
public class TInsuranceSettle implements Serializable {
/**
* 主键
*/
private String id;
/**
* 商险明细id
*/
private String insDetailId;
/**
* 结算状态
*/
private String settleHandleStatus;
/**
* 结算类型 (1、单独结算 2、与薪资合并结算)
*/
private Integer settleType;
/**
* 实际保费
*/
private BigDecimal actualPremium;
/**
* 预估保费
*/
private BigDecimal estimatePremium;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 实际费用推送标识 1是 0否
*/
private Integer isActualPush;
/**
* 预估费用推送标识 1是 0否
*/
private Integer isEstimatePush;
/**
* 实际保费推送时间
*/
private Date actualPushTime;
/**
* 预估保费推送时间
*/
private Date estimatePushTime;
/**
* 结算完成时间
*/
private Date settleDoneTime;
private static final long serialVersionUID = 1L;
/**
* 主键
*/
public String getId() {
return id;
}
/**
* 主键
*/
public void setId(String id) {
this.id = id;
}
/**
* 商险明细id
*/
public String getInsDetailId() {
return insDetailId;
}
/**
* 商险明细id
*/
public void setInsDetailId(String insDetailId) {
this.insDetailId = insDetailId;
}
/**
* 结算状态
*/
public String getSettleHandleStatus() {
return settleHandleStatus;
}
/**
* 结算状态
*/
public void setSettleHandleStatus(String settleHandleStatus) {
this.settleHandleStatus = settleHandleStatus;
}
/**
* 结算类型 (1、单独结算 2、与薪资合并结算)
*/
public Integer getSettleType() {
return settleType;
}
/**
* 结算类型 (1、单独结算 2、与薪资合并结算)
*/
public void setSettleType(Integer settleType) {
this.settleType = settleType;
}
/**
* 实际保费
*/
public BigDecimal getActualPremium() {
return actualPremium;
}
/**
* 实际保费
*/
public void setActualPremium(BigDecimal actualPremium) {
this.actualPremium = actualPremium;
}
/**
* 预估保费
*/
public BigDecimal getEstimatePremium() {
return estimatePremium;
}
/**
* 预估保费
*/
public void setEstimatePremium(BigDecimal estimatePremium) {
this.estimatePremium = estimatePremium;
}
/**
* 创建时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 创建时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* 更新时间
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* 更新时间
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* 实际费用推送标识 1是 0否
*/
public Integer getIsActualPush() {
return isActualPush;
}
/**
* 实际费用推送标识 1是 0否
*/
public void setIsActualPush(Integer isActualPush) {
this.isActualPush = isActualPush;
}
/**
* 预估费用推送标识 1是 0否
*/
public Integer getIsEstimatePush() {
return isEstimatePush;
}
/**
* 预估费用推送标识 1是 0否
*/
public void setIsEstimatePush(Integer isEstimatePush) {
this.isEstimatePush = isEstimatePush;
}
/**
* 实际保费推送时间
*/
public Date getActualPushTime() {
return actualPushTime;
}
/**
* 实际保费推送时间
*/
public void setActualPushTime(Date actualPushTime) {
this.actualPushTime = actualPushTime;
}
/**
* 预估保费推送时间
*/
public Date getEstimatePushTime() {
return estimatePushTime;
}
/**
* 预估保费推送时间
*/
public void setEstimatePushTime(Date estimatePushTime) {
this.estimatePushTime = estimatePushTime;
}
/**
* 结算完成时间
*/
public Date getSettleDoneTime() {
return settleDoneTime;
}
/**
* 结算完成时间
*/
public void setSettleDoneTime(Date settleDoneTime) {
this.settleDoneTime = settleDoneTime;
}
}
\ No newline at end of file
package com.yifu.cloud.plus.v1.yifu.insurances.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettle;
import org.apache.ibatis.annotations.Mapper;
/**
* @author Administrator
* @description 针对表【t_insurance_settle(商险结算表)】的数据库操作Mapper
* @createDate 2022-07-21 16:21:22
* @Entity generator.domain.TInsuranceSettle
*/
@Mapper
public interface TInsuranceSettleMapper extends BaseMapper<TInsuranceSettle> {
}
package com.yifu.cloud.plus.v1.yifu.insurances.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettle;
import org.springframework.stereotype.Service;
/**
* @author Administrator
* @description 针对表【t_insurance_settle(商险结算表)】的数据库操作Service
* @createDate 2022-07-21 16:21:22
*/
@Service
public interface TInsuranceSettleService extends IService<TInsuranceSettle> {
}
package com.yifu.cloud.plus.v1.yifu.insurances.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettle;
import com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceSettleMapper;
import com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceSettleService;
import org.springframework.stereotype.Service;
/**
* @author Administrator
* @description 针对表【t_insurance_settle(商险结算表)】的数据库操作Service实现
* @createDate 2022-07-21 16:21:22
*/
@Service
public class TInsuranceSettleServiceImpl extends ServiceImpl<TInsuranceSettleMapper, TInsuranceSettle>
implements TInsuranceSettleService {
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceSettleMapper">
<resultMap id="BaseResultMap" type="com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettle">
<id property="id" column="ID" jdbcType="VARCHAR"/>
<result property="insDetailId" column="INS_DETAIL_ID" jdbcType="VARCHAR"/>
<result property="settleHandleStatus" column="SETTLE_HANDLE_STATUS" jdbcType="VARCHAR"/>
<result property="settleType" column="SETTLE_TYPE" jdbcType="TINYINT"/>
<result property="actualPremium" column="ACTUAL_PREMIUM" jdbcType="DECIMAL"/>
<result property="estimatePremium" column="ESTIMATE_PREMIUM" jdbcType="DECIMAL"/>
<result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/>
<result property="updateTime" column="UPDATE_TIME" jdbcType="TIMESTAMP"/>
<result property="isActualPush" column="IS_ACTUAL_PUSH" jdbcType="TINYINT"/>
<result property="isEstimatePush" column="IS_ESTIMATE_PUSH" jdbcType="TINYINT"/>
<result property="actualPushTime" column="ACTUAL_PUSH_TIME" jdbcType="TIMESTAMP"/>
<result property="estimatePushTime" column="ESTIMATE_PUSH_TIME" jdbcType="TIMESTAMP"/>
<result property="settleDoneTime" column="SETTLE_DONE_TIME" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
ID,INS_DETAIL_ID,SETTLE_HANDLE_STATUS,
SETTLE_TYPE,ACTUAL_PREMIUM,ESTIMATE_PREMIUM,
CREATE_TIME,UPDATE_TIME,IS_ACTUAL_PUSH,
IS_ESTIMATE_PUSH,ACTUAL_PUSH_TIME,ESTIMATE_PUSH_TIME,
SETTLE_DONE_TIME
</sql>
</mapper>
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