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.
 
 
 
 
 
 

19 lines
890 B

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gaotao.modules.base.mapper.BoardMapper">
<select id="ifsCallErrorLogBoard" resultType="IfsCallErrorLogData">
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,
a.request_data,a.response_data,a.error_message,a.process_status,a.retry_count,a.max_retry,a.created_at,a.updated_at,
a.processed_at,a.processed_by,a.remark,a.serialNos
from ifs_call_error_log a
<where>
a.site=#{site} and a.process_status !='PROCESSED' and method_type like '库存移库%'
<if test="startDate != null">
and a.created_at >= #{startDate}
</if>
</where>
order by a.created_at desc
</select>
</mapper>