remindModel.php 399 B

1234567891011121314151617181920212223
  1. <?php
  2. //单据提醒设置
  3. class remindClassModel extends Model
  4. {
  5. public function initModel()
  6. {
  7. $this->settable('flow_remind');
  8. }
  9. public function todorun()
  10. {
  11. return m('flow')->initflow('remind')->getremindtodo();
  12. }
  13. /**
  14. * 获取主ID
  15. */
  16. public function getremindrs($table, $mid)
  17. {
  18. $rs = $this->getone("`table`='$table' and `mid`='$mid'");
  19. return $rs;
  20. }
  21. }
粤ICP备19079148号