| | |
| | | if (node.equals(null)){ |
| | | return R.error("未查询到库位信息"); |
| | | } |
| | | Date date = new Date(); |
| | | ManLocDetl manLocDetl = new ManLocDetl(); //初始化库存实体类 |
| | | //获取组托小数位 |
| | | BigDecimal decimal = BigDecimal.valueOf(waitPakin.getAnfme()).subtract(BigDecimal.valueOf(waitPakin.getAnfme()).setScale(0,BigDecimal.ROUND_DOWN)); |
| | | if (decimal.doubleValue() > 0){ |
| | | manLocDetl.setPrice(1.0); |
| | | }else { |
| | | manLocDetl.setPrice(2.0); |
| | | } |
| | | |
| | | |
| | | |
| | | Date date = new Date(); |
| | | |
| | | manLocDetl.setLocNo(node.getName()); |
| | | manLocDetl.setNodeId(node.getId()); |
| | | manLocDetl.setZpallet(waitPakin.getZpallet()); |