XiaoRuby
2023-09-01 8e39c9bbf8a8bb4707f2a766295b40497ae96706
standard-server/src/main/resources/mapper/DeviceMapper.xml
@@ -56,8 +56,9 @@
            AND d.`father` = #{fatherName}
        </if>
    </select>
    <select id="getDeviceNameByGroup" resultType="java.util.Map">
        select id, name
        select id as deviceid, name deviceName
        from mom_ocean.device
        where state = 1
          and father = #{deviceGroup}