Просмотр исходного кода

Merge branch 'master' of http://git.dongkesoft.com:9001/iBOSS-2.0-Mini/iboss-server-mdm

于继渤 2 лет назад
Родитель
Сommit
d9d1bd52a0
1 измененных файлов с 22 добавлено и 0 удалено
  1. 22 0
      src/main/java/com/dk/mdm/controller/mst/MoneyAccountController.java

+ 22 - 0
src/main/java/com/dk/mdm/controller/mst/MoneyAccountController.java

@@ -13,6 +13,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.Api;
 import com.dk.mdm.service.mst.MoneyAccountService;
 import com.dk.mdm.service.mst.MoneyAccountService;
 
 
+import java.util.List;
 import java.util.Map;
 import java.util.Map;
 
 
 @Api(tags = "资金账户API接口")
 @Api(tags = "资金账户API接口")
@@ -104,5 +105,26 @@ public class MoneyAccountController{
         return this.getService().enable(id);
         return this.getService().enable(id);
     }
     }
 
 
+    /**
+     * @desc : 批量启用
+     * @author : 周兴
+     * @date : 2023/3/7 10:34
+     */
+    @ApiOperation(value = "批量启用", notes = "批量启用")
+    @PostMapping("enable_batch")
+    public ResponseResultVO<Boolean> enableBatch(@RequestBody List<String> ids) {
+        return this.getService().enableBatch(ids);
+    }
+
+    /**
+     * @desc : 批量停用
+     * @author : 周兴
+     * @date : 2023/3/7 10:34
+     */
+    @ApiOperation(value = "批量停用", notes = "批量停用")
+    @PostMapping("disable_batch")
+    public ResponseResultVO<Boolean> disableBatch(@RequestBody List<String> ids) {
+        return this.getService().disableBatch(ids);
+    }
 
 
 }
 }