return"SELECT a.*, b.fkrbh, b.fkrxm FROM "+tableName+" a left join dwd_asj_zhtx_fkd b on a.jjdbh = b.jjdbh "+"WHERE a."+originalFieldName+" IN "+"("+uniqueKeys.stream().map(k->"'"+k+"'").collect(Collectors.joining(","))+");";
return"SELECT a.*, b.fkrbh, b.fkrxm FROM "+tableName+" a left join dwd_asj_zhtx_fkd b on a.jjdbh = b.jjdbh "+"WHERE a."+originalFieldName+" IN "+"("+uniqueKeys.stream().map(k->"'"+k+"'").collect(Collectors.joining(","))+");";
}
}
if(modelId==101){
return"SELECT * FROM "+tableName+" a join dwd_ry_jgzhxt_zyryxx b on a.ZHENGJIANHAOMA = b.idcard_no "+"WHERE a."+originalFieldName+" IN "+"("+uniqueKeys.stream().map(k->"'"+k+"'").collect(Collectors.joining(","))+");";
}
return"SELECT * FROM "+tableName+" "+"WHERE "+originalFieldName+" IN "+"("+uniqueKeys.stream().map(k->"'"+k+"'").collect(Collectors.joining(","))+");";
return"SELECT * FROM "+tableName+" "+"WHERE "+originalFieldName+" IN "+"("+uniqueKeys.stream().map(k->"'"+k+"'").collect(Collectors.joining(","))+");";