|
@@ -55,17 +55,18 @@
|
|
|
<select id="selectPoCollectionList" parameterType="PoCollection" resultMap="PoCollectionResult">
|
|
|
<include refid="selectPoCollectionVo"/>
|
|
|
<where>
|
|
|
- <if test="collectionTitle != null and collectionTitle != ''"> and collection_title = #{collectionTitle}</if>
|
|
|
- <if test="status != null and status != ''"> and status = #{status}</if>
|
|
|
- <if test="collectionType != null "> and collection_type = #{collectionType}</if>
|
|
|
- <if test="total != null "> and total = #{total}</if>
|
|
|
- <if test="formwork != null and formwork != ''"> and formwork = #{formwork}</if>
|
|
|
- <if test="price != null "> and price = #{price}</if>
|
|
|
- <if test="publisherName != null "> and publisher_name like concat('%', #{publisherName}, '%')</if>
|
|
|
- <if test="grounding != null "> and grounding = #{grounding}</if>
|
|
|
- <if test="cochain != null "> and cochain = #{cochain}</if>
|
|
|
- <if test="tetherId != null "> and tether_id = #{tetherId}</if>
|
|
|
+ <if test="collectionTitle != null and collectionTitle != ''">and collection_title = #{collectionTitle}</if>
|
|
|
+ <if test="status != null and status != ''">and status = #{status}</if>
|
|
|
+ <if test="collectionType != null ">and collection_type = #{collectionType}</if>
|
|
|
+ <if test="total != null ">and total = #{total}</if>
|
|
|
+ <if test="formwork != null and formwork != ''">and formwork = #{formwork}</if>
|
|
|
+ <if test="price != null ">and price = #{price}</if>
|
|
|
+ <if test="publisherName != null ">and publisher_name like concat('%', #{publisherName}, '%')</if>
|
|
|
+ <if test="grounding != null ">and grounding = #{grounding}</if>
|
|
|
+ <if test="cochain != null ">and cochain = #{cochain}</if>
|
|
|
+ <if test="tetherId != null ">and tether_id = #{tetherId}</if>
|
|
|
<if test="delFlag != null">and del_flag = #{delFlag}</if>
|
|
|
+ <if test="delFlag == null">and del_flag = #{0}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|