@Select("select w1.id from ecw_warehouse_line w1 left join ecw_warehouse_line w2 on w1.dest_warehouse_id = w2.dest_warehouse_id where w1.deleted = 0 and w2.id = #{lineId}")
@@ -301,8 +301,11 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
"</when>",
")",
"<when test = 'queryVO.lineId != null'>",
"AND o.`line_id` = #{queryVO.lineId}",
"AND o.`line_id` in (select w1.id from ecw_warehouse_line w1 left join ecw_warehouse_line w2 on w1.dest_warehouse_id = w2.dest_warehouse_id where w1.deleted = 0 and w2.id = #{queryVO.lineId})",