修改取消审核
This commit is contained in:
parent
46dc294f3b
commit
1a16f3eec0
@ -64,4 +64,7 @@ public class SampleSignVO {
|
|||||||
private String opercode;
|
private String opercode;
|
||||||
@ApiModelProperty(value = "上机操作人姓名")
|
@ApiModelProperty(value = "上机操作人姓名")
|
||||||
private String opername;
|
private String opername;
|
||||||
|
//目前就只是取消审核的时候用
|
||||||
|
@ApiModelProperty(value = "审核状态")
|
||||||
|
private String checkStatus;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -268,13 +268,17 @@ public class RegInterfaceImpl {
|
|||||||
Date operdatetime = sampleSignVO.getOperdatetime();
|
Date operdatetime = sampleSignVO.getOperdatetime();
|
||||||
String opercode = sampleSignVO.getOpercode();
|
String opercode = sampleSignVO.getOpercode();
|
||||||
String opername = sampleSignVO.getOpername();
|
String opername = sampleSignVO.getOpername();
|
||||||
|
String checkStatus = sampleSignVO.getCheckStatus();
|
||||||
if(operdatetime == null) return new Result("-1","上机时间不能为空!");
|
if(operdatetime == null) return new Result("-1","上机时间不能为空!");
|
||||||
if(opername == null || opername.equals("")) return new Result("-1","上机人姓名不能为空!");
|
if(opername == null || opername.equals("")) return new Result("-1","上机人姓名不能为空!");
|
||||||
RegTransitSample regTransitSample60 = new RegTransitSample();
|
RegTransitSample regTransitSample60 = new RegTransitSample();
|
||||||
|
//传了值,代表是上机,没有传,代表只是取消审核
|
||||||
|
if(checkStatus == null || checkStatus.equals("")){
|
||||||
|
regTransitSample60.setOperdatetime(operdatetime);
|
||||||
|
regTransitSample60.setOpercode(opercode);
|
||||||
|
regTransitSample60.setOpername(opername);
|
||||||
|
}
|
||||||
regTransitSample60.setBarcode(barcode);
|
regTransitSample60.setBarcode(barcode);
|
||||||
regTransitSample60.setOperdatetime(operdatetime);
|
|
||||||
regTransitSample60.setOpercode(opercode);
|
|
||||||
regTransitSample60.setOpername(opername);
|
|
||||||
regTransitSample60.setStatus("60");
|
regTransitSample60.setStatus("60");
|
||||||
|
|
||||||
requestInfoUtil.updateRegTransitSampleStatus(regTransitSample60,regApply);
|
requestInfoUtil.updateRegTransitSampleStatus(regTransitSample60,regApply);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user