浏览代码

合同编号

zhanglinxin 1 年之前
父节点
当前提交
8f6984a839
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      application/common/service/ApproveInfoService.php
  2. 1 1
      application/common/service/CommonService.php

+ 1 - 0
application/common/service/ApproveInfoService.php

@@ -128,6 +128,7 @@ class ApproveInfoService
                 if ($module == CommonConstant::MODULE_9) {
                     unset($data['reason']);
                 }
+                unset($data['order_no']);
                 $save_data = [
                     'create_at' => date('Y-m-d H:i:s'),
                 ];

+ 1 - 1
application/common/service/CommonService.php

@@ -23,7 +23,7 @@ class CommonService
     public static function get_contract_no($type){
         $type_no = ContractConstant::get_type_no_list()[$type];
         $date = date('Ymd');
-        $number = 1;
+        $number = 1; // TODO redis缓存
         $number = filling_method($number,$number);
         $data = 'SET'.$type_no.$date.$number;
         return $data;