Commit 010337b7 authored by 黄伟铭's avatar 黄伟铭

修正综合查询bug

parent fc29aae8
......@@ -117,10 +117,10 @@ public class ComprehensiveQueryServiceImpl implements ComprehensiveQueryService
temp.setDelayTime(c.getDelayTime());
temp.setTrafficIndex(c.getTrafficIndex());
temp.setCrossName(crossName);
if(c.getDirType() > 0 ){
if(c.getDirType() != null && c.getDirType() > 0 ){
temp.setDirTypeName(BaseEnum.SignalDirectionEnum.getNameByCode(c.getDirType()));
}
if(c.getTurnType() > 0){
if(c.getTurnType() != null && c.getTurnType() > 0){
temp.setTurnTypeName(BaseEnum.TurnTypeEnum.getNameByCode(c.getTurnType()));
}
......
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