diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetCurrentController.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetCurrentController.java index 0589868..2c30cc9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetCurrentController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/controller/AssetCurrentController.java @@ -151,7 +151,7 @@ public class AssetCurrentController extends BaseController { */ @ApiOperation(value = "修改数据") @PutMapping - public AjaxResult update(@RequestBody @Valid AssetCurrent assetCurrent) { + public AjaxResult update(@RequestBody AssetCurrent assetCurrent) { StringBuilder a = new StringBuilder(); if(!assetCurrent.getGlymList().isEmpty()){ assetCurrent.getGlymList().forEach(x->{ diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/UnitService.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/UnitService.java index f973dbc..20c89e9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/service/UnitService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/service/UnitService.java @@ -54,7 +54,7 @@ public interface UnitService extends IService { /** * 逻辑删除单位 */ - void deleteUnits(List ids); + void deleteUnits(Long ids);