Commit 2fc8f54a authored by yangyang's avatar yangyang

ICBC 人大金仓 SQL 兼容

parent 4d2f2329
...@@ -52,7 +52,8 @@ ...@@ -52,7 +52,8 @@
ifnull(icbc.id_card, ph.id_card) as idCard, ifnull(icbc.id_card, ph.id_card) as idCard,
ph.amos_user_id, ph.amos_user_id,
icbc.open_account_status, icbc.open_account_status,
icbc.protocol_status icbc.protocol_status,
ph.rec_date
FROM FROM
hygf_peasant_household ph LEFT JOIN hygf_icbc_record icbc ON ph.amos_user_id = icbc.amos_user_id hygf_peasant_household ph LEFT JOIN hygf_icbc_record icbc ON ph.amos_user_id = icbc.amos_user_id
<where> <where>
...@@ -86,8 +87,6 @@ ...@@ -86,8 +87,6 @@
<if test="param.offset != null and param.offset != '' and param.limit != null and param.limit != ''"> <if test="param.offset != null and param.offset != '' and param.limit != null and param.limit != ''">
LIMIT ${param.offset}, ${param.limit} LIMIT ${param.offset}, ${param.limit}
</if> </if>
GROUP BY
ph.amos_user_id
ORDER BY ORDER BY
ph.rec_date DESC ph.rec_date DESC
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment