|
|
|
@ -14,13 +14,7 @@ import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Index;
|
|
|
|
|
import javax.persistence.Inheritance;
|
|
|
|
|
import javax.persistence.InheritanceType;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -236,6 +230,11 @@ public class WmsStockSn extends BaseBean {
|
|
|
|
|
// @ApiParam(value = "乐观锁", example = "1")
|
|
|
|
|
// public Integer lockVersion;
|
|
|
|
|
|
|
|
|
|
@Version
|
|
|
|
|
@Column(name = "LOCK_VERSION", columnDefinition = "int default 0")
|
|
|
|
|
@ApiParam(value = "乐观锁", defaultValue = "0")
|
|
|
|
|
public Integer lockVersion;
|
|
|
|
|
|
|
|
|
|
@ApiParam("容器编号")
|
|
|
|
|
@Column(name = "CT_NO")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|