change - 纠错

master
zch 1 month ago
parent 7f468e3f8b
commit 913895ce4e

@ -111,6 +111,7 @@ public class EmsRecordSteamInstantController extends BaseController {
.selectEmsRecordSteamInstantList(emsRecordSteamInstant);
return success(list);
}
/**
*
* @param emsRecordSteamInstant

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

Loading…
Cancel
Save