旭捷内部项目管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
624 B

  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.gaotao.modules.customer.mapper.CustomerMapper">
  6. <select id="findAll" resultType="com.gaotao.modules.customer.entity.Customer">
  7. SELECT * FROM customer
  8. <where>
  9. <if test="query.customerName != null and query.customerName != ''">
  10. customer_name like '%' + #{query.customerName} + '%'
  11. </if>
  12. </where>
  13. order by entered_date desc
  14. </select>
  15. </mapper>