| | |
| | | @PostMapping("/callEmptyBinOutBound") |
| | | @ManagerAuth(memo = "pda呼叫空料框出库") |
| | | public synchronized R callEmptyBinOutBound(@RequestBody JSONObject param) { |
| | | if(!param.containsKey("staNo") || !param.containsKey("locType")){ // 1.窄,2.宽 |
| | | if(!param.containsKey("staNo") || !param.containsKey("locType") || !param.containsKey("count")){ // 1.窄,2.宽 |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | return mobileService.callEmptyBinOutBound(null,param.getString("staNo"),param.getString("locType"),getUserId()); |
| | | int count = param.getInteger("count"); |
| | | if (count <= 0 || count > 10) { |
| | | return R.parse("数量有误,count:" + count); |
| | | } |
| | | return mobileService.callEmptyBinOutBound(null,param.getString("staNo"),param.getString("locType"),count,getUserId()); |
| | | } |
| | | |
| | | @PostMapping("/callEmptyBinInBound") |