puzhibing
2026-05-22 6912e074af61b73307d2fc31b1b8f4974f5eb4f3
ruoyi-service/ruoyi-chargingPile/src/main/resources/mapper/chargingPile/PartnerMapper.xml
@@ -10,6 +10,9 @@
      <result column="role_id" property="roleId" />
      <result column="logo_url" property="logoUrl" />
      <result column="rate" property="rate" />
      <result column="icbc_partner_id" property="icbcPartnerId" />
      <result column="electricity_share_ratio" property="electricityShareRatio" />
      <result column="service_share_ratio" property="serviceShareRatio" />
      <result column="address" property="address" />
      <result column="phone_one" property="phoneOne" />
      <result column="phone_two" property="phoneTwo" />
@@ -26,18 +29,16 @@
      select
      id,
      name,
      role_id as roleId,
      phone_one as phoneOne,
      address,
      account,
      remark
      remark,
      electricity_share_ratio as electricityShareRatio,
      service_share_ratio as serviceShareRatio
      from t_partner where del_flag = 0
      <if test="null != item.name and '' != item.name">
         and `name` like CONCAT('%', #{item.name}, '%')
      </if>
      <if test="null != item.roleId and '' != item.name">
         and role_id =  #{item.roleId}
      </if>
      order by create_time desc
   </select>
</mapper>
</mapper>