| | |
| | | return R.ok("出库成功"); |
| | | } |
| | | |
| | | // pda呼叫空料框出库 |
| | | @PostMapping("/callEmptyBinOutBound") |
| | | @ManagerAuth(memo = "pda呼叫空料框出库") |
| | | public synchronized R callEmptyBinOutBound(@RequestBody JSONObject param) { |
| | | if(!param.containsKey("staNo") || !param.containsKey("locType")){ // 1.窄,2.宽 |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | return mobileService.callEmptyBinOutBound(null,param.getString("staNo"),param.getString("locType"),getUserId()); |
| | | } |
| | | |
| | | @PostMapping("/callEmptyBinInBound") |
| | | @ManagerAuth(memo = "pda呼叫料框回库") |
| | | public synchronized R callEmptyBinInBound(@RequestBody JSONObject param) { |
| | | if(!param.containsKey("site")){ // 搬运起点 |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | return mobileService.callEmptyBinInBound(param.getString("site"),getUserId()); |
| | | } |
| | | |
| | | } |