| | |
| | | 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.text.ParseException; |
| | | import java.util.List; |
| | |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/rawMaterialProductions/{month}") |
| | | @ApiOperation("成本核算-原料生产统计单耗表") |
| | | public AjaxResult rawMaterialProductions(@PathVariable String month){ |
| | | List<RawMaterialProductionDto> list = homeService.rawMaterialProductions(month); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | } |