You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
993 B
XML
25 lines
993 B
XML
2 years ago
|
<?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.glxp.api.dao.inout.IoOrderDetailCodeDao">
|
||
|
|
||
|
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailCodeResponse">
|
||
|
select * from io_order_detail_code
|
||
|
<where>
|
||
|
<if test="orderIdFk != null and orderIdFk != ''">
|
||
|
AND orderIdFk = #{orderIdFk}
|
||
|
</if>
|
||
|
<if test="relIdFk != null and relIdFk != ''">
|
||
|
AND bindRlFk = #{relIdFk}
|
||
|
</if>
|
||
|
<if test="nameCode != null and nameCode != ''">
|
||
|
AND nameCode = #{nameCode}
|
||
|
</if>
|
||
|
<if test="batchNo != null and batchNo != ''">
|
||
|
AND batchNo = #{batchNo}
|
||
|
</if>
|
||
|
<if test="uuidFk != null and uuidFk != ''">
|
||
|
AND uuidFk = #{uuidFk}
|
||
|
</if>
|
||
|
</where>
|
||
|
</select>
|
||
|
</mapper>
|