| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping(value = "/locMast/batchUpdateArea/auth") |
| | | @ManagerAuth |
| | | public R batchUpdateArea(@RequestBody JSONObject param) { |
| | | List<String> locNos = param.getJSONArray("locNos").toJavaList(String.class); |
| | | Integer areaId = param.getInteger("areaId"); |
| | | if (Cools.isEmpty(locNos) || areaId == null) { |
| | | return R.error("参数错误"); |
| | | } |
| | | locMastService.batchUpdateArea(locNos, areaId.shortValue()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping(value = "/locMast/init/auth") |
| | | @ManagerAuth(memo = "初始化库位") |
| | | // @Transactional |