作者 xiaohu thinkpad

统计学时问题修复

... ... @@ -2092,7 +2092,7 @@ function id_xueshi($id){
->field(' SUM(yuyue_end - yuyue_begin) as yyxs ')
->select()->toArray();
// return Db::name('yuyue')->getLastSql();
// return $name ;
return $name ;
$yyxs = $name ? $name['yyxs'] : 0;
return $yyxs;
}
... ...