base-server/src/main/resources/mapper/DeviceMapper.xml
@@ -30,7 +30,7 @@ </if> <if test="message!=null and message!=''"> and code like concat('%',#{message},'%') or name like concat('%',#{message},'%') or device.name like concat('%',#{message},'%') </if> </select> <!--根据设备分组查询设备--> @@ -70,6 +70,7 @@ select distinct father from mom_ocean.device where state = 1 and type = #{type} </select> <!--批量删除--> <update id="delAllDevice">