change - 添加注释

master
zch 1 month ago
parent b7f598bb8f
commit 7f468e3f8b

@ -95,7 +95,7 @@ public class EmsRecordSteamInstantServiceImpl implements IEmsRecordSteamInstantS
@Override @Override
public List<EmsRecordSteamInstant> selectEmsRecordLatestSteamInstantList(EmsRecordSteamInstant emsRecordSteamInstant){ public List<EmsRecordSteamInstant> selectEmsRecordLatestSteamInstantList(EmsRecordSteamInstant emsRecordSteamInstant){
/* return emsRecordSteamInstantMapper.selectEmsRecordLatestSteamInstantList(emsRecordSteamInstant);*/ /* return emsRecordSteamInstantMapper.selectEmsRecordLatestSteamInstantList(emsRecordSteamInstant);*/
//只返回第一条数据 //只返回第一条数据,subList从索引0开始只截取1条
return emsRecordSteamInstantMapper.selectEmsRecordSteamInstantList(emsRecordSteamInstant).subList(0,1); return emsRecordSteamInstantMapper.selectEmsRecordSteamInstantList(emsRecordSteamInstant).subList(0,1);
} }
} }

Loading…
Cancel
Save