hrmanshiModel.php 494 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * 人事模块.面试安排
  4. */
  5. class flow_hrmanshiClassModel extends flowModel
  6. {
  7. public function flowrsreplace($rs, $lx=0)
  8. {
  9. $statearr = array('待面试','录用','不适合');
  10. $rs['state'] = arrvalue($statearr, $rs['state']);
  11. return $rs;
  12. }
  13. //面试处理,不时候
  14. protected function flowcheckbefore($zt=0, $ufied=null, $sm='')
  15. {
  16. $num = $this->nowcourse['num'];
  17. if($zt==2 && $num=='msque'){
  18. $this->update('state=2', $this->id);
  19. }
  20. }
  21. }
粤ICP备19079148号