修改支付

This commit is contained in:
韩鹏辉
2024-05-20 17:44:19 +08:00
parent cd913643a5
commit c5e337bef3
4 changed files with 36 additions and 3 deletions

View File

@@ -379,7 +379,11 @@
</update>
<select id="selectByOrderId" resultMap="BaseResultMap">
select * from tb_cashier_cart where order_id=#{orderId} and `status`=#{status}
select * from tb_cashier_cart where order_id=#{orderId}
<if test="status != null">
and `status`=#{status}
</if>
</select>
<select id="selectAllByMarketId" resultType="com.chaozhanggui.system.cashierservice.entity.TbCashierCart">
select * from tb_cashier_cart where master_id = #{masterId} and trade_day = #{day} and shop_id = #{shopId} and status = 'create'

View File

@@ -372,5 +372,9 @@
order by id desc
</select>
<select id="selectByUserIdAndShopId" resultMap="BaseResultMap">
select * from tb_shop_user where user_id=#{userId} and shop_id =#{shopId}
</select>
</mapper>