Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -57,13 +57,20 @@ public class SampleAnalysisController implements BusinessControllerMarker {
|
||||
return success("成功");
|
||||
}
|
||||
|
||||
//下发配料
|
||||
//下发配料(自动火试金配料)
|
||||
@PostMapping("/issuedIngredients")
|
||||
public CommonResult<?> issuedIngredients(Long businessAssayTaskId) {
|
||||
sampleAnalysisService.issuedIngredients(businessAssayTaskId);
|
||||
return success("成功");
|
||||
}
|
||||
|
||||
//人工配料
|
||||
@PostMapping("/manualIngredients")
|
||||
public CommonResult<?> manualIngredients(Long businessAssayTaskId) {
|
||||
sampleAnalysisService.manualIngredients(businessAssayTaskId);
|
||||
return success("成功");
|
||||
}
|
||||
|
||||
@PostMapping("/submitSampleAnalysisByTaskId")
|
||||
public CommonResult<?> submitSampleAnalysisByTaskId(Long businessAssayTaskId) {
|
||||
sampleAnalysisService.submitSampleAnalysisByTaskId(businessAssayTaskId);
|
||||
|
||||
@@ -5,6 +5,8 @@ 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.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
@@ -31,6 +33,15 @@ public class BusinessAssayProjectDataPageReqVO extends PageParam {
|
||||
@Schema(description = "值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "补正系数ID", example = "1008")
|
||||
private Long configAssayMethodProjectCoefficientId;
|
||||
|
||||
@Schema(description = "补正系数")
|
||||
private BigDecimal coefficient;
|
||||
|
||||
@Schema(description = "补正后的值")
|
||||
private String valueAfter;
|
||||
|
||||
@Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", example = "2")
|
||||
private String dataType;
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@ 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.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
@@ -37,6 +39,15 @@ public class BusinessAssayProjectDataReqVO {
|
||||
@Schema(description = "值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "补正系数ID", example = "1008")
|
||||
private Long configAssayMethodProjectCoefficientId;
|
||||
|
||||
@Schema(description = "补正系数")
|
||||
private BigDecimal coefficient;
|
||||
|
||||
@Schema(description = "补正后的值")
|
||||
private String valueAfter;
|
||||
|
||||
@Schema(description = "数据类型,【字典】【jy_sample_data_type】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", example = "1")
|
||||
private String dataType;
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
|
||||
@@ -38,6 +40,15 @@ public class BusinessAssayProjectDataRespVO {
|
||||
@ExcelProperty("值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "补正系数ID", example = "1008")
|
||||
private Long configAssayMethodProjectCoefficientId;
|
||||
|
||||
@Schema(description = "补正系数")
|
||||
private BigDecimal coefficient;
|
||||
|
||||
@Schema(description = "补正后的值")
|
||||
private String valueAfter;
|
||||
|
||||
@Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||
@ExcelProperty("数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间")
|
||||
private String dataType;
|
||||
|
||||
@@ -2,6 +2,8 @@ package com.zt.plat.module.qms.business.bus.controller.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.*;
|
||||
import jakarta.validation.constraints.*;
|
||||
|
||||
@@ -27,6 +29,15 @@ public class BusinessAssayProjectDataSaveReqVO {
|
||||
@Schema(description = "值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "补正系数ID", example = "1008")
|
||||
private Long configAssayMethodProjectCoefficientId;
|
||||
|
||||
@Schema(description = "补正系数")
|
||||
private BigDecimal coefficient;
|
||||
|
||||
@Schema(description = "补正后的值")
|
||||
private String valueAfter;
|
||||
|
||||
@Schema(description = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||
@NotEmpty(message = "数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间不能为空")
|
||||
private String dataType;
|
||||
|
||||
@@ -51,6 +51,9 @@ public class BusinessAssayTaskPageReqVO extends PageParam {
|
||||
@Schema(description = "是否配料,1-是,0-否")
|
||||
private Integer isIngredients;
|
||||
|
||||
@Schema(description = "配料方式,初始状态-initial、自动配料-automatic、人工配料-manual")
|
||||
private String ingredientsWay;
|
||||
|
||||
@Schema(description = "配料状态,初始状态-initial、等待配料-in_progress、可提交-allow_submit", example = "2")
|
||||
private String ingredientsStatus;
|
||||
|
||||
|
||||
@@ -50,6 +50,9 @@ public class BusinessAssayTaskReqVO {
|
||||
@Schema(description = "是否配料,1-是,0-否")
|
||||
private Integer isIngredients;
|
||||
|
||||
@Schema(description = "配料方式,初始状态-initial、自动配料-automatic、人工配料-manual")
|
||||
private String ingredientsWay;
|
||||
|
||||
@Schema(description = "配料状态,初始状态-initial、等待配料-in_progress、可提交-allow_submit", example = "2")
|
||||
private String ingredientsStatus;
|
||||
|
||||
|
||||
@@ -62,6 +62,9 @@ public class BusinessAssayTaskRespVO {
|
||||
@Schema(description = "是否配料,1-是,0-否")
|
||||
private Integer isIngredients;
|
||||
|
||||
@Schema(description = "配料方式,初始状态-initial、自动配料-automatic、人工配料-manual")
|
||||
private String ingredientsWay;
|
||||
|
||||
@Schema(description = "配料状态,初始状态-initial、等待配料-in_progress、可提交-allow_submit", example = "2")
|
||||
private String ingredientsStatus;
|
||||
|
||||
|
||||
@@ -60,6 +60,9 @@ public class BusinessAssayTaskSaveReqVO {
|
||||
@Schema(description = "是否配料,1-是,0-否")
|
||||
private Integer isIngredients;
|
||||
|
||||
@Schema(description = "配料方式,初始状态-initial、自动配料-automatic、人工配料-manual")
|
||||
private String ingredientsWay;
|
||||
|
||||
@Schema(description = "配料状态,初始状态-initial、等待配料-in_progress、可提交-allow_submit", example = "2")
|
||||
private String ingredientsStatus;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.zt.plat.module.qms.business.bus.dal.dataobject;
|
||||
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.zt.plat.framework.mybatis.core.dataobject.BusinessBaseDO;
|
||||
@@ -62,6 +62,21 @@ public class BusinessAssayProjectDataDO extends BusinessBaseDO {
|
||||
@TableField(value = "VAL", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private String value;
|
||||
/**
|
||||
* 补正系数ID
|
||||
*/
|
||||
@TableField(value = "CFG_ASY_MTHD_PRJ_COEF_ID", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Long configAssayMethodProjectCoefficientId;
|
||||
/**
|
||||
* 补正系数
|
||||
*/
|
||||
@TableField(value = "COEF", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private BigDecimal coefficient;
|
||||
/**
|
||||
* 补正后的值
|
||||
*/
|
||||
@TableField(value = "VAL_AFT", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private String valueAfter;
|
||||
/**
|
||||
* 数据类型,字典表【T_DIC_BSN】string-字符串,int-整数,decimal-小数,date-日期,datetime-时间
|
||||
*/
|
||||
@TableField("DAT_TP")
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user