取消退款

This commit is contained in:
2025-12-11 09:18:57 +08:00
parent 94d66ecc1c
commit f74d0070cf

View File

@@ -105,7 +105,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
if (record1 == null) {
throw new CzgException("取消失败,订单不存在");
}
if (record1.getStatus().equals("退款中")) {
if (!record1.getStatus().equals("退款中")) {
throw new CzgException("取消失败,订单不处于退款中");
}
MkPointsGoodsRecord record = new MkPointsGoodsRecord();