合并问题处理

20230922-ljl-fixBug
daixiaogang 1 year ago
parent a6d19c0eb5
commit 923d564e2c

@ -103,4 +103,14 @@
gmt_modified = #{gmtModified,jdbcType=TIMESTAMP}
where op_order_child_after_sale_id = #{opOrderChildAfterSaleId,jdbcType=BIGINT}
</update>
<select id="seteltByChildOrderIds" resultType="com.ms.dal.entity.OpOrderChildAfterSale">
SELECT * FROM op_order_child_after_sale
WHERE 1 =1
<if test="childOrderIds!=null and childOrderIds.size>0">
AND child_order_id IN
<foreach collection="childOrderIds" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
</select>
</mapper>

Loading…
Cancel
Save