2026-03-14 18:39:19 +08:00
|
|
|
package com.klp.controller;
|
|
|
|
|
|
|
|
|
|
import com.klp.common.core.domain.R;
|
|
|
|
|
import com.klp.domain.bo.WmsAnnealPerformanceBo;
|
2026-07-11 16:50:44 +08:00
|
|
|
import com.klp.domain.vo.WmsMaterialCoilVo;
|
2026-03-14 18:39:19 +08:00
|
|
|
import com.klp.domain.vo.anneal.WmsAnnealPerformanceVo;
|
|
|
|
|
import com.klp.service.IWmsAnnealPerformanceService;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
2026-07-11 16:50:44 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
2026-03-14 18:39:19 +08:00
|
|
|
/**
|
|
|
|
|
* 炉火实绩
|
|
|
|
|
*
|
|
|
|
|
* @author klp
|
|
|
|
|
* @date 2026-03-14
|
|
|
|
|
*/
|
|
|
|
|
@Validated
|
|
|
|
|
@RequiredArgsConstructor
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/wms/anneal/performance")
|
|
|
|
|
public class WmsAnnealPerformanceController {
|
|
|
|
|
|
|
|
|
|
private final IWmsAnnealPerformanceService performanceService;
|
|
|
|
|
|
|
|
|
|
@GetMapping
|
|
|
|
|
public R<WmsAnnealPerformanceVo> getPerformance(WmsAnnealPerformanceBo bo) {
|
|
|
|
|
return R.ok(performanceService.queryPerformance(bo));
|
|
|
|
|
}
|
2026-07-11 16:50:44 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询退火计划中的加工前钢卷列表
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/rawCoils")
|
|
|
|
|
public R<List<WmsMaterialCoilVo>> getRawCoils(WmsAnnealPerformanceBo bo) {
|
|
|
|
|
return R.ok(performanceService.queryPlanCoils(bo));
|
|
|
|
|
}
|
2026-03-14 18:39:19 +08:00
|
|
|
}
|