提交 341032bb authored 作者: fengzy's avatar fengzy

编号测试

上级 93b6f954
...@@ -1802,16 +1802,17 @@ class flowModel extends Model ...@@ -1802,16 +1802,17 @@ class flowModel extends Model
'udeptname' => $this->rs['base_deptname'], 'udeptname' => $this->rs['base_deptname'],
'uid' => $this->uid, 'uid' => $this->uid,
); );
// $this->rs['sericnum']?:$this->createnum() //
foreach($oarr as $k=>$v)$arr[$k]=$v; foreach($oarr as $k=>$v)$arr[$k]=$v;
if($biid==0){ if($biid==0){
$arr['isdel'] = '0'; $arr['isdel'] = '0';
$arr['status'] = $arr['nstatus']; $arr['status'] = $arr['nstatus'];
$arr['createdt']= $arr['optdt']; $arr['createdt']= $arr['optdt'];
$arr['sericnum']='HT-111111111'; $arr['sericnum']=$this->rs['sericnum'] ?: $this->createnum();
$whes = ''; $whes = '';
$this->sericnum = $arr['sericnum']; $this->sericnum = $arr['sericnum'];
var_dump($arr['sericnum']);
} }
$dbs->record($arr, $whes); $dbs->record($arr, $whes);
return $arr; return $arr;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论