package org.ta.pddserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.ta.pddserver.entity.LogOrderEntity;

@Mapper
public interface LogOrderMapper extends BaseMapper<LogOrderEntity> {
    @Update("UPDATE `log_order` SET `packageQuantity` = ${packageQuantity} WHERE `logisticsOrderCode` = #{logisticsOrderCode};")
    Boolean savePackageQuantity(String logisticsOrderCode, long packageQuantity);
}
