Browse Source

fix: 解决会议记录查询结果异常的问题

zhongwei
liwen 4 months ago
parent
commit
2f9a9435ee
  1. 8
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/ConferenceRecordMapper.xml

8
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/ConferenceRecordMapper.xml

@ -27,11 +27,11 @@
<if test="param.conferencePlanId != null and param.conferencePlanId != ''"> <if test="param.conferencePlanId != null and param.conferencePlanId != ''">
AND t2.id = #{param.conferencePlanId} AND t2.id = #{param.conferencePlanId}
</if> </if>
<if test="param.startTime != null and param.startTime != ''"> <if test="param.actualStartTime != null and param.actualStartTime != ''">
AND t1.actualStartTime >= #{param.startTime} AND t1.actual_start_time >= #{param.actualStartTime}
</if> </if>
<if test="param.endTime != null and param.endTime != ''"> <if test="param.actualEndTime != null and param.actualEndTime != ''">
AND t1.actualEndTime &lt;= #{param.endTime} AND t1.actual_end_time &lt;= #{param.actualEndTime}
</if> </if>
<if test="param.unit != null and param.unit != ''"> <if test="param.unit != null and param.unit != ''">
AND t2.unit like concat('%', #{param.unit}, '%') AND t2.unit like concat('%', #{param.unit}, '%')

Loading…
Cancel
Save