CrmCustomerLevelMapper.xml 559 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.fs.crm.mapper.CrmCustomerLevelMapper">
  6. <select id="selectCrmCustomerLevelVOList" resultType="com.fs.crm.vo.CrmCustomerLevelVO">
  7. select
  8. ccl.*
  9. from crm_customer_level ccl
  10. <where>
  11. <if test="name != null and name != ''">
  12. and ccl.name like concat('%', #{name}, '%')
  13. </if>
  14. </where>
  15. </select>
  16. </mapper>