From afffc0a9b53b8eeaadb09803236adc2636926c5f Mon Sep 17 00:00:00 2001 From: lijiarao Date: Mon, 11 Oct 2021 18:32:46 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=B0=8F=E7=A8=8B=E5=BA=8F=20?= =?UTF-8?q?=E7=AD=BE=E5=88=B0=E5=92=8C=E8=8E=B7=E5=8F=96=E7=AD=BE=E5=88=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/PayMeetingSituationServiceImpl.java | 67 +++++++++---------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/meeting/service/impl/PayMeetingSituationServiceImpl.java b/jero-boot-incoming-payment/src/main/java/com/jero/meeting/service/impl/PayMeetingSituationServiceImpl.java index 01c32f4b..b98f4422 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/meeting/service/impl/PayMeetingSituationServiceImpl.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/meeting/service/impl/PayMeetingSituationServiceImpl.java @@ -59,6 +59,7 @@ import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; import java.math.BigDecimal; +import java.text.DateFormat; import java.util.*; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @@ -111,7 +112,7 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl wrapper = new LambdaQueryWrapper<>(); - wrapper.eq(PayMeetingSituation::getMeetingId,meetingId); - wrapper.eq(PayMeetingSituation::getCompanyContactId,loginUser.getId()); + wrapper.eq(PayMeetingSituation::getMeetingId, meetingId); + wrapper.eq(PayMeetingSituation::getCompanyContactId, loginUser.getId()); return getOne(wrapper); } @@ -677,7 +678,7 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl fieldNames = objRecordUtilModule.getFieldNames(); List canModifyList = Arrays.asList(CAN_MODIFY_LIST); boolean containsAll = canModifyList.containsAll(fieldNames); - if (!containsAll){ + if (!containsAll) { throw new JeroBootException("审核通过之后只允许修改行程信息"); } } @@ -706,7 +707,7 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl