|
@@ -3345,6 +3345,13 @@ class Transfer extends Start_Controller {
|
|
|
echo json_encode(array('msg'=>'请求方式不正确','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'请求方式不正确','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
$id = $this->input->post('id',true);
|
|
$id = $this->input->post('id',true);
|
|
|
|
|
+ $info = $this->systemtransfer->read($id);
|
|
|
|
|
+ if(empty($info)){
|
|
|
|
|
+ echo json_encode(array('msg'=>'数据不存在','success'=>false));exit;
|
|
|
|
|
+ }
|
|
|
|
|
+ if($info['ycrk_type'] == 1){
|
|
|
|
|
+ echo json_encode(array('msg'=>'已添加异常入库','success'=>false));exit;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
//更新数据
|
|
//更新数据
|
|
|
$this->systemtransfer->save([
|
|
$this->systemtransfer->save([
|