| | |
| | | package com.zy.asrs.entity.param; |
| | | |
| | | import com.core.common.Cools; |
| | | import com.core.common.DateUtils; |
| | | import com.zy.asrs.entity.LocDetl; |
| | | import com.zy.asrs.entity.WrkDetl; |
| | |
| | | this.boxNo = sampleWrkDetl.getBatch(); |
| | | this.rollNo = sampleWrkDetl.getModel(); |
| | | this.specs = sampleWrkDetl.getMatnr(); |
| | | this.length = sampleWrkDetl.getPrice().toString(); |
| | | this.length = Cools.isEmpty(sampleWrkDetl.getPrice())? "0" : sampleWrkDetl.getPrice().toString(); |
| | | this.splices = sampleWrkDetl.getSpecs(); |
| | | this.netWeight = sampleWrkDetl.getWeight().toString(); |
| | | this.grossWeight = sampleWrkDetl.getVolume().toString(); |
| | | this.netWeight = Cools.isEmpty(sampleWrkDetl.getWeight())? "0" : sampleWrkDetl.getWeight().toString(); |
| | | this.grossWeight = Cools.isEmpty(sampleWrkDetl.getVolume())? "0" : sampleWrkDetl.getVolume().toString(); |
| | | this.orderSerialNumber = sampleWrkDetl.getOrderNo(); |
| | | } |
| | | |
| | |
| | | this.boxNo = sampleLocDetl.getBatch(); |
| | | this.rollNo = sampleLocDetl.getModel(); |
| | | this.specs = sampleLocDetl.getMatnr(); |
| | | this.length = sampleLocDetl.getPrice().toString(); |
| | | this.length = Cools.isEmpty(sampleLocDetl.getPrice())? "0" : sampleLocDetl.getPrice().toString(); |
| | | this.splices = sampleLocDetl.getSpecs(); |
| | | this.netWeight = sampleLocDetl.getWeight().toString(); |
| | | this.grossWeight = sampleLocDetl.getVolume().toString(); |
| | | this.netWeight = Cools.isEmpty(sampleLocDetl.getWeight())? "0" : sampleLocDetl.getWeight().toString(); |
| | | this.grossWeight = Cools.isEmpty(sampleLocDetl.getVolume())? "0" : sampleLocDetl.getVolume().toString(); |
| | | } |
| | | |
| | | @Override |
| | |
| | | boxPos = sampleWrkDetl.getOrigin(); |
| | | boxType = sampleWrkDetl.getBrand$(); |
| | | stockType = sampleWrkDetl.getManu(); |
| | | packageGroupNo = sampleWrkDetl.getDeadTime(); |
| | | packageGroupNo = sampleWrkDetl.getDeadTimeOther(); |
| | | OrderMesXGHYParam.Box.Roll roll = new OrderMesXGHYParam.Box.Roll(sampleWrkDetl); |
| | | |
| | | rollList.add(roll); |
| | |
| | | } |
| | | boxPos = sampleWrkDetl.getOrigin(); |
| | | boxType = sampleWrkDetl.getBrand$(); |
| | | stockType = sampleWrkDetl.getManu(); |
| | | packageGroupNo = sampleWrkDetl.getDeadTime(); |
| | | OrderMesXGHYParam.Box.Roll roll = new OrderMesXGHYParam.Box.Roll(sampleWrkDetl); |
| | | |
| | | rollList.add(roll); |
| | |
| | | box.setBoxPos(boxPos); |
| | | box.setBoxType(boxType); |
| | | box.setStockType(stockType); |
| | | box.setPackageGroupNo(packageGroupNo); |
| | | |
| | | box.setRolls(rollList); |
| | | boxList.add(box); |