发布v2.7.1版本

This commit is contained in:
雨中磐石
2025-12-24 10:03:51 +08:00
parent 69f5376af9
commit 60f759a90c
16 changed files with 230 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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;
}

View File

@@ -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()
{