Commit 4f1e46e3 authored by duanruiming's avatar duanruiming

[update] 调度参数优化

parent 9017f6d8
......@@ -168,8 +168,7 @@ public class StaticInfoServiceImpl implements StaticInfoService {
* @return
*/
private Map<String, String> getCodeCrossIdMap(CrossSchedulesDTO crossSchedulesDTO) {
String manufacturerCode = crossSchedulesDTO.getManufacturerCode();
Integer id = manufacturerInfoMapper.selectIdByCode(manufacturerCode);
Integer id = manufacturerInfoMapper.selectIdByCode("HISENSE");
List<CrossInfoPO> crossInfoPOList = crossInfoMapper.selectByManufacturerId(id);
List<String> codeList = crossInfoPOList.stream().map(CrossInfoPO::getCode).collect(Collectors.toList());
Map<String, String> codeCrossIdMap = crossInfoPOList.stream().collect(Collectors.toMap(CrossInfoPO::getCode, CrossInfoPO::getId));
......
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