public function indexkehu(){
    $db = D("Fangjian");
    $user = $db->where("station='1'")->getField('user',true);//查出满房的房间的客户
    
    $tiaojian = implode(',',$user);
    $db = D("Kehu");
    $map['ids']=array('in',$tiaojian);
    $result = $db->where($map)->select();
    $this->assign("user",$result);
    $this->show();
}

 

相关文章:

  • 2021-04-02
  • 2022-12-23
  • 2022-01-12
  • 2021-08-21
  • 2021-05-21
  • 2021-07-18
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
相关资源
相似解决方案