| | |
| | | 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 |
| | |
| | | return service.getMaterialLimit(subCode,subName,subModel,pageCurr,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "test") |
| | | @PostMapping("test") |
| | | public List test(@RequestBody List<String> codeList){ |
| | | return service.getListByCodeList(codeList); |
| | | } |
| | | |
| | | } |