Browse Source

update: 特种设备管理优化

zhongwei
liwen 10 months ago
parent
commit
47d7f0e00b
  1. 4
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/SpecialDeviceInspectionMapper.xml

4
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/SpecialDeviceInspectionMapper.xml

@ -13,10 +13,10 @@
AND device_id = #{param.deviceId} AND device_id = #{param.deviceId}
</if> </if>
<if test="param.startTime != null and param.startTime != ''"> <if test="param.startTime != null and param.startTime != ''">
AND inspectionTime >= #{param.startTime} AND inspection_time >= #{param.startTime}
</if> </if>
<if test="param.endTime != null and param.endTime != ''"> <if test="param.endTime != null and param.endTime != ''">
AND inspectionTime &lt;= #{param.endTime} AND inspection_time &lt;= #{param.endTime}
</if> </if>
ORDER BY ORDER BY
create_time DESC create_time DESC

Loading…
Cancel
Save