fix(订单中心):新增二维码是否只显示一键成片的属性字段,v2接口根据该属性进行素材的显示
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
<if test="p.qrcodeType != null">
|
||||
AND q.qrcode_type = #{p.qrcodeType}
|
||||
</if>
|
||||
<if test="p.showVideoEditOnly != null">
|
||||
AND q.show_video_edit_only = #{p.showVideoEditOnly}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY q.create_time DESC
|
||||
</select>
|
||||
@@ -56,4 +59,13 @@
|
||||
ORDER BY create_time DESC
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="getByCodeIds" resultMap="QrCodeResultMap">
|
||||
SELECT * FROM qrcodes
|
||||
WHERE code_id IN
|
||||
<foreach collection="codeIds" item="codeId" open="(" separator="," close=")">
|
||||
#{codeId}
|
||||
</foreach>
|
||||
AND is_del = 0
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user