信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
* 模块.图书借阅
*/
class flow_bookborrowClassModel extends flowModel
{
public function flowrsreplace($rs)
{
$fte = '<font color=red>否</font>';
$isgh= 0;
if(!isempt($rs['ghtime'])){
$fte = '<font color=green>是</font>';
$isgh= 1;
}
if($rs['isgh'] != $isgh)$this->update('`isgh`='.$isgh.'', $rs['id']);
$rs['isgh'] = $fte;
return $rs;
}
}