include('../common/conn.php');
$list=[];
$sql="SELECT  a.cCusCode,a.cCusName,b.cCCName,a.cCusDepart,c.cDepName FROM dbo.Customer a LEFT JOIN dbo.CustomerClass b on a.cCCCode=b.cCCCode LEFT JOIN dbo.Department c on c.cDepCode=a.cCusDepart  where b.cCCCode like '300%'";
$list=$db->getAll($sql);
$list=array_iconv($list);
if(is_array($list)){
    echo json_encode($list,JSON_UNESCAPED_UNICODE);
}

 

相关文章:

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