信呼OA版本v2.3.8
This commit is contained in:
14
webmain/model/workModel.php
Normal file
14
webmain/model/workModel.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
class workClassModel extends Model
|
||||
{
|
||||
/**
|
||||
* 未完成统计的也可以用m('flow')->initflow('work')->getdaiban();
|
||||
*/
|
||||
public function getwwctotals($uid)
|
||||
{
|
||||
$s = $this->rock->dbinstr('distid', $uid);
|
||||
$to = $this->rows('`status` in(3,4) and '.$s.'');
|
||||
|
||||
return $to;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user