根据生产单号查询检验结果

This commit is contained in:
李广豪 2022-08-01 21:10:11 +08:00
parent f5342d1427
commit 2ee047474a
3 changed files with 11 additions and 3 deletions

View File

@ -407,12 +407,12 @@ public class EnergyController extends BaseController {
}
@PostMapping(value = "checkResultList")
@ApiOperation(value = "根据生产单号获取apms检验结果")
public List<ApmsCheckResult> getApmsCheckResult(String sheetNo){
return apmsCheckResultServiceBiz.list(new QueryWrapper<ApmsCheckResult>().eq(ApmsCheckResult.SHEET_NO,sheetNo));
public List<ApmsCheckResult> getApmsCheckResult(@RequestBody ElectricQueryParam electricQueryParam){
return apmsCheckResultServiceBiz.list(new QueryWrapper<ApmsCheckResult>().eq(ApmsCheckResult.SHEET_NO,electricQueryParam.getSheetNo()));
}
@PostMapping(value = "eletric")
@ApiOperation(value = "根据任务id获取消耗情况")
@ApiOperation(value = "根据任务id获取消耗情况",hidden = true)
public R<String> list(@Validated({Default.class}) @RequestBody ElectricQueryParam electricQueryParam) {
Long kiln = electricQueryParam.getKilnId();
//工业炉id为0代表全部存储的时候计算全部

View File

@ -34,4 +34,6 @@ public class ElectricQueryParam extends BaseParam {
@ApiModelProperty(value = "时间类型:1 天2 周3 月4 年", required = false)
private Integer dateType;
private String sheetNo;
}

View File

@ -76,4 +76,10 @@ public class TaskHisQueryVo extends BaseVo implements PageVo.ConvertVo {
*/
@ApiModelProperty("车辆名称")
private String vehicleName;
/**
* 加工单号
*/
@ApiModelProperty("加工单号")
private String sheetNo;
}