add 会议新增审核字段
This commit is contained in:
@@ -176,11 +176,13 @@ public class PayMeeting implements Serializable {
|
||||
/**会议费用*/
|
||||
@Excel(name = "会议费用", width = 15)
|
||||
@ApiModelProperty(value = "会议费用")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal meetingCosts;
|
||||
|
||||
/**会议费用(标协会员)*/
|
||||
@Excel(name = "会议费用(标协会员)", width = 15)
|
||||
@ApiModelProperty(value = "会议费用(标协会员)")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal meetingCostsVip;
|
||||
|
||||
/**会议负责人id*/
|
||||
|
||||
+12
@@ -3,6 +3,7 @@ package com.jero.meeting.entity;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.jero.meeting.valid.group.CommonPeople;
|
||||
@@ -302,12 +303,14 @@ public class PayMeetingSituation implements Serializable {
|
||||
* 应收金额
|
||||
*/
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal amountReceivable;
|
||||
|
||||
/**
|
||||
* 实收金额
|
||||
*/
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal paidAmount;
|
||||
|
||||
/**打包*/
|
||||
@@ -344,5 +347,14 @@ public class PayMeetingSituation implements Serializable {
|
||||
@ApiModelProperty(value = "对接人姓名")
|
||||
private String dockName;
|
||||
|
||||
/**审核状态*/
|
||||
@Excel(name = "审核状态", width = 15)
|
||||
@ApiModelProperty(value = "审核状态")
|
||||
@Dict(dicCode = "signup_status")
|
||||
private Integer checkResult;
|
||||
|
||||
/**审核状态*/
|
||||
@ApiModelProperty(value = "审核备注")
|
||||
@TableField(exist = false)
|
||||
private String checkRemark;
|
||||
}
|
||||
|
||||
+5
@@ -60,6 +60,7 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
Integer meetingType = payMeeting.getMeetingType();
|
||||
//要保存的对象
|
||||
PayMeetingSituation payMeetingSituation1 = new PayMeetingSituation();
|
||||
payMeetingSituation1.setAmountReceivable(new BigDecimal("0"));
|
||||
//会议校验基础类
|
||||
MeetingEntity meetingEntity = new MeetingEntity();
|
||||
BeanUtils.copyProperties(payMeetingSituation, meetingEntity);
|
||||
@@ -179,6 +180,10 @@ public class PayMeetingSituationServiceImpl extends ServiceImpl<PayMeetingSituat
|
||||
ValidUtil.validate(commonGuestVO);
|
||||
BeanUtils.copyProperties(commonGuestVO, payMeetingSituation1);
|
||||
}
|
||||
|
||||
payMeetingSituation1.setStatus(PayProjectCommon.NO);
|
||||
payMeetingSituation1.setCheckIn(PayProjectCommon.NO);
|
||||
payMeetingSituation1.setCheckResult(PayProjectCommon.NO);
|
||||
//到账
|
||||
payMeetingSituation1.setInAccount(PayProjectCommon.IN_ACCOUNT0);
|
||||
//开票
|
||||
|
||||
@@ -14,11 +14,9 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -176,15 +174,15 @@ public class PayMeetingVO implements Serializable {
|
||||
@Excel(name = "会议费用", width = 15)
|
||||
@ApiModelProperty(value = "会议费用")
|
||||
@NotNull(message = "会议费用不能为空")
|
||||
@Max(value = 999999999,message = "会议费用格式错误")
|
||||
private Integer meetingCosts;
|
||||
@DecimalMax(value = "10000000000",message = "会议费用格式错误")
|
||||
private BigDecimal meetingCosts;
|
||||
|
||||
/**会议费用(标协会员)*/
|
||||
@Excel(name = "会议费用(标协会员)", width = 15)
|
||||
@ApiModelProperty(value = "会议费用(标协会员)")
|
||||
@NotNull(message = "会议费用(标协会员)不能为空",groups = StandardMeeting.class)
|
||||
@Max(value = 999999999,message = "会议费用(标协会员)格式错误",groups = StandardMeeting.class)
|
||||
private Integer meetingCostsVip;
|
||||
@DecimalMax(value = "10000000000",message = "会议费用(标协会员)格式错误",groups = StandardMeeting.class)
|
||||
private BigDecimal meetingCostsVip;
|
||||
|
||||
/**会议负责人id*/
|
||||
@ApiModelProperty(value = "会议负责人id")
|
||||
|
||||
+2
-12
@@ -1,22 +1,12 @@
|
||||
package com.jero.meeting.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jero.meeting.entity.PayMeetingHotelContacts;
|
||||
import com.jero.meeting.valid.group.InternationalMeeting;
|
||||
import com.jero.meeting.valid.group.StandardMeeting;
|
||||
import com.jero.meeting.valid.group.WorkingGroupMeeting;
|
||||
import com.jero.modules.system.volid.group.UpdateGroup;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
/**
|
||||
* @author liJiaRao
|
||||
@@ -114,7 +104,7 @@ public class WorkingGroupMeetingExel {
|
||||
@Excel(name = "会议费用", width = 15)
|
||||
@ApiModelProperty(value = "会议费用")
|
||||
@NotNull(message = "会议费用不能为空")
|
||||
@Max(value = 999999999,message = "会议费用格式错误")
|
||||
@DecimalMax(value = "10000000000",message = "会议费用格式错误")
|
||||
private Integer meetingCosts;
|
||||
|
||||
/**会议负责人id*/
|
||||
|
||||
+1
-1
@@ -149,7 +149,7 @@ public class PayMemberProjectSubitem implements Serializable {
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
@ApiModelProperty(value = "应收金额")
|
||||
@NotNull(message = "应收金额不能为空")
|
||||
@DecimalMax(value = "10000000000",message = "应收金额格式错误1")
|
||||
@DecimalMax(value = "10000000000",message = "应收金额格式错误")
|
||||
private BigDecimal amountReceivable;
|
||||
|
||||
/**
|
||||
|
||||
+8
-1
@@ -83,5 +83,12 @@ public class PayProjectCommon {
|
||||
* 来款用途 :1工作组是标准制定工作组经费
|
||||
*/
|
||||
public final static Integer CHARGE_USE1 = 1;
|
||||
|
||||
/**
|
||||
* 否
|
||||
*/
|
||||
public static final Integer NO = 0;
|
||||
/**
|
||||
* 是
|
||||
*/
|
||||
public static final Integer YES = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user