package com.iailab.module.pms.coalquality.modules.analysis.controller.admin;
|
|
|
import com.iailab.framework.common.pojo.CommonResult;
|
import com.iailab.module.pms.coalquality.modules.analysis.dto.CoalAnalysisFullDetDTO;
|
import com.iailab.module.pms.coalquality.modules.analysis.service.CoalAnalysisFullDetService;
|
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
import static com.iailab.framework.common.pojo.CommonResult.success;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2023年01月15日 14:52:00
|
*/
|
@RestController
|
@RequestMapping("/xmcpms/analysis/full-det")
|
@Tag(name="全级浮沉实验数据")
|
public class CoalAnalysisFullDetController {
|
|
@Autowired
|
private CoalAnalysisFullDetService coalAnalysisFullDetService;
|
|
@GetMapping("/list/{fullId}")
|
@Operation(summary = "信息")
|
public CommonResult<List<CoalAnalysisFullDetDTO>> list(@PathVariable("fullId") String fullId){
|
Map<String, Object> parmas = new HashMap<>(1);
|
parmas.put("fullId", fullId);
|
List<CoalAnalysisFullDetDTO> data = coalAnalysisFullDetService.queryList(parmas);
|
return success(data);
|
}
|
|
}
|