From 7039c7f1a1feacc5479cbe7b886f239dea3ef1e6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 10 十一月 2025 14:05:08 +0800
Subject: [PATCH] Merge branch 'dev-1.3.0.1' of http://120.26.58.240:8888/r/flexJobMiniApp into dev-1.3.0.1

---
 packages/utils/orderUtils.ts |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/packages/utils/orderUtils.ts b/packages/utils/orderUtils.ts
index ef5a469..14844c1 100644
--- a/packages/utils/orderUtils.ts
+++ b/packages/utils/orderUtils.ts
@@ -1,4 +1,8 @@
-import { EnumBillingMethod, BillingMethodEnumUnit } from '@12333/constants';
+import {
+  EnumBillingMethod,
+  BillingMethodEnumUnit,
+  EnumTaskCheckReceiveMethod,
+} from '@12333/constants';
 
 export class OrderUtils {
   static getServiceFeeText(serviceFee: number, billingMethod: EnumBillingMethod) {
@@ -7,4 +11,9 @@
     }
     return `${serviceFee ?? 0}${BillingMethodEnumUnit[billingMethod]}`;
   }
+
+  static isContainCheckIn(checkReceiveMethods: EnumTaskCheckReceiveMethod[]) {
+    if (!checkReceiveMethods) return false;
+    return checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.CheckIn);
+  }
 }

--
Gitblit v1.9.1