发布v2.7.1版本
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -40,6 +40,10 @@ class flow_hrkaohemClassModel extends flowModel
|
||||
foreach($zbdata as $k1=>$rs1)$str.=''.$rs1['pfname'].'('.$rs1['pfweight'].'%);';
|
||||
$rs['temp_pfren'] = $str;
|
||||
}
|
||||
if($rs['enddt']<$this->rock->date){
|
||||
$rs['ishui']=1;
|
||||
$rs['enddt'].='(已截止)';
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
|
||||
@@ -126,6 +126,13 @@ class flow_userClassModel extends flowModel
|
||||
if($uarr)$dbs->update($uarr, $id);
|
||||
}
|
||||
|
||||
//删除前判断
|
||||
protected function flowdeletebillbefore()
|
||||
{
|
||||
$rs = m('flowbill')->getone('`uid`='.$this->id.' and `status`=0');
|
||||
if($rs)return '此用户申请的['.$rs['modename'].']流程还未完成,不能删除,可以先停用';
|
||||
}
|
||||
|
||||
//导入数据的测试显示
|
||||
public function flowdaorutestdata()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user