木奕
- 木奕 2018-12-25 已签到连续签到1天,获得了5个金钱
- 木奕 2018-06-15 已签到连续签到1天,获得了5个金钱
- 木奕 2018-05-28 已签到连续签到1天,获得了5个金钱
- 木奕 2017-03-28 已签到连续签到1天,获得了5个金钱
- 木奕 回答了问题 yii2的 NavBar如何写入图片也就是logo
NavBar::begin([ 'brandLabel' => '<image class="header-logo" src="/up/logo.png" />', 'brandUrl' => Yii::$app->homeUrl, 'options' => [ 'class' => 'navbar-inverse navbar-fixed-top navbar', ], ]);
- 木奕 赞了说说签到
- 木奕 发表了说说签到
- 木奕 2017-03-23 已签到连续签到1天,获得了5个金钱
- 木奕 回答了问题 yii leftjoin 子查询
Customer::find() ->from(Customer::tableName().' A') ->select(['A.*', 'sum(B.amount)']) ->leftJoin(erp_order::tableName(). ' B', 'A.id = B.customer_id and B.status = 1') ->andWhere(['A.status'=>1]) ->groupBy('A.id') ->asArray() ->all()