
28 changed files with 1329 additions and 36 deletions
@ -0,0 +1,172 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loansolutions; |
||||
|
|
||||
|
|
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsdetail.LoanSolutionsDetailDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsdetail.LoanSolutionsDetailDto; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDto; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(风控中心) <br/> |
||||
|
* File: LoanSolutionsVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutions.LoanSolutionsVo <br/> |
||||
|
* Description: 项目金融方案表(总) 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2021-11-08 15:47:20 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@ApiModel(value = "项目金融方案表(总) 视图数据对象", description = "项目金融方案表(总) 视图数据对象") |
||||
|
@Data |
||||
|
public class LoanSolutionsDetailsVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty("项目金融方案表(总)sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("消贷业务报价单sid") |
||||
|
private String loanPriceSid; |
||||
|
|
||||
|
@ApiModelProperty("挂车垫款") |
||||
|
private BigDecimal trailerAdvance; |
||||
|
|
||||
|
@ApiModelProperty("上装垫款") |
||||
|
private BigDecimal topcoatAdvance; |
||||
|
|
||||
|
@ApiModelProperty("打包项目key") |
||||
|
private String packingProjectKey; |
||||
|
|
||||
|
@ApiModelProperty("打包项目(xxx/xxx/xxx/)") |
||||
|
private String packingProject; |
||||
|
|
||||
|
@ApiModelProperty("主车金额") |
||||
|
private BigDecimal mainVehicleAmount; |
||||
|
|
||||
|
@ApiModelProperty("挂车金额") |
||||
|
private BigDecimal trailerAmount; |
||||
|
|
||||
|
@ApiModelProperty("上装金额") |
||||
|
private BigDecimal topcoatAmount; |
||||
|
|
||||
|
@ApiModelProperty("配件金额") |
||||
|
private BigDecimal accessoriesAmount; |
||||
|
|
||||
|
@ApiModelProperty("购置税") |
||||
|
private BigDecimal purchaseTax; |
||||
|
|
||||
|
@ApiModelProperty("保险金额") |
||||
|
private BigDecimal insuredAmount; |
||||
|
|
||||
|
@ApiModelProperty("其它金额") |
||||
|
private BigDecimal otherAmount; |
||||
|
|
||||
|
@ApiModelProperty("融资备注") |
||||
|
private String financingRemarks; |
||||
|
|
||||
|
@ApiModelProperty("融资总价(项目金额)") |
||||
|
private BigDecimal financingAmount; |
||||
|
|
||||
|
@ApiModelProperty("银行通道(资方)") |
||||
|
private String bankAccess; |
||||
|
|
||||
|
@ApiModelProperty("产品政策") |
||||
|
private String productPolicy; |
||||
|
|
||||
|
@ApiModelProperty("厂家贴息") |
||||
|
private BigDecimal factoryDiscount; |
||||
|
|
||||
|
@ApiModelProperty("首付款比例(%)") |
||||
|
private BigDecimal downPayRatio; |
||||
|
|
||||
|
@ApiModelProperty("首付本金") |
||||
|
private BigDecimal downPayPrincipal; |
||||
|
|
||||
|
@ApiModelProperty("贷款比例(%)") |
||||
|
private BigDecimal loanRatio; |
||||
|
|
||||
|
@ApiModelProperty("贷款金额") |
||||
|
private BigDecimal loanAmount; |
||||
|
|
||||
|
@ApiModelProperty("保证金比例(%)") |
||||
|
private BigDecimal bondRatio; |
||||
|
|
||||
|
@ApiModelProperty("保证金金额") |
||||
|
private BigDecimal bondAmount; |
||||
|
|
||||
|
@ApiModelProperty("保证金方式(单一/敞口)") |
||||
|
private String bondMethod; |
||||
|
|
||||
|
@ApiModelProperty("贷款期数") |
||||
|
private Integer loanPeriod; |
||||
|
|
||||
|
@ApiModelProperty("贷款月还") |
||||
|
private BigDecimal loanPayMoney; |
||||
|
|
||||
|
@ApiModelProperty("政策年利率(%)") |
||||
|
private BigDecimal policyYearRatio; |
||||
|
|
||||
|
@ApiModelProperty("贷款利息") |
||||
|
private BigDecimal loanInterest; |
||||
|
|
||||
|
@ApiModelProperty("金融方案备注") |
||||
|
private String solutionsRemarks; |
||||
|
|
||||
|
@ApiModelProperty("首付融资方") |
||||
|
private String downPayFinancier; |
||||
|
|
||||
|
@ApiModelProperty("首付融金额") |
||||
|
private BigDecimal downPay; |
||||
|
|
||||
|
@ApiModelProperty("首付融期数") |
||||
|
private Integer downPayNo; |
||||
|
|
||||
|
@ApiModelProperty("首付融利息") |
||||
|
private BigDecimal downPayInterest; |
||||
|
|
||||
|
@ApiModelProperty("首付融月还") |
||||
|
private BigDecimal downPayMoney; |
||||
|
|
||||
|
@ApiModelProperty("首付融备注") |
||||
|
private String downPayRemarks; |
||||
|
|
||||
|
@ApiModelProperty("公司垫款金额") |
||||
|
private BigDecimal advanceAmount; |
||||
|
|
||||
|
@ApiModelProperty("垫款期限") |
||||
|
private String advanceTimeLimit; |
||||
|
|
||||
|
@ApiModelProperty("垫款总利息") |
||||
|
private BigDecimal advanceAllInterest; |
||||
|
|
||||
|
@ApiModelProperty("公司垫款月还") |
||||
|
private BigDecimal c_repayMoney; |
||||
|
|
||||
|
@ApiModelProperty("公司垫款备注") |
||||
|
private String c_repayRemarks; |
||||
|
|
||||
|
@ApiModelProperty("前n期") |
||||
|
private Integer prophase; |
||||
|
|
||||
|
@ApiModelProperty("前n期月还") |
||||
|
private BigDecimal prophasePayMoney; |
||||
|
|
||||
|
@ApiModelProperty("剩余期数月还") |
||||
|
private BigDecimal residualsPayMoney; |
||||
|
|
||||
|
@ApiModelProperty("还款方式") |
||||
|
private String modeOfRePay; |
||||
|
|
||||
|
@ApiModelProperty("其他融-方案汇总信息") |
||||
|
private LoanSolutionsOtherpolicyDetailsVo loanSolutionsOtherpolicy; |
||||
|
|
||||
|
@ApiModelProperty("应收明细信息") |
||||
|
private LoanSolutionsDetailDetailsVo loanSolutionsDetail; |
||||
|
} |
@ -0,0 +1,145 @@ |
|||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsdetail; |
||||
|
|
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(风控中心) <br/> |
||||
|
* File: LoanSolutionsDetailVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsdetail.LoanSolutionsDetailVo <br/> |
||||
|
* Description: 金融方案项目明细表(总) 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2021-11-08 15:47:20 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@ApiModel(value = "金融方案项目明细表(总) 视图数据对象", description = "金融方案项目明细表(总) 视图数据对象") |
||||
|
@Data |
||||
|
public class LoanSolutionsDetailDetailsVo implements Vo { |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("金融方案sid") |
||||
|
private String solutionsSid; |
||||
|
|
||||
|
@ApiModelProperty("应收车价首付") |
||||
|
private BigDecimal receCarDownPay; |
||||
|
|
||||
|
@ApiModelProperty("应收贷款保证金") |
||||
|
private BigDecimal receLoanMargin; |
||||
|
|
||||
|
@ApiModelProperty("应收落户保证金") |
||||
|
private BigDecimal receDeposit; |
||||
|
|
||||
|
@ApiModelProperty("应收保险保证金") |
||||
|
private BigDecimal receIDeposit; |
||||
|
|
||||
|
@ApiModelProperty("应收担保/服务费") |
||||
|
private BigDecimal receGuarantee; |
||||
|
|
||||
|
@ApiModelProperty("应收保险费金额") |
||||
|
private BigDecimal recePremiumAmount; |
||||
|
|
||||
|
@ApiModelProperty("应收购置税") |
||||
|
private BigDecimal recePurchaseTax; |
||||
|
|
||||
|
@ApiModelProperty("应收意外险") |
||||
|
private BigDecimal receAccidentI; |
||||
|
|
||||
|
@ApiModelProperty("应收补车价") |
||||
|
private BigDecimal recePremiumPrice; |
||||
|
|
||||
|
@ApiModelProperty("应收杂费") |
||||
|
private BigDecimal receIncidentals; |
||||
|
|
||||
|
@ApiModelProperty("应收杂费说明") |
||||
|
private String receInciExplain; |
||||
|
|
||||
|
@ApiModelProperty("应收利息前置") |
||||
|
private BigDecimal recePrePayInterest; |
||||
|
|
||||
|
@ApiModelProperty("实交车价首付") |
||||
|
private BigDecimal actualCarDownPay; |
||||
|
|
||||
|
@ApiModelProperty("实交贷款保证金") |
||||
|
private BigDecimal actualLoanMargin; |
||||
|
|
||||
|
@ApiModelProperty("实交落户保证金") |
||||
|
private BigDecimal actualDeposit; |
||||
|
|
||||
|
@ApiModelProperty("实交保险保证金") |
||||
|
private BigDecimal actualIDeposit; |
||||
|
|
||||
|
@ApiModelProperty("实交担保/服务费") |
||||
|
private BigDecimal actualGuarantee; |
||||
|
|
||||
|
@ApiModelProperty("实交保险费金额") |
||||
|
private BigDecimal actualPremiumAmount; |
||||
|
|
||||
|
@ApiModelProperty("实交购置税") |
||||
|
private BigDecimal actualPurchaseTax; |
||||
|
|
||||
|
@ApiModelProperty("实交意外险") |
||||
|
private BigDecimal actualAccidentI; |
||||
|
|
||||
|
@ApiModelProperty("实交补车价") |
||||
|
private BigDecimal actualPremiumPrice; |
||||
|
|
||||
|
@ApiModelProperty("实交杂费") |
||||
|
private BigDecimal actualIncidentals; |
||||
|
|
||||
|
@ApiModelProperty("实交利息前置") |
||||
|
private BigDecimal actualPrePayInterest; |
||||
|
|
||||
|
@ApiModelProperty("已收订金") |
||||
|
private BigDecimal depositReceived; |
||||
|
|
||||
|
@ApiModelProperty("应收合计") |
||||
|
private BigDecimal receSum; |
||||
|
|
||||
|
@ApiModelProperty("实收合计") |
||||
|
private BigDecimal actualSum; |
||||
|
|
||||
|
@ApiModelProperty("车价首付备注") |
||||
|
private String carDownPayRemarks; |
||||
|
|
||||
|
@ApiModelProperty("贷款保证金首付备注") |
||||
|
private String loanMarginRemarks; |
||||
|
|
||||
|
@ApiModelProperty("落户保证金备注") |
||||
|
private String depositRemarks; |
||||
|
|
||||
|
@ApiModelProperty("保险保证金备注") |
||||
|
@JsonProperty("iDepositRemarks") |
||||
|
private String iDepositRemarks; |
||||
|
|
||||
|
@ApiModelProperty("担保/服务费备注") |
||||
|
private String guaranteeRemarks; |
||||
|
|
||||
|
@ApiModelProperty("保险费金额备注") |
||||
|
private String premiumAmountRemarks; |
||||
|
|
||||
|
@ApiModelProperty("购置税备注") |
||||
|
private String purchaseTaxRemarks; |
||||
|
|
||||
|
@ApiModelProperty("意外险备注") |
||||
|
private String accidentIRemarks; |
||||
|
|
||||
|
@ApiModelProperty("补车价备注") |
||||
|
private String premiumPriceRemarks; |
||||
|
|
||||
|
@ApiModelProperty("杂费备注") |
||||
|
private String incidentalsRemarks; |
||||
|
|
||||
|
@ApiModelProperty("利息前置备注") |
||||
|
private String prePayInterestRemarks; |
||||
|
} |
@ -0,0 +1,82 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicy.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicy <br/> |
||||
|
* Description: 金融方案表_其它融. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "金融方案表_其它融", description = "金融方案表_其它融") |
||||
|
@TableName("loan_solutions_otherpolicy") |
||||
|
public class LoanSolutionsOtherpolicy extends BaseEntity { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@ApiModelProperty("主产品方案sid") |
||||
|
private String solutionsSid; // 主产品方案sid
|
||||
|
@ApiModelProperty("其它融资方名称") |
||||
|
private String otherPolicyBankName; // 其它融资方名称
|
||||
|
@ApiModelProperty("其它融产品sid") |
||||
|
private String otherPolicySid; // 其它融产品sid
|
||||
|
@ApiModelProperty("其它融名称") |
||||
|
private String otherPolicyName; // 其它融名称
|
||||
|
@ApiModelProperty("其它融金额") |
||||
|
private Integer otherPolicyAmount; // 其它融金额
|
||||
|
@ApiModelProperty("其它融期数") |
||||
|
private Integer otherPolicyPeriod; // 其它融期数
|
||||
|
@ApiModelProperty("其它融月还") |
||||
|
private BigDecimal otherPolicyMonthlyRepay; // 其它融月还
|
||||
|
@ApiModelProperty("其它融利息总额") |
||||
|
private BigDecimal otherPolicyInterest; // 其它融利息总额
|
||||
|
@ApiModelProperty("融资首付") |
||||
|
private Integer loanDownPay; // 融资首付
|
||||
|
@ApiModelProperty("总贷款金额") |
||||
|
private Integer loanAmountTotal; // 总贷款金额
|
||||
|
@ApiModelProperty("期数") |
||||
|
private Integer period; // 期数
|
||||
|
@ApiModelProperty("月还金额") |
||||
|
private BigDecimal monthlyRepay; // 月还金额
|
||||
|
@ApiModelProperty("利息总额") |
||||
|
private BigDecimal interest; // 利息总额
|
||||
|
|
||||
|
} |
@ -0,0 +1,83 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo <br/> |
||||
|
* Description: 金融方案表_其它融 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "金融方案表_其它融 视图数据详情", description = "金融方案表_其它融 视图数据详情") |
||||
|
public class LoanSolutionsOtherpolicyDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("主产品方案sid") |
||||
|
private String solutionsSid; // 主产品方案sid
|
||||
|
@ApiModelProperty("其它融资方名称") |
||||
|
private String otherPolicyBankName; // 其它融资方名称
|
||||
|
@ApiModelProperty("其它融产品sid") |
||||
|
private String otherPolicySid; // 其它融产品sid
|
||||
|
@ApiModelProperty("其它融名称") |
||||
|
private String otherPolicyName; // 其它融名称
|
||||
|
@ApiModelProperty("其它融金额") |
||||
|
private Integer otherPolicyAmount; // 其它融金额
|
||||
|
@ApiModelProperty("其它融期数") |
||||
|
private Integer otherPolicyPeriod; // 其它融期数
|
||||
|
@ApiModelProperty("其它融月还") |
||||
|
private BigDecimal otherPolicyMonthlyRepay; // 其它融月还
|
||||
|
@ApiModelProperty("其它融利息总额") |
||||
|
private BigDecimal otherPolicyInterest; // 其它融利息总额
|
||||
|
@ApiModelProperty("融资首付") |
||||
|
private Integer loanDownPay; // 融资首付
|
||||
|
@ApiModelProperty("总贷款金额") |
||||
|
private Integer loanAmountTotal; // 总贷款金额
|
||||
|
@ApiModelProperty("期数") |
||||
|
private Integer period; // 期数
|
||||
|
@ApiModelProperty("月还金额") |
||||
|
private BigDecimal monthlyRepay; // 月还金额
|
||||
|
@ApiModelProperty("利息总额") |
||||
|
private BigDecimal interest; // 利息总额
|
||||
|
|
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyDto.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDto <br/> |
||||
|
* Description: 金融方案表_其它融 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "金融方案表_其它融 数据传输对象", description = "金融方案表_其它融 数据传输对象") |
||||
|
public class LoanSolutionsOtherpolicyDto implements Dto { |
||||
|
|
||||
|
@ApiModelProperty("主产品方案sid") |
||||
|
private String solutionsSid; // 主产品方案sid
|
||||
|
@ApiModelProperty("其它融资方名称") |
||||
|
private String otherPolicyBankName; // 其它融资方名称
|
||||
|
@ApiModelProperty("其它融产品sid") |
||||
|
private String otherPolicySid; // 其它融产品sid
|
||||
|
@ApiModelProperty("其它融名称") |
||||
|
private String otherPolicyName; // 其它融名称
|
||||
|
@ApiModelProperty("其它融金额") |
||||
|
private Integer otherPolicyAmount; // 其它融金额
|
||||
|
@ApiModelProperty("其它融期数") |
||||
|
private Integer otherPolicyPeriod; // 其它融期数
|
||||
|
@ApiModelProperty("其它融月还") |
||||
|
private BigDecimal otherPolicyMonthlyRepay; // 其它融月还
|
||||
|
@ApiModelProperty("其它融利息总额") |
||||
|
private BigDecimal otherPolicyInterest; // 其它融利息总额
|
||||
|
@ApiModelProperty("融资首付") |
||||
|
private Integer loanDownPay; // 融资首付
|
||||
|
@ApiModelProperty("总贷款金额") |
||||
|
private Integer loanAmountTotal; // 总贷款金额
|
||||
|
@ApiModelProperty("期数") |
||||
|
private Integer period; // 期数
|
||||
|
@ApiModelProperty("月还金额") |
||||
|
private BigDecimal monthlyRepay; // 月还金额
|
||||
|
@ApiModelProperty("利息总额") |
||||
|
private BigDecimal interest; // 利息总额
|
||||
|
|
||||
|
} |
@ -0,0 +1,78 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyFeign <br/> |
||||
|
* Description: 金融方案表_其它融. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "金融方案表_其它融") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-riskcenter-LoanSolutionsOtherpolicy", |
||||
|
name = "anrui-riskcenter", |
||||
|
path = "v1/loansolutionsotherpolicy", |
||||
|
fallback = LoanSolutionsOtherpolicyFeignFallback.class) |
||||
|
public interface LoanSolutionsOtherpolicyFeign { |
||||
|
|
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
@ResponseBody |
||||
|
public ResultBean<PagerVo<LoanSolutionsOtherpolicyVo>> listPage(@RequestBody PagerQuery<LoanSolutionsOtherpolicyQuery> pq); |
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
@ResponseBody |
||||
|
public ResultBean save(@RequestBody LoanSolutionsOtherpolicyDto dto); |
||||
|
|
||||
|
@ApiOperation("根据sid删除记录") |
||||
|
@DeleteMapping("/delBySids") |
||||
|
@ResponseBody |
||||
|
public ResultBean delBySids(@RequestBody String[] sids); |
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
@ResponseBody |
||||
|
public ResultBean<LoanSolutionsOtherpolicyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
||||
|
} |
@ -0,0 +1,72 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyFeignFallback <br/> |
||||
|
* Description: 金融方案表_其它融. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class LoanSolutionsOtherpolicyFeignFallback implements LoanSolutionsOtherpolicyFeign { |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<LoanSolutionsOtherpolicyVo>> listPage(PagerQuery<LoanSolutionsOtherpolicyQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口anrui-riskcenter/loansolutionsotherpolicy/listPage无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean save(LoanSolutionsOtherpolicyDto dto){ |
||||
|
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loansolutionsotherpolicy/save无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean delBySids( String[] sids){ |
||||
|
return ResultBean.fireFail().setMsg("接口anrui-riskcenter/loansolutionsotherpolicy/delBySids无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<LoanSolutionsOtherpolicyDetailsVo> fetchDetailsBySid(String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口anrui-riskcenter/loansolutionsotherpolicy/fetchDetailsBySid无法访问"); |
||||
|
} |
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyQuery.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyQuery <br/> |
||||
|
* Description: 金融方案表_其它融 查询条件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "金融方案表_其它融 查询条件", description = "金融方案表_其它融 查询条件") |
||||
|
public class LoanSolutionsOtherpolicyQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("主产品方案sid") |
||||
|
private String solutionsSid; // 主产品方案sid
|
||||
|
@ApiModelProperty("其它融资方名称") |
||||
|
private String otherPolicyBankName; // 其它融资方名称
|
||||
|
@ApiModelProperty("其它融产品sid") |
||||
|
private String otherPolicySid; // 其它融产品sid
|
||||
|
@ApiModelProperty("其它融名称") |
||||
|
private String otherPolicyName; // 其它融名称
|
||||
|
@ApiModelProperty("其它融金额") |
||||
|
private Integer otherPolicyAmount; // 其它融金额
|
||||
|
@ApiModelProperty("其它融期数") |
||||
|
private Integer otherPolicyPeriod; // 其它融期数
|
||||
|
@ApiModelProperty("其它融月还") |
||||
|
private BigDecimal otherPolicyMonthlyRepay; // 其它融月还
|
||||
|
@ApiModelProperty("其它融利息总额") |
||||
|
private BigDecimal otherPolicyInterest; // 其它融利息总额
|
||||
|
@ApiModelProperty("融资首付") |
||||
|
private Integer loanDownPay; // 融资首付
|
||||
|
@ApiModelProperty("总贷款金额") |
||||
|
private Integer loanAmountTotal; // 总贷款金额
|
||||
|
@ApiModelProperty("期数") |
||||
|
private Integer period; // 期数
|
||||
|
@ApiModelProperty("月还金额") |
||||
|
private BigDecimal monthlyRepay; // 月还金额
|
||||
|
@ApiModelProperty("利息总额") |
||||
|
private BigDecimal interest; // 利息总额
|
||||
|
|
||||
|
} |
@ -0,0 +1,83 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyVo.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo <br/> |
||||
|
* Description: 金融方案表_其它融 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "金融方案表_其它融 视图数据对象", description = "金融方案表_其它融 视图数据对象") |
||||
|
public class LoanSolutionsOtherpolicyVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("主产品方案sid") |
||||
|
private String solutionsSid; // 主产品方案sid
|
||||
|
@ApiModelProperty("其它融资方名称") |
||||
|
private String otherPolicyBankName; // 其它融资方名称
|
||||
|
@ApiModelProperty("其它融产品sid") |
||||
|
private String otherPolicySid; // 其它融产品sid
|
||||
|
@ApiModelProperty("其它融名称") |
||||
|
private String otherPolicyName; // 其它融名称
|
||||
|
@ApiModelProperty("其它融金额") |
||||
|
private Integer otherPolicyAmount; // 其它融金额
|
||||
|
@ApiModelProperty("其它融期数") |
||||
|
private Integer otherPolicyPeriod; // 其它融期数
|
||||
|
@ApiModelProperty("其它融月还") |
||||
|
private BigDecimal otherPolicyMonthlyRepay; // 其它融月还
|
||||
|
@ApiModelProperty("其它融利息总额") |
||||
|
private BigDecimal otherPolicyInterest; // 其它融利息总额
|
||||
|
@ApiModelProperty("融资首付") |
||||
|
private Integer loanDownPay; // 融资首付
|
||||
|
@ApiModelProperty("总贷款金额") |
||||
|
private Integer loanAmountTotal; // 总贷款金额
|
||||
|
@ApiModelProperty("期数") |
||||
|
private Integer period; // 期数
|
||||
|
@ApiModelProperty("月还金额") |
||||
|
private BigDecimal monthlyRepay; // 月还金额
|
||||
|
@ApiModelProperty("利息总额") |
||||
|
private BigDecimal interest; // 利息总额
|
||||
|
|
||||
|
} |
@ -0,0 +1,73 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDetailsVo; |
||||
|
import org.apache.ibatis.annotations.Delete; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
import org.apache.ibatis.annotations.Select; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicy; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyMapper.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy.LoanSolutionsOtherpolicyMapper <br/> |
||||
|
* Description: 金融方案表_其它融. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface LoanSolutionsOtherpolicyMapper extends BaseMapper<LoanSolutionsOtherpolicy> { |
||||
|
|
||||
|
//@Update("update loan_solutions_otherpolicy set name=#{msg} where id=#{id}")
|
||||
|
//IPage<LoanSolutionsOtherpolicyVo> voPage(IPage<LoanSolutionsOtherpolicy> page, @Param(Constants.WRAPPER) QueryWrapper<LoanSolutionsOtherpolicy> qw);
|
||||
|
|
||||
|
IPage<LoanSolutionsOtherpolicyVo> selectPageVo(IPage<LoanSolutionsOtherpolicy> page, @Param(Constants.WRAPPER) Wrapper<LoanSolutionsOtherpolicy> qw); |
||||
|
|
||||
|
List<LoanSolutionsOtherpolicyVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<LoanSolutionsOtherpolicy> qw); |
||||
|
|
||||
|
@Select("select * from loan_solutions_otherpolicy") |
||||
|
List<LoanSolutionsOtherpolicyVo> selectListVo(); |
||||
|
|
||||
|
@Delete("delete from loan_solutions_otherpolicy where solutionsSid = #{dtoSid}") |
||||
|
void delByMainSid(String dtoSid); |
||||
|
|
||||
|
@Select("select * from loan_solutions_otherpolicy where solutionsSid = #{sid}") |
||||
|
LoanSolutionsOtherpolicyDetailsVo fetchByMainSid(String sid); |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
<?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.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy.LoanSolutionsOtherpolicyMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo"> |
||||
|
SELECT * FROM loan_solutions_otherpolicy <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectListAllVo" resultType="com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo"> |
||||
|
SELECT * FROM loan_solutions_otherpolicy <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,100 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicy; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDto; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyFeign; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy.LoanSolutionsOtherpolicyRest <br/> |
||||
|
* Description: 金融方案表_其它融. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "金融方案表_其它融") |
||||
|
@RestController("com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy.LoanSolutionsOtherpolicyRest") |
||||
|
@RequestMapping("v1/loansolutionsotherpolicy") |
||||
|
public class LoanSolutionsOtherpolicyRest implements LoanSolutionsOtherpolicyFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private LoanSolutionsOtherpolicyService loanSolutionsOtherpolicyService; |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<LoanSolutionsOtherpolicyVo>> listPage(@RequestBody PagerQuery<LoanSolutionsOtherpolicyQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
PagerVo<LoanSolutionsOtherpolicyVo> pv = loanSolutionsOtherpolicyService.listPageVo(pq); |
||||
|
return rb.success().setData(pv); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody LoanSolutionsOtherpolicyDto dto){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
loanSolutionsOtherpolicyService.saveOrUpdateDto(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据sid批量删除") |
||||
|
@PostMapping("/delBySids") |
||||
|
public ResultBean delBySids(@RequestBody String[] sids){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
loanSolutionsOtherpolicyService.delBySids(sids); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<LoanSolutionsOtherpolicyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
LoanSolutionsOtherpolicyDetailsVo vo = loanSolutionsOtherpolicyService.fetchDetailsVoBySid(sid); |
||||
|
return rb.success().setData(vo); |
||||
|
} |
||||
|
} |
@ -0,0 +1,104 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import org.apache.commons.lang3.StringUtils; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicy; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyQuery; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDetailsVo; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyDto; |
||||
|
import com.yxt.anrui.riskcenter.api.loansolutionsotherpolicy.LoanSolutionsOtherpolicyFeign; |
||||
|
|
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-riskcenter(金融方案其他融) <br/> |
||||
|
* File: LoanSolutionsOtherpolicyService.java <br/> |
||||
|
* Class: com.yxt.anrui.riskcenter.biz.loansolutionsotherpolicy.LoanSolutionsOtherpolicyService <br/> |
||||
|
* Description: 金融方案表_其它融 业务逻辑. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2023-03-15 14:45:22 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class LoanSolutionsOtherpolicyService extends MybatisBaseService<LoanSolutionsOtherpolicyMapper, LoanSolutionsOtherpolicy> { |
||||
|
private QueryWrapper<LoanSolutionsOtherpolicy> createQueryWrapper(LoanSolutionsOtherpolicyQuery query) { |
||||
|
// todo: 这里根据具体业务调整查询条件
|
||||
|
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
||||
|
QueryWrapper<LoanSolutionsOtherpolicy> qw = new QueryWrapper<>(); |
||||
|
return qw; |
||||
|
} |
||||
|
|
||||
|
public PagerVo<LoanSolutionsOtherpolicyVo> listPageVo(PagerQuery<LoanSolutionsOtherpolicyQuery> pq) { |
||||
|
LoanSolutionsOtherpolicyQuery query = pq.getParams(); |
||||
|
QueryWrapper<LoanSolutionsOtherpolicy> qw = createQueryWrapper(query); |
||||
|
IPage<LoanSolutionsOtherpolicy> page = PagerUtil.queryToPage(pq); |
||||
|
IPage<LoanSolutionsOtherpolicyVo> pagging = baseMapper.selectPageVo(page, qw); |
||||
|
PagerVo<LoanSolutionsOtherpolicyVo> p = PagerUtil.pageToVo(pagging, null); |
||||
|
return p; |
||||
|
} |
||||
|
|
||||
|
public void saveOrUpdateDto(LoanSolutionsOtherpolicyDto dto) { |
||||
|
this.insertByDto(dto); |
||||
|
return; |
||||
|
} |
||||
|
|
||||
|
public void insertByDto(LoanSolutionsOtherpolicyDto dto) { |
||||
|
LoanSolutionsOtherpolicy entity = new LoanSolutionsOtherpolicy(); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.insert(entity); |
||||
|
} |
||||
|
|
||||
|
public LoanSolutionsOtherpolicyDetailsVo fetchDetailsVoBySid(String sid) { |
||||
|
LoanSolutionsOtherpolicy entity = fetchBySid(sid); |
||||
|
LoanSolutionsOtherpolicyDetailsVo vo = new LoanSolutionsOtherpolicyDetailsVo(); |
||||
|
BeanUtil.copyProperties(entity, vo); |
||||
|
return vo; |
||||
|
} |
||||
|
|
||||
|
public void delByMainSid(String dtoSid) { |
||||
|
baseMapper.delByMainSid(dtoSid); |
||||
|
} |
||||
|
|
||||
|
public LoanSolutionsOtherpolicyDetailsVo fetchQTRByMainSid(String sid) { |
||||
|
return baseMapper.fetchByMainSid(sid); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue