自动化立体仓库 - WMS系统
lty
3 天以前 8e943b7104561c3b14cf223016698709c5ade4b5
src/main/java/com/zy/asrs/service/impl/WrkDetlServiceImpl.java
@@ -9,6 +9,7 @@
import com.zy.asrs.service.MatService;
import com.zy.asrs.service.WrkDetlService;
import com.zy.common.model.DetlDto;
import com.zy.common.utils.HttpHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -71,6 +72,19 @@
    }
    @Override
    public boolean updateAnfme(Double anfme, Integer wrkNo, String matnr, String batch,String barcode) {
        if (anfme <= 0) {
            return this.baseMapper.deleteItem(wrkNo, matnr, batch,barcode) > 0;
        } else {
            return baseMapper.updateAnfme(anfme, wrkNo, matnr, batch,barcode) > 0;
        }
    }
    @Override
    public  boolean updateBuyerLabel(String orderNo,String buyerLabel,String barcode){
        return this.baseMapper.updateBuyerLabel(orderNo, buyerLabel,barcode) > 0;
    }
    @Override
    public List<WrkDetl> selectAndLogByOrderNo(String orderNo) {
        return this.baseMapper.selectAndLogByOrderNo(orderNo);
    }