根据生产单号查询检验结果
这个提交包含在:
父节点
f5342d1427
当前提交
2ee047474a
@ -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代表全部,存储的时候计算全部
|
||||
|
@ -34,4 +34,6 @@ public class ElectricQueryParam extends BaseParam {
|
||||
|
||||
@ApiModelProperty(value = "时间类型:1 天,2 周,3 月,4 年", required = false)
|
||||
private Integer dateType;
|
||||
|
||||
private String sheetNo;
|
||||
}
|
||||
|
@ -76,4 +76,10 @@ public class TaskHisQueryVo extends BaseVo implements PageVo.ConvertVo {
|
||||
*/
|
||||
@ApiModelProperty("车辆名称")
|
||||
private String vehicleName;
|
||||
|
||||
/**
|
||||
* 加工单号
|
||||
*/
|
||||
@ApiModelProperty("加工单号")
|
||||
private String sheetNo;
|
||||
}
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户