提交 | 用户 | 时间
|
7e21bc
|
1 |
package com.iailab.module.pms.coalquality.modules.analysis.controller.admin; |
J |
2 |
|
|
3 |
|
|
4 |
import com.iailab.framework.common.pojo.CommonResult; |
|
5 |
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalWashCurvesDetDTO; |
|
6 |
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalWashCurvesDetService; |
|
7 |
import io.swagger.v3.oas.annotations.Operation; |
|
8 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
9 |
import org.springframework.beans.factory.annotation.Autowired; |
|
10 |
import org.springframework.web.bind.annotation.GetMapping; |
|
11 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
12 |
import org.springframework.web.bind.annotation.RestController; |
|
13 |
|
|
14 |
import java.util.HashMap; |
|
15 |
import java.util.List; |
|
16 |
import java.util.Map; |
|
17 |
|
|
18 |
import static com.iailab.framework.common.pojo.CommonResult.success; |
|
19 |
|
|
20 |
/** |
|
21 |
* @author PanZhibao |
|
22 |
* @Description |
|
23 |
* @createTime 2023年01月16日 16:25:00 |
|
24 |
*/ |
|
25 |
@RestController |
e16f4e
|
26 |
@RequestMapping("/xmcpms/coal-quality/analysis/wash-curves-det") |
7e21bc
|
27 |
@Tag(name="可选性曲线数据") |
J |
28 |
public class CoalWashCurvesDetController { |
|
29 |
|
|
30 |
@Autowired |
|
31 |
private CoalWashCurvesDetService coalWashCurvesDetService; |
|
32 |
|
|
33 |
@GetMapping("/list") |
|
34 |
@Operation(summary="信息") |
|
35 |
public CommonResult<List<CoalWashCurvesDetDTO>> list(String curvesId){ |
|
36 |
Map<String, Object> params = new HashMap<>(1); |
|
37 |
params.put("curvesId", curvesId); |
|
38 |
List<CoalWashCurvesDetDTO> data = coalWashCurvesDetService.queryList(params); |
|
39 |
return success(data); |
|
40 |
} |
|
41 |
|
|
42 |
|
|
43 |
} |