#
Junjie
2024-06-12 5c698a110c552d5ef7af812f89d2950b82724c02
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");