修改取消审核

This commit is contained in:
jiangs 2026-05-28 10:00:07 +08:00
parent 46dc294f3b
commit 1a16f3eec0
2 changed files with 10 additions and 3 deletions

View File

@ -64,4 +64,7 @@ public class SampleSignVO {
private String opercode;
@ApiModelProperty(value = "上机操作人姓名")
private String opername;
//目前就只是取消审核的时候用
@ApiModelProperty(value = "审核状态")
private String checkStatus;
}

View File

@ -268,13 +268,17 @@ public class RegInterfaceImpl {
Date operdatetime = sampleSignVO.getOperdatetime();
String opercode = sampleSignVO.getOpercode();
String opername = sampleSignVO.getOpername();
String checkStatus = sampleSignVO.getCheckStatus();
if(operdatetime == null) return new Result("-1","上机时间不能为空!");
if(opername == null || opername.equals("")) return new Result("-1","上机人姓名不能为空!");
RegTransitSample regTransitSample60 = new RegTransitSample();
//传了值,代表是上机,没有传,代表只是取消审核
if(checkStatus == null || checkStatus.equals("")){
regTransitSample60.setOperdatetime(operdatetime);
regTransitSample60.setOpercode(opercode);
regTransitSample60.setOpername(opername);
}
regTransitSample60.setBarcode(barcode);
regTransitSample60.setOperdatetime(operdatetime);
regTransitSample60.setOpercode(opercode);
regTransitSample60.setOpername(opername);
regTransitSample60.setStatus("60");
requestInfoUtil.updateRegTransitSampleStatus(regTransitSample60,regApply);