Browse Source

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into develop

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
9fc560dd5e
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/section/SectionServiceImpl.java

+ 9
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/section/SectionServiceImpl.java View File

@@ -164,6 +164,15 @@ public class SectionServiceImpl extends BaseServiceImpl<SectionMapper, Section>
return JsonResult.success(pageData);
}

//对路段范围进行处理
private String getSectionRanges(Section record) {
//路段范围属性
String sectionRange = record.getSectionRange();
String[] sectionRanges = sectionRange.split(",");
sectionRange ="K"+sectionRanges[0]+"+"+sectionRanges[1]+"~"+"K"+sectionRanges[2]+"+"+sectionRanges[3];
return sectionRange;
}

@Override
public JsonResult getListInfo(SectionQuery query) {
//获取当前登录人信息

Loading…
Cancel
Save