@@ -223,9 +223,9 @@ class ClearClass extends BaseClass
$saleList = OrderClass::getAllByCondition(['id' => ['in', $saleArr]], null, 'id,orderSn,bigNum,smallNum,realPrice', null);
$info['orderList'] = $saleList;
$info['orderNum'] = count($saleArr);
- $type = $info['type'] ?? 1;
+ $type = $info['clearStyle'] ?? dict::getDict('clearStyle', 'gys2KmGys');
$operator = $info['ghsShopAdminName'] ?? '';
- if ($type == 1) {
+ if ($type == dict::getDict('clearStyle', 'hd2Gys')) {
$operator = '客户';
}
$info['operator'] = $operator;