Commit be98ad64 authored by Smile's avatar Smile

任务88:客户端改造,首页添加查询

parent 8346cf71
......@@ -1549,6 +1549,10 @@ public interface OrderMapper extends AbstractMapper<OrderDO> {
"<when test = 'query.status != null'>",
"AND o.`status` = #{query.status}",
"</when>",
"<when test = 'query.statusList != null and query.statusList.size() > 0'> ",
"AND o.`status` in ",
"<foreach item='statusItem' index='index' collection='query.statusList' open='(' separator=',' close=')'>#{statusItem}</foreach> ",
"</when> ",
"<when test = 'query.packageType != null and query.packageType != \"\" '>",
"AND CONCAT(',',o.package_type,',') REGEXP CONCAT(',',REPLACE(#{query.packageType},',',',|,'), ',')",
"</when>",
......
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