|
|
@@ -145,7 +145,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
FROM IotDeviceconn AS dc
|
|
|
LEFT JOIN TosDevicetype AS dt ON dt.devtypeBid = dc.devtypeBid
|
|
|
<where>
|
|
|
- dc.tid = 'ee47a6b6-5313-4f4d-8bc4-982b75f529ae' AND dt.devtypeBid IS NOT NULL
|
|
|
+ dt.devtypeBid IS NOT NULL
|
|
|
<if test="devtypeBid != null and devtypeBid != ''"> and dt.devtypeBid = #{devtypeBid}</if>
|
|
|
<if test="devclassBid != null and devclassBid != ''"> and dt.devclassBid = #{devclassBid}</if>
|
|
|
<if test="devtypeName != null and devtypeName != ''"> and dt.devtypeName like concat('%', #{devtypeName}, '%')</if>
|