parent
a975572e72
commit
4e279e136b
31 changed files with 782 additions and 233 deletions
@ -1,13 +1,13 @@ |
||||
package com.daqing.financial.crms.config; |
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.context.annotation.Configuration; |
||||
|
||||
@Configuration |
||||
public class IPageConfig { |
||||
@Bean |
||||
public PaginationInterceptor paginationInterceptor() { |
||||
return new PaginationInterceptor(); |
||||
} |
||||
} |
||||
//package com.daqing.financial.crms.config;
|
||||
//
|
||||
//import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//@Configuration
|
||||
//public class IPageConfig {
|
||||
// @Bean
|
||||
// public PaginationInterceptor paginationInterceptor() {
|
||||
// return new PaginationInterceptor();
|
||||
// }
|
||||
//}
|
||||
|
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后催收 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/al-collection") |
||||
public class AlCollectionController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后管理列表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/al-insurance-list") |
||||
public class AlInsuranceListController { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 还款记录表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/al-repayment-entry") |
||||
public class AlRepaymentEntryController { |
||||
|
||||
} |
@ -0,0 +1,18 @@ |
||||
package com.daqing.financial.guarantee.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.daqing.framework.domain.guarantee.AlCollection; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后催收 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Mapper |
||||
public interface AlCollectionMapper extends BaseMapper<AlCollection> { |
||||
|
||||
} |
@ -0,0 +1,18 @@ |
||||
package com.daqing.financial.guarantee.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.daqing.framework.domain.guarantee.AlInsuranceList; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后管理列表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Mapper |
||||
public interface AlInsuranceListMapper extends BaseMapper<AlInsuranceList> { |
||||
|
||||
} |
@ -0,0 +1,18 @@ |
||||
package com.daqing.financial.guarantee.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.daqing.framework.domain.guarantee.AlRepaymentEntry; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 还款记录表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Mapper |
||||
public interface AlRepaymentEntryMapper extends BaseMapper<AlRepaymentEntry> { |
||||
|
||||
} |
@ -0,0 +1,17 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.AlCollection; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后催收 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
public interface IAlCollectionService extends IService<AlCollection> { |
||||
|
||||
} |
@ -0,0 +1,17 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.AlInsuranceList; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后管理列表 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
public interface IAlInsuranceListService extends IService<AlInsuranceList> { |
||||
|
||||
} |
@ -0,0 +1,17 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.AlRepaymentEntry; |
||||
|
||||
/** |
||||
* <p> |
||||
* 还款记录表 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
public interface IAlRepaymentEntryService extends IService<AlRepaymentEntry> { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.financial.guarantee.mapper.AlCollectionMapper; |
||||
import com.daqing.financial.guarantee.service.IAlCollectionService; |
||||
import com.daqing.framework.domain.guarantee.AlCollection; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后催收 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Service |
||||
public class AlCollectionServiceImpl extends ServiceImpl<AlCollectionMapper, AlCollection> implements IAlCollectionService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.financial.guarantee.mapper.AlInsuranceListMapper; |
||||
import com.daqing.financial.guarantee.service.IAlInsuranceListService; |
||||
import com.daqing.framework.domain.guarantee.AlInsuranceList; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后管理列表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Service |
||||
public class AlInsuranceListServiceImpl extends ServiceImpl<AlInsuranceListMapper, AlInsuranceList> implements IAlInsuranceListService { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.financial.guarantee.mapper.AlRepaymentEntryMapper; |
||||
import com.daqing.financial.guarantee.service.IAlRepaymentEntryService; |
||||
import com.daqing.framework.domain.guarantee.AlRepaymentEntry; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 还款记录表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Service |
||||
public class AlRepaymentEntryServiceImpl extends ServiceImpl<AlRepaymentEntryMapper, AlRepaymentEntry> implements IAlRepaymentEntryService { |
||||
|
||||
} |
@ -0,0 +1,15 @@ |
||||
<?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.daqing.financial.guarantee.mapper.AlCollectionMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.AlCollection"> |
||||
<id column="id" property="id" /> |
||||
<result column="insurance_id" property="insuranceId" /> |
||||
<result column="collection_method" property="collectionMethod" /> |
||||
<result column="collection_time" property="collectionTime" /> |
||||
<result column="collection_feedback" property="collectionFeedback" /> |
||||
<result column="enclosure_file" property="enclosureFile" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -0,0 +1,24 @@ |
||||
<?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.daqing.financial.guarantee.mapper.AlInsuranceListMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.AlInsuranceList"> |
||||
<id column="id" property="id" /> |
||||
<result column="business_code" property="businessCode" /> |
||||
<result column="customer_name" property="customerName" /> |
||||
<result column="phone" property="phone" /> |
||||
<result column="business_type" property="businessType" /> |
||||
<result column="guarantee_amount" property="guaranteeAmount" /> |
||||
<result column="guarantee_time" property="guaranteeTime" /> |
||||
<result column="apply_time" property="applyTime" /> |
||||
<result column="repayment_amount" property="repaymentAmount" /> |
||||
<result column="remain_amount" property="remainAmount" /> |
||||
<result column="repayment_time" property="repaymentTime" /> |
||||
<result column="department" property="department" /> |
||||
<result column="payment_status" property="paymentStatus" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="update_time" property="updateTime" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -0,0 +1,23 @@ |
||||
<?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.daqing.financial.guarantee.mapper.AlRepaymentEntryMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.AlRepaymentEntry"> |
||||
<id column="id" property="id" /> |
||||
<result column="insurance_id" property="insuranceId" /> |
||||
<result column="repayment_date" property="repaymentDate" /> |
||||
<result column="actual_repayment_date" property="actualRepaymentDate" /> |
||||
<result column="overdue_days" property="overdueDays" /> |
||||
<result column="total_repayment" property="totalRepayment" /> |
||||
<result column="current_repayment" property="currentRepayment" /> |
||||
<result column="interest" property="interest" /> |
||||
<result column="other_expenses" property="otherExpenses" /> |
||||
<result column="deduction_amount" property="deductionAmount" /> |
||||
<result column="repayment_notes" property="repaymentNotes" /> |
||||
<result column="repayment_status" property="repaymentStatus" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="update_time" property="updateTime" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -0,0 +1,55 @@ |
||||
package com.daqing.framework.domain.guarantee; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后催收 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Data |
||||
@TableName("al_collection") |
||||
public class AlCollection implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 保后主键id |
||||
*/ |
||||
private Integer insuranceId; |
||||
|
||||
/** |
||||
* 催收方式:1->电话催收;2->上门/外访; |
||||
*/ |
||||
private Integer collectionMethod; |
||||
|
||||
/** |
||||
* 催收时间 |
||||
*/ |
||||
private Date collectionTime; |
||||
|
||||
/** |
||||
* 催收反馈 |
||||
*/ |
||||
private String collectionFeedback; |
||||
|
||||
/** |
||||
* 附件 |
||||
*/ |
||||
private String enclosureFile; |
||||
} |
@ -0,0 +1,101 @@ |
||||
package com.daqing.framework.domain.guarantee; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* <p> |
||||
* 保后管理列表 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Data |
||||
@TableName("al_insurance_list") |
||||
public class AlInsuranceList implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 业务编号 |
||||
*/ |
||||
private String businessCode; |
||||
|
||||
/** |
||||
* 客户名称 |
||||
*/ |
||||
private String customerName; |
||||
|
||||
/** |
||||
* 联系电话 |
||||
*/ |
||||
private String phone; |
||||
|
||||
/** |
||||
* 业务类别 |
||||
*/ |
||||
private String businessType; |
||||
|
||||
/** |
||||
* 担保额度(元) |
||||
*/ |
||||
private BigDecimal guaranteeAmount; |
||||
|
||||
/** |
||||
* 担保期限 |
||||
*/ |
||||
private String guaranteeTime; |
||||
|
||||
/** |
||||
* 申请日期 |
||||
*/ |
||||
private Date applyTime; |
||||
|
||||
/** |
||||
* 还款额度(元) |
||||
*/ |
||||
private BigDecimal repaymentAmount; |
||||
|
||||
/** |
||||
* 剩余额度(元) |
||||
*/ |
||||
private BigDecimal remainAmount; |
||||
|
||||
/** |
||||
* 还款期数 |
||||
*/ |
||||
private String repaymentTime; |
||||
|
||||
/** |
||||
* 所属部门 |
||||
*/ |
||||
private String department; |
||||
|
||||
/** |
||||
* 还款状态:1->还款中;2->已逾期;3->已还清;4->已结项; |
||||
*/ |
||||
private Integer paymentStatus; |
||||
|
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
private Date createTime; |
||||
|
||||
/** |
||||
* 修改时间 |
||||
*/ |
||||
private Date updateTime; |
||||
} |
@ -0,0 +1,96 @@ |
||||
package com.daqing.framework.domain.guarantee; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* <p> |
||||
* 还款记录表 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2021-03-17 |
||||
*/ |
||||
@Data |
||||
@TableName("al_repayment_entry") |
||||
public class AlRepaymentEntry implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 保后外键id |
||||
*/ |
||||
private Integer insuranceId; |
||||
|
||||
/** |
||||
* 应还款日 |
||||
*/ |
||||
private Date repaymentDate; |
||||
|
||||
/** |
||||
* 实际还款日 |
||||
*/ |
||||
private Date actualRepaymentDate; |
||||
|
||||
/** |
||||
* 逾期天数 |
||||
*/ |
||||
private String overdueDays; |
||||
|
||||
/** |
||||
* 还款总额(元) |
||||
*/ |
||||
private BigDecimal totalRepayment; |
||||
|
||||
/** |
||||
* 本次还款(元) |
||||
*/ |
||||
private BigDecimal currentRepayment; |
||||
|
||||
/** |
||||
* 利息(元) |
||||
*/ |
||||
private BigDecimal interest; |
||||
|
||||
/** |
||||
* 其他费用(元) |
||||
*/ |
||||
private BigDecimal otherExpenses; |
||||
|
||||
/** |
||||
* 减免金额(元) |
||||
*/ |
||||
private BigDecimal deductionAmount; |
||||
|
||||
/** |
||||
* 还款备注 |
||||
*/ |
||||
private String repaymentNotes; |
||||
|
||||
/** |
||||
* 还款状态:1->待还款;2->已还款;3->已逾期;4->未到期; |
||||
*/ |
||||
private Integer repaymentStatus; |
||||
|
||||
/** |
||||
* 创建时间 |
||||
*/ |
||||
private Date createTime; |
||||
|
||||
/** |
||||
* 修改时间 |
||||
*/ |
||||
private Date updateTime; |
||||
} |
Loading…
Reference in new issue