feat:用户未拿商品情况

This commit is contained in:
dzc committed 2025-04-18 17:51:00 +08:00
1 parent 9b30b1337f
commit b27be081af
2 files changed
+2 -2

No files matched your search

@@ -19,7 +19,7 @@ public enum HardOrderStatusEnum {
OFFLINE_PAY("6", "没有网络本地支付"),
REFUND("10", "退款"),
CANCEL("20", "已核销"),
UNFOLLOW("30", "已取消(智能柜使用)"),
UNFOLLOW("30", "已取消(智能柜)"),
;
private final String type;
private final String description;
@@ -340,7 +340,7 @@ public class HardDoorFlowServiceImpl extends ServiceImpl<HardDoorFlowMapper, Har
String ksFlowCode = dto.getState().getCode();
String ksRecognitionCode = dto.getResult().getStatus().getCode();
if (ObjectUtil.notEqual(ksFlowCode, "2") || ObjectUtil.notEqual(ksRecognitionCode, "2")) {
if (ObjectUtil.equals(ksFlowCode, "2") && ObjectUtil.notEqual(ksRecognitionCode, "3")) {
if (ObjectUtil.equals(ksFlowCode, "2") && ObjectUtil.equals(ksRecognitionCode, "3")) {
// 未拿商品取消订单
hardOrderService.cancelHardDoorOrder(flowDetail.getOrderId());
getSelf().flowStatusControl(flowDetail, null, dto, "");