|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
AND tyshxydm = #{tyshxydm}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@
|
|
|
|
|
AND tyshxydm = #{tyshxydm}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
GROUP BY uuid
|
|
|
|
@ -85,7 +85,7 @@
|
|
|
|
|
AND uuid = #{uuid}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
GROUP BY cpmctymc
|
|
|
|
@ -110,7 +110,7 @@
|
|
|
|
|
AND uuid = #{uuid}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
GROUP BY nameCode
|
|
|
|
@ -246,7 +246,7 @@
|
|
|
|
|
AND deviceRecordKey = #{deviceRecordKey}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="isNewest != null and isNewest!=''">
|
|
|
|
|
AND isNewest = #{isNewest}
|
|
|
|
@ -339,7 +339,7 @@
|
|
|
|
|
AND deviceRecordKey = #{deviceRecordKey}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
<![CDATA[ and updateTime>= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
limit #{page},#{limit}
|
|
|
|
|