|
@@ -63,7 +63,7 @@ class Departuser extends BaseController
|
|
|
$tid = Db::name('company_item')->where(['id'=>$itemid,'is_del'=>0])->find();
|
|
|
//var_dump( Db::name('company_item')->getLastSql());
|
|
|
if(empty($tid)){
|
|
|
- return error_show(1004,"部门不能为空");
|
|
|
+ return error_show(1004,"部门不存在");
|
|
|
}
|
|
|
$status = isset($this->post['status']) && $this->post['status'] !==""? trim($this->post['status']) : "1";
|
|
|
if($status==""){
|