|
@@ -74,10 +74,10 @@
|
|
and device_num_ = #{deviceNum}
|
|
and device_num_ = #{deviceNum}
|
|
</if>
|
|
</if>
|
|
<if test="bindStartTime != null">
|
|
<if test="bindStartTime != null">
|
|
- and bind_time_ >= #{bindStartTime}
|
|
|
|
|
|
+ and date(bind_time_) >= #{bindStartTime}
|
|
</if>
|
|
</if>
|
|
<if test="bindEndTime != null">
|
|
<if test="bindEndTime != null">
|
|
- and bind_time_ <= #{bindEndTime}
|
|
|
|
|
|
+ and date(bind_time_) <= #{bindEndTime}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
ORDER BY id_
|
|
ORDER BY id_
|
|
@@ -95,10 +95,10 @@
|
|
and device_num_ = #{deviceNum}
|
|
and device_num_ = #{deviceNum}
|
|
</if>
|
|
</if>
|
|
<if test="bindStartTime != null">
|
|
<if test="bindStartTime != null">
|
|
- and bind_time_ >= #{bindStartTime}
|
|
|
|
|
|
+ and date(bind_time_) >= #{bindStartTime}
|
|
</if>
|
|
</if>
|
|
<if test="bindEndTime != null">
|
|
<if test="bindEndTime != null">
|
|
- and bind_time_ <= #{bindEndTime}
|
|
|
|
|
|
+ and date(bind_time_) <= #{bindEndTime}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|