取消退款
This commit is contained in:
@@ -105,7 +105,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
|
|||||||
if (record1 == null) {
|
if (record1 == null) {
|
||||||
throw new CzgException("取消失败,订单不存在");
|
throw new CzgException("取消失败,订单不存在");
|
||||||
}
|
}
|
||||||
if (record1.getStatus().equals("退款中")) {
|
if (!record1.getStatus().equals("退款中")) {
|
||||||
throw new CzgException("取消失败,订单不处于退款中");
|
throw new CzgException("取消失败,订单不处于退款中");
|
||||||
}
|
}
|
||||||
MkPointsGoodsRecord record = new MkPointsGoodsRecord();
|
MkPointsGoodsRecord record = new MkPointsGoodsRecord();
|
||||||
|
|||||||
Reference in New Issue
Block a user