Mybatis中查询条件为map中嵌套list

1、问题,map接受参数为HashMap;怎么根据他查询呢

sql语句:select result as orderRsult,IFNULL(sum(amount),0) as orderAmount,count(1) as orderCount from user_order WHERE app_id IN ( ? ) group by result


对应的mapper:

public List> merOrderView(MapparametersMap);
其中map的结构:
 
  
{app_ids=[4110,4111], begaindate=2017-07-08, enddate=2017-07-09}
mapper.xml为
    
                 
               
               
          

     	  




你可能感兴趣的:(Mybatis中查询条件为map中嵌套list)