信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,20 @@
<?php
class totalsClassModel extends Model
{
//首页统计的
public function gettotals($uid)
{
$optdt = $this->rock->now;
$arr = array();
$bidb = m('flowbill');
$todo = m('todo')->rows("uid='$uid' and `status`=0 and `tododt`<='$optdt'");
$arr['todo'] = $todo;
$arr['daiban'] = $bidb->daibanshu($uid);
$arr['applywtg']= $bidb->applymywgt($uid);
$arr['workwwc'] = m('work')->getwwctotals($uid);
$arr['email'] = m('emailm')->wdtotal($uid);
$arr['flowtodo']= m('flowtodo')->getwdtotals($uid);
return $arr;
}
}