|
|
@@ -626,12 +626,22 @@ class PurchaseController extends BaseController
|
|
|
} else {
|
|
|
|
|
|
OrderClass::onlinePrint($order);
|
|
|
-
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
if (isset($ext->printSn) && !empty($ext->printSn)) {
|
|
|
$order->printNum += 1;
|
|
|
$order->save();
|
|
|
}
|
|
|
+
|
|
|
+ //小齐鲜花打二次小票,有多处要修改搜索关键词tow_print
|
|
|
+ if (in_array($order->mainId, [40624])) {
|
|
|
+ OrderClass::onlinePrint($order);
|
|
|
+ $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
+ if (isset($ext->printSn) && !empty($ext->printSn)) {
|
|
|
+ $order->printNum += 1;
|
|
|
+ $order->save();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|