|
@@ -106,6 +106,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="beforeExpend != null ">
|
|
|
and us.before_expend is NOT NULL
|
|
|
+ </if>
|
|
|
+ <if test="beforeId != null ">
|
|
|
+ and us.before_id =#{beforeId}
|
|
|
</if>
|
|
|
<if test="majorId != null and majorId != '' ">
|
|
|
and (SELECT m.id FROM goods g LEFT JOIN major m on g.major_id= m.id where us.goods_id = g.goods_id) = #{majorId}
|