手持机

This commit is contained in:
张怡蓉
2025-09-12 15:34:32 +08:00
parent 0e82934fc3
commit b4a8569e36
2 changed files with 5 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package com.ruoyi.out.outStockoutFinish.service.impl;
import java.util.Collections;
import java.util.List;
import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.out.outStockout.domain.OutStockout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -95,6 +96,7 @@ public class OutStockoutFinishServiceImpl implements IOutStockoutFinishService
}
@Override
@DataScope(warehouseAlias = "bw")
public List<OutStockout> selectOutStockoutFinishListByOutStockout(OutStockout outStockout) {
return outStockoutFinishMapper.selectOutStockoutFinishListByOutStockout(outStockout);
}

View File

@@ -161,6 +161,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="productId != null and productId != ''"> and d.product_id = #{productId}</if>
<if test="productName != null and productName != ''"> and bp.product_name like concat('%', #{productName}, '%')</if>
<if test="customerName != null and customerName != ''"> and bc.customer_name like concat('%', #{customerName}, '%')</if>
<if test="params.warehouseDataScope != null and params.warehouseDataScope !=''">
${params.warehouseDataScope}
</if>
</where>
order by o.create_date desc
</select>