1.修复单据相关的问题
parent
1039fb0158
commit
a91cb4e194
@ -1,19 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!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.IoOrderDetailBizDao">
|
<mapper namespace="com.glxp.api.dao.inout.IoOrderDetailBizDao">
|
||||||
|
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailBizResponse">
|
||||||
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailBizResponse">
|
select io_order_detail_biz.*
|
||||||
select * from io_order_detail_biz
|
from io_order_detail_biz
|
||||||
<where>
|
left join basic_udirel bu on bu.id = io_order_detail_biz.bindRlFk
|
||||||
<if test="orderIdFk != null and orderIdFk != ''">
|
left join basic_products bp on bu.uuid = bp.uuid
|
||||||
AND orderIdFk = #{orderIdFk}
|
<where>
|
||||||
</if>
|
<if test="orderIdFk != null and orderIdFk != ''">
|
||||||
<if test="relId != null">
|
AND orderIdFk = #{orderIdFk}
|
||||||
AND bindRlFk = #{relId}
|
</if>
|
||||||
</if>
|
<if test="relId != null">
|
||||||
<if test="batchNo != null and batchNo != ''">
|
AND bindRlFk = #{relId}
|
||||||
AND batchNo = #{batchNo}
|
</if>
|
||||||
</if>
|
<if test="batchNo != null and batchNo != ''">
|
||||||
</where>
|
AND batchNo = #{batchNo}
|
||||||
|
</if>
|
||||||
|
<if test="productName != null and productName != ''">
|
||||||
|
AND bp.cpmctymc like concat('%', #{productName}, '%')
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
group by io_order_detail_biz.id
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue