手持机
This commit is contained in:
@@ -3,6 +3,7 @@ package com.ruoyi.out.outStockoutFinish.service.impl;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.ruoyi.common.annotation.DataScope;
|
||||||
import com.ruoyi.out.outStockout.domain.OutStockout;
|
import com.ruoyi.out.outStockout.domain.OutStockout;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
@@ -95,6 +96,7 @@ public class OutStockoutFinishServiceImpl implements IOutStockoutFinishService
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@DataScope(warehouseAlias = "bw")
|
||||||
public List<OutStockout> selectOutStockoutFinishListByOutStockout(OutStockout outStockout) {
|
public List<OutStockout> selectOutStockoutFinishListByOutStockout(OutStockout outStockout) {
|
||||||
return outStockoutFinishMapper.selectOutStockoutFinishListByOutStockout(outStockout);
|
return outStockoutFinishMapper.selectOutStockoutFinishListByOutStockout(outStockout);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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="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="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="customerName != null and customerName != ''"> and bc.customer_name like concat('%', #{customerName}, '%')</if>
|
||||||
|
<if test="params.warehouseDataScope != null and params.warehouseDataScope !=''">
|
||||||
|
${params.warehouseDataScope}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by o.create_date desc
|
order by o.create_date desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user