| | |
| | | import com.zy.asrs.service.BasProcessProceduresService; |
| | | import com.zy.asrs.service.BasQualityTestingService; |
| | | import com.zy.asrs.service.OrderService; |
| | | import com.zy.common.utils.Synchro; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | |
| | | */ |
| | | @ApiModelProperty(value = "备用1") |
| | | @TableField("box_type1") |
| | | private String boxType1 = "1"; |
| | | private String boxType1 = ""; |
| | | |
| | | /** |
| | | * 备用2 |
| | | */ |
| | | @ApiModelProperty(value = "备用2") |
| | | @TableField("box_type2") |
| | | private String boxType2 = "1"; |
| | | private String boxType2 = ""; |
| | | |
| | | /** |
| | | * 备用3 |
| | | */ |
| | | @ApiModelProperty(value = "备用3") |
| | | @TableField("box_type3") |
| | | private String boxType3 = "1"; |
| | | private String boxType3 = ""; |
| | | |
| | | public OrderDetlPakin() { |
| | | } |
| | |
| | | |
| | | public Double getEnableQty() { |
| | | if (null != this.anfme && this.workQty != null) { |
| | | return this.anfme - this.workQty; |
| | | return this.anfme - this.workQty - this.qty; |
| | | } |
| | | return null; |
| | | } |
| | |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | BeanUtils.copyProperties(source, this); |
| | | } |
| | | |
| | | } |