提交 c3b5671d authored 作者: fengzy's avatar fengzy

编号测试

上级 8c210569
...@@ -239,8 +239,16 @@ class flowModel extends Model ...@@ -239,8 +239,16 @@ class flowModel extends Model
} }
$this->rs = $this->getone($swhere); $this->rs = $this->getone($swhere);
echo "<pre>";
var_dump($this->rs);die;
foreach ($this->rs as $key => $value) {
switch ($key) {
case 'numb':
$this->rs['sericnum']=$value;
break;
}
}
$this->uname = ''; $this->uname = '';
if(!$this->rs)$this->echomsg('数据记录不存在了'); if(!$this->rs)$this->echomsg('数据记录不存在了');
$this->rs['base_name'] = ''; $this->rs['base_name'] = '';
...@@ -1799,7 +1807,7 @@ class flowModel extends Model ...@@ -1799,7 +1807,7 @@ class flowModel extends Model
$arr['isdel'] = '0'; $arr['isdel'] = '0';
$arr['status'] = $arr['nstatus']; $arr['status'] = $arr['nstatus'];
$arr['createdt']= $arr['optdt']; $arr['createdt']= $arr['optdt'];
$arr['sericnum']= $this->createnum(); $arr['sericnum']=$this->rs['sericnum']?:$this->createnum();
$whes = ''; $whes = '';
$this->sericnum = $arr['sericnum']; $this->sericnum = $arr['sericnum'];
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论