Browse Source

/sys/log/operation/page

master
yinzuomei 3 years ago
parent
commit
7f7c02e3eb
  1. 4
      epmet-admin/epmet-admin-server/src/main/resources/mapper/LogOperationDao.xml

4
epmet-admin/epmet-admin-server/src/main/resources/mapper/LogOperationDao.xml

@ -75,10 +75,10 @@
AND lo.OPERATOR_MOBILE LIKE concat('%',#{operatorMobile},'%')
</if>
<if test="startTime != null and startTime != ''">
AND DATE_FORMAT( lo.OPERATING_TIME, '%Y%m%d' ) &gt;= #{startTime}
AND DATE_FORMAT( lo.OPERATING_TIME, '%Y-%m-%d %H:%i' ) &gt;= #{startTime}
</if>
<if test="endTime != null and endTime != ''">
AND DATE_FORMAT( lo.OPERATING_TIME, '%Y%m%d' ) &lt;= #{endTime}
AND DATE_FORMAT( lo.OPERATING_TIME, '%Y-%m-%d %H:%i' ) &lt;= #{endTime}
</if>
ORDER BY lo.OPERATING_TIME DESC
</select>

Loading…
Cancel
Save