package com.warewms.hailiang.MES; import cn.hutool.json.JSONObject; import org.springframework.stereotype.Service; /** * Created with IntelliJ IDEA. * * @author: liuzhifei * Date: 2023/8/9 * Time: 11:20 * To change this template use File | Settings | File Templates. * Description: MES对接服务层 **/ public interface MesService { /** * 根据重量获取批次号 * @param weight 重量 * @param prodLine 产线编号 * @return */ public String getBatchNoByWeight(Double weight,String prodLine); /** * 获取批次号反馈 * @param batchNo * @return */ public JSONObject getBatchNoResult(String batchNo,boolean result); /** * 工艺反馈接口 */ public JSONObject processFeedback(String batchNo,String type); }