fix(shop): 修复订单支付状态错误

- 修复 ShopOrderMapper.xml 中更新订单支付状态的错误
- 添加 SQL 脚本修复已存在的错误数据
- 更新订单支付状态为已付款(1)或未付款(0)- 验证修复结果并生成修复报告
This commit is contained in:
2025-08-31 01:14:49 +08:00
parent d7d4d0d359
commit b105936840
2 changed files with 134 additions and 1 deletions

View File

@@ -286,7 +286,7 @@
pay_type = #{param.payType},
</if>
<if test="param.payStatus != null">
pay_status = #{param.payType},
pay_status = #{param.payStatus},
</if>
<if test="param.orderStatus != null">
order_status = #{param.orderStatus},