lxw
2022-08-30 91dd28ded841e620cce34bdd1caab8d7efc64cb4
src/main/java/com/whyc/controller/MaterialController.java
@@ -5,10 +5,9 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Api(tags = "物料管理")
@RestController
@@ -39,4 +38,10 @@
        return service.getMaterialLimit(subCode,subName,subModel,pageCurr,pageSize);
    }
    @ApiOperation(value = "test")
    @PostMapping("test")
    public List test(@RequestBody List<String> codeList){
        return service.getListByCodeList(codeList);
    }
}