增加firstorder字段

This commit is contained in:
shuo.wang
2024-05-10 09:58:31 +08:00
parent e150547cf4
commit a8e3d0fdc9
3 changed files with 16 additions and 4 deletions

View File

@@ -17,8 +17,7 @@
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap>
<select id="selectByShopId" resultType="com.cool.store.dto.openPreparation.FirstOrderDTO">
select id, total_order_deposit as totalOrderDeposit, latest_payment_date as latestPaymentDate ,
estimated_cost as estimatedCost ,fruits_cost as fruitsCost
select *
from xfsg_first_order
where shop_id = #{shopId}
</select>