| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.zy.asrs.common.utils.Synchro; |
| | | import com.zy.asrs.common.wms.service.DocTypeService; |
| | | import com.zy.asrs.common.wms.service.LocMastService; |
| | | import com.zy.asrs.common.wms.service.OrderService; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | |
| | | @ApiModelProperty(value= "") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 库位号 |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getOrderType() { |
| | | if (Cools.isEmpty(this.orderNo)){ |
| | | return ""; |
| | | } |
| | | OrderService orderService = SpringUtils.getBean(OrderService.class); |
| | | DocTypeService docTypeService = SpringUtils.getBean(DocTypeService.class); |
| | | Order order = orderService.selectByNo(orderNo, hostId); |
| | | if (order != null) { |
| | | return order.getDocType$(); |
| | | } |
| | | return this.orderNo; |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |
| | | |
| | | } |