فهرست منبع

修改退货日志记录

lvhao 7 ماه پیش
والد
کامیت
06f33fa88a
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      core/CoreApp/models/Model_retreatlogs.php

+ 4 - 0
core/CoreApp/models/Model_retreatlogs.php

@@ -7,4 +7,8 @@ class Model_retreatlogs extends Lin_Model
         $this->table = 'retreatlogs';
         $this->load_table('retreatlogs');
     }
+
+    public function getInfoByNumber($number){
+        return $this->find("number = '$number'","*","id DESC");
+    }
 }