src/main/java/com/zy/asrs/controller/LocMastController.java
@@ -104,7 +104,7 @@ @Transactional public R update(LocMast locMast){ if (Cools.isEmpty(locMast) || null==locMast.getLocNo()){ return R.error(); return R.error("参数缺失"); } WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>() @@ -156,7 +156,7 @@ public R delete(@RequestParam String param){ List<LocMast> list = JSONArray.parseArray(param, LocMast.class); if (Cools.isEmpty(list)){ return R.error(); return R.error("参数缺失"); } for (LocMast entity : list){ locMastService.delete(new EntityWrapper<>(entity));