| | |
| | | import cn.iocoder.yudao.module.mes.controller.admin.qc.oqc.vo.MesQcOqcSaveReqVO; |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.qc.defectrecord.MesQcDefectRecordDO; |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.qc.oqc.MesQcOqcDO; |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.wm.productsales.MesWmProductSalesLineDO; |
| | | import jakarta.validation.Valid; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | void recalculateDefectStats(Long oqcId, List<MesQcDefectRecordDO> records); |
| | | |
| | | /** |
| | | * 根据销售出库单明细自动创建 OQC 检验单 |
| | | * |
| | | * @param salesId 销售出库单 ID |
| | | * @param line 销售出库单明细 |
| | | * @param salesCode 销售出库单编码 |
| | | * @param clientId 客户 ID |
| | | * @return OQC 检验单 ID |
| | | */ |
| | | Long createOqcFromProductSales(Long salesId, MesWmProductSalesLineDO line, String salesCode, Long clientId); |
| | | |
| | | } |