Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -84,18 +84,18 @@ public class BusinessQCCoefficientDataController implements BusinessControllerMa
|
||||
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获得质控样检测系数任务数据,空白样、标样分页")
|
||||
@PreAuthorize("@ss.hasPermission('qms:business-QC-coefficient-data:query')")
|
||||
public CommonResult<PageResult<BusinessQCCoefficientDataRespVO>> getBusinessQCCoefficientDataPage(@Valid BusinessQCCoefficientDataPageReqVO pageReqVO) {
|
||||
PageResult<BusinessQCCoefficientDataDO> pageResult = businessQCCoefficientDataService.getBusinessQCCoefficientDataPage(pageReqVO);
|
||||
return success(BeanUtils.toBean(pageResult, BusinessQCCoefficientDataRespVO.class));
|
||||
// @PreAuthorize("@ss.hasPermission('qms:business-QC-coefficient-data:query')")
|
||||
public CommonResult<PageResult<BusinessQCCoefficientDataExtendRespVO>> getBusinessQCCoefficientDataPage(@Valid BusinessQCCoefficientDataPageReqVO pageReqVO) {
|
||||
PageResult<BusinessQCCoefficientDataExtendRespVO> pageResult = businessQCCoefficientDataService.getBusinessQCCoefficientDataPage(pageReqVO);
|
||||
return success(pageResult);
|
||||
}
|
||||
|
||||
@GetMapping("/list")
|
||||
@Operation(summary = "获得质控样检测系数任务数据,空白样、标样分页")
|
||||
// @PreAuthorize("@ss.hasPermission('qms:business-QC-coefficient-data:query')")
|
||||
public CommonResult<List<BusinessQCCoefficientDataRespVO>> getBusinessQCCoefficientDataPage(@Valid BusinessQCCoefficientDataReqVO reqVO) {
|
||||
List<BusinessQCCoefficientDataDO> pageResult = businessQCCoefficientDataService.getBusinessQCCoefficientDataList(reqVO);
|
||||
return success(BeanUtils.toBean(pageResult, BusinessQCCoefficientDataRespVO.class));
|
||||
public CommonResult<List<BusinessQCCoefficientDataExtendRespVO>> getBusinessQCCoefficientDataPage(@Valid BusinessQCCoefficientDataReqVO reqVO) {
|
||||
List<BusinessQCCoefficientDataExtendRespVO> listResult = businessQCCoefficientDataService.getBusinessQCCoefficientDataList(reqVO);
|
||||
return success(listResult);
|
||||
}
|
||||
|
||||
@GetMapping("/export-excel")
|
||||
@@ -105,7 +105,7 @@ public class BusinessQCCoefficientDataController implements BusinessControllerMa
|
||||
public void exportBusinessQCCoefficientDataExcel(@Valid BusinessQCCoefficientDataPageReqVO pageReqVO,
|
||||
HttpServletResponse response) throws IOException {
|
||||
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
||||
List<BusinessQCCoefficientDataDO> list = businessQCCoefficientDataService.getBusinessQCCoefficientDataPage(pageReqVO).getList();
|
||||
List<BusinessQCCoefficientDataExtendRespVO> list = businessQCCoefficientDataService.getBusinessQCCoefficientDataPage(pageReqVO).getList();
|
||||
// 导出 Excel
|
||||
ExcelUtils.write(response, "质控样检测系数任务数据,空白样、标样.xls", "数据", BusinessQCCoefficientDataRespVO.class,
|
||||
BeanUtils.toBean(list, BusinessQCCoefficientDataRespVO.class));
|
||||
|
||||
@@ -85,17 +85,17 @@ public class BusinessQCManagementDataController implements BusinessControllerMar
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获得质控管理样检测任务数据,管理样、标准样分页")
|
||||
@PreAuthorize("@ss.hasPermission('qms:business-QC-management-data:query')")
|
||||
public CommonResult<PageResult<BusinessQCManagementDataRespVO>> getBusinessQCManagementDataPage(@Valid BusinessQCManagementDataPageReqVO pageReqVO) {
|
||||
PageResult<BusinessQCManagementDataDO> pageResult = businessQCManagementDataService.getBusinessQCManagementDataPage(pageReqVO);
|
||||
return success(BeanUtils.toBean(pageResult, BusinessQCManagementDataRespVO.class));
|
||||
public CommonResult<PageResult<BusinessQCManagementDataExtendRespVO>> getBusinessQCManagementDataPage(@Valid BusinessQCManagementDataPageReqVO pageReqVO) {
|
||||
PageResult<BusinessQCManagementDataExtendRespVO> pageResult = businessQCManagementDataService.getBusinessQCManagementDataPage(pageReqVO);
|
||||
return success(pageResult);
|
||||
}
|
||||
|
||||
@GetMapping("/list")
|
||||
@Operation(summary = "获得质控管理样检测任务数据,管理样、标准样列表")
|
||||
// @PreAuthorize("@ss.hasPermission('qms:business-QC-management-data:query')")
|
||||
public CommonResult<List<BusinessQCManagementDataRespVO>> getBusinessQCManagementDataList(@Valid BusinessQCManagementDataReqVO reqVO) {
|
||||
List<BusinessQCManagementDataDO> pageResult = businessQCManagementDataService.getBusinessQCManagementDataList(reqVO);
|
||||
return success(BeanUtils.toBean(pageResult, BusinessQCManagementDataRespVO.class));
|
||||
public CommonResult<List<BusinessQCManagementDataExtendRespVO>> getBusinessQCManagementDataList(@Valid BusinessQCManagementDataReqVO reqVO) {
|
||||
List<BusinessQCManagementDataExtendRespVO> listResult = businessQCManagementDataService.getBusinessQCManagementDataList(reqVO);
|
||||
return success(listResult);
|
||||
}
|
||||
|
||||
@GetMapping("/export-excel")
|
||||
@@ -105,7 +105,7 @@ public class BusinessQCManagementDataController implements BusinessControllerMar
|
||||
public void exportBusinessQCManagementDataExcel(@Valid BusinessQCManagementDataPageReqVO pageReqVO,
|
||||
HttpServletResponse response) throws IOException {
|
||||
pageReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);
|
||||
List<BusinessQCManagementDataDO> list = businessQCManagementDataService.getBusinessQCManagementDataPage(pageReqVO).getList();
|
||||
List<BusinessQCManagementDataExtendRespVO> list = businessQCManagementDataService.getBusinessQCManagementDataPage(pageReqVO).getList();
|
||||
// 导出 Excel
|
||||
ExcelUtils.write(response, "质控管理样检测任务数据,管理样、标准样.xls", "数据", BusinessQCManagementDataRespVO.class,
|
||||
BeanUtils.toBean(list, BusinessQCManagementDataRespVO.class));
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,12 +29,14 @@ public class SampleAnalysisController implements BusinessControllerMarker {
|
||||
@Resource
|
||||
private SampleAnalysisService sampleAnalysisService ;
|
||||
|
||||
@Deprecated
|
||||
@GetMapping("/batchSampleAnalysisByTaskId")
|
||||
public CommonResult<?> batchSampleAnalysisByTaskId(Long businessAssayTaskId) {
|
||||
BusinessAssayTaskAnalysisSampleProjectRespVO businessAssayTaskAnalysisSampleProject = sampleAnalysisService.batchSampleAnalysisByTaskId(businessAssayTaskId);
|
||||
return success(businessAssayTaskAnalysisSampleProject);
|
||||
}
|
||||
|
||||
|
||||
@Deprecated
|
||||
@PostMapping("/saveBatchSampleAnalysis")
|
||||
public CommonResult<?> saveBatchSampleAnalysis(@RequestBody BusinessAssayTaskAnalysisSampleProjectRespVO vo) {
|
||||
sampleAnalysisService.saveBatchSampleAnalysis(vo);
|
||||
|
||||
@@ -56,14 +56,6 @@ public class SampleTaskAssignController implements BusinessControllerMarker {
|
||||
return success(list);
|
||||
}
|
||||
|
||||
/**
|
||||
@GetMapping("/getAssayMethodList")
|
||||
public CommonResult<?> getAssayMethodList(Long businessSubSampleId, Long configAssayMethodId) {
|
||||
List<Object> list = sampleTaskAssignService.getAssayMethodList(businessSubSampleId, configAssayMethodId);
|
||||
return success(list);
|
||||
}
|
||||
**/
|
||||
|
||||
@GetMapping("/getAssayMethodProjectList")
|
||||
public CommonResult<?> getAssayMethodProjectList(String businessSubSampleIds, Long configAssayMethodId) {
|
||||
List<Long> businessSubSampleIdList = Arrays.asList(businessSubSampleIds.split(",")).stream().map(Long::parseLong).toList();
|
||||
|
||||
@@ -42,6 +42,10 @@ public class BusinessAssayProjectAndParameterRespVO implements Serializable {
|
||||
/** 结果值 **/
|
||||
@Schema(description = "结果值")
|
||||
private String value;
|
||||
|
||||
/** 符号,=、>、<、等 **/
|
||||
@Schema(description = "符号,=、>、<、等")
|
||||
private String symbol;
|
||||
|
||||
@Schema(description = "是否允许为空")
|
||||
private Integer isNull;
|
||||
|
||||
@@ -21,6 +21,9 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
public class BusinessAssayTaskExtendRespVO extends BusinessAssayTaskRespVO {
|
||||
|
||||
/** 任务单数据类型,横向:horizontal,纵向:vertical **/
|
||||
private String reportDataType;
|
||||
|
||||
/** 分析方法名称 **/
|
||||
private String configAssayMethodName;
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package com.zt.plat.module.qms.business.bus.controller.vo;
|
||||
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(description = "管理后台 - 子样检测任务参数业务分页 Request VO")
|
||||
@Data
|
||||
public class BusinessAssayTaskParameterDataPageReqVO extends PageParam {
|
||||
|
||||
@Schema(description = "检测任务ID", example = "11383")
|
||||
private Long businessAssayTaskDataId;
|
||||
|
||||
@Schema(description = "检测方法参数配置ID", example = "9000")
|
||||
private Long configAssayMethodParameterId;
|
||||
|
||||
@Schema(description = "值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", example = "1")
|
||||
private String dataType;
|
||||
|
||||
@Schema(description = "小数位")
|
||||
private Integer decimalPosition;
|
||||
|
||||
@Schema(description = "乐观锁", example = "3750")
|
||||
private Integer updateCount;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.zt.plat.module.qms.business.bus.controller.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
|
||||
@Schema(description = "管理后台 - 子样检测任务参数业务 Response VO")
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class BusinessAssayTaskParameterDataRespVO {
|
||||
|
||||
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2727")
|
||||
@ExcelProperty("ID")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "检测任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11383")
|
||||
@ExcelProperty("检测任务ID")
|
||||
private Long businessAssayTaskDataId;
|
||||
|
||||
@Schema(description = "检测方法参数配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9000")
|
||||
@ExcelProperty("检测方法参数配置ID")
|
||||
private Long configAssayMethodParameterId;
|
||||
|
||||
@Schema(description = "值")
|
||||
@ExcelProperty("值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@ExcelProperty("数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间")
|
||||
private String dataType;
|
||||
|
||||
@Schema(description = "小数位")
|
||||
@ExcelProperty("小数位")
|
||||
private Integer decimalPosition;
|
||||
|
||||
@Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "3750")
|
||||
@ExcelProperty("乐观锁")
|
||||
private Integer updateCount;
|
||||
|
||||
@Schema(description = "所属部门")
|
||||
@ExcelProperty("所属部门")
|
||||
private String systemDepartmentCode;
|
||||
|
||||
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "备注")
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user