fix 47280 在来款系统中修改会议类型为信息交流会后,在会员系统中没有同步
This commit is contained in:
@@ -56,6 +56,18 @@ public class MeetingCommon {
|
||||
* 理事会会议
|
||||
*/
|
||||
public final static Integer COUNCIL_MEETING_INT = 6;
|
||||
/**
|
||||
* 标准宣贯
|
||||
*/
|
||||
public final static String TB_MEETING_1 = "1";
|
||||
/**
|
||||
* 学习培训
|
||||
*/
|
||||
public final static String TB_MEETING_2 = "2";
|
||||
/**
|
||||
* 信息交流会
|
||||
*/
|
||||
public final static String TB_MEETING_3 = "3";
|
||||
/**
|
||||
* 未提醒
|
||||
*/
|
||||
|
||||
+9
@@ -377,6 +377,15 @@ public class PayMeetingServiceImpl extends ServiceImpl<PayMeetingMapper, PayMeet
|
||||
if (standardMeetingType == null) {
|
||||
throw new JeroBootException("标协会议类型不存在");
|
||||
}
|
||||
if (oldMeeting != null){
|
||||
//信息交流会是一类, 标准宣贯和学习培训 是一类, 这两类不能护改
|
||||
if (MeetingCommon.TB_MEETING_3.equals(standardMeetingType)&& !MeetingCommon.TB_MEETING_3.equals(oldMeeting.getTbMeetingType().toString())) {
|
||||
throw new JeroBootException("标协会议类型不可修改");
|
||||
}
|
||||
if (!MeetingCommon.TB_MEETING_3.equals(standardMeetingType)&& MeetingCommon.TB_MEETING_3.equals(oldMeeting.getTbMeetingType().toString())){
|
||||
throw new JeroBootException("标协会议类型不可修改");
|
||||
}
|
||||
}
|
||||
payMeeting.setTbMeetingType(Integer.parseInt(tbMeetingType));
|
||||
if (StringUtils.isBlank(payMeetingVO.getStandardsId())){
|
||||
TbMemberProject memberProject = getTbMemberProject();
|
||||
|
||||
Reference in New Issue
Block a user