| | |
| | | public ReturnT<String> start(int staNo) { |
| | | try { |
| | | BasDevp basDevp = basDevpService.selectById(staNo); |
| | | if (!Cools.isEmpty(basDevp) && !Cools.isEmpty(basDevp.getBarcode()) && basDevp.getWrkNo()==9992){ |
| | | if (!Cools.isEmpty(basDevp) && !Cools.isEmpty(basDevp.getBarcode()) && basDevp.getWrkNo()==9992){ //上传前工作号跟电控约定为9992(你可以自定义) |
| | | WaitPakin waitPakin = waitPakinService.selectOne(new EntityWrapper<WaitPakin>().eq("zpallet", basDevp.getBarcode())); |
| | | if (Cools.isEmpty(waitPakin)){ |
| | | ReturnT<String> result = null; |
| | |
| | | "上报erp系统", |
| | | erpUrl + erpPath, |
| | | null, |
| | | "127.0.0.1", |
| | | erpUrl, |
| | | JSON.toJSONString(combParam), |
| | | response, |
| | | success |