tp5数据库操作笔记


 
 

public function getAuthorList(){ $alia = 'a'; $join = 't_op_config_editor b on a.PerID = b.perid'; $where = ''; $field = 'a.PerID,a.CName'; $order = ''; $group = 'a.PerID,a.CName'; $res = $this->TMaPersonal->getDoubleJoinDataList($alia,$join,$where,$field,$order,$group); return $res; }

//似乎group 需要和field的数据一样。至少我这个是的,还没时间搞清楚。

猜你喜欢

转载自blog.csdn.net/qq_21208843/article/details/80909505