src/main/resources/mapper/DeviceErrorMapper.xml
@@ -13,13 +13,13 @@ <sql id="batchSeq"> <if test="id != null and id != 0"> and a.ID = #{id} and ID = #{id} </if> <if test="device != null and device != ''"> and a.DEVICE = #{device} and DEVICE = #{device} </if> <if test="deviceId != null and deviceId != 0"> and a.DEVICE_ID = #{deviceId} and DEVICE_ID = #{deviceId} </if> </sql>