mes-processes/mes-plcSend/src/main/java/com/mes/device/service/GlassInfoService.java
@@ -75,5 +75,21 @@ * 批量更新玻璃状态 */ boolean updateGlassStatus(List<String> glassIds, String status); /** * 获取 MES 工程导入 URL * * @return MES 工程导入 URL */ String getMesEngineeringImportUrl(); /** * 将前端上传的 Excel 行数据转换为 MES 导入工程所需的 JSON 结构 * * @param excelRows 前端解析后的行数据,字段示例: * glassId,width,height,thickness,quantity,orderNumber,filmsId,flowCardId,productName,customerName * @return 符合 MES 接口要求的请求体 Map */ Map<String, Object> buildEngineerImportPayload(List<Map<String, Object>> excelRows); }