|
|
@@ -290,6 +290,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND s.goods_id =#{goodsId}
|
|
|
) >0
|
|
|
</if>
|
|
|
+ <if test="hasInterface != null and hasInterface == 0">
|
|
|
+ AND g.interface_account_id is null AND g.no_interface_account_id is null
|
|
|
+ </if>
|
|
|
+ <if test="hasInterface != null and hasInterface == 1">
|
|
|
+ AND g.interface_account_id is not null
|
|
|
+ </if>
|
|
|
+ <if test="hasInterface != null and hasInterface == 2">
|
|
|
+ AND g.no_interface_account_id is not null
|
|
|
+ </if>
|
|
|
order by g.create_time desc
|
|
|
</select>
|
|
|
|