Commit 18c1d996 authored by zengtianlai3's avatar zengtianlai3

应用列表查询sql语句优化

parent 4a671a1b
......@@ -4,8 +4,7 @@
<sql id="AppVoColumn">
app.app_id, app.app_name, app.app_key, us.user_id,
COUNT(sn) AS deviceCount, us.user_name, us.company,
sn, de.device_id
COUNT(sn) AS deviceCount, us.user_name, us.company
</sql>
<insert id="addApply" parameterType="iot.sixiang.license.entity.Apply">
insert into apply(app_name, app_key, user_id) values (#{appName}, #{appKey}, #{userId})
......
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