| | |
| | | prr.setErrmsg("参数:卡号关联的车牌号和业务单关联的车牌号不一致"); |
| | | return prr; |
| | | } |
| | | |
| | | // yktywdh = fdb.getBsNo(); |
| | | |
| | | int wcnum=this.bsper.getweightDoc(vehicleId, fdb.getBsNo()); |
| | |
| | | } |
| | | // 现场过完毛重后出现扫码装车的,必须重新过磅 |
| | | int grossNum=this.bsper.getgrosstDoc(vehicleId, fdb.getBsNo()); |
| | | |
| | | List tdmxPchList = new ArrayList(); |
| | | for (JsonElement je : dataArr) { |
| | | JsonObject jo=je.getAsJsonObject(); |
| | | String tdmx_pch = jo.get("tdmx_pch").getAsString(); |
| | | tdmxPchList.add(tdmx_pch); |
| | | } |
| | | // 检查是否当前区域已经排队 |
| | | Map paramMap = new HashMap(); |
| | | paramMap.put("vehicleId",vehicleId); |
| | | paramMap.put("tdmxPchList", tdmxPchList); |
| | | String jsonStr = Jacksonmethod.tojson(paramMap,false); |
| | | JsonObject jsonObject = Wxhtmethod.postJsonStr(Contants.yr_canDoScanUrl,jsonStr); |
| | | if( jsonObject.get("code").getAsInt() !=0) { |
| | | prr.setCode(1); |
| | | prr.setErrmsg(jsonObject.get("errmsg").getAsString()); |
| | | return prr; |
| | | } |
| | | for (JsonElement je : dataArr) { |
| | | JsonObject jo=je.getAsJsonObject(); |
| | | String tdmx_pch = jo.get("tdmx_pch").getAsString(); |
| | |
| | | if("08".equals(fdb.getSdepartNo())) { |
| | | final String cph = currPch; |
| | | ThreadPoolUtil.getInstance().execute(()->{ |
| | | |
| | | Map scanCodeParamMap = new HashMap(); |
| | | scanCodeParamMap.put("pch",cph); |
| | | Wxhtmethod.post(Contants.yr_scanCodeNoticeUrl, scanCodeParamMap); |
| | | |
| | | try { |
| | | synchronized (FdXSTDService.refreshYrLedLock) { |
| | | if (FdXSTDService.refreshYrLedLock) { // 系统繁忙 |