fix 无法增加标协会议

This commit is contained in:
lijiarao
2021-09-06 18:19:32 +08:00
parent 5e153c7f9d
commit 2d8c9d93e1
2 changed files with 3 additions and 3 deletions
@@ -210,7 +210,7 @@ public class PayMeeting implements Serializable {
/**
* 会议关联酒店联系人列表
*/
@TableField(select = false)
@TableField(exist = false)
private List<PayMeetingHotelContacts> hotelContactsList;
/**备注*/
@@ -134,9 +134,9 @@ public class PayMeetingServiceImpl extends ServiceImpl<PayMeetingMapper, PayMeet
case MeetingCommon.STANDARD_MEETING:
ValidUtil.validate(payMeetingVO, StandardMeeting.class);
//标协会议类型
Map<String, String> standardMeetingType = sysBaseApi.queryDictItemsMapByCode("standard_meeting_type");
String tbMeetingType = payMeetingVO.getTbMeetingType();
if (!standardMeetingType.containsKey(tbMeetingType)){
String standardMeetingType = sysBaseApi.translateDict("standard_meeting_type", tbMeetingType);
if (standardMeetingType == null){
throw new JeroBootException("标协会议类型不存在");
}
hotelContactsList = payMeetingVO.getHotelContactsList();