| | |
| | | } |
| | | Integer pltType = null; |
| | | //仓库编码 |
| | | if (Cools.isEmpty(order.getPltType())) { |
| | | if (Cools.isEmpty(order.getPltType()) && !Cools.isEmpty(locNo)) { |
| | | AgvLocMast locNo1 = agvLocMastService.selectOne(new EntityWrapper<AgvLocMast>().eq("loc_no", locNo)); |
| | | pltType = locNo1.getPltType(); |
| | | } |
| | |
| | | int code = doHttpRequest(reportErpParam, "单据审核", url, orderReportPath, null, "127.0.0.1"); |
| | | //int code = doHttpRequest(param, "单据审核", "localhost:8080", "/test/report", null, "127.0.0.1"); |
| | | if (code == 0) { |
| | | log.info("单据审核,{}", order); |
| | | order.setSettle(6L); |
| | | this.updateById(order); |
| | | } |