update 会议发布
This commit is contained in:
+2
-1
@@ -291,6 +291,8 @@ public class PayMeetingServiceImpl extends ServiceImpl<PayMeetingMapper, PayMeet
|
|||||||
String id = payMeetingVO.getId();
|
String id = payMeetingVO.getId();
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
wrapper.ne(PayMeeting::getId, id);
|
wrapper.ne(PayMeeting::getId, id);
|
||||||
|
}else {
|
||||||
|
payMeetingVO.setIsRelease(MeetingCommon.REMIND_0);
|
||||||
}
|
}
|
||||||
if (count(wrapper) > 0) {
|
if (count(wrapper) > 0) {
|
||||||
throw new JeroBootException("会议名称不能重复");
|
throw new JeroBootException("会议名称不能重复");
|
||||||
@@ -390,7 +392,6 @@ public class PayMeetingServiceImpl extends ServiceImpl<PayMeetingMapper, PayMeet
|
|||||||
// ValidUtil.validate(hotelContacts, StandardMeeting.class);
|
// ValidUtil.validate(hotelContacts, StandardMeeting.class);
|
||||||
//}
|
//}
|
||||||
BeanUtils.copyProperties(payMeetingVO, payMeeting);
|
BeanUtils.copyProperties(payMeetingVO, payMeeting);
|
||||||
payMeeting.setIsRelease(MeetingCommon.REMIND_0);
|
|
||||||
return payMeeting;
|
return payMeeting;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user