|
@@ -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);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
}
|
|
}
|