|
|
@@ -115,6 +115,12 @@ public interface QwWatchLogMapper extends BaseMapper<QwWatchLog>{
|
|
|
"<if test ='ids !=null and ids!=\"\"'>\n" +
|
|
|
" and qec.qw_user_id in (${ids})\n" +
|
|
|
"</if>" +
|
|
|
+ "<if test = 'addWays != null and addWays.size()>0' >" +
|
|
|
+ "and qec.add_way in " +
|
|
|
+ "<foreach collection=\"addWays\" item=\"item\" open=\"(\" close=\")\" separator=\",\">\n" +
|
|
|
+ " ${item}\n" +
|
|
|
+ " </foreach>" +
|
|
|
+ "</if>" +
|
|
|
"GROUP BY\n" +
|
|
|
" qec.qw_user_id, DATE(qec.create_time) \n" +
|
|
|
"ORDER BY\n" +
|