
22 changed files with 609 additions and 76 deletions
@ -0,0 +1,76 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplyeve; |
|||
|
|||
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-fin(付款申请平仓) <br/> |
|||
* File: FinPaymentapplyEve.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEve <br/> |
|||
* Description: 付款申请-平仓. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-20 11:20:11 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请-平仓", description = "付款申请-平仓") |
|||
@TableName("fin_paymentapply_eve") |
|||
public class FinPaymentapplyEve extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("平仓款名称") |
|||
private String costTitleValue; // 平仓款名称
|
|||
@ApiModelProperty("融资付款开通日期") |
|||
private String openDate; // 融资付款开通日期
|
|||
@ApiModelProperty("期数") |
|||
private String period; // 期数
|
|||
@ApiModelProperty("付款方式Key") |
|||
private String payWayKey; // 付款方式Key
|
|||
@ApiModelProperty("付款方式Value") |
|||
private String payWayValue; // 付款方式Value
|
|||
@ApiModelProperty("收款单位名称") |
|||
private String receiveCompany; // 收款单位名称
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String receivingAccount; // 收款银行账号
|
|||
@ApiModelProperty("开户行") |
|||
private String bank; // 开户行
|
|||
@ApiModelProperty("平仓付款金额") |
|||
private BigDecimal exePayPrice; // 平仓付款金额
|
|||
|
|||
} |
@ -0,0 +1,77 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplyeve; |
|||
|
|||
|
|||
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-fin(付款申请平仓) <br/> |
|||
* File: FinPaymentapplyEveVo.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveVo <br/> |
|||
* Description: 付款申请-平仓 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-20 11:20:12 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请-平仓 视图数据详情", description = "付款申请-平仓 视图数据详情") |
|||
public class FinPaymentapplyEveDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("平仓款名称") |
|||
private String costTitleValue; // 平仓款名称
|
|||
@ApiModelProperty("融资付款开通日期") |
|||
private String openDate; // 融资付款开通日期
|
|||
@ApiModelProperty("期数") |
|||
private String period; // 期数
|
|||
@ApiModelProperty("付款方式Key") |
|||
private String payWayKey; // 付款方式Key
|
|||
@ApiModelProperty("付款方式Value") |
|||
private String payWayValue; // 付款方式Value
|
|||
@ApiModelProperty("收款单位名称") |
|||
private String receiveCompany; // 收款单位名称
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String receivingAccount; // 收款银行账号
|
|||
@ApiModelProperty("开户行") |
|||
private String bank; // 开户行
|
|||
@ApiModelProperty("平仓付款金额") |
|||
private BigDecimal exePayPrice; // 平仓付款金额
|
|||
|
|||
} |
@ -0,0 +1,77 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplyeve; |
|||
|
|||
|
|||
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-fin(付款申请平仓) <br/> |
|||
* File: FinPaymentapplyEveDto.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveDto <br/> |
|||
* Description: 付款申请-平仓 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2025-01-20 11:20:11 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "付款申请-平仓 数据传输对象", description = "付款申请-平仓 数据传输对象") |
|||
public class FinPaymentapplyEveDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("付款申请sid") |
|||
private String applySid; // 付款申请sid
|
|||
@ApiModelProperty("平仓款名称") |
|||
private String costTitleValue; // 平仓款名称
|
|||
@ApiModelProperty("融资付款开通日期") |
|||
private String openDate; // 融资付款开通日期
|
|||
@ApiModelProperty("期数") |
|||
private String period; // 期数
|
|||
@ApiModelProperty("付款方式Key") |
|||
private String payWayKey; // 付款方式Key
|
|||
@ApiModelProperty("付款方式Value") |
|||
private String payWayValue; // 付款方式Value
|
|||
@ApiModelProperty("收款单位名称") |
|||
private String receiveCompany; // 收款单位名称
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String receivingAccount; // 收款银行账号
|
|||
@ApiModelProperty("开户行") |
|||
private String bank; // 开户行
|
|||
@ApiModelProperty("平仓付款金额") |
|||
private BigDecimal exePayPrice; // 平仓付款金额
|
|||
|
|||
} |
@ -0,0 +1,41 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.finpaymentapplyeve; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
@Api(tags = "付款申请-平仓") |
|||
@FeignClient( |
|||
contextId = "anrui-fin-FinPaymentapplyEve", |
|||
name = "anrui-fin", |
|||
path = "v1/finpaymentapplyeve") |
|||
public interface FinPaymentapplyEveFeign { |
|||
|
|||
} |
@ -0,0 +1,45 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplyeve; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveDetailsVo; |
|||
import org.apache.ibatis.annotations.Delete; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEve; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Mapper |
|||
public interface FinPaymentapplyEveMapper extends BaseMapper<FinPaymentapplyEve> { |
|||
|
|||
@Delete("delete from fin_paymentapply_eve where applySid = #{dtoSid}") |
|||
void delByMainSid(String dtoSid); |
|||
|
|||
@Select("select * from fin_paymentapply_eve where applySid = #{mainSid}") |
|||
List<FinPaymentapplyEveDetailsVo> fetchByMainSid(String sid); |
|||
} |
@ -0,0 +1,5 @@ |
|||
<?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.fin.biz.finpaymentapplyeve.FinPaymentapplyEveMapper"> |
|||
|
|||
</mapper> |
@ -0,0 +1,38 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplyeve; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveFeign; |
|||
|
|||
@Api(tags = "付款申请-平仓") |
|||
@RestController |
|||
@RequestMapping("v1/finpaymentapplyeve") |
|||
public class FinPaymentapplyEveRest implements FinPaymentapplyEveFeign { |
|||
|
|||
} |
@ -0,0 +1,54 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.biz.finpaymentapplyeve; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveDetailsVo; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEve; |
|||
import com.yxt.anrui.fin.api.finpaymentapplyeve.FinPaymentapplyEveDto; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Service |
|||
public class FinPaymentapplyEveService extends MybatisBaseService<FinPaymentapplyEveMapper, FinPaymentapplyEve> { |
|||
|
|||
public void insertByDto(FinPaymentapplyEveDto dto) { |
|||
FinPaymentapplyEve entity = new FinPaymentapplyEve(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void delByMainSid(String dtoSid) { |
|||
baseMapper.delByMainSid(dtoSid); |
|||
} |
|||
|
|||
public List<FinPaymentapplyEveDetailsVo> fetchByMainSid(String sid) { |
|||
return baseMapper.fetchByMainSid(sid); |
|||
} |
|||
} |
Loading…
Reference in new issue