|
@@ -229,9 +229,9 @@ class ReportingWork extends Api
|
|
|
$sql = Db::name('制程检验_记录')->fetchSql(true)->insert($data);
|
|
$sql = Db::name('制程检验_记录')->fetchSql(true)->insert($data);
|
|
|
$result = Db::query($sql);
|
|
$result = Db::query($sql);
|
|
|
if ($result === false){
|
|
if ($result === false){
|
|
|
- $this->success('提交成功');
|
|
|
|
|
- }else{
|
|
|
|
|
$this->error('提交失败');
|
|
$this->error('提交失败');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $this->success('提交成功');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|