diff --git a/mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml b/mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml index 26e4889b7..0f45a1d81 100644 --- a/mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCUserCarMapper.xml @@ -22,7 +22,7 @@ - where 1 = 1 + and wcuc.`id` = #{id} @@ -76,21 +76,25 @@ ,wcubi.`phone` from wx_c_user_car wcuc left join wx_c_user_basic_info wcubi on wcubi.id = wcuc.c_user_id - + where 1 = 1 and wcubi.`phone` = like concat('%', #{userPhone},'%') + +