diff --git a/core/domain/src/main/java/com/wansenai/bo/CollectionBO.java b/core/domain/src/main/java/com/wansenai/bo/CollectionBO.java new file mode 100644 index 00000000..e39a73c3 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/bo/CollectionBO.java @@ -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.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class CollectionBO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long collectionId; + + private String saleReceiptNumber; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal receivableArrears; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal receivedArrears; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal thisCollectionAmount; + + private String remark; +} diff --git a/core/domain/src/main/java/com/wansenai/bo/PaymentBO.java b/core/domain/src/main/java/com/wansenai/bo/PaymentBO.java new file mode 100644 index 00000000..c719c9ec --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/bo/PaymentBO.java @@ -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.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class PaymentBO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long paymentId; + + private String purchaseReceiptNumber; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal paymentArrears; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal prepaidArrears; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal thisPaymentAmount; + + private String remark; +} diff --git a/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdateCollectionDTO.java b/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdateCollectionDTO.java new file mode 100644 index 00000000..2a666756 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdateCollectionDTO.java @@ -0,0 +1,49 @@ +/* + * 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.dto.financial; + +import com.wansenai.bo.CollectionBO; +import com.wansenai.bo.FileDataBO; +import lombok.Data; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@Data +public class AddOrUpdateCollectionDTO { + + private Long customerId; + + private String receiptNumber; + + private LocalDateTime receiptDate; + + private Long financialPersonId; + + private Long collectionAccountId; + + private BigDecimal totalCollectionAmount; + + private BigDecimal discountAmount; + + private BigDecimal actualCollectionAmount; + + private String remark; + + private Integer status; + + private List tableData; + + private List files; +} diff --git a/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdatePaymentDTO.java b/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdatePaymentDTO.java new file mode 100644 index 00000000..5d759e8c --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/dto/financial/AddOrUpdatePaymentDTO.java @@ -0,0 +1,49 @@ +/* + * 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.dto.financial; + +import com.wansenai.bo.FileDataBO; +import com.wansenai.bo.PaymentBO; +import lombok.Data; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@Data +public class AddOrUpdatePaymentDTO { + + private Long supplierId; + + private String receiptNumber; + + private LocalDateTime receiptDate; + + private Long financialPersonId; + + private Long paymentAccountId; + + private BigDecimal totalPaymentAmount; + + private BigDecimal discountAmount; + + private BigDecimal actualPaymentAmount; + + private String remark; + + private Integer status; + + private List tableData; + + private List files; +} diff --git a/core/domain/src/main/java/com/wansenai/dto/financial/QueryCollectionDTO.java b/core/domain/src/main/java/com/wansenai/dto/financial/QueryCollectionDTO.java new file mode 100644 index 00000000..29f79c7a --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/dto/financial/QueryCollectionDTO.java @@ -0,0 +1,41 @@ +/* + * 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.dto.financial; + +import lombok.Data; + +@Data +public class QueryCollectionDTO { + + private String receiptNumber; + + private String saleReceiptNumber; + + private Long customerId; + + private Long financialPersonId; + + private Long accountId; + + private Integer status; + + private String remark; + + private String startDate; + + private String endDate; + + private Integer page; + + private Integer pageSize; +} diff --git a/core/domain/src/main/java/com/wansenai/dto/financial/QueryPaymentDTO.java b/core/domain/src/main/java/com/wansenai/dto/financial/QueryPaymentDTO.java new file mode 100644 index 00000000..7ddcf608 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/dto/financial/QueryPaymentDTO.java @@ -0,0 +1,41 @@ +/* + * 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.dto.financial; + +import lombok.Data; + +@Data +public class QueryPaymentDTO { + + private String receiptNumber; + + private String purchaseReceiptNumber; + + private Long supplierId; + + private Long financialPersonId; + + private Long accountId; + + private Integer status; + + private String remark; + + private String startDate; + + private String endDate; + + private Integer page; + + private Integer pageSize; +} diff --git a/core/domain/src/main/java/com/wansenai/vo/financial/CollectionDetailVO.java b/core/domain/src/main/java/com/wansenai/vo/financial/CollectionDetailVO.java new file mode 100644 index 00000000..e4403e6f --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/vo/financial/CollectionDetailVO.java @@ -0,0 +1,71 @@ +/* + * 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.vo.financial; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.wansenai.bo.BigDecimalSerializerBO; +import com.wansenai.bo.CollectionBO; +import com.wansenai.bo.FileDataBO; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class CollectionDetailVO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long customerId; + + private String customerName; + + private String receiptNumber; + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime receiptDate; + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long financialPersonId; + + private String financialPersonName; + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long collectionAccountId; + + private String collectionAccountName; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal totalCollectionAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal discountAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal actualCollectionAmount; + + private String remark; + + private Integer status; + + private List tableData; + + private List files; +} diff --git a/core/domain/src/main/java/com/wansenai/vo/financial/CollectionVO.java b/core/domain/src/main/java/com/wansenai/vo/financial/CollectionVO.java new file mode 100644 index 00000000..331ca412 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/vo/financial/CollectionVO.java @@ -0,0 +1,58 @@ +/* + * 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.vo.financial; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.wansenai.bo.BigDecimalSerializerBO; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class CollectionVO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long id; + + private String customerName; + + private String receiptNumber; + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime receiptDate; + + private String financialPerson; + + private String collectionAccountName; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal totalCollectionAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal discountAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal actualCollectionAmount; + + private String remark; + + private Integer status; +} diff --git a/core/domain/src/main/java/com/wansenai/vo/financial/PaymentDetailVO.java b/core/domain/src/main/java/com/wansenai/vo/financial/PaymentDetailVO.java new file mode 100644 index 00000000..c00e7ff2 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/vo/financial/PaymentDetailVO.java @@ -0,0 +1,71 @@ +/* + * 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.vo.financial; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.wansenai.bo.BigDecimalSerializerBO; +import com.wansenai.bo.FileDataBO; +import com.wansenai.bo.PaymentBO; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.List; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class PaymentDetailVO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long supplierId; + + private String supplierName; + + private String receiptNumber; + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime receiptDate; + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long financialPersonId; + + private String financialPersonName; + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long paymentAccountId; + + private String paymentAccountName; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal totalPaymentAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal discountAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal actualPaymentAmount; + + private String remark; + + private Integer status; + + private List tableData; + + private List files; +} diff --git a/core/domain/src/main/java/com/wansenai/vo/financial/PaymentVO.java b/core/domain/src/main/java/com/wansenai/vo/financial/PaymentVO.java new file mode 100644 index 00000000..8d57bf08 --- /dev/null +++ b/core/domain/src/main/java/com/wansenai/vo/financial/PaymentVO.java @@ -0,0 +1,58 @@ +/* + * 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.vo.financial; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.wansenai.bo.BigDecimalSerializerBO; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; +import java.time.LocalDateTime; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class PaymentVO { + + @JsonFormat(shape = JsonFormat.Shape.STRING) + private Long id; + + private String supplierName; + + private String receiptNumber; + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private LocalDateTime receiptDate; + + private String financialPerson; + + private String paymentAccountName; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal totalPaymentAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal discountAmount; + + @JsonSerialize(using = BigDecimalSerializerBO.class) + private BigDecimal actualPaymentAmount; + + private String remark; + + private Integer status; +} diff --git a/core/service/src/main/java/com/wansenai/service/financial/CollectionReceiptService.java b/core/service/src/main/java/com/wansenai/service/financial/CollectionReceiptService.java index 0fe8902e..32dac4eb 100644 --- a/core/service/src/main/java/com/wansenai/service/financial/CollectionReceiptService.java +++ b/core/service/src/main/java/com/wansenai/service/financial/CollectionReceiptService.java @@ -12,8 +12,26 @@ */ package com.wansenai.service.financial; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; +import com.wansenai.dto.financial.AddOrUpdateCollectionDTO; +import com.wansenai.dto.financial.QueryCollectionDTO; import com.wansenai.entities.financial.FinancialMain; +import com.wansenai.utils.response.Response; +import com.wansenai.vo.financial.CollectionDetailVO; +import com.wansenai.vo.financial.CollectionVO; + +import java.util.List; public interface CollectionReceiptService extends IService { + + Response> getCollectionReceiptPageList(QueryCollectionDTO queryCollectionDTO); + + Response getCollectionReceiptDetail(Long id); + + Response addOrUpdateCollectionReceipt(AddOrUpdateCollectionDTO addOrUpdateCollectionDTO); + + Response deleteBatchCollectionReceipt(List ids); + + Response updateCollectionReceiptStatus(List ids, Integer status); } diff --git a/core/service/src/main/java/com/wansenai/service/financial/PaymentReceiptService.java b/core/service/src/main/java/com/wansenai/service/financial/PaymentReceiptService.java index 4147479e..8b6da33e 100644 --- a/core/service/src/main/java/com/wansenai/service/financial/PaymentReceiptService.java +++ b/core/service/src/main/java/com/wansenai/service/financial/PaymentReceiptService.java @@ -12,8 +12,26 @@ */ package com.wansenai.service.financial; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; +import com.wansenai.dto.financial.AddOrUpdatePaymentDTO; +import com.wansenai.dto.financial.QueryPaymentDTO; import com.wansenai.entities.financial.FinancialMain; +import com.wansenai.utils.response.Response; +import com.wansenai.vo.financial.PaymentDetailVO; +import com.wansenai.vo.financial.PaymentVO; + +import java.util.List; public interface PaymentReceiptService extends IService { + + Response> getPaymentReceiptPageList(QueryPaymentDTO queryPaymentDTO); + + Response getPaymentReceiptDetail(Long id); + + Response addOrUpdatePaymentReceipt(AddOrUpdatePaymentDTO addOrUpdatePaymentDTO); + + Response deleteBatchPaymentReceipt(List ids); + + Response updatePaymentReceiptStatus(List ids, Integer status); } diff --git a/core/service/src/main/java/com/wansenai/service/financial/impl/CollectionReceiptServiceImpl.java b/core/service/src/main/java/com/wansenai/service/financial/impl/CollectionReceiptServiceImpl.java index 57ad8693..88ea79aa 100644 --- a/core/service/src/main/java/com/wansenai/service/financial/impl/CollectionReceiptServiceImpl.java +++ b/core/service/src/main/java/com/wansenai/service/financial/impl/CollectionReceiptServiceImpl.java @@ -12,12 +12,68 @@ */ package com.wansenai.service.financial.impl; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.wansenai.dto.financial.AddOrUpdateCollectionDTO; +import com.wansenai.dto.financial.QueryCollectionDTO; import com.wansenai.entities.financial.FinancialMain; import com.wansenai.mappers.financial.FinancialMainMapper; +import com.wansenai.mappers.system.SysFileMapper; +import com.wansenai.service.common.CommonService; import com.wansenai.service.financial.CollectionReceiptService; +import com.wansenai.service.financial.FinancialSubService; +import com.wansenai.service.financial.IFinancialAccountService; +import com.wansenai.service.user.ISysUserService; +import com.wansenai.utils.response.Response; +import com.wansenai.vo.financial.CollectionDetailVO; +import com.wansenai.vo.financial.CollectionVO; import org.springframework.stereotype.Service; +import java.util.List; + @Service public class CollectionReceiptServiceImpl extends ServiceImpl implements CollectionReceiptService { + + private final FinancialSubService financialSubService; + + private final CommonService commonService; + + private final ISysUserService userService; + + private final SysFileMapper fileMapper; + + private final IFinancialAccountService accountService; + + public CollectionReceiptServiceImpl(FinancialSubService financialSubService, CommonService commonService, ISysUserService userService, SysFileMapper fileMapper, IFinancialAccountService accountService) { + this.financialSubService = financialSubService; + this.commonService = commonService; + this.userService = userService; + this.fileMapper = fileMapper; + this.accountService = accountService; + } + + @Override + public Response> getCollectionReceiptPageList(QueryCollectionDTO queryCollectionDTO) { + return null; + } + + @Override + public Response getCollectionReceiptDetail(Long id) { + return null; + } + + @Override + public Response addOrUpdateCollectionReceipt(AddOrUpdateCollectionDTO addOrUpdateCollectionDTO) { + return null; + } + + @Override + public Response deleteBatchCollectionReceipt(List ids) { + return null; + } + + @Override + public Response updateCollectionReceiptStatus(List ids, Integer status) { + return null; + } } diff --git a/core/service/src/main/java/com/wansenai/service/financial/impl/PaymentReceiptServiceImpl.java b/core/service/src/main/java/com/wansenai/service/financial/impl/PaymentReceiptServiceImpl.java index da16b535..1023084c 100644 --- a/core/service/src/main/java/com/wansenai/service/financial/impl/PaymentReceiptServiceImpl.java +++ b/core/service/src/main/java/com/wansenai/service/financial/impl/PaymentReceiptServiceImpl.java @@ -12,12 +12,68 @@ */ package com.wansenai.service.financial.impl; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.wansenai.dto.financial.AddOrUpdatePaymentDTO; +import com.wansenai.dto.financial.QueryPaymentDTO; import com.wansenai.entities.financial.FinancialMain; import com.wansenai.mappers.financial.FinancialMainMapper; +import com.wansenai.mappers.system.SysFileMapper; +import com.wansenai.service.common.CommonService; +import com.wansenai.service.financial.FinancialSubService; +import com.wansenai.service.financial.IFinancialAccountService; import com.wansenai.service.financial.PaymentReceiptService; +import com.wansenai.service.user.ISysUserService; +import com.wansenai.utils.response.Response; +import com.wansenai.vo.financial.PaymentDetailVO; +import com.wansenai.vo.financial.PaymentVO; import org.springframework.stereotype.Service; +import java.util.List; + @Service public class PaymentReceiptServiceImpl extends ServiceImpl implements PaymentReceiptService { + + private final FinancialSubService financialSubService; + + private final CommonService commonService; + + private final ISysUserService userService; + + private final SysFileMapper fileMapper; + + private final IFinancialAccountService accountService; + + public PaymentReceiptServiceImpl(FinancialSubService financialSubService, CommonService commonService, ISysUserService userService, SysFileMapper fileMapper, IFinancialAccountService accountService) { + this.financialSubService = financialSubService; + this.commonService = commonService; + this.userService = userService; + this.fileMapper = fileMapper; + this.accountService = accountService; + } + + @Override + public Response> getPaymentReceiptPageList(QueryPaymentDTO queryPaymentDTO) { + return null; + } + + @Override + public Response getPaymentReceiptDetail(Long id) { + return null; + } + + @Override + public Response addOrUpdatePaymentReceipt(AddOrUpdatePaymentDTO addOrUpdatePaymentDTO) { + return null; + } + + @Override + public Response deleteBatchPaymentReceipt(List ids) { + return null; + } + + @Override + public Response updatePaymentReceiptStatus(List ids, Integer status) { + return null; + } }