| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("asr_loc_detl") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("man_order_detl") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("cust_wait_pakin") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("cust_wait_pakin_log") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("asr_wrk_detl") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("asr_wrk_detl_log") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("asr_wrk_detl_single") |
| | |
| | | |
| | | public String getBrand$(){ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_type", this.brand)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true)); |
| | | for (BasBoxType basBoxType:basBoxTypes){ |
| | | return String.valueOf(basBoxType.getBoxSpecs()); |
| | | } |
| | | return this.brand; |
| | |
| | | |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.DateUtils; |
| | | import com.core.common.R; |
| | | import com.core.common.SnowflakeIdWorker; |
| | | import com.core.common.*; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.*; |
| | | import com.zy.asrs.entity.param.*; |
| | |
| | | waitPakin.sync(mat); |
| | | waitPakin.setBatch(matList.getBatch()); //木箱编码 //批次 唯一值 箱号 |
| | | waitPakin.setModel(matList.getModel()); //卷号 唯一值 |
| | | waitPakin.setBrand(param.getBoxType()); //木箱类型 |
| | | String boxType = param.getBoxType(); |
| | | try{ |
| | | BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class); |
| | | BasBoxType basBoxType = basBoxTypeService.selectOne(new EntityWrapper<BasBoxType>().eq("box_specs", boxType)); |
| | | if (!Cools.isEmpty(basBoxType)){ |
| | | boxType = basBoxType.getBoxType(); |
| | | } |
| | | } catch (Exception e){ |
| | | |
| | | } |
| | | waitPakin.setBrand(boxType); //木箱类型 |
| | | waitPakin.setZpallet(param.getBarcode()); //托盘码 |
| | | waitPakin.setOrigin(matList.getPosition()); //木箱在托盘上的位置 |
| | | waitPakin.setWeight(matList.getWeight()); //净重 |