开放搜索使用联表查询,会出现id_1冲突,导致数据被覆盖,数据缺失
例如测试的sql
SELECT ei_customer.*,ei_customer.brm_user_id as "brm_user_id_1",ei_adviser_customer_relate.customer_group_id,ei_adviser_customer_relate.id as 'id_1' FROM ei_customer,ei_adviser_customer_relate WHERE ei_adviser_customer_relate.brm_user_id = ei_customer.brm_user_id AND ei_customer.brm_user_id = 122174339118468
由于mysql id_1 查询出来不是唯一的,但开放搜索 搜出来却被覆盖数据了 缺失数据!尽快解决吧谢谢