Commit 3a30d135 authored by zhengyi's avatar zhengyi

sql修复

parent 2166d304
......@@ -79,7 +79,7 @@ public interface OrderWarehouseApprovalMapper extends AbstractMapper<OrderWareho
"from ecw_order_warehouse_approval a",
"where ",
"a.order_ids = #{orderId} ",
"<when test = 'types != null and types.size() > 0'>",
"<when test = 'typeList != null and typeList.size() > 0'>",
"and a.type in <foreach item='type' index='index' collection='typeList' open='(' separator=',' close=')'>#{type}</foreach> ",
"</when>",
"<when test = 'orderItemIdList != null and orderItemIdList.size() > 0'>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment