$fields2 = str_replace(',', ',u_.', $fields);//字段补个前缀 u_
$fields2 = 'u_.'. $fields2;
$cardSql = Db::table('c_user_idcard')->field('s_uid')->buildSql();
//调试语句
// $list = Db::table('c_user')->field($fields2)->alias('u_')
// ->join([
// $cardSql => 'card_'
// ], "u_.u_id = card_.s_uid WHERE card_.s_uid is NULL AND {$whereStr}", "left")->fetchSql()->select();
$res = Db::table('c_user')->field($fields2)->alias('u_')
->join([
$cardSql => 'card_'
], "u_.u_id = card_.s_uid WHERE card_.s_uid is NULL AND {$whereStr}", "left")->paginate($pageSize,false, [
'page' => $page,
]);