update 会议新增参会人
This commit is contained in:
+2
-2
@@ -12,9 +12,9 @@ public class MeetingSubitemCommon {
|
||||
/**
|
||||
* 参会人
|
||||
*/
|
||||
public final static String CAN_HUI_REN = "1";
|
||||
public final static String CAN_HUI_REN = "2";
|
||||
/**
|
||||
* 内部企业
|
||||
*/
|
||||
public final static String NEI_BU_QI_YE = "1";
|
||||
public final static String NEI_BU_QI_YE = "3";
|
||||
}
|
||||
|
||||
+5
-4
@@ -51,8 +51,8 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
//校验企业
|
||||
String companyId = meetingEntity.getCompanyId();
|
||||
PayCompanyManagementTemporary companyManagementTemporary = companyManagementTemporaryService.insertCompanyManagementTemporary(companyId);
|
||||
meetingEntity.setCompanyTemporaryId(companyManagementTemporary.getId());
|
||||
meetingEntity.setCompanyName(companyManagementTemporary.getCompanyName());
|
||||
payMeetingSituation.setCompanyTemporaryId(companyManagementTemporary.getId());
|
||||
payMeetingSituation.setCompanyName(companyManagementTemporary.getCompanyName());
|
||||
|
||||
//校验企业联系人
|
||||
String companyContactId = meetingEntity.getCompanyContactId();
|
||||
@@ -61,8 +61,8 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
String companyId1 = contactsManagement.getCompanyId();
|
||||
if (companyId1.equals(companyId)){
|
||||
PayContactsManagementTemporary contactsManagementTemporary = contactsManagementTemporaryService.insertContactsManagementTemporary(companyContactId);
|
||||
meetingEntity.setCompanyContactTemporaryId(contactsManagementTemporary.getId());
|
||||
meetingEntity.setCompanyContactName(contactsManagementTemporary.getName());
|
||||
payMeetingSituation.setCompanyContactTemporaryId(contactsManagementTemporary.getId());
|
||||
payMeetingSituation.setCompanyContactName(contactsManagementTemporary.getName());
|
||||
}else {
|
||||
throw new JeroBootException("企业联系人不是所选企业的企业联系人");
|
||||
}
|
||||
@@ -84,6 +84,7 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
}else {
|
||||
throw new JeroBootException("邮寄联系人不是所选企业的企业联系人");
|
||||
}
|
||||
|
||||
BeanUtils.copyProperties(commonPeopleVO,payMeetingSituation1);
|
||||
}
|
||||
//到账
|
||||
|
||||
@@ -8,6 +8,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.*;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
|
||||
@@ -7,9 +7,9 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
@@ -79,6 +79,21 @@ public class MeetingEntity implements Serializable {
|
||||
/**身份*/
|
||||
@ApiModelProperty(value = "身份")
|
||||
@Dict(dicCode = "meet_identify_type")
|
||||
@NotNull(message = "身份不能为空")
|
||||
@Min(1)
|
||||
@Max(3)
|
||||
private Integer identity;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
private BigDecimal amountReceivable;
|
||||
|
||||
/**
|
||||
* 实收金额
|
||||
*/
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
private BigDecimal paidAmount;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user