...
|
...
|
@@ -1848,9 +1848,9 @@ class User extends Api |
|
|
*/
|
|
|
public function record(){
|
|
|
$is_work = $this->auth->is_work; //是否在职:0=否,1=是
|
|
|
$where['deletetime']=null;
|
|
|
if ($is_work == 0){ //未入职
|
|
|
$where['status'] = '0';
|
|
|
$where['deletetime']=null;
|
|
|
$inform= new Inform;
|
|
|
$reclist = $inform
|
|
|
->where($where)
|
...
|
...
|
@@ -1861,7 +1861,6 @@ class User extends Api |
|
|
if ($is_work == 1){
|
|
|
$factory_id = $this->auth->factory_id; //工厂id//已入职
|
|
|
$where['factory_id']=$factory_id;
|
|
|
$where['deletetime']=null;
|
|
|
$inform= new Inform;
|
|
|
$reclist = $inform
|
|
|
->where($where)
|
...
|
...
|
|