Commit 3a30d135 authored by zhengyi's avatar zhengyi

sql修复

parent 2166d304
...@@ -79,7 +79,7 @@ public interface OrderWarehouseApprovalMapper extends AbstractMapper<OrderWareho ...@@ -79,7 +79,7 @@ public interface OrderWarehouseApprovalMapper extends AbstractMapper<OrderWareho
"from ecw_order_warehouse_approval a", "from ecw_order_warehouse_approval a",
"where ", "where ",
"a.order_ids = #{orderId} ", "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> ", "and a.type in <foreach item='type' index='index' collection='typeList' open='(' separator=',' close=')'>#{type}</foreach> ",
"</when>", "</when>",
"<when test = 'orderItemIdList != null and orderItemIdList.size() > 0'>", "<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