...
|
...
|
@@ -2091,8 +2091,8 @@ function id_xueshi($id){ |
|
|
->where(['uid'=>$id,'status'=>'3'])
|
|
|
->field(' SUM(yuyue_end - yuyue_begin) as yyxs ')
|
|
|
->select();
|
|
|
return Db::name('yuyue')->getLastSql();
|
|
|
var_dump($name);
|
|
|
// return Db::name('yuyue')->getLastSql();
|
|
|
return $name ;
|
|
|
$yyxs = $name ? $name['yyxs'] : 0;
|
|
|
return $yyxs;
|
|
|
}
|
...
|
...
|
|