Browse Source

/sys/log/operation/page

feature/evaluate
yinzuomei 3 years ago
parent
commit
6dd7b8be72
  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},'%') AND lo.OPERATOR_MOBILE LIKE concat('%',#{operatorMobile},'%')
</if> </if>
<if test="startTime != null and startTime != ''"> <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>
<if test="endTime != null and endTime != ''"> <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> </if>
ORDER BY lo.OPERATING_TIME DESC ORDER BY lo.OPERATING_TIME DESC
</select> </select>

Loading…
Cancel
Save