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;