|
@@ -392,6 +392,7 @@
|
|
<if test="instrumentType != null and instrumentType != '' and instrumentType != '0' and instrumentType != 0">
|
|
<if test="instrumentType != null and instrumentType != '' and instrumentType != '0' and instrumentType != 0">
|
|
and cshd.instrumentType like CONCAT('%',#{instrumentType},'%')
|
|
and cshd.instrumentType like CONCAT('%',#{instrumentType},'%')
|
|
</if>
|
|
</if>
|
|
|
|
+ and cshd.sold != 1
|
|
ORDER BY cshd.onLineDate DESC
|
|
ORDER BY cshd.onLineDate DESC
|
|
</select>
|
|
</select>
|
|
<select id="getSencondHandProductDetail" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|
|
<select id="getSencondHandProductDetail" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|
|
@@ -432,6 +433,7 @@
|
|
<if test="searchKeyword != null and searchKeyword != ''">
|
|
<if test="searchKeyword != null and searchKeyword != ''">
|
|
and p.name like CONCAT('%',#{searchKeyword},'%')
|
|
and p.name like CONCAT('%',#{searchKeyword},'%')
|
|
</if>
|
|
</if>
|
|
|
|
+ and cshd.sold != 1
|
|
ORDER BY cshd.onLineDate DESC
|
|
ORDER BY cshd.onLineDate DESC
|
|
</select>
|
|
</select>
|
|
<select id="getSeconHandProductByLimit" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|
|
<select id="getSeconHandProductByLimit" resultType="com.caimei.module.base.entity.po.SeconHandProduct">
|