-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from Jzow/master
Significant updates (Added all export functions for basic business)
- Loading branch information
Showing
51 changed files
with
1,150 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
core/domain/src/main/java/com/wansenai/bo/CollectionDataExportBO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo; | ||
|
||
import com.wansenai.utils.excel.ExcelExport; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Data | ||
@Builder | ||
public class CollectionDataExportBO { | ||
|
||
@ExcelExport(value = "客户") | ||
private String customerName; | ||
|
||
@ExcelExport(value = "收款单号") | ||
private String receiptNumber; | ||
|
||
@ExcelExport(value = "销售单据编号") | ||
private String saleReceiptNumber; | ||
|
||
@ExcelExport(value = "应收欠款") | ||
private BigDecimal receivableArrears; | ||
|
||
@ExcelExport(value = "已收欠款") | ||
private BigDecimal receivedArrears; | ||
|
||
@ExcelExport(value = "本次收款") | ||
private BigDecimal thisCollectionAmount; | ||
|
||
@ExcelExport(value = "备注") | ||
private String remark; | ||
} |
39 changes: 39 additions & 0 deletions
39
core/domain/src/main/java/com/wansenai/bo/IncomeExpenseDataExportBO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo; | ||
|
||
import com.wansenai.utils.excel.ExcelExport; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Data | ||
@Builder | ||
public class IncomeExpenseDataExportBO { | ||
|
||
@ExcelExport(value = "单据编号") | ||
private String receiptNumber; | ||
|
||
@ExcelExport(value = "往来单位/人员") | ||
private String relatedPerson; | ||
|
||
@ExcelExport(value = "收入/支出项目") | ||
private String incomeExpenseName; | ||
|
||
@ExcelExport(value = "金额") | ||
private BigDecimal incomeExpenseAmount; | ||
|
||
@ExcelExport(value = "备注") | ||
private String remark; | ||
} |
45 changes: 45 additions & 0 deletions
45
core/domain/src/main/java/com/wansenai/bo/PaymentDataExportBO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo; | ||
|
||
import com.wansenai.utils.excel.ExcelExport; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Data | ||
@Builder | ||
public class PaymentDataExportBO { | ||
|
||
@ExcelExport(value = "供应商") | ||
private String supplierName; | ||
|
||
@ExcelExport(value = "付款单号") | ||
private String receiptNumber; | ||
|
||
@ExcelExport(value = "采购单据编号") | ||
private String purchaseReceiptNumber; | ||
|
||
@ExcelExport(value = "应付欠款") | ||
private BigDecimal paymentArrears; | ||
|
||
@ExcelExport(value = "已付欠款") | ||
private BigDecimal prepaidArrears; | ||
|
||
@ExcelExport(value = "本次付款") | ||
private BigDecimal thisPaymentAmount; | ||
|
||
@ExcelExport(value = "备注") | ||
private String remark; | ||
} |
36 changes: 36 additions & 0 deletions
36
core/domain/src/main/java/com/wansenai/bo/TransferAccountDataExportBO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance | ||
* with the License. A copy of the License is located at | ||
* | ||
* http://opensource.wansenai.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
* OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
*/ | ||
package com.wansenai.bo; | ||
|
||
import com.wansenai.utils.excel.ExcelExport; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Data | ||
@Builder | ||
public class TransferAccountDataExportBO { | ||
|
||
@ExcelExport(value = "单据编号") | ||
private String receiptNumber; | ||
|
||
@ExcelExport(value = "账户名称") | ||
private String accountName; | ||
|
||
@ExcelExport(value = "转账金额") | ||
private BigDecimal transferAmount; | ||
|
||
@ExcelExport(value = "备注") | ||
private String remark; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,6 @@ public class QueryIncomeDTO { | |
private Integer page; | ||
|
||
private Integer pageSize; | ||
|
||
private Boolean isExportDetail; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.