优化95值计算相关数据查看
This commit is contained in:
+5
-2
@@ -383,7 +383,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
SELECT
|
||||
a.id,
|
||||
GROUP_CONCAT(DISTINCT a.`name` SEPARATOR ',') AS name,
|
||||
a.`mac` AS mac,
|
||||
GROUP_CONCAT(DISTINCT a.`mac` SEPARATOR ',') AS mac,
|
||||
a.`status` AS status,
|
||||
a.`type` AS type,
|
||||
a.`ipV4` AS ipV4,
|
||||
@@ -453,7 +453,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and a.revenue_method = #{revenueMethod}
|
||||
</if>
|
||||
<if test="mac != null and mac != ''">
|
||||
and a.mac = #{mac}
|
||||
and a.mac in
|
||||
<foreach collection="mac.split(',')" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
GROUP BY a.create_time DESC
|
||||
|
||||
Reference in New Issue
Block a user