领料接口优化
This commit is contained in:
parent
9dcbb8d6fb
commit
156b6f07a9
|
|
@ -8,6 +8,8 @@ import lombok.Data;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
import com.bonus.common.core.web.domain.BaseEntity;
|
import com.bonus.common.core.web.domain.BaseEntity;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 协议管理对象 bm_agreement_info
|
* 协议管理对象 bm_agreement_info
|
||||||
*
|
*
|
||||||
|
|
@ -39,6 +41,7 @@ public class BmAgreementInfo extends BaseEntity
|
||||||
/** 往来单位id */
|
/** 往来单位id */
|
||||||
@Excel(name = "往来单位id")
|
@Excel(name = "往来单位id")
|
||||||
@ApiModelProperty(value = "往来单位id")
|
@ApiModelProperty(value = "往来单位id")
|
||||||
|
@NotNull(message = "往来单位id不能为空")
|
||||||
private Long unitId;
|
private Long unitId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -51,6 +54,7 @@ public class BmAgreementInfo extends BaseEntity
|
||||||
/** 工程标段ID */
|
/** 工程标段ID */
|
||||||
@Excel(name = "工程标段ID")
|
@Excel(name = "工程标段ID")
|
||||||
@ApiModelProperty(value = "工程标段ID")
|
@ApiModelProperty(value = "工程标段ID")
|
||||||
|
@NotNull(message = "工程标段ID不能为空")
|
||||||
private Long projectId;
|
private Long projectId;
|
||||||
|
|
||||||
/** 工程标段名称 */
|
/** 工程标段名称 */
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="companyId != null">#{companyId},</if>
|
<if test="companyId != null">#{companyId},</if>
|
||||||
<if test="fileName != null">#{fileName},</if>
|
<if test="fileName != null">#{fileName},</if>
|
||||||
<if test="fileUrl != null">#{fileUrl},</if>
|
<if test="fileUrl != null">#{fileUrl},</if>
|
||||||
<if test="status != null">#{status},</if>
|
'1',
|
||||||
<if test="protocol != null">#{protocol},</if>
|
<if test="protocol != null">#{protocol},</if>
|
||||||
<if test="isSlt != null">#{isSlt},</if>
|
<if test="isSlt != null">#{isSlt},</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue