#
zjj
2024-06-18 ee6e7a5260183a0ac977d6ff21fe3de6f70d3bdd
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/model/protocol/StaProtocol.java
@@ -1,6 +1,6 @@
package com.zy.asrs.wcs.rcs.model.protocol;
import com.zy.asrs.wcs.core.entity.Station;
import com.zy.asrs.wcs.core.entity.BasConveyorSta;
import lombok.Data;
/**
@@ -81,9 +81,9 @@
        return null;
    }
    public Station toSqlModel(Station station){
        station.setStaNo(String.valueOf(siteId));
        station.setTaskNo(String.valueOf(workNo));
    public BasConveyorSta toSqlModel(BasConveyorSta station){
        station.setSiteNo(siteId);
        station.setTaskNo(workNo.intValue());
        station.setAutoing(autoing?"Y":"N");
        station.setLoading(loading?"Y":"N");
        station.setInEnable(inEnable?"Y":"N");