Commit 2a76bf0b authored by 张森's avatar 张森

add 排空时长(分钟)

parent 776b5857
......@@ -60,6 +60,9 @@ public class Equipment extends BasicEntity {
@Column(name="fire_truck_route")
private String fireTruckRoute;
@Column(name="drain_duration")
private String drainDuration;
public String getFireTruckRoute() {
return fireTruckRoute;
......
......@@ -42,6 +42,7 @@ import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
......@@ -138,6 +139,7 @@ public class ContingencyInstanceImpl implements IContingencyInstance {
private ApplicationEventPublisher applicationContext;
@Autowired
@Lazy
private IEmergencyTaskService emergencyTaskService;
@Autowired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment