| | |
| | | for (Object o : jsonArray){ |
| | | JSONObject jsonObject = (JSONObject)o; |
| | | String batch = jsonObject.get("batch").toString(); |
| | | Integer packageNo = (Integer) jsonObject.get("packageNo"); |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | if(Cools.isEmpty(locNo) || Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){ |
| | | return R.error("有参数为空,无法入库"); |
| | | } |
| | |
| | | public R plaPackOut1(@RequestBody JSONObject json){ |
| | | String locNo = json.get("locNo").toString(); |
| | | String batch = json.get("batch").toString(); |
| | | Integer packageNo = (Integer) json.get("packageNo"); |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | String orderNo = json.get("orderNo").toString(); |
| | | String orderDetlId = json.get("orderDetlId").toString(); |
| | | String wrkNo = json.get("wrkNo").toString(); |
| | |
| | | public R plaPackOut(@RequestBody JSONObject json){ |
| | | String locNo = json.get("locNo").toString(); |
| | | String batch = json.get("batch").toString(); |
| | | Integer packageNo = (Integer) json.get("packageNo"); |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | String orderNo = json.get("orderNo").toString(); |
| | | String orderDetlId = json.get("orderDetlId").toString(); |
| | | String wrkNo = json.get("wrkNo").toString(); |
| | |
| | | @RequestMapping("/plaDetl/check/v1") |
| | | public R plaDetlCheck(@RequestBody JSONObject json){ |
| | | String batch = json.get("batch").toString(); |
| | | Integer packageNo = (Integer) json.get("packageNo"); |
| | | |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | if(Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){ |
| | | return R.error("有参数为空,无法入库"); |
| | | } |
| | |
| | | public R plaDetlMove(@RequestBody JSONObject json){ |
| | | |
| | | String batch = json.get("batch").toString(); |
| | | Integer packageNo = (Integer) json.get("packageNo"); |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | String locNo = json.get("locNo").toString(); |
| | | |
| | | if(Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){ |
| | |
| | | @RequestMapping("/manpakout/pakout/v1") |
| | | public R pakout(@RequestBody JSONObject json){ |
| | | |
| | | String batch = json.get("batch").toString(); |
| | | Integer packageNo = Integer.parseInt(json.get("packageNo").toString()); |
| | | String orderNo = json.get("orderNo").toString(); |
| | | |
| | | |
| | | |
| | | return R.ok(); |
| | | } |
| | | |