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.

18 lines
890 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gaotao.modules.base.mapper.BoardMapper">
  4. <select id="ifsCallErrorLogBoard" resultType="IfsCallErrorLogData">
  5. select a.id,a.site,a.interface_name,a.method_type,a.part_no,a.lot_batch_no,a.source_location,a.dest_location,a.qty,a.expired_date,
  6. a.request_data,a.response_data,a.error_message,a.process_status,a.retry_count,a.max_retry,a.created_at,a.updated_at,
  7. a.processed_at,a.processed_by,a.remark,a.serialNos
  8. from ifs_call_error_log a
  9. <where>
  10. a.site=#{site} and a.process_status !='PROCESSED' and method_type like '库存移库%'
  11. <if test="startDate != null">
  12. and a.created_at >= #{startDate}
  13. </if>
  14. </where>
  15. order by a.created_at desc
  16. </select>
  17. </mapper>