| | |
| | | package com.zy.asrs.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.core.common.Cools; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.HalfBarcode; |
| | | import com.zy.asrs.entity.Mat; |
| | |
| | | for (MatBarcode matBarcode : list) { |
| | | //对模具的规格做处理得到厚度 |
| | | Integer thickness = 0; |
| | | if (matBarcode.getSpecs() != null){ |
| | | if (!Cools.isEmpty(matBarcode.getSpecs())){ |
| | | String[] split = matBarcode.getSpecs().split("\\*"); |
| | | thickness = Integer.parseInt(split[1]); |
| | | } |
| | |
| | | HalfBarcode halfBarcode = halfBarcodeService.selectByZpallet(waitPakin.getBarcode()); |
| | | //对模具的规格做处理得到厚度 |
| | | Integer thickness = 0; |
| | | if (mat.getSpecs() != null){ |
| | | if (!Cools.isEmpty(mat.getSpecs())){ |
| | | String[] split = mat.getSpecs().split("\\*"); |
| | | thickness = Integer.parseInt(split[1]); |
| | | } |
| | |
| | | HalfBarcode halfBarcode = halfBarcodeService.selectByZpallet(mat.getUnit()); |
| | | //对模具的规格做处理得到厚度 |
| | | Integer thickness = 0; |
| | | if (mat.getSpecs() != null){ |
| | | if (!Cools.isEmpty(mat.getSpecs())){ |
| | | String[] split = mat.getSpecs().split("\\*"); |
| | | thickness = Integer.parseInt(split[1]); |
| | | } |