From 4d26a991f737a49ec432e1dba21c55099d35a4dd Mon Sep 17 00:00:00 2001
From: God <10745413@qq.com>
Date: Wed, 13 Apr 2022 10:52:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=AC=BE=E9=A1=B9=E5=9F=BA=E7=A1=80=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../BusCollectionConfirmation.java | 81 +++++
.../BusCollectionConfirmationDetailsVo.java | 87 ++++++
.../BusCollectionConfirmationDto.java | 83 +++++
.../BusCollectionConfirmationFeign.java | 74 +++++
...usCollectionConfirmationFeignFallback.java | 72 +++++
.../BusCollectionConfirmationQuery.java | 60 ++++
.../BusCollectionConfirmationVo.java | 68 ++++
.../api/buscustomerbill/BusCustomerBill.java | 294 ++++++++++++++++++
.../buscustomerbill/BusCustomerBillDto.java | 99 ++++++
.../buscustomerbill/BusCustomerBillFeign.java | 94 ++++++
.../BusCustomerBillFeignFallback.java | 100 ++++++
.../buscustomerbill/BusCustomerBillQuery.java | 96 ++++++
.../buscustomerbill/BusCustomerBillVo.java | 97 ++++++
.../BusCustomerBillDetailed.java | 278 +++++++++++++++++
.../BusCustomerBillDetailedDto.java | 94 ++++++
.../BusCustomerBillDetailedFeign.java | 94 ++++++
.../BusCustomerBillDetailedFeignFallback.java | 100 ++++++
.../BusCustomerBillDetailedQuery.java | 94 ++++++
.../BusCustomerBillDetailedVo.java | 94 ++++++
.../BusSelectedReceivablesDetailed.java | 262 ++++++++++++++++
.../BusSelectedReceivablesDetailedDto.java | 78 +++++
.../BusSelectedReceivablesDetailedFeign.java | 94 ++++++
...ectedReceivablesDetailedFeignFallback.java | 100 ++++++
.../BusSelectedReceivablesDetailedQuery.java | 91 ++++++
.../BusSelectedReceivablesDetailedVo.java | 91 ++++++
.../BusUncollectedReceivablesDetailed.java | 214 +++++++++++++
.../BusUncollectedReceivablesDetailedDto.java | 82 +++++
...usUncollectedReceivablesDetailedFeign.java | 94 ++++++
...ectedReceivablesDetailedFeignFallback.java | 100 ++++++
...usUncollectedReceivablesDetailedQuery.java | 82 +++++
.../BusUncollectedReceivablesDetailedVo.java | 82 +++++
.../BusCollectionConfirmationMapper.java | 65 ++++
.../BusCollectionConfirmationMapper.xml | 13 +
.../BusCollectionConfirmationRest.java | 91 ++++++
.../BusCollectionConfirmationService.java | 134 ++++++++
.../BusCustomerBillMapper.java | 65 ++++
.../buscustomerbill/BusCustomerBillMapper.xml | 13 +
.../buscustomerbill/BusCustomerBillRest.java | 144 +++++++++
.../BusCustomerBillService.java | 172 ++++++++++
.../BusCustomerBillDetailedMapper.java | 65 ++++
.../BusCustomerBillDetailedMapper.xml | 13 +
.../BusCustomerBillDetailedRest.java | 144 +++++++++
.../BusCustomerBillDetailedService.java | 168 ++++++++++
.../BusSelectedReceivablesDetailedMapper.java | 65 ++++
.../BusSelectedReceivablesDetailedMapper.xml | 13 +
.../BusSelectedReceivablesDetailedRest.java | 144 +++++++++
...BusSelectedReceivablesDetailedService.java | 164 ++++++++++
...sUncollectedReceivablesDetailedMapper.java | 65 ++++
...usUncollectedReceivablesDetailedMapper.xml | 13 +
...BusUncollectedReceivablesDetailedRest.java | 144 +++++++++
...UncollectedReceivablesDetailedService.java | 152 +++++++++
51 files changed, 5276 insertions(+)
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmation.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDetailsVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDto.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeign.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeignFallback.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationQuery.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBill.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillDto.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeign.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeignFallback.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillQuery.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailed.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedDto.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeign.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeignFallback.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedQuery.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailed.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedDto.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeign.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeignFallback.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedQuery.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailed.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedDto.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeign.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeignFallback.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedQuery.java
create mode 100644 anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedVo.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.xml
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationRest.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationService.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.xml
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillRest.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillService.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.xml
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedRest.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedService.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.xml
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedRest.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedService.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.xml
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedRest.java
create mode 100644 anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedService.java
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmation.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmation.java
new file mode 100644
index 0000000000..bb8387434f
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmation.java
@@ -0,0 +1,81 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+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-buscenter(销售相关)
+ * File: BusCollectionConfirmation.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmation
+ * Description: 收款确认表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "收款确认表", description = "收款确认表")
+@Data
+@TableName("bus_collection_confirmation")
+public class BusCollectionConfirmation extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+ @ApiModelProperty("收款日期")
+ private String collectionDate; // 收款日期
+ @ApiModelProperty("收款银行")
+ private String collectionBank; // 收款银行
+ @ApiModelProperty("收款银行账号")
+ private String collectionBankNum; // 收款银行账号
+ @ApiModelProperty("收款方式key")
+ private String collectionTypeKey; // 收款方式key
+ @ApiModelProperty("收款方式value")
+ private String collectionTypeValue; // 收款方式value
+ @ApiModelProperty("付款方名称")
+ private String payerName; // 付款方名称
+ @ApiModelProperty("收款金额")
+ private BigDecimal collectionMoney; // 收款金额
+ @ApiModelProperty("打款凭证Url")
+ private String paymentVoucherUrl; // 打款凭证Url
+ @ApiModelProperty("汇款确认书Url")
+ private String remittanceConfirmationUrl; // 汇款确认书Url
+ @ApiModelProperty("余额")
+ private BigDecimal balance; // 余额
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+ @ApiModelProperty("认款状态")
+ private Integer subscriptionState; // 认款状态
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDetailsVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDetailsVo.java
new file mode 100644
index 0000000000..b38c8ec731
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDetailsVo.java
@@ -0,0 +1,87 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+
+import com.yxt.common.core.vo.Vo;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationVo.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo
+ * Description: 收款确认表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "收款确认表 视图数据对象", description = "收款确认表 视图数据对象")
+@Data
+public class BusCollectionConfirmationDetailsVo implements Vo {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("收款日期")
+ private String collectionDate; // 收款日期
+
+ @ApiModelProperty("收款银行")
+ private String collectionBank; // 收款银行
+
+ @ApiModelProperty("收款银行账号")
+ private String collectionBankNum; // 收款银行账号
+
+ @ApiModelProperty("收款方式key")
+ private String collectionTypeKey; // 收款方式key
+
+ @ApiModelProperty("收款方式value")
+ private String collectionTypeValue; // 收款方式value
+
+ @ApiModelProperty("付款方名称")
+ private String payerName; // 付款方名称
+
+ @ApiModelProperty("收款金额")
+ private String collectionMoney; // 收款金额
+
+ @ApiModelProperty("打款凭证Url")
+ private String paymentVoucherUrl; // 打款凭证Url
+
+ @ApiModelProperty("汇款确认书Url")
+ private String remittanceConfirmationUrl; // 汇款确认书Url
+
+ @ApiModelProperty("余额")
+ private String balance; // 余额
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDto.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDto.java
new file mode 100644
index 0000000000..e61590b140
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationDto.java
@@ -0,0 +1,83 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedDto;
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationDto.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationDto
+ * Description: 收款确认表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "收款确认表 数据传输对象", description = "收款确认表 数据传输对象")
+@Data
+public class BusCollectionConfirmationDto implements Dto {
+
+ @ApiModelProperty("收款确认单sid")
+ private String sid; // 收款确认单sid
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+ @ApiModelProperty("收款日期")
+ private String collectionDate; // 收款日期
+ @ApiModelProperty("收款银行")
+ private String collectionBank; // 收款银行
+ @ApiModelProperty("收款银行账号")
+ private String collectionBankNum; // 收款银行账号
+ @ApiModelProperty("收款方式key")
+ private String collectionTypeKey; // 收款方式key
+ @ApiModelProperty("收款方式value")
+ private String collectionTypeValue; // 收款方式value
+ @ApiModelProperty("付款方名称")
+ private String payerName; // 付款方名称
+ @ApiModelProperty("收款金额")
+ private String collectionMoney; // 收款金额
+ @ApiModelProperty("打款凭证Url")
+ private String paymentVoucherUrl; // 打款凭证Url
+ @ApiModelProperty("汇款确认书Url")
+ private String remittanceConfirmationUrl; // 汇款确认书Url
+ @ApiModelProperty("余额")
+ private String balance; // 余额
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+ @ApiModelProperty("已选应收款项明细")
+ private List busSelectedReceivablesDetailedDtos; // 已选应收款项明细
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeign.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeign.java
new file mode 100644
index 0000000000..9d01cd5530
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeign.java
@@ -0,0 +1,74 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+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-buscenter(销售相关)
+ * File: BusCollectionConfirmationFeign.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationFeign
+ * Description: 收款确认表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "收款确认表")
+@FeignClient(
+ contextId = "anrui-buscenter-BusCollectionConfirmation",
+ name = "anrui-buscenter",
+ path = "buscollectionconfirmation",
+ fallback = BusCollectionConfirmationFeignFallback.class)
+public interface BusCollectionConfirmationFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("新增或修改保存")
+ @PostMapping("/saveOrUpdate")
+ public ResultBean saveOrUpdate(@RequestBody BusCollectionConfirmationDto dto);
+
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("编辑回显或详情")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeignFallback.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeignFallback.java
new file mode 100644
index 0000000000..d381a4ac47
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationFeignFallback.java
@@ -0,0 +1,72 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+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-buscenter(销售相关)
+ * File: BusCollectionConfirmationFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationFeignFallback
+ * Description: 收款确认表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class BusCollectionConfirmationFeignFallback implements BusCollectionConfirmationFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscollectionconfirmation/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean saveOrUpdate(BusCollectionConfirmationDto dto){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscollectionconfirmation/saveOrUpdate无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscollectionconfirmation/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetchBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscollectionconfirmation/fetchBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationQuery.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationQuery.java
new file mode 100644
index 0000000000..200928c2fc
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationQuery.java
@@ -0,0 +1,60 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationQuery.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationQuery
+ * Description: 收款确认表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "收款确认表 查询条件", description = "收款确认表 查询条件")
+@Data
+public class BusCollectionConfirmationQuery implements Query {
+
+ @ApiModelProperty("收款日期")
+ private String collectionDate; // 收款日期
+ @ApiModelProperty("收款银行")
+ private String collectionBank; // 收款银行
+ @ApiModelProperty("收款方式key")
+ private String collectionTypeKey; // 收款方式key
+ @ApiModelProperty("认款状态")
+ private String subscriptionState; // 认款状态
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationVo.java
new file mode 100644
index 0000000000..5f4b4a41f9
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscollectionconfirmation/BusCollectionConfirmationVo.java
@@ -0,0 +1,68 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscollectionconfirmation;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationVo.java
+ * Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo
+ * Description: 收款确认表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "收款确认表 视图数据对象", description = "收款确认表 视图数据对象")
+@Data
+public class BusCollectionConfirmationVo implements Vo {
+
+ @ApiModelProperty("收款日期")
+ private String collectionDate; // 收款日期
+ @ApiModelProperty("收款银行")
+ private String collectionBank; // 收款银行
+ @ApiModelProperty("收款银行账号")
+ private String collectionBankNum; // 收款银行账号
+ @ApiModelProperty("收款方式value")
+ private String collectionTypeValue; // 收款方式value
+ @ApiModelProperty("付款方名称")
+ private String payerName; // 付款方名称
+ @ApiModelProperty("收款金额")
+ private String collectionMoney; // 收款金额
+ @ApiModelProperty("备注")
+ private String remarks; // 备注
+ @ApiModelProperty("认款状态")
+ private String subscriptionState; // 认款状态
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBill.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBill.java
new file mode 100644
index 0000000000..0fe51f3d5d
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBill.java
@@ -0,0 +1,294 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.yxt.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBill.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBill
+ * Description: 客户账单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单表", description = "客户账单表")
+@TableName("bus_customer_bill")
+public class BusCustomerBill extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private BigDecimal receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private BigDecimal netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private BigDecimal uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("最新处理时间")
+ private String latestProcessingDate; // 最新处理时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ /**
+ * @return 创建人接口
+ */
+ public String getCreateByName(){
+ return createByName;
+ }
+
+ /**
+ * @param createByName 创建人接口 to set
+ */
+ public void setCreateByName(String createByName){
+ this.createByName = createByName;
+ }
+ /**
+ * @return 合同sid
+ */
+ public String getContractSid(){
+ return contractSid;
+ }
+
+ /**
+ * @param contractSid 合同sid to set
+ */
+ public void setContractSid(String contractSid){
+ this.contractSid = contractSid;
+ }
+ /**
+ * @return 合同编号
+ */
+ public String getContractNo(){
+ return contractNo;
+ }
+
+ /**
+ * @param contractNo 合同编号 to set
+ */
+ public void setContractNo(String contractNo){
+ this.contractNo = contractNo;
+ }
+ /**
+ * @return 客户sid
+ */
+ public String getCustomerSid(){
+ return customerSid;
+ }
+
+ /**
+ * @param customerSid 客户sid to set
+ */
+ public void setCustomerSid(String customerSid){
+ this.customerSid = customerSid;
+ }
+ /**
+ * @return 客户名称
+ */
+ public String getCustomerName(){
+ return customerName;
+ }
+
+ /**
+ * @param customerName 客户名称 to set
+ */
+ public void setCustomerName(String customerName){
+ this.customerName = customerName;
+ }
+ /**
+ * @return 款项类型key
+ */
+ public String getPaymentTypeKey(){
+ return paymentTypeKey;
+ }
+
+ /**
+ * @param paymentTypeKey 款项类型key to set
+ */
+ public void setPaymentTypeKey(String paymentTypeKey){
+ this.paymentTypeKey = paymentTypeKey;
+ }
+ /**
+ * @return 款项类型value
+ */
+ public String getPaymentTypeValue(){
+ return paymentTypeValue;
+ }
+
+ /**
+ * @param paymentTypeValue 款项类型value to set
+ */
+ public void setPaymentTypeValue(String paymentTypeValue){
+ this.paymentTypeValue = paymentTypeValue;
+ }
+ /**
+ * @return 款项名称
+ */
+ public String getPaymentName(){
+ return paymentName;
+ }
+
+ /**
+ * @param paymentName 款项名称 to set
+ */
+ public void setPaymentName(String paymentName){
+ this.paymentName = paymentName;
+ }
+ /**
+ * @return 款项状态
+ */
+ public Integer getPaymentState(){
+ return paymentState;
+ }
+
+ /**
+ * @param paymentState 款项状态 to set
+ */
+ public void setPaymentState(Integer paymentState){
+ this.paymentState = paymentState;
+ }
+ /**
+ * @return 应收金额
+ */
+ public BigDecimal getReceivableMoney(){
+ return receivableMoney;
+ }
+
+ /**
+ * @param receivableMoney 应收金额 to set
+ */
+ public void setReceivableMoney(BigDecimal receivableMoney){
+ this.receivableMoney = receivableMoney;
+ }
+ /**
+ * @return 实收金额
+ */
+ public BigDecimal getNetReceiptsMoney(){
+ return netReceiptsMoney;
+ }
+
+ /**
+ * @param netReceiptsMoney 实收金额 to set
+ */
+ public void setNetReceiptsMoney(BigDecimal netReceiptsMoney){
+ this.netReceiptsMoney = netReceiptsMoney;
+ }
+ /**
+ * @return 未收金额
+ */
+ public BigDecimal getUncollectedMoney(){
+ return uncollectedMoney;
+ }
+
+ /**
+ * @param uncollectedMoney 未收金额 to set
+ */
+ public void setUncollectedMoney(BigDecimal uncollectedMoney){
+ this.uncollectedMoney = uncollectedMoney;
+ }
+ /**
+ * @return 生成时间
+ */
+ public String getGenerateDate(){
+ return generateDate;
+ }
+
+ /**
+ * @param generateDate 生成时间 to set
+ */
+ public void setGenerateDate(String generateDate){
+ this.generateDate = generateDate;
+ }
+ /**
+ * @return 最新处理时间
+ */
+ public String getLatestProcessingDate(){
+ return latestProcessingDate;
+ }
+
+ /**
+ * @param latestProcessingDate 最新处理时间 to set
+ */
+ public void setLatestProcessingDate(String latestProcessingDate){
+ this.latestProcessingDate = latestProcessingDate;
+ }
+ /**
+ * @return 分公司sid
+ */
+ public String getUseOrgSid(){
+ return useOrgSid;
+ }
+
+ /**
+ * @param useOrgSid 分公司sid to set
+ */
+ public void setUseOrgSid(String useOrgSid){
+ this.useOrgSid = useOrgSid;
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillDto.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillDto.java
new file mode 100644
index 0000000000..603cfc7012
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillDto.java
@@ -0,0 +1,99 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+
+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-buscenter(销售相关)
+ * File: BusCustomerBillDto.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillDto
+ * Description: 客户账单表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单表 数据传输对象", description = "客户账单表 数据传输对象")
+@Data
+public class BusCustomerBillDto implements Dto {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("最新处理时间")
+ private String latestProcessingDate; // 最新处理时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeign.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeign.java
new file mode 100644
index 0000000000..4e7ee10c77
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeign.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+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-buscenter(销售相关)
+ * File: BusCustomerBillFeign.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillFeign
+ * Description: 客户账单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "客户账单表")
+@FeignClient(
+ contextId = "anrui-buscenter-BusCustomerBill",
+ name = "anrui-buscenter",
+ path = "buscustomerbill",
+ fallback = BusCustomerBillFeignFallback.class)
+public interface BusCustomerBillFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusCustomerBillQuery query);
+
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list();
+
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusCustomerBillDto dto);
+
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusCustomerBillDto dto, @PathVariable("sid") String sid);
+
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids);
+
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeignFallback.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeignFallback.java
new file mode 100644
index 0000000000..f38a441bf8
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillFeignFallback.java
@@ -0,0 +1,100 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+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-buscenter(销售相关)
+ * File: BusCustomerBillFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillFeignFallback
+ * Description: 客户账单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class BusCustomerBillFeignFallback implements BusCustomerBillFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbill/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean> listAll(BusCustomerBillQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbill/listAll无法访问");
+ }
+
+ @Override
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbill/list无法访问");
+ }
+
+ @Override
+ public ResultBean save(BusCustomerBillDto dto){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbill/save无法访问");
+ }
+
+ @Override
+ public ResultBean update(BusCustomerBillDto dto, String sid){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbill/update无法访问");
+ }
+
+ @Override
+ public ResultBean del(String ids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbill/del无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbill/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetch(String id){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbill/fetch无法访问");
+ }
+
+ @Override
+ public ResultBean fetchBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbill/fetchBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillQuery.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillQuery.java
new file mode 100644
index 0000000000..92af0ebdfb
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillQuery.java
@@ -0,0 +1,96 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillQuery.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillQuery
+ * Description: 客户账单表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单表 查询条件", description = "客户账单表 查询条件")
+@Data
+public class BusCustomerBillQuery implements Query {
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("最新处理时间")
+ private String latestProcessingDate; // 最新处理时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillVo.java
new file mode 100644
index 0000000000..192f15d154
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbill/BusCustomerBillVo.java
@@ -0,0 +1,97 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbill;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillVo.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillVo
+ * Description: 客户账单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单表 视图数据对象", description = "客户账单表 视图数据对象")
+@Data
+public class BusCustomerBillVo implements Vo {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("最新处理时间")
+ private String latestProcessingDate; // 最新处理时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailed.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailed.java
new file mode 100644
index 0000000000..4d3d6dd4b7
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailed.java
@@ -0,0 +1,278 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.yxt.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailed.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailed
+ * Description: 客户账单明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单明细表", description = "客户账单明细表")
+@TableName("bus_customer_bill_detailed")
+public class BusCustomerBillDetailed extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private BigDecimal receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private BigDecimal netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private BigDecimal uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ /**
+ * @return 创建人接口
+ */
+ public String getCreateByName(){
+ return createByName;
+ }
+
+ /**
+ * @param createByName 创建人接口 to set
+ */
+ public void setCreateByName(String createByName){
+ this.createByName = createByName;
+ }
+ /**
+ * @return 合同sid
+ */
+ public String getContractSid(){
+ return contractSid;
+ }
+
+ /**
+ * @param contractSid 合同sid to set
+ */
+ public void setContractSid(String contractSid){
+ this.contractSid = contractSid;
+ }
+ /**
+ * @return 合同编号
+ */
+ public String getContractNo(){
+ return contractNo;
+ }
+
+ /**
+ * @param contractNo 合同编号 to set
+ */
+ public void setContractNo(String contractNo){
+ this.contractNo = contractNo;
+ }
+ /**
+ * @return 客户sid
+ */
+ public String getCustomerSid(){
+ return customerSid;
+ }
+
+ /**
+ * @param customerSid 客户sid to set
+ */
+ public void setCustomerSid(String customerSid){
+ this.customerSid = customerSid;
+ }
+ /**
+ * @return 客户名称
+ */
+ public String getCustomerName(){
+ return customerName;
+ }
+
+ /**
+ * @param customerName 客户名称 to set
+ */
+ public void setCustomerName(String customerName){
+ this.customerName = customerName;
+ }
+ /**
+ * @return 款项类型key
+ */
+ public String getPaymentTypeKey(){
+ return paymentTypeKey;
+ }
+
+ /**
+ * @param paymentTypeKey 款项类型key to set
+ */
+ public void setPaymentTypeKey(String paymentTypeKey){
+ this.paymentTypeKey = paymentTypeKey;
+ }
+ /**
+ * @return 款项类型value
+ */
+ public String getPaymentTypeValue(){
+ return paymentTypeValue;
+ }
+
+ /**
+ * @param paymentTypeValue 款项类型value to set
+ */
+ public void setPaymentTypeValue(String paymentTypeValue){
+ this.paymentTypeValue = paymentTypeValue;
+ }
+ /**
+ * @return 款项名称
+ */
+ public String getPaymentName(){
+ return paymentName;
+ }
+
+ /**
+ * @param paymentName 款项名称 to set
+ */
+ public void setPaymentName(String paymentName){
+ this.paymentName = paymentName;
+ }
+ /**
+ * @return 款项状态
+ */
+ public Integer getPaymentState(){
+ return paymentState;
+ }
+
+ /**
+ * @param paymentState 款项状态 to set
+ */
+ public void setPaymentState(Integer paymentState){
+ this.paymentState = paymentState;
+ }
+ /**
+ * @return 应收金额
+ */
+ public BigDecimal getReceivableMoney(){
+ return receivableMoney;
+ }
+
+ /**
+ * @param receivableMoney 应收金额 to set
+ */
+ public void setReceivableMoney(BigDecimal receivableMoney){
+ this.receivableMoney = receivableMoney;
+ }
+ /**
+ * @return 实收金额
+ */
+ public BigDecimal getNetReceiptsMoney(){
+ return netReceiptsMoney;
+ }
+
+ /**
+ * @param netReceiptsMoney 实收金额 to set
+ */
+ public void setNetReceiptsMoney(BigDecimal netReceiptsMoney){
+ this.netReceiptsMoney = netReceiptsMoney;
+ }
+ /**
+ * @return 未收金额
+ */
+ public BigDecimal getUncollectedMoney(){
+ return uncollectedMoney;
+ }
+
+ /**
+ * @param uncollectedMoney 未收金额 to set
+ */
+ public void setUncollectedMoney(BigDecimal uncollectedMoney){
+ this.uncollectedMoney = uncollectedMoney;
+ }
+ /**
+ * @return 生成时间
+ */
+ public String getGenerateDate(){
+ return generateDate;
+ }
+
+ /**
+ * @param generateDate 生成时间 to set
+ */
+ public void setGenerateDate(String generateDate){
+ this.generateDate = generateDate;
+ }
+ /**
+ * @return 分公司sid
+ */
+ public String getUseOrgSid(){
+ return useOrgSid;
+ }
+
+ /**
+ * @param useOrgSid 分公司sid to set
+ */
+ public void setUseOrgSid(String useOrgSid){
+ this.useOrgSid = useOrgSid;
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedDto.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedDto.java
new file mode 100644
index 0000000000..93712a7403
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedDto.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedDto.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedDto
+ * Description: 客户账单明细表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单明细表 数据传输对象", description = "客户账单明细表 数据传输对象")
+@Data
+public class BusCustomerBillDetailedDto implements Dto {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeign.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeign.java
new file mode 100644
index 0000000000..60612e1ea6
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeign.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+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-buscenter(销售相关)
+ * File: BusCustomerBillDetailedFeign.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedFeign
+ * Description: 客户账单明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "客户账单明细表")
+@FeignClient(
+ contextId = "anrui-buscenter-BusCustomerBillDetailed",
+ name = "anrui-buscenter",
+ path = "buscustomerbilldetailed",
+ fallback = BusCustomerBillDetailedFeignFallback.class)
+public interface BusCustomerBillDetailedFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusCustomerBillDetailedQuery query);
+
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list();
+
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusCustomerBillDetailedDto dto);
+
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusCustomerBillDetailedDto dto, @PathVariable("sid") String sid);
+
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids);
+
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeignFallback.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeignFallback.java
new file mode 100644
index 0000000000..d7c573bde9
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedFeignFallback.java
@@ -0,0 +1,100 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+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-buscenter(销售相关)
+ * File: BusCustomerBillDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedFeignFallback
+ * Description: 客户账单明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class BusCustomerBillDetailedFeignFallback implements BusCustomerBillDetailedFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbilldetailed/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean> listAll(BusCustomerBillDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbilldetailed/listAll无法访问");
+ }
+
+ @Override
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbilldetailed/list无法访问");
+ }
+
+ @Override
+ public ResultBean save(BusCustomerBillDetailedDto dto){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbilldetailed/save无法访问");
+ }
+
+ @Override
+ public ResultBean update(BusCustomerBillDetailedDto dto, String sid){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbilldetailed/update无法访问");
+ }
+
+ @Override
+ public ResultBean del(String ids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbilldetailed/del无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/buscustomerbilldetailed/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetch(String id){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbilldetailed/fetch无法访问");
+ }
+
+ @Override
+ public ResultBean fetchBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/buscustomerbilldetailed/fetchBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedQuery.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedQuery.java
new file mode 100644
index 0000000000..df64a183a0
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedQuery.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedQuery.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedQuery
+ * Description: 客户账单明细表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单明细表 查询条件", description = "客户账单明细表 查询条件")
+@Data
+public class BusCustomerBillDetailedQuery implements Query {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedVo.java
new file mode 100644
index 0000000000..24bccc9f3a
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/buscustomerbilldetailed/BusCustomerBillDetailedVo.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.buscustomerbilldetailed;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedVo.java
+ * Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedVo
+ * Description: 客户账单明细表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "客户账单明细表 视图数据对象", description = "客户账单明细表 视图数据对象")
+@Data
+public class BusCustomerBillDetailedVo implements Vo {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("款项类型key")
+ private String paymentTypeKey; // 款项类型key
+
+ @ApiModelProperty("款项类型value")
+ private String paymentTypeValue; // 款项类型value
+
+ @ApiModelProperty("款项名称")
+ private String paymentName; // 款项名称
+
+ @ApiModelProperty("款项状态")
+ private Integer paymentState; // 款项状态
+
+ @ApiModelProperty("应收金额")
+ private String receivableMoney; // 应收金额
+
+ @ApiModelProperty("实收金额")
+ private String netReceiptsMoney; // 实收金额
+
+ @ApiModelProperty("未收金额")
+ private String uncollectedMoney; // 未收金额
+
+ @ApiModelProperty("生成时间")
+ private String generateDate; // 生成时间
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailed.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailed.java
new file mode 100644
index 0000000000..b489ed70e1
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailed.java
@@ -0,0 +1,262 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.yxt.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailed.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailed
+ * Description: 已选应收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "已选应收款项明细表", description = "已选应收款项明细表")
+@TableName("bus_selected_receivables_detailed")
+public class BusSelectedReceivablesDetailed extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private BigDecimal currentReceivableMoney; // 当前应收金额
+
+ @ApiModelProperty("认款金额")
+ private BigDecimal subscriptionMoney; // 认款金额
+
+ @ApiModelProperty("认款申请日期")
+ private String subscriptionDate; // 认款申请日期
+
+ @ApiModelProperty("收款确认单sid")
+ private String collSid; // 收款确认单sid
+
+ /**
+ * @return 创建人接口
+ */
+ public String getCreateByName(){
+ return createByName;
+ }
+
+ /**
+ * @param createByName 创建人接口 to set
+ */
+ public void setCreateByName(String createByName){
+ this.createByName = createByName;
+ }
+ /**
+ * @return 合同sid
+ */
+ public String getContractSid(){
+ return contractSid;
+ }
+
+ /**
+ * @param contractSid 合同sid to set
+ */
+ public void setContractSid(String contractSid){
+ this.contractSid = contractSid;
+ }
+ /**
+ * @return 合同编号
+ */
+ public String getContractNo(){
+ return contractNo;
+ }
+
+ /**
+ * @param contractNo 合同编号 to set
+ */
+ public void setContractNo(String contractNo){
+ this.contractNo = contractNo;
+ }
+ /**
+ * @return 客户sid
+ */
+ public String getCustomerSid(){
+ return customerSid;
+ }
+
+ /**
+ * @param customerSid 客户sid to set
+ */
+ public void setCustomerSid(String customerSid){
+ this.customerSid = customerSid;
+ }
+ /**
+ * @return 客户名称
+ */
+ public String getCustomerName(){
+ return customerName;
+ }
+
+ /**
+ * @param customerName 客户名称 to set
+ */
+ public void setCustomerName(String customerName){
+ this.customerName = customerName;
+ }
+ /**
+ * @return 车架号
+ */
+ public String getVIN(){
+ return VIN;
+ }
+
+ /**
+ * @param VIN 车架号 to set
+ */
+ public void setVIN(String VIN){
+ this.VIN = VIN;
+ }
+ /**
+ * @return 分公司sid
+ */
+ public String getUseOrgSid(){
+ return useOrgSid;
+ }
+
+ /**
+ * @param useOrgSid 分公司sid to set
+ */
+ public void setUseOrgSid(String useOrgSid){
+ this.useOrgSid = useOrgSid;
+ }
+ /**
+ * @return 联系电话
+ */
+ public String getCustomerPhone(){
+ return customerPhone;
+ }
+
+ /**
+ * @param customerPhone 联系电话 to set
+ */
+ public void setCustomerPhone(String customerPhone){
+ this.customerPhone = customerPhone;
+ }
+ /**
+ * @return 应收项目名称
+ */
+ public String getReceivablesName(){
+ return receivablesName;
+ }
+
+ /**
+ * @param receivablesName 应收项目名称 to set
+ */
+ public void setReceivablesName(String receivablesName){
+ this.receivablesName = receivablesName;
+ }
+ /**
+ * @return 当前应收金额
+ */
+ public BigDecimal getCurrentReceivableMoney(){
+ return currentReceivableMoney;
+ }
+
+ /**
+ * @param currentReceivableMoney 当前应收金额 to set
+ */
+ public void setCurrentReceivableMoney(BigDecimal currentReceivableMoney){
+ this.currentReceivableMoney = currentReceivableMoney;
+ }
+ /**
+ * @return 认款金额
+ */
+ public BigDecimal getSubscriptionMoney(){
+ return subscriptionMoney;
+ }
+
+ /**
+ * @param subscriptionMoney 认款金额 to set
+ */
+ public void setSubscriptionMoney(BigDecimal subscriptionMoney){
+ this.subscriptionMoney = subscriptionMoney;
+ }
+ /**
+ * @return 认款申请日期
+ */
+ public String getSubscriptionDate(){
+ return subscriptionDate;
+ }
+
+ /**
+ * @param subscriptionDate 认款申请日期 to set
+ */
+ public void setSubscriptionDate(String subscriptionDate){
+ this.subscriptionDate = subscriptionDate;
+ }
+ /**
+ * @return 收款确认单sid
+ */
+ public String getCollSid(){
+ return collSid;
+ }
+
+ /**
+ * @param collSid 收款确认单sid to set
+ */
+ public void setCollSid(String collSid){
+ this.collSid = collSid;
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedDto.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedDto.java
new file mode 100644
index 0000000000..8b4a9eee4e
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedDto.java
@@ -0,0 +1,78 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedDto.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedDto
+ * Description: 已选应收款项明细表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "已选应收款项明细表 数据传输对象", description = "已选应收款项明细表 数据传输对象")
+@Data
+public class BusSelectedReceivablesDetailedDto implements Dto {
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+ @ApiModelProperty("认款金额")
+ private String subscriptionMoney; // 认款金额
+ @ApiModelProperty("认款申请日期")
+ private String subscriptionDate; // 认款申请日期
+ @ApiModelProperty("收款确认单sid")
+ private String collSid; // 收款确认单sid
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeign.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeign.java
new file mode 100644
index 0000000000..d9de288247
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeign.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+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-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedFeign.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedFeign
+ * Description: 已选应收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "已选应收款项明细表")
+@FeignClient(
+ contextId = "anrui-buscenter-BusSelectedReceivablesDetailed",
+ name = "anrui-buscenter",
+ path = "busselectedreceivablesdetailed",
+ fallback = BusSelectedReceivablesDetailedFeignFallback.class)
+public interface BusSelectedReceivablesDetailedFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusSelectedReceivablesDetailedQuery query);
+
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list();
+
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusSelectedReceivablesDetailedDto dto);
+
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusSelectedReceivablesDetailedDto dto, @PathVariable("sid") String sid);
+
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids);
+
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeignFallback.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeignFallback.java
new file mode 100644
index 0000000000..48ac78469d
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedFeignFallback.java
@@ -0,0 +1,100 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+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-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedFeignFallback
+ * Description: 已选应收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class BusSelectedReceivablesDetailedFeignFallback implements BusSelectedReceivablesDetailedFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean> listAll(BusSelectedReceivablesDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/listAll无法访问");
+ }
+
+ @Override
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/list无法访问");
+ }
+
+ @Override
+ public ResultBean save(BusSelectedReceivablesDetailedDto dto){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/save无法访问");
+ }
+
+ @Override
+ public ResultBean update(BusSelectedReceivablesDetailedDto dto, String sid){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/update无法访问");
+ }
+
+ @Override
+ public ResultBean del(String ids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/del无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetch(String id){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/fetch无法访问");
+ }
+
+ @Override
+ public ResultBean fetchBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busselectedreceivablesdetailed/fetchBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedQuery.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedQuery.java
new file mode 100644
index 0000000000..9c92d78170
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedQuery.java
@@ -0,0 +1,91 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedQuery.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedQuery
+ * Description: 已选应收款项明细表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "已选应收款项明细表 查询条件", description = "已选应收款项明细表 查询条件")
+@Data
+public class BusSelectedReceivablesDetailedQuery implements Query {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+
+ @ApiModelProperty("认款金额")
+ private String subscriptionMoney; // 认款金额
+
+ @ApiModelProperty("认款申请日期")
+ private String subscriptionDate; // 认款申请日期
+
+ @ApiModelProperty("收款确认单sid")
+ private String collSid; // 收款确认单sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedVo.java
new file mode 100644
index 0000000000..e92122366a
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedVo.java
@@ -0,0 +1,91 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedVo.java
+ * Class: com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo
+ * Description: 已选应收款项明细表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "已选应收款项明细表 视图数据对象", description = "已选应收款项明细表 视图数据对象")
+@Data
+public class BusSelectedReceivablesDetailedVo implements Vo {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+
+ @ApiModelProperty("认款金额")
+ private String subscriptionMoney; // 认款金额
+
+ @ApiModelProperty("认款申请日期")
+ private String subscriptionDate; // 认款申请日期
+
+ @ApiModelProperty("收款确认单sid")
+ private String collSid; // 收款确认单sid
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailed.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailed.java
new file mode 100644
index 0000000000..7c3ff53e04
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailed.java
@@ -0,0 +1,214 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.yxt.common.core.domain.BaseEntity;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailed.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailed
+ * Description: 应收未收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "应收未收款项明细表", description = "应收未收款项明细表")
+@TableName("bus_uncollected_receivables_detailed")
+public class BusUncollectedReceivablesDetailed extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private BigDecimal currentReceivableMoney; // 当前应收金额
+
+ /**
+ * @return 创建人接口
+ */
+ public String getCreateByName(){
+ return createByName;
+ }
+
+ /**
+ * @param createByName 创建人接口 to set
+ */
+ public void setCreateByName(String createByName){
+ this.createByName = createByName;
+ }
+ /**
+ * @return 合同sid
+ */
+ public String getContractSid(){
+ return contractSid;
+ }
+
+ /**
+ * @param contractSid 合同sid to set
+ */
+ public void setContractSid(String contractSid){
+ this.contractSid = contractSid;
+ }
+ /**
+ * @return 合同编号
+ */
+ public String getContractNo(){
+ return contractNo;
+ }
+
+ /**
+ * @param contractNo 合同编号 to set
+ */
+ public void setContractNo(String contractNo){
+ this.contractNo = contractNo;
+ }
+ /**
+ * @return 客户sid
+ */
+ public String getCustomerSid(){
+ return customerSid;
+ }
+
+ /**
+ * @param customerSid 客户sid to set
+ */
+ public void setCustomerSid(String customerSid){
+ this.customerSid = customerSid;
+ }
+ /**
+ * @return 客户名称
+ */
+ public String getCustomerName(){
+ return customerName;
+ }
+
+ /**
+ * @param customerName 客户名称 to set
+ */
+ public void setCustomerName(String customerName){
+ this.customerName = customerName;
+ }
+ /**
+ * @return 车架号
+ */
+ public String getVIN(){
+ return VIN;
+ }
+
+ /**
+ * @param VIN 车架号 to set
+ */
+ public void setVIN(String VIN){
+ this.VIN = VIN;
+ }
+ /**
+ * @return 分公司sid
+ */
+ public String getUseOrgSid(){
+ return useOrgSid;
+ }
+
+ /**
+ * @param useOrgSid 分公司sid to set
+ */
+ public void setUseOrgSid(String useOrgSid){
+ this.useOrgSid = useOrgSid;
+ }
+ /**
+ * @return 联系电话
+ */
+ public String getCustomerPhone(){
+ return customerPhone;
+ }
+
+ /**
+ * @param customerPhone 联系电话 to set
+ */
+ public void setCustomerPhone(String customerPhone){
+ this.customerPhone = customerPhone;
+ }
+ /**
+ * @return 应收项目名称
+ */
+ public String getReceivablesName(){
+ return receivablesName;
+ }
+
+ /**
+ * @param receivablesName 应收项目名称 to set
+ */
+ public void setReceivablesName(String receivablesName){
+ this.receivablesName = receivablesName;
+ }
+ /**
+ * @return 当前应收金额
+ */
+ public BigDecimal getCurrentReceivableMoney(){
+ return currentReceivableMoney;
+ }
+
+ /**
+ * @param currentReceivableMoney 当前应收金额 to set
+ */
+ public void setCurrentReceivableMoney(BigDecimal currentReceivableMoney){
+ this.currentReceivableMoney = currentReceivableMoney;
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedDto.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedDto.java
new file mode 100644
index 0000000000..047988a1f0
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedDto.java
@@ -0,0 +1,82 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedDto.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedDto
+ * Description: 应收未收款项明细表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "应收未收款项明细表 数据传输对象", description = "应收未收款项明细表 数据传输对象")
+@Data
+public class BusUncollectedReceivablesDetailedDto implements Dto {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeign.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeign.java
new file mode 100644
index 0000000000..3b529e9532
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeign.java
@@ -0,0 +1,94 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+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-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedFeign.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedFeign
+ * Description: 应收未收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "应收未收款项明细表")
+@FeignClient(
+ contextId = "anrui-buscenter-BusUncollectedReceivablesDetailed",
+ name = "anrui-buscenter",
+ path = "busuncollectedreceivablesdetailed",
+ fallback = BusUncollectedReceivablesDetailedFeignFallback.class)
+public interface BusUncollectedReceivablesDetailedFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusUncollectedReceivablesDetailedQuery query);
+
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list();
+
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusUncollectedReceivablesDetailedDto dto);
+
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusUncollectedReceivablesDetailedDto dto, @PathVariable("sid") String sid);
+
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids);
+
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeignFallback.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeignFallback.java
new file mode 100644
index 0000000000..176d3e171f
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedFeignFallback.java
@@ -0,0 +1,100 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+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-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedFeignFallback
+ * Description: 应收未收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class BusUncollectedReceivablesDetailedFeignFallback implements BusUncollectedReceivablesDetailedFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean> listAll(BusUncollectedReceivablesDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/listAll无法访问");
+ }
+
+ @Override
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/list无法访问");
+ }
+
+ @Override
+ public ResultBean save(BusUncollectedReceivablesDetailedDto dto){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/save无法访问");
+ }
+
+ @Override
+ public ResultBean update(BusUncollectedReceivablesDetailedDto dto, String sid){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/update无法访问");
+ }
+
+ @Override
+ public ResultBean del(String ids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/del无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetch(String id){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/fetch无法访问");
+ }
+
+ @Override
+ public ResultBean fetchBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口anrui-buscenter/busuncollectedreceivablesdetailed/fetchBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedQuery.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedQuery.java
new file mode 100644
index 0000000000..d72e1d8bd5
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedQuery.java
@@ -0,0 +1,82 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedQuery.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedQuery
+ * Description: 应收未收款项明细表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "应收未收款项明细表 查询条件", description = "应收未收款项明细表 查询条件")
+@Data
+public class BusUncollectedReceivablesDetailedQuery implements Query {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+}
diff --git a/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedVo.java b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedVo.java
new file mode 100644
index 0000000000..a7f086cceb
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-api/src/main/java/com/yxt/anrui/buscenter/api/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedVo.java
@@ -0,0 +1,82 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedVo.java
+ * Class: com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedVo
+ * Description: 应收未收款项明细表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@ApiModel(value = "应收未收款项明细表 视图数据对象", description = "应收未收款项明细表 视图数据对象")
+@Data
+public class BusUncollectedReceivablesDetailedVo implements Vo {
+
+
+ @ApiModelProperty("创建人接口")
+ private String createByName; // 创建人接口
+
+ @ApiModelProperty("合同sid")
+ private String contractSid; // 合同sid
+
+ @ApiModelProperty("合同编号")
+ private String contractNo; // 合同编号
+
+ @ApiModelProperty("客户sid")
+ private String customerSid; // 客户sid
+
+ @ApiModelProperty("客户名称")
+ private String customerName; // 客户名称
+
+ @ApiModelProperty("车架号")
+ private String VIN; // 车架号
+
+ @ApiModelProperty("分公司sid")
+ private String useOrgSid; // 分公司sid
+
+ @ApiModelProperty("联系电话")
+ private String customerPhone; // 联系电话
+
+ @ApiModelProperty("应收项目名称")
+ private String receivablesName; // 应收项目名称
+
+ @ApiModelProperty("当前应收金额")
+ private String currentReceivableMoney; // 当前应收金额
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.java
new file mode 100644
index 0000000000..01f9a53fed
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscollectionconfirmation;
+
+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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmation;
+import com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationMapper.java
+ * Class: com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationMapper
+ * Description: 收款确认表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Mapper
+public interface BusCollectionConfirmationMapper extends BaseMapper {
+
+ //@Update("update bus_collection_confirmation set name=#{msg} where id=#{id}")
+ //IPage voPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw);
+
+ IPage selectPageVo(IPage page, @Param(Constants.WRAPPER) Wrapper qw);
+
+ List selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
+
+ @Select("select * from bus_collection_confirmation")
+ List selectListVo();
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.xml b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.xml
new file mode 100644
index 0000000000..d4f730bad0
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationMapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationRest.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationRest.java
new file mode 100644
index 0000000000..7c0f8fcf47
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationRest.java
@@ -0,0 +1,91 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscollectionconfirmation;
+
+import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*;
+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;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationRest
+ * Description: 收款确认表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "收款确认表")
+@RestController("com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationRest")
+@RequestMapping("/buscollectionconfirmation")
+public class BusCollectionConfirmationRest implements BusCollectionConfirmationFeign {
+
+ @Autowired
+ private BusCollectionConfirmationService busCollectionConfirmationService;
+
+ @Override
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ PagerVo pv = busCollectionConfirmationService.listPageVo(pq);
+ return rb.success().setData(pv);
+ }
+
+ @Override
+ @ApiOperation("新增或修改保存")
+ @PostMapping("/saveOrUpdate")
+ public ResultBean saveOrUpdate(@RequestBody BusCollectionConfirmationDto dto){
+ return busCollectionConfirmationService.saveOrUpdateAllDto(dto);
+ }
+
+ @Override
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids){
+ ResultBean rb = ResultBean.fireFail();
+ busCollectionConfirmationService.delBySids(sids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid){
+ return busCollectionConfirmationService.fetchByAllSid(sid);
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationService.java
new file mode 100644
index 0000000000..c3635e05c1
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscollectionconfirmation/BusCollectionConfirmationService.java
@@ -0,0 +1,134 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscollectionconfirmation;
+
+import cn.hutool.core.bean.BeanUtil;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*;
+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 org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCollectionConfirmationService.java
+ * Class: com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationService
+ * Description: 收款确认表 业务逻辑.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Service
+public class BusCollectionConfirmationService extends MybatisBaseService {
+ public PagerVo listPage(PagerQuery pq) {
+ BusCollectionConfirmationQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPage(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+ public List listAll(BusCollectionConfirmationQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectList(qw);
+ }
+ private QueryWrapper createQueryWrapper(BusCollectionConfirmationQuery query) {
+ // todo: 这里根据具体业务调整查询条件
+ // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
+ QueryWrapper qw = new QueryWrapper<>();
+
+ if (StringUtils.isNotBlank(query.getCollectionDate())) {
+ qw.eq("collectionDate", query.getCollectionDate());
+ }
+ if (StringUtils.isNotBlank(query.getCollectionBank())) {
+ qw.eq("collectionBank", query.getCollectionBank());
+ }
+ if (StringUtils.isNotBlank(query.getCollectionTypeKey())) {
+ qw.eq("collectionTypeKey", query.getCollectionTypeKey());
+ }
+ if (StringUtils.isNotBlank(query.getSubscriptionState())) {
+ qw.eq("subscriptionState", query.getSubscriptionState());
+ }
+ return qw;
+ }
+
+ public PagerVo listPageVo(PagerQuery pq) {
+ BusCollectionConfirmationQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPageVo(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+
+ public List listAllVo(BusCollectionConfirmationQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectListAllVo(qw);
+ }
+
+ public List listVo() {
+ return baseMapper.selectListVo();
+ }
+
+ public void saveOrUpdateDto(BusCollectionConfirmationDto dto){
+ BusCollectionConfirmation entity = new BusCollectionConfirmation();
+ dto.fillEntity(entity);
+ this.saveOrUpdate(entity);
+ }
+
+ public BusCollectionConfirmationVo fetchByIdVo(String id){
+ BusCollectionConfirmation entity = this.fetchById(id);
+ BusCollectionConfirmationVo vo = new BusCollectionConfirmationVo();
+ BeanUtil.copyProperties(entity, vo);
+ return vo;
+ }
+
+ public ResultBean saveOrUpdateAllDto(BusCollectionConfirmationDto dto) {
+ ResultBean rb = ResultBean.fireFail();
+ String sid = dto.getSid();
+ if (StringUtils.isBlank(sid)){
+
+ }
+ return null;
+ }
+
+ public ResultBean fetchByAllSid(String sid) {
+ ResultBean rb = ResultBean.fireFail();
+ return null;
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.java
new file mode 100644
index 0000000000..eb7ea32854
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbill;
+
+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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBill;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillVo;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillMapper.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbill.BusCustomerBillMapper
+ * Description: 客户账单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Mapper
+public interface BusCustomerBillMapper extends BaseMapper {
+
+ //@Update("update bus_customer_bill set name=#{msg} where id=#{id}")
+ //IPage voPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw);
+
+ IPage selectPageVo(IPage page, @Param(Constants.WRAPPER) Wrapper qw);
+
+ List selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
+
+ @Select("select * from bus_customer_bill")
+ List selectListVo();
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.xml b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.xml
new file mode 100644
index 0000000000..bd0d37e115
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillMapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillRest.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillRest.java
new file mode 100644
index 0000000000..e402bd85a8
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillRest.java
@@ -0,0 +1,144 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbill;
+
+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.buscenter.api.buscustomerbill.BusCustomerBill;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillQuery;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillVo;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillDto;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillFeign;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbill.BusCustomerBillRest
+ * Description: 客户账单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "客户账单表")
+@RestController("com.yxt.anrui.buscenter.biz.buscustomerbill.BusCustomerBillRest")
+@RequestMapping("/buscustomerbill")
+public class BusCustomerBillRest implements BusCustomerBillFeign {
+
+ @Autowired
+ private BusCustomerBillService busCustomerBillService;
+
+ @Override
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ PagerVo pv = busCustomerBillService.listPageVo(pq);
+ return rb.success().setData(pv);
+ }
+
+ @Override
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusCustomerBillQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busCustomerBillService.listAllVo(query);
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busCustomerBillService.listVo();
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusCustomerBillDto dto){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillService.saveOrUpdateDto(dto);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusCustomerBillDto dto, @PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillService.updateBySid(dto.toMap(),sid);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillService.delByIds(ids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillService.delBySids(sids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id){
+ ResultBean rb = ResultBean.fireFail();
+ BusCustomerBillVo vo = busCustomerBillService.fetchByIdVo(id);
+ return rb.success().setData(vo);
+ }
+
+ @Override
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ BusCustomerBillVo vo =new BusCustomerBillVo();
+ return rb.success().setData(vo);
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillService.java
new file mode 100644
index 0000000000..564502c34d
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbill/BusCustomerBillService.java
@@ -0,0 +1,172 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbill;
+
+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.buscenter.api.buscustomerbill.BusCustomerBill;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillQuery;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillVo;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillDto;
+import com.yxt.anrui.buscenter.api.buscustomerbill.BusCustomerBillFeign;
+
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillService.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbill.BusCustomerBillService
+ * Description: 客户账单表 业务逻辑.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Service
+public class BusCustomerBillService extends MybatisBaseService {
+ public PagerVo listPage(PagerQuery pq) {
+ BusCustomerBillQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPage(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+ public List listAll(BusCustomerBillQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectList(qw);
+ }
+ private QueryWrapper createQueryWrapper(BusCustomerBillQuery query) {
+ // todo: 这里根据具体业务调整查询条件
+ // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
+ QueryWrapper qw = new QueryWrapper<>();
+
+
+ if (StringUtils.isNotBlank(query.getCreateByName())) {
+ qw.eq("createByName", query.getCreateByName());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractSid())) {
+ qw.eq("contractSid", query.getContractSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractNo())) {
+ qw.eq("contractNo", query.getContractNo());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerSid())) {
+ qw.eq("customerSid", query.getCustomerSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerName())) {
+ qw.eq("customerName", query.getCustomerName());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentTypeKey())) {
+ qw.eq("paymentTypeKey", query.getPaymentTypeKey());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentTypeValue())) {
+ qw.eq("paymentTypeValue", query.getPaymentTypeValue());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentName())) {
+ qw.eq("paymentName", query.getPaymentName());
+ }
+
+ if (query.getPaymentState() != null) {
+ qw.eq("paymentState", query.getPaymentState());
+ }
+
+ if (query.getReceivableMoney() != null) {
+ qw.eq("receivableMoney", query.getReceivableMoney());
+ }
+
+ if (query.getNetReceiptsMoney() != null) {
+ qw.eq("netReceiptsMoney", query.getNetReceiptsMoney());
+ }
+
+ if (query.getUncollectedMoney() != null) {
+ qw.eq("uncollectedMoney", query.getUncollectedMoney());
+ }
+
+ if (StringUtils.isNotBlank(query.getGenerateDate())) {
+ qw.eq("generateDate", query.getGenerateDate());
+ }
+
+ if (StringUtils.isNotBlank(query.getLatestProcessingDate())) {
+ qw.eq("latestProcessingDate", query.getLatestProcessingDate());
+ }
+
+ if (StringUtils.isNotBlank(query.getUseOrgSid())) {
+ qw.eq("useOrgSid", query.getUseOrgSid());
+ }
+ return qw;
+ }
+
+ public PagerVo listPageVo(PagerQuery pq) {
+ BusCustomerBillQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPageVo(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+
+ public List listAllVo(BusCustomerBillQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectListAllVo(qw);
+ }
+
+ public List listVo() {
+ return baseMapper.selectListVo();
+ }
+
+ public void saveOrUpdateDto(BusCustomerBillDto dto){
+ BusCustomerBill entity = new BusCustomerBill();
+ dto.fillEntity(entity);
+ this.saveOrUpdate(entity);
+ }
+
+ public BusCustomerBillVo fetchByIdVo(String id){
+ BusCustomerBill entity = this.fetchById(id);
+ BusCustomerBillVo vo = new BusCustomerBillVo();
+ BeanUtil.copyProperties(entity, vo);
+ return vo;
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.java
new file mode 100644
index 0000000000..cc5c893ade
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbilldetailed;
+
+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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailed;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedVo;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedMapper.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbilldetailed.BusCustomerBillDetailedMapper
+ * Description: 客户账单明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Mapper
+public interface BusCustomerBillDetailedMapper extends BaseMapper {
+
+ //@Update("update bus_customer_bill_detailed set name=#{msg} where id=#{id}")
+ //IPage voPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw);
+
+ IPage selectPageVo(IPage page, @Param(Constants.WRAPPER) Wrapper qw);
+
+ List selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
+
+ @Select("select * from bus_customer_bill_detailed")
+ List selectListVo();
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.xml b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.xml
new file mode 100644
index 0000000000..95983d8df3
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedMapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedRest.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedRest.java
new file mode 100644
index 0000000000..a734e29773
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedRest.java
@@ -0,0 +1,144 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbilldetailed;
+
+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.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailed;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedQuery;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedVo;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedDto;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedFeign;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbilldetailed.BusCustomerBillDetailedRest
+ * Description: 客户账单明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "客户账单明细表")
+@RestController("com.yxt.anrui.buscenter.biz.buscustomerbilldetailed.BusCustomerBillDetailedRest")
+@RequestMapping("/buscustomerbilldetailed")
+public class BusCustomerBillDetailedRest implements BusCustomerBillDetailedFeign {
+
+ @Autowired
+ private BusCustomerBillDetailedService busCustomerBillDetailedService;
+
+ @Override
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ PagerVo pv = busCustomerBillDetailedService.listPageVo(pq);
+ return rb.success().setData(pv);
+ }
+
+ @Override
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusCustomerBillDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busCustomerBillDetailedService.listAllVo(query);
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busCustomerBillDetailedService.listVo();
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusCustomerBillDetailedDto dto){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillDetailedService.saveOrUpdateDto(dto);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusCustomerBillDetailedDto dto, @PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillDetailedService.updateBySid(dto.toMap(),sid);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillDetailedService.delByIds(ids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids){
+ ResultBean rb = ResultBean.fireFail();
+ busCustomerBillDetailedService.delBySids(sids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id){
+ ResultBean rb = ResultBean.fireFail();
+ BusCustomerBillDetailedVo vo = busCustomerBillDetailedService.fetchByIdVo(id);
+ return rb.success().setData(vo);
+ }
+
+ @Override
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ BusCustomerBillDetailedVo vo = new BusCustomerBillDetailedVo();
+ return rb.success().setData(vo);
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedService.java
new file mode 100644
index 0000000000..8d0853fecc
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/buscustomerbilldetailed/BusCustomerBillDetailedService.java
@@ -0,0 +1,168 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.buscustomerbilldetailed;
+
+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.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailed;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedQuery;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedVo;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedDto;
+import com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedFeign;
+
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusCustomerBillDetailedService.java
+ * Class: com.yxt.anrui.buscenter.biz.buscustomerbilldetailed.BusCustomerBillDetailedService
+ * Description: 客户账单明细表 业务逻辑.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Service
+public class BusCustomerBillDetailedService extends MybatisBaseService {
+ public PagerVo listPage(PagerQuery pq) {
+ BusCustomerBillDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPage(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+ public List listAll(BusCustomerBillDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectList(qw);
+ }
+ private QueryWrapper createQueryWrapper(BusCustomerBillDetailedQuery query) {
+ // todo: 这里根据具体业务调整查询条件
+ // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
+ QueryWrapper qw = new QueryWrapper<>();
+
+
+ if (StringUtils.isNotBlank(query.getCreateByName())) {
+ qw.eq("createByName", query.getCreateByName());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractSid())) {
+ qw.eq("contractSid", query.getContractSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractNo())) {
+ qw.eq("contractNo", query.getContractNo());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerSid())) {
+ qw.eq("customerSid", query.getCustomerSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerName())) {
+ qw.eq("customerName", query.getCustomerName());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentTypeKey())) {
+ qw.eq("paymentTypeKey", query.getPaymentTypeKey());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentTypeValue())) {
+ qw.eq("paymentTypeValue", query.getPaymentTypeValue());
+ }
+
+ if (StringUtils.isNotBlank(query.getPaymentName())) {
+ qw.eq("paymentName", query.getPaymentName());
+ }
+
+ if (query.getPaymentState() != null) {
+ qw.eq("paymentState", query.getPaymentState());
+ }
+
+ if (query.getReceivableMoney() != null) {
+ qw.eq("receivableMoney", query.getReceivableMoney());
+ }
+
+ if (query.getNetReceiptsMoney() != null) {
+ qw.eq("netReceiptsMoney", query.getNetReceiptsMoney());
+ }
+
+ if (query.getUncollectedMoney() != null) {
+ qw.eq("uncollectedMoney", query.getUncollectedMoney());
+ }
+
+ if (StringUtils.isNotBlank(query.getGenerateDate())) {
+ qw.eq("generateDate", query.getGenerateDate());
+ }
+
+ if (StringUtils.isNotBlank(query.getUseOrgSid())) {
+ qw.eq("useOrgSid", query.getUseOrgSid());
+ }
+ return qw;
+ }
+
+ public PagerVo listPageVo(PagerQuery pq) {
+ BusCustomerBillDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPageVo(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+
+ public List listAllVo(BusCustomerBillDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectListAllVo(qw);
+ }
+
+ public List listVo() {
+ return baseMapper.selectListVo();
+ }
+
+ public void saveOrUpdateDto(BusCustomerBillDetailedDto dto){
+ BusCustomerBillDetailed entity = new BusCustomerBillDetailed();
+ dto.fillEntity(entity);
+ this.saveOrUpdate(entity);
+ }
+
+ public BusCustomerBillDetailedVo fetchByIdVo(String id){
+ BusCustomerBillDetailed entity = this.fetchById(id);
+ BusCustomerBillDetailedVo vo = new BusCustomerBillDetailedVo();
+ BeanUtil.copyProperties(entity, vo);
+ return vo;
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.java
new file mode 100644
index 0000000000..3dda5b98c0
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed;
+
+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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedMapper.java
+ * Class: com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedMapper
+ * Description: 已选应收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Mapper
+public interface BusSelectedReceivablesDetailedMapper extends BaseMapper {
+
+ //@Update("update bus_selected_receivables_detailed set name=#{msg} where id=#{id}")
+ //IPage voPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw);
+
+ IPage selectPageVo(IPage page, @Param(Constants.WRAPPER) Wrapper qw);
+
+ List selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
+
+ @Select("select * from bus_selected_receivables_detailed")
+ List selectListVo();
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.xml b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.xml
new file mode 100644
index 0000000000..ea583bec99
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedMapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedRest.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedRest.java
new file mode 100644
index 0000000000..3bfc1459e2
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedRest.java
@@ -0,0 +1,144 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed;
+
+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.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedQuery;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedDto;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedFeign;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedRest
+ * Description: 已选应收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "已选应收款项明细表")
+@RestController("com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedRest")
+@RequestMapping("/busselectedreceivablesdetailed")
+public class BusSelectedReceivablesDetailedRest implements BusSelectedReceivablesDetailedFeign {
+
+ @Autowired
+ private BusSelectedReceivablesDetailedService busSelectedReceivablesDetailedService;
+
+ @Override
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ PagerVo pv = busSelectedReceivablesDetailedService.listPageVo(pq);
+ return rb.success().setData(pv);
+ }
+
+ @Override
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusSelectedReceivablesDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busSelectedReceivablesDetailedService.listAllVo(query);
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busSelectedReceivablesDetailedService.listVo();
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusSelectedReceivablesDetailedDto dto){
+ ResultBean rb = ResultBean.fireFail();
+ busSelectedReceivablesDetailedService.saveOrUpdateDto(dto);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusSelectedReceivablesDetailedDto dto, @PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ busSelectedReceivablesDetailedService.updateBySid(dto.toMap(),sid);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids){
+ ResultBean rb = ResultBean.fireFail();
+ busSelectedReceivablesDetailedService.delByIds(ids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids){
+ ResultBean rb = ResultBean.fireFail();
+ busSelectedReceivablesDetailedService.delBySids(sids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id){
+ ResultBean rb = ResultBean.fireFail();
+ BusSelectedReceivablesDetailedVo vo = busSelectedReceivablesDetailedService.fetchByIdVo(id);
+ return rb.success().setData(vo);
+ }
+
+ @Override
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ BusSelectedReceivablesDetailedVo vo = new BusSelectedReceivablesDetailedVo();
+ return rb.success().setData(vo);
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedService.java
new file mode 100644
index 0000000000..378cc57127
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busselectedreceivablesdetailed/BusSelectedReceivablesDetailedService.java
@@ -0,0 +1,164 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed;
+
+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.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedQuery;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedDto;
+import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedFeign;
+
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusSelectedReceivablesDetailedService.java
+ * Class: com.yxt.anrui.buscenter.biz.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedService
+ * Description: 已选应收款项明细表 业务逻辑.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:00
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Service
+public class BusSelectedReceivablesDetailedService extends MybatisBaseService {
+ public PagerVo listPage(PagerQuery pq) {
+ BusSelectedReceivablesDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPage(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+ public List listAll(BusSelectedReceivablesDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectList(qw);
+ }
+ private QueryWrapper createQueryWrapper(BusSelectedReceivablesDetailedQuery query) {
+ // todo: 这里根据具体业务调整查询条件
+ // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
+ QueryWrapper qw = new QueryWrapper<>();
+
+
+ if (StringUtils.isNotBlank(query.getCreateByName())) {
+ qw.eq("createByName", query.getCreateByName());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractSid())) {
+ qw.eq("contractSid", query.getContractSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractNo())) {
+ qw.eq("contractNo", query.getContractNo());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerSid())) {
+ qw.eq("customerSid", query.getCustomerSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerName())) {
+ qw.eq("customerName", query.getCustomerName());
+ }
+
+ if (StringUtils.isNotBlank(query.getVIN())) {
+ qw.eq("VIN", query.getVIN());
+ }
+
+ if (StringUtils.isNotBlank(query.getUseOrgSid())) {
+ qw.eq("useOrgSid", query.getUseOrgSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerPhone())) {
+ qw.eq("customerPhone", query.getCustomerPhone());
+ }
+
+ if (StringUtils.isNotBlank(query.getReceivablesName())) {
+ qw.eq("receivablesName", query.getReceivablesName());
+ }
+
+ if (query.getCurrentReceivableMoney() != null) {
+ qw.eq("currentReceivableMoney", query.getCurrentReceivableMoney());
+ }
+
+ if (query.getSubscriptionMoney() != null) {
+ qw.eq("subscriptionMoney", query.getSubscriptionMoney());
+ }
+
+ if (StringUtils.isNotBlank(query.getSubscriptionDate())) {
+ qw.eq("subscriptionDate", query.getSubscriptionDate());
+ }
+
+ if (StringUtils.isNotBlank(query.getCollSid())) {
+ qw.eq("collSid", query.getCollSid());
+ }
+ return qw;
+ }
+
+ public PagerVo listPageVo(PagerQuery pq) {
+ BusSelectedReceivablesDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPageVo(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+
+ public List listAllVo(BusSelectedReceivablesDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectListAllVo(qw);
+ }
+
+ public List listVo() {
+ return baseMapper.selectListVo();
+ }
+
+ public void saveOrUpdateDto(BusSelectedReceivablesDetailedDto dto){
+ BusSelectedReceivablesDetailed entity = new BusSelectedReceivablesDetailed();
+ dto.fillEntity(entity);
+ this.saveOrUpdate(entity);
+ }
+
+ public BusSelectedReceivablesDetailedVo fetchByIdVo(String id){
+ BusSelectedReceivablesDetailed entity = this.fetchById(id);
+ BusSelectedReceivablesDetailedVo vo = new BusSelectedReceivablesDetailedVo();
+ BeanUtil.copyProperties(entity, vo);
+ return vo;
+ }
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.java
new file mode 100644
index 0000000000..b772a53f8a
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed;
+
+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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedVo;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedMapper.java
+ * Class: com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedMapper
+ * Description: 应收未收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Mapper
+public interface BusUncollectedReceivablesDetailedMapper extends BaseMapper {
+
+ //@Update("update bus_uncollected_receivables_detailed set name=#{msg} where id=#{id}")
+ //IPage voPage(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw);
+
+ IPage selectPageVo(IPage page, @Param(Constants.WRAPPER) Wrapper qw);
+
+ List selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
+
+ @Select("select * from bus_uncollected_receivables_detailed")
+ List selectListVo();
+}
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.xml b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.xml
new file mode 100644
index 0000000000..77e855d8b6
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedMapper.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedRest.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedRest.java
new file mode 100644
index 0000000000..a8d157688c
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedRest.java
@@ -0,0 +1,144 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed;
+
+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.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedQuery;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedVo;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedDto;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedFeign;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedFeignFallback.java
+ * Class: com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedRest
+ * Description: 应收未收款项明细表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "应收未收款项明细表")
+@RestController("com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedRest")
+@RequestMapping("/busuncollectedreceivablesdetailed")
+public class BusUncollectedReceivablesDetailedRest implements BusUncollectedReceivablesDetailedFeign {
+
+ @Autowired
+ private BusUncollectedReceivablesDetailedService busUncollectedReceivablesDetailedService;
+
+ @Override
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ public ResultBean> listPage(@RequestBody PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ PagerVo pv = busUncollectedReceivablesDetailedService.listPageVo(pq);
+ return rb.success().setData(pv);
+ }
+
+ @Override
+ @ApiOperation("根据条件查询所有数据列表")
+ @PostMapping("/listAll")
+ public ResultBean> listAll(@RequestBody BusUncollectedReceivablesDetailedQuery query){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busUncollectedReceivablesDetailedService.listAllVo(query);
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("所有数据列表")
+ @GetMapping("/list")
+ public ResultBean> list(){
+ ResultBean rb = ResultBean.fireFail();
+ List list = busUncollectedReceivablesDetailedService.listVo();
+ return rb.success().setData(list);
+ }
+
+ @Override
+ @ApiOperation("新增保存")
+ @PostMapping("/save")
+ public ResultBean save(@RequestBody BusUncollectedReceivablesDetailedDto dto){
+ ResultBean rb = ResultBean.fireFail();
+ busUncollectedReceivablesDetailedService.saveOrUpdateDto(dto);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("修改保存")
+ @PostMapping("/update/{sid}")
+ public ResultBean update(@RequestBody BusUncollectedReceivablesDetailedDto dto, @PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ busUncollectedReceivablesDetailedService.updateBySid(dto.toMap(),sid);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("删除记录")
+ @GetMapping("/del/{ids}")
+ public ResultBean del(@PathVariable("ids") String ids){
+ ResultBean rb = ResultBean.fireFail();
+ busUncollectedReceivablesDetailedService.delByIds(ids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("根据sid批量删除")
+ @PostMapping("/delBySids")
+ public ResultBean delBySids(@RequestBody String[] sids){
+ ResultBean rb = ResultBean.fireFail();
+ busUncollectedReceivablesDetailedService.delBySids(sids);
+ return rb.success();
+ }
+
+ @Override
+ @ApiOperation("获取一条记录")
+ @GetMapping("/fetch/{id}")
+ public ResultBean fetch(@PathVariable("id") String id){
+ ResultBean rb = ResultBean.fireFail();
+ BusUncollectedReceivablesDetailedVo vo = busUncollectedReceivablesDetailedService.fetchByIdVo(id);
+ return rb.success().setData(vo);
+ }
+
+ @Override
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchBySid/{sid}")
+ public ResultBean fetchBySid(@PathVariable("sid") String sid){
+ ResultBean rb = ResultBean.fireFail();
+ BusUncollectedReceivablesDetailedVo vo = new BusUncollectedReceivablesDetailedVo();
+ return rb.success().setData(vo);
+ }
+}
diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedService.java
new file mode 100644
index 0000000000..64ffb5a4df
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busuncollectedreceivablesdetailed/BusUncollectedReceivablesDetailedService.java
@@ -0,0 +1,152 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed;
+
+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.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailed;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedQuery;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedVo;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedDto;
+import com.yxt.anrui.buscenter.api.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedFeign;
+
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * Project: anrui-buscenter(销售相关)
+ * File: BusUncollectedReceivablesDetailedService.java
+ * Class: com.yxt.anrui.buscenter.biz.busuncollectedreceivablesdetailed.BusUncollectedReceivablesDetailedService
+ * Description: 应收未收款项明细表 业务逻辑.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-04-12 17:57:01
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Service
+public class BusUncollectedReceivablesDetailedService extends MybatisBaseService {
+ public PagerVo listPage(PagerQuery pq) {
+ BusUncollectedReceivablesDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPage(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+ public List listAll(BusUncollectedReceivablesDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectList(qw);
+ }
+ private QueryWrapper createQueryWrapper(BusUncollectedReceivablesDetailedQuery query) {
+ // todo: 这里根据具体业务调整查询条件
+ // 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
+ QueryWrapper qw = new QueryWrapper<>();
+
+
+ if (StringUtils.isNotBlank(query.getCreateByName())) {
+ qw.eq("createByName", query.getCreateByName());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractSid())) {
+ qw.eq("contractSid", query.getContractSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getContractNo())) {
+ qw.eq("contractNo", query.getContractNo());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerSid())) {
+ qw.eq("customerSid", query.getCustomerSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerName())) {
+ qw.eq("customerName", query.getCustomerName());
+ }
+
+ if (StringUtils.isNotBlank(query.getVIN())) {
+ qw.eq("VIN", query.getVIN());
+ }
+
+ if (StringUtils.isNotBlank(query.getUseOrgSid())) {
+ qw.eq("useOrgSid", query.getUseOrgSid());
+ }
+
+ if (StringUtils.isNotBlank(query.getCustomerPhone())) {
+ qw.eq("customerPhone", query.getCustomerPhone());
+ }
+
+ if (StringUtils.isNotBlank(query.getReceivablesName())) {
+ qw.eq("receivablesName", query.getReceivablesName());
+ }
+
+ if (query.getCurrentReceivableMoney() != null) {
+ qw.eq("currentReceivableMoney", query.getCurrentReceivableMoney());
+ }
+ return qw;
+ }
+
+ public PagerVo listPageVo(PagerQuery pq) {
+ BusUncollectedReceivablesDetailedQuery query = pq.getParams();
+ QueryWrapper qw = createQueryWrapper(query);
+ IPage page = PagerUtil.queryToPage(pq);
+ IPage pagging = baseMapper.selectPageVo(page, qw);
+ PagerVo p = PagerUtil.pageToVo(pagging, null);
+ return p;
+ }
+
+ public List listAllVo(BusUncollectedReceivablesDetailedQuery query) {
+ QueryWrapper qw = createQueryWrapper(query);
+ return baseMapper.selectListAllVo(qw);
+ }
+
+ public List listVo() {
+ return baseMapper.selectListVo();
+ }
+
+ public void saveOrUpdateDto(BusUncollectedReceivablesDetailedDto dto){
+ BusUncollectedReceivablesDetailed entity = new BusUncollectedReceivablesDetailed();
+ dto.fillEntity(entity);
+ this.saveOrUpdate(entity);
+ }
+
+ public BusUncollectedReceivablesDetailedVo fetchByIdVo(String id){
+ BusUncollectedReceivablesDetailed entity = this.fetchById(id);
+ BusUncollectedReceivablesDetailedVo vo = new BusUncollectedReceivablesDetailedVo();
+ BeanUtil.copyProperties(entity, vo);
+ return vo;
+ }
+}
\ No newline at end of file