付款查询限制

This commit is contained in:
2025-08-01 10:53:33 +08:00
parent 41269572c7
commit 6f4c7f605a
4 changed files with 5 additions and 5 deletions

View File

@@ -500,7 +500,7 @@
select * from order_item where id = #{id}
</select>
<select id="queryTypeOrder" resultType="com.ycwl.basic.model.pc.order.entity.OrderEntity">
select * from `order` where member_id = #{userId} and type = #{orderType} and price_config_id = #{priceConfigId}
select * from `order` where member_id = #{userId} and face_id = #{faceId} and type = #{orderType} and price_config_id = #{priceConfigId}
limit 1
</select>
<select id="getUserOrderItem" resultType="com.ycwl.basic.model.pc.order.entity.OrderEntity">