| | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.BasProcessProceduresService; |
| | | import com.zy.asrs.service.BasQualityTestingService; |
| | | import com.zy.asrs.service.OrderService; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.utils.Synchro; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | |
| | | @TableField("box_type3") |
| | | private String boxType3 = ""; |
| | | |
| | | //库存状态 |
| | | private String cstateid; |
| | | |
| | | public OrderDetlPakout() {} |
| | | |
| | | public OrderDetlPakout(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double manLength, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) { |
| | |
| | | ); |
| | | } |
| | | |
| | | |
| | | public String getStandby1$() { |
| | | StoreTypeService service = SpringUtils.getBean(StoreTypeService.class); |
| | | StoreType storeType = service.selectById(this.standby1); |
| | | if (!Cools.isEmpty(storeType)) { |
| | | return String.valueOf(storeType.getStoreName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getCstmrName$() { |
| | | OrderPakoutService service = SpringUtils.getBean(OrderPakoutService.class); |
| | | OrderPakout orderPakout = service.selectByNo(this.orderNo); |
| | | if (!Cools.isEmpty(orderPakout)) { |
| | | return String.valueOf(orderPakout.getCstmrName()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getCstateid$() { |
| | | KcztMapService service = SpringUtils.getBean(KcztMapService.class); |
| | | KcztMap kcztMap = service.selectOne(new EntityWrapper<KcztMap>().eq("cstateid", this.cstateid)); |
| | | if (!Cools.isEmpty(kcztMap)){ |
| | | return String.valueOf(kcztMap.getVname()); |
| | | } |
| | | return String.valueOf(this.cstateid); |
| | | } |
| | | |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |