|
|
|
@ -12,6 +12,7 @@ import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Index;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
|
|
|
|
@ -24,10 +25,14 @@ import javax.persistence.Transient;
|
|
|
|
|
**/
|
|
|
|
|
@Data
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name = "WMS_TEST_RESULT_DETAILS", indexes = {
|
|
|
|
|
@Index(columnList = "BH_CODE"),
|
|
|
|
|
@Index(columnList = "PART_NO"),
|
|
|
|
|
@Index(columnList = "WORK_CENTER_CODE")
|
|
|
|
|
})
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Table(name = "WMS_TEST_RESULT_DETAILS")
|
|
|
|
|
@Api("检测结果明细表")
|
|
|
|
|
public class WmsTestResultDetails extends BaseBean {
|
|
|
|
|
|
|
|
|
@ -70,6 +75,11 @@ public class WmsTestResultDetails extends BaseBean {
|
|
|
|
|
@ApiParam("检测值")
|
|
|
|
|
public String checkValue;
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_SYNC", nullable = false)
|
|
|
|
|
@ApiParam("是否同步")
|
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.BH_SUMMARY_IS_SYNC.class, refForeignKey = "value", value = "description")
|
|
|
|
|
public Integer isSync = WmsEnumUtil.BH_SUMMARY_IS_SYNC.INIT.getValue();
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("已检测数")
|
|
|
|
|
private Long checkSize;
|
|
|
|
|