src/main/java/com/zy/asrs/controller/WrkDetlLogController.java
@@ -93,7 +93,7 @@ @ManagerAuth public R update(WrkDetlLog wrkDetlLog){ if (Cools.isEmpty(wrkDetlLog) || null==wrkDetlLog.getWrkNo()){ return R.error(); return R.error("参数缺失"); } wrkDetlLogService.updateById(wrkDetlLog); return R.ok(); @@ -104,7 +104,7 @@ public R delete(@RequestParam String param){ List<WrkDetlLog> list = JSONArray.parseArray(param, WrkDetlLog.class); if (Cools.isEmpty(list)){ return R.error(); return R.error("参数缺失"); } for (WrkDetlLog entity : list){ wrkDetlLogService.delete(new EntityWrapper<>(entity));