<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [數據模型]-查詢`date`類型字段最大日期 ~~~ /** * 返回數據表date最新日期 * * @return int 當前id最大值 */ public function getRecentDate() { try { $res = $this->field('date')->order('date desc')->limit(1)->select(); return $res ? $res[0]->date : null; } catch (\Exception $e) { throw new \think\Exception('異常消息:' . $e->getMessage()); } } ~~~ [數據庫類]-查詢日期最大值 ~~~ <?php namespace app\index\model; use app\common\model\RemoteModel; use think\Db; use think\Model; class Retention extends RemoteModel { protected $connection = ['prefix' => 'acc_dragon_']; /** * 初始化 * * @return void */ protected function initialize() { parent::initialize(); $this->table = 'acc_dragon_retention'; } /** * 返回數據表主鍵ID最大值 * * @return int 當前id最大值 */ public function getRecentDate() { try { $sql = "select date from `acc_dragon_retention` order by `date` desc limit 1"; $res = Db::query($sql); return $res ? $res[0]['date'] : null; } catch (\Exception $e) { throw new \think\Exception('異常消息:' . $e->getMessage()); } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看