123456789101112131415161718192021222324252627282930 |
- package com.rongwei.controller;
- import com.rongwei.bscommon.system.service.impl.DrugServiceImpl;
- import com.rongwei.rwcommon.base.R;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.List;
- /**
- * DrugController class
- *
- * @author XH
- * @date 2025/09/17
- */
- @RestController
- @RequestMapping("/drug")
- public class DrugController {
- @Autowired
- private DrugServiceImpl drugService;
- @PostMapping("/inventory/update")
- public R inventoryQuantityUpdate(@RequestBody List<String> ids) {
- return drugService.inventoryQuantityUpdate(ids);
- }
- }
|