| | |
| | | /** |
| | | * 排序 |
| | | */ |
| | | @NotNull(message = "节点类型不能为空") |
| | | //@NotNull(message = "节点类型不能为空") |
| | | public Integer nodeType; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 记录设备周期内容 |
| | | */ |
| | | public String equipCycleContent; |
| | | public String deviceCycleContent; |
| | | |
| | | @AssertTrue(message = "请输入记录设备周期内容") |
| | | public boolean isEquipCycleContentValid() { |
| | | return !isRecord || (isRecord && StringUtils.isNotBlank(equipCycleContent)); |
| | | public boolean isDeviceCycleContentValid() { |
| | | return !isRecord || (isRecord && StringUtils.isNotBlank(deviceCycleContent)); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | @TableField(exist = false) |
| | | public PrWorkingInstruction instruction; |
| | | @TableField(exist = false) |
| | | public PrBillOfMaterial bill; |
| | | |
| | | } |