mode_hrtrsalaryAction.php 448 B

1234567891011121314151617
  1. <?php
  2. //调薪申请
  3. class mode_hrtrsalaryClassAction extends inputAction{
  4. protected function savebefore($table, $arr, $id, $addbo){
  5. $uid = $arr['uid'];
  6. $floats = (int)$arr['floats'];
  7. if($floats==0)return '调薪幅度不能为0';
  8. if(m($table)->rows("`uid`='$uid' and `id`<>'$id' and `status` not in(1,5)")>0)return '已有一单在申请中';
  9. }
  10. protected function saveafter($table, $arr, $id, $addbo){
  11. }
  12. }
粤ICP备19079148号