Commit 2182c145 authored by duanruiming's avatar duanruiming

[update] 优化时间表厂商通过路口编号获取

parent 9b07a0b9
......@@ -127,8 +127,9 @@ public class StaticInfoServiceImpl implements StaticInfoService {
@Override
@Transactional
public void crossSchedules(CrossSchedulesDTO crossSchedulesDTO) throws Exception {
String manufacturerCode = crossSchedulesDTO.getManufacturerCode();
// String manufacturerCode = crossSchedulesDTO.getManufacturerCode();
List<String> crossIdList = crossSchedulesDTO.getCrossIdList();
String manufacturerCode = crossInfoCache.getManufacturerCodeByCrossId(crossIdList.get(0));
if (Objects.equals(BasicEnum.ManufacturerEnum.HK.getCode(), manufacturerCode)) {
// 海康
hkCrossSchedulesService.crossSchedules(crossIdList);
......
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