update 国际研讨会新增目的地,删除同行人
This commit is contained in:
+4
-5
@@ -212,6 +212,10 @@ public class PayMeetingSituation implements Serializable {
|
||||
@ApiModelProperty(value = "到达班次")
|
||||
private String arrivalShift;
|
||||
|
||||
@Excel(name = "目的地", width = 15)
|
||||
@ApiModelProperty(value = "目的地")
|
||||
private String destinationHotel;
|
||||
|
||||
/**是否需要送站*/
|
||||
@Excel(name = "是否需要送站", width = 15,dicCode = "yn")
|
||||
@ApiModelProperty(value = "是否需要送站")
|
||||
@@ -235,11 +239,6 @@ public class PayMeetingSituation implements Serializable {
|
||||
@ApiModelProperty(value = "离开班次")
|
||||
private String departureShift;
|
||||
|
||||
/**同行人*/
|
||||
@Excel(name = "同行人", width = 15)
|
||||
@ApiModelProperty(value = "同行人")
|
||||
private String peer;
|
||||
|
||||
/**备注*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
|
||||
+5
-5
@@ -1159,11 +1159,6 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
if (!guestType.equals(MeetingSubitemCommon.COOPERATIVE) && !guestType.equals(MeetingSubitemCommon.EXHIBITOR)) {
|
||||
//先校验VIP,演讲嘉宾,特邀嘉宾的公共字段
|
||||
List<String> validateReturnList = ValidUtil.validateReturnList(internationalGuestVO);
|
||||
//用餐
|
||||
Integer haveMeals = internationalGuestVO.getHaveMeals();
|
||||
if (haveMeals.equals(MeetingSubitemCommon.HAVE_MEALS)) {
|
||||
validateReturnList.addAll(ValidUtil.validateReturnList(internationalGuestVO, HaveMeals.class));
|
||||
}
|
||||
//接站
|
||||
Integer pickUp = internationalGuestVO.getPickUp();
|
||||
if (pickUp.equals(MeetingSubitemCommon.PICK_UP)) {
|
||||
@@ -1177,6 +1172,11 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
//校验VIP,演讲嘉宾的公共字段
|
||||
if (!guestType.equals(MeetingSubitemCommon.GUEST)) {
|
||||
validateReturnList.addAll(ValidUtil.validateReturnList(internationalGuestVO, Guest.class));
|
||||
//用餐
|
||||
Integer haveMeals = internationalGuestVO.getHaveMeals();
|
||||
if (haveMeals.equals(MeetingSubitemCommon.HAVE_MEALS)) {
|
||||
validateReturnList.addAll(ValidUtil.validateReturnList(internationalGuestVO, HaveMeals.class));
|
||||
}
|
||||
//校验VIP
|
||||
if (guestType.equals(MeetingSubitemCommon.VIP)) {
|
||||
validateReturnList.addAll(ValidUtil.validateReturnList(internationalGuestVO, VIP.class));
|
||||
|
||||
+4
-6
@@ -120,6 +120,10 @@ public class InternationalGuestVO {
|
||||
@NotNull(message = "到达班次不能为空",groups = PickUp.class)
|
||||
private String arrivalShift;
|
||||
|
||||
@Excel(name = "目的地", width = 15)
|
||||
@ApiModelProperty(value = "目的地")
|
||||
private String destinationHotel;
|
||||
|
||||
/**是否需要送站*/
|
||||
@Excel(name = "是否需要送站", width = 15)
|
||||
@ApiModelProperty(value = "是否需要送站")
|
||||
@@ -150,11 +154,5 @@ public class InternationalGuestVO {
|
||||
@NotBlank(message = "离开班次不能为空",groups = DeliveryStation.class)
|
||||
private String departureShift;
|
||||
|
||||
/**同行人*/
|
||||
@Excel(name = "同行人", width = 15)
|
||||
@ApiModelProperty(value = "同行人")
|
||||
@Size(max = 50,message = "同行人最大为50字符")
|
||||
private String peer;
|
||||
|
||||
|
||||
}
|
||||
|
||||
+4
-4
@@ -183,6 +183,10 @@ public class MeetingSituationContractVO {
|
||||
@ApiModelProperty(value = "到达班次")
|
||||
private String arrivalShift;
|
||||
|
||||
@Excel(name = "目的地", width = 15)
|
||||
@ApiModelProperty(value = "目的地")
|
||||
private String destinationHotel;
|
||||
|
||||
/**是否需要送站*/
|
||||
@ApiModelProperty(value = "是否需要送站")
|
||||
@Dict(dicCode = "yn")
|
||||
@@ -202,10 +206,6 @@ public class MeetingSituationContractVO {
|
||||
@ApiModelProperty(value = "离开班次")
|
||||
private String departureShift;
|
||||
|
||||
/**同行人*/
|
||||
@ApiModelProperty(value = "同行人")
|
||||
private String peer;
|
||||
|
||||
/**备注*/
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
+4
-5
@@ -200,6 +200,10 @@ public class PayMeetingSituationVO {
|
||||
@ApiModelProperty(value = "到达班次")
|
||||
private String arrivalShift;
|
||||
|
||||
@Excel(name = "目的地", width = 15)
|
||||
@ApiModelProperty(value = "目的地")
|
||||
private String destinationHotel;
|
||||
|
||||
/**是否需要送站*/
|
||||
@Excel(name = "是否需要送站", width = 15)
|
||||
@ApiModelProperty(value = "是否需要送站")
|
||||
@@ -223,11 +227,6 @@ public class PayMeetingSituationVO {
|
||||
@ApiModelProperty(value = "离开班次")
|
||||
private String departureShift;
|
||||
|
||||
/**同行人*/
|
||||
@Excel(name = "同行人", width = 15)
|
||||
@ApiModelProperty(value = "同行人")
|
||||
private String peer;
|
||||
|
||||
/**备注*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
|
||||
+3
-4
@@ -99,6 +99,9 @@ public class InternationalSituationExcel extends SituationBaseExcel {
|
||||
@Excel(name = "到达班次", width = 15)
|
||||
private String arrivalShift;
|
||||
|
||||
@Excel(name = "目的地", width = 15)
|
||||
private String destinationHotel;
|
||||
|
||||
/**是否需要送站*/
|
||||
@Excel(name = "是否需要送站", width = 15,dicCode = "yn")
|
||||
private Integer deliveryStation;
|
||||
@@ -115,10 +118,6 @@ public class InternationalSituationExcel extends SituationBaseExcel {
|
||||
@Excel(name = "离开班次", width = 15)
|
||||
private String departureShift;
|
||||
|
||||
/**同行人*/
|
||||
@Excel(name = "同行人", width = 15)
|
||||
private String peer;
|
||||
|
||||
/**邮寄联系人*/
|
||||
@Excel(name = "邮寄联系人", width = 15, dictTable = "pay_contacts_management", dicText = "name", dicCode = "id")
|
||||
private String postContactId;
|
||||
|
||||
Reference in New Issue
Block a user