信呼OA版本v2.3.8
This commit is contained in:
23
webmain/model/remindModel.php
Normal file
23
webmain/model/remindModel.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
//单据提醒设置
|
||||
class remindClassModel extends Model
|
||||
{
|
||||
public function initModel()
|
||||
{
|
||||
$this->settable('flow_remind');
|
||||
}
|
||||
|
||||
public function todorun()
|
||||
{
|
||||
return m('flow')->initflow('remind')->getremindtodo();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取主ID
|
||||
*/
|
||||
public function getremindrs($table, $mid)
|
||||
{
|
||||
$rs = $this->getone("`table`='$table' and `mid`='$mid'");
|
||||
return $rs;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user