|
|
@@ -15,13 +15,13 @@
|
|
|
LEFT JOIN smsb_device sd ON sda.identifier = sd.identifier
|
|
|
WHERE 1=1
|
|
|
<if test="bo.identifier != null and bo.identifier != ''">
|
|
|
- AND sda.identifier = #{bo.identifier}
|
|
|
+ AND sda.identifier like concat('%',#{bo.identifier},'%')
|
|
|
</if>
|
|
|
<if test="bo.encryptCode != null and bo.encryptCode != ''">
|
|
|
- AND sda.encrypt_code = #{bo.encryptCode}
|
|
|
+ AND sda.encrypt_code like concat('%',#{bo.encryptCode},'%')
|
|
|
</if>
|
|
|
<if test="bo.authResult != null">
|
|
|
- AND sda.authResult = #{bo.authResult}
|
|
|
+ AND sda.auth_result = #{bo.authResult}
|
|
|
</if>
|
|
|
ORDER BY sda.create_time DESC
|
|
|
</select>
|