Browse Source

客户端-下单-解决写入公证处时提示’未查询到订单信息‘问题

sunxbiao 10 months ago
parent
commit
90172c6aa0

+ 2 - 0
app/common/repositories/gzc/GzcLogRepository.php

@@ -47,6 +47,7 @@ class GzcLogRepository extends BaseRepository
47
      */
47
      */
48
     public function addGzcLog(int $uid, string $userName, string $mobile, string $userCard, int $orderType, string $orderId, float $pension, int $payType = 0): GzcLogEntity
48
     public function addGzcLog(int $uid, string $userName, string $mobile, string $userCard, int $orderType, string $orderId, float $pension, int $payType = 0): GzcLogEntity
49
     {
49
     {
50
+        $linkId = 0;
50
         $orderSn = '';
51
         $orderSn = '';
51
         $payTime = '';
52
         $payTime = '';
52
         if ($orderType == CommonEnum::ORDER_TYPE['Platform']['code']) {
53
         if ($orderType == CommonEnum::ORDER_TYPE['Platform']['code']) {
@@ -68,6 +69,7 @@ class GzcLogRepository extends BaseRepository
68
         /** @var GzcLogEntity $gzcLogEntity */
69
         /** @var GzcLogEntity $gzcLogEntity */
69
         $gzcLogEntity = GzcLogEntity::newInstance();
70
         $gzcLogEntity = GzcLogEntity::newInstance();
70
         $gzcLogEntity->setUid($uid)
71
         $gzcLogEntity->setUid($uid)
72
+            ->setPlatformNo('IN10' . (int)(microtime(true) * 1000) . mt_rand(10000, 99999))
71
             ->setUserName($userName)
73
             ->setUserName($userName)
72
             ->setMobile($mobile)
74
             ->setMobile($mobile)
73
             ->setUserCard($userCard)
75
             ->setUserCard($userCard)

+ 1 - 1
app/common/repositories/user/UserBillRepository.php

@@ -600,7 +600,7 @@ class UserBillRepository extends BaseRepository
600
                                 $userCertificationEntity->getMobile(),
600
                                 $userCertificationEntity->getMobile(),
601
                                 $userCertificationEntity->getUserCard(),
601
                                 $userCertificationEntity->getUserCard(),
602
                                 $userBillEntity->getTypeShop(),
602
                                 $userBillEntity->getTypeShop(),
603
-                                $userBillEntity->getOrderSn(),
603
+                                $userBillEntity->getLinkId(),
604
                                 $userBillEntity->getNumber()
604
                                 $userBillEntity->getNumber()
605
                             );
605
                             );
606
 
606