Merge pull request '关联里程碑和关联模块前端限制为必须传值' (#766) from otto/microservices:product_refact into product_refact

This commit is contained in:
otto 2024-12-13 09:26:32 +08:00
commit 07dcaec093
2 changed files with 3 additions and 8 deletions

View File

@ -9,8 +9,6 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
/**
* 产品需求对象 pms_product_requirement
*
@ -21,15 +19,13 @@ import javax.validation.constraints.NotNull;
@ApiModel("需求规格更新对象")
public class ProductReqSpecsUpdateVo extends ProductReqSpecsChangeVo {
@ApiModelProperty(value = "关联产品模块ID无论用户是否修改该字段前端均需要传值置空则传Null", required = true)
@NotNull
@ApiModelProperty(value = "关联产品模块ID无论用户是否修改该字段前端均需要传值置空则传Null")
private Long pmsProductModuleId;
@ApiModelProperty(value = "产品需求类型")
private String type;
@ApiModelProperty(value = "关联产品里程碑ID无论用户是否修改该字段前端均需要传值置空则传Null", required = true)
@NotNull
@ApiModelProperty(value = "关联产品里程碑ID无论用户是否修改该字段前端均需要传值置空则传Null")
private Long pmsProductPlanId;

View File

@ -37,8 +37,7 @@ public class ProductUserReqUpdateVo {
/**
* 关联产品模块ID
*/
@ApiModelProperty(value = "关联产品模块ID无论用户是否修改该字段前端均需要传值置空则传Null", required = true)
@NotNull
@ApiModelProperty(value = "关联产品模块ID无论用户是否修改该字段前端均需要传值置空则传Null")
private Long pmsProductModuleId;
/**