根据生产单号查询检验结果
This commit is contained in:
parent
f5342d1427
commit
2ee047474a
@ -407,12 +407,12 @@ public class EnergyController extends BaseController {
|
|||||||
}
|
}
|
||||||
@PostMapping(value = "checkResultList")
|
@PostMapping(value = "checkResultList")
|
||||||
@ApiOperation(value = "根据生产单号获取apms检验结果")
|
@ApiOperation(value = "根据生产单号获取apms检验结果")
|
||||||
public List<ApmsCheckResult> getApmsCheckResult(String sheetNo){
|
public List<ApmsCheckResult> getApmsCheckResult(@RequestBody ElectricQueryParam electricQueryParam){
|
||||||
return apmsCheckResultServiceBiz.list(new QueryWrapper<ApmsCheckResult>().eq(ApmsCheckResult.SHEET_NO,sheetNo));
|
return apmsCheckResultServiceBiz.list(new QueryWrapper<ApmsCheckResult>().eq(ApmsCheckResult.SHEET_NO,electricQueryParam.getSheetNo()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping(value = "eletric")
|
@PostMapping(value = "eletric")
|
||||||
@ApiOperation(value = "根据任务id获取消耗情况")
|
@ApiOperation(value = "根据任务id获取消耗情况",hidden = true)
|
||||||
public R<String> list(@Validated({Default.class}) @RequestBody ElectricQueryParam electricQueryParam) {
|
public R<String> list(@Validated({Default.class}) @RequestBody ElectricQueryParam electricQueryParam) {
|
||||||
Long kiln = electricQueryParam.getKilnId();
|
Long kiln = electricQueryParam.getKilnId();
|
||||||
//工业炉id为0代表全部,存储的时候计算全部
|
//工业炉id为0代表全部,存储的时候计算全部
|
||||||
|
@ -34,4 +34,6 @@ public class ElectricQueryParam extends BaseParam {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "时间类型:1 天,2 周,3 月,4 年", required = false)
|
@ApiModelProperty(value = "时间类型:1 天,2 周,3 月,4 年", required = false)
|
||||||
private Integer dateType;
|
private Integer dateType;
|
||||||
|
|
||||||
|
private String sheetNo;
|
||||||
}
|
}
|
||||||
|
@ -76,4 +76,10 @@ public class TaskHisQueryVo extends BaseVo implements PageVo.ConvertVo {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty("车辆名称")
|
@ApiModelProperty("车辆名称")
|
||||||
private String vehicleName;
|
private String vehicleName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加工单号
|
||||||
|
*/
|
||||||
|
@ApiModelProperty("加工单号")
|
||||||
|
private String sheetNo;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user