From a8d712be9462bc24f98cd6dcf7b8f0af2a515f58 Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Wed, 21 Apr 2021 10:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E5=AE=8C=E6=88=90=E5=90=8E?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8A=84=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DgCopyForController.java | 35 ++++++++++--------- ...PaymentConfirmationConsiderController.java | 2 +- ...gGuaranteeLetterAssignUserServiceImpl.java | 16 +++++++++ .../service/impl/DgLoanNoticeServiceImpl.java | 10 ++++++ ...aymentConfirmationConsiderServiceImpl.java | 16 +++++++++ 5 files changed, 62 insertions(+), 17 deletions(-) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyForController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyForController.java index c51caf9b..620a9ff3 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyForController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyForController.java @@ -33,22 +33,25 @@ public class DgCopyForController { @Autowired private IDgCopyForService copyForService; - @Log(detail = "抄送",level = 4,operationUnit = OperationUnit.COPYFOR,operationType = OperationType.INSERT) - @ApiOperation("抄送任务") - @PostMapping("/copySend") - public R copySend(@RequestBody CopySendRequest copySendRequest){ - Integer businessId = copySendRequest.getBusinessId(); - Integer processId = copySendRequest.getProcessId(); - //String imgData = copySendRequest.getImgData(); - Integer detailId = copySendRequest.getDetailId(); - try { - boolean ok = copyForService.copySendUser(businessId,processId,detailId); - return ok ? R.ok() : R.error(); - } catch (IOException e) { - e.printStackTrace(); - return R.error().message(e.getMessage()); - } - } + /** + * 后端自动处理抄送,该接口暂时无用 + * */ + // @Log(detail = "抄送",level = 4,operationUnit = OperationUnit.COPYFOR,operationType = OperationType.INSERT) + // @ApiOperation("抄送任务") + // @PostMapping("/copySend") + // public R copySend(@RequestBody CopySendRequest copySendRequest){ + // Integer businessId = copySendRequest.getBusinessId(); + // Integer processId = copySendRequest.getProcessId(); + // //String imgData = copySendRequest.getImgData(); + // Integer detailId = copySendRequest.getDetailId(); + // try { + // boolean ok = copyForService.copySendUser(businessId,processId,detailId); + // return ok ? R.ok() : R.error(); + // } catch (IOException e) { + // e.printStackTrace(); + // return R.error().message(e.getMessage()); + // } + // } @Log(detail = "抄送",level = 4,operationUnit = OperationUnit.COPYFOR,operationType = OperationType.SELECT) @ApiOperation("查询抄送详情") diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgPaymentConfirmationConsiderController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgPaymentConfirmationConsiderController.java index 1dd6d9c6..3647f729 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgPaymentConfirmationConsiderController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgPaymentConfirmationConsiderController.java @@ -28,7 +28,7 @@ import java.io.IOException; * @author Qyq * @since 2020-11-05 */ -@Api(tags = {"回款确认"}) +@Api(tags = {"财务确认"}) @RestController @RequestMapping("/dg-payment-confirmation-consider") public class DgPaymentConfirmationConsiderController { diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java index bb0a785f..dfe91bac 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java @@ -13,6 +13,7 @@ import com.daqing.financial.guarantee.mapper.DgPaymentConfirmationConsiderMapper import com.daqing.financial.guarantee.model.request.GuaranteeLetterQueryRequest; import com.daqing.financial.guarantee.model.request.GuaranteeLetterUpdateStatusRequest; import com.daqing.financial.guarantee.model.response.GuaranteeLetterListResponse; +import com.daqing.financial.guarantee.service.IDgCopyForService; import com.daqing.financial.guarantee.service.IDgGuaranteeLetterAssignUserService; import com.daqing.financial.guarantee.util.AuditProcessUtil; import com.daqing.financial.guarantee.util.OrdinaryUtil; @@ -60,6 +61,9 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl 0 ? "资产部经理成功添加回款数据" : "资产部经理添加回款数据失败"); return insert > 0; @@ -463,6 +473,12 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl 0 ? "资产部经理成功添加回款数据" : "资产部经理添加回款数据失败"); return update > 0; diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java index a9cca3e4..38ebdef9 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgLoanNoticeServiceImpl.java @@ -12,6 +12,7 @@ import com.daqing.financial.guarantee.model.request.LoanNoticeQueryRequest; import com.daqing.financial.guarantee.model.request.LoanNoticeUpdateRequest; import com.daqing.financial.guarantee.model.response.BusinessApplicationListResponse; import com.daqing.financial.guarantee.model.response.LoanNoticeListResponse; +import com.daqing.financial.guarantee.service.IDgCopyForService; import com.daqing.financial.guarantee.service.IDgLoanNoticeService; import com.daqing.financial.guarantee.util.AuditProcessUtil; import com.daqing.financial.guarantee.util.OrdinaryUtil; @@ -65,6 +66,9 @@ public class DgLoanNoticeServiceImpl extends ServiceImpl 0 ? "业务流程已完成,进入保后管理" : "业务流程更新失败"); diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgPaymentConfirmationConsiderServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgPaymentConfirmationConsiderServiceImpl.java index 8b73b277..0330fdb3 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgPaymentConfirmationConsiderServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgPaymentConfirmationConsiderServiceImpl.java @@ -12,6 +12,7 @@ import com.daqing.financial.guarantee.mapper.DgPaymentConfirmationConsiderMapper import com.daqing.financial.guarantee.model.request.PaymentConfirmationQueryRequest; import com.daqing.financial.guarantee.model.request.PaymentConfirmationUpdateRequest; import com.daqing.financial.guarantee.model.response.PaymentConfirmationListResponse; +import com.daqing.financial.guarantee.service.IDgCopyForService; import com.daqing.financial.guarantee.service.IDgPaymentConfirmationConsiderService; import com.daqing.financial.guarantee.util.AuditProcessUtil; import com.daqing.financial.guarantee.util.OrdinaryUtil; @@ -53,6 +54,9 @@ public class DgPaymentConfirmationConsiderServiceImpl extends ServiceImpl 0 ? "法规部经理确认成功" : "法规部经理确认失败"); return insert > 0; @@ -349,6 +359,12 @@ public class DgPaymentConfirmationConsiderServiceImpl extends ServiceImpl 0 ? "驳回后再次财务部经理确认成功" : "驳回后再次财务部经理确认失败"); return updateById > 0;