From ad86a0aa39f20e1b8bb511acd6961c7ec59f9251 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期五, 13 十二月 2024 17:15:51 +0800 Subject: [PATCH] 代码初始化 --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/ApproveServiceImpl.java | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/ApproveServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/ApproveServiceImpl.java index 642c52d..cbdaa5b 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/ApproveServiceImpl.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/ApproveServiceImpl.java @@ -92,11 +92,9 @@ @Autowired private CarDriverMapper carDriverMapper; - @Autowired - private VisitsMapper visitsMapper; @Autowired - private VisitsJoinMapper visitsJoinMapper; + private VisitsJoinMapper visitsMapper; @Autowired private CarUseBookJoinMapper carUseBookJoinMapper; @@ -671,7 +669,7 @@ if(Constants.equalsInteger(noticeType,Constants.noticesObjectType.visit) || Constants.equalsInteger(noticeType,Constants.noticesObjectType.visitReporting)){ //璁垮璁板綍涓庤瀹㈡姤澶� - Visits visits = visitsJoinMapper.selectJoinOne(Visits.class, + Visits visits = visitsMapper.selectJoinOne(Visits.class, new MPJLambdaWrapper<Visits>().selectAll(Visits.class) .selectAs(Member::getName,Visits::getReceptMemberName) .selectAs(Company::getName,Visits::getReceptMemberDepartment) @@ -1732,6 +1730,13 @@ SmsConstants.visitContent.visitAuditFail, approveDTO.getCheckInfo(),null ); + if(Constants.equalsInteger(approveDTO.getStatus(),Constants.TWO)){ + SmsEmailServiceImpl.sendVisitSms(systemDictDataBiz, + emayService,smsEmailMapper,smsConfigMapper,visitsMapper,visits.getId(), + SmsConstants.visitContent.visitAuditSuccessToVisiter, + approveDTO.getCheckInfo(),null + ); + } objCode = Constants.equalsInteger(approveDTO.getStatus(),Constants.TWO)? WxPlatConstants.visitContent.visitAuditSuccess: WxPlatConstants.visitContent.visitAuditFail; } -- Gitblit v1.9.3