浏览代码

设备类型

lin 4 年之前
父节点
当前提交
64f0859ac7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/DeviceTypeMapper.xml

+ 1 - 1
src/main/resources/mapper/DeviceTypeMapper.xml

@@ -309,7 +309,7 @@
         where sdt.status = 1 and sdt.id = #{id}
     </select>
 
-    <select id="findByDeviceTypeId" resultMap="lazyLoadMeasuringPoint">
+    <select id="findByDeviceTypeId" resultType="com.zoniot.ccrc.dto.DeviceTypeDto">
         select id,equipment_type,model,manufacturer_id,device_type from sc_device_type where status = 1
         and id = #{deviceTypeId}
     </select>