|
@@ -397,12 +397,11 @@ public class ReportManageAction implements IMINAction {
|
|
|
utilDataInfExample.createCriteria().andReportTypeIdEqualTo(reportTypeId);
|
|
|
List<DwUtilDataInf> utilDataInfList = db.selectByExample(DwUtilDataInfMapper.class, utilDataInfExample);
|
|
|
if (utilDataInfList.size() != 0) {
|
|
|
- res.set("utilDataInf", utilDataInfList.get(0));
|
|
|
DwAlgorithmInfExample algorithmInfExample = new DwAlgorithmInfExample();
|
|
|
algorithmInfExample.createCriteria().andUtilDataIdEqualTo(utilDataInfList.get(0).getId());
|
|
|
List<DwAlgorithmInf> algorithmInflist = db.selectByExample(DwAlgorithmInfMapper.class, algorithmInfExample);
|
|
|
if (algorithmInflist.size() != 0) {
|
|
|
- res.set("algorithmInf", algorithmInflist.get(0));
|
|
|
+ res.set("algorithmId", algorithmInflist.get(0).getId());
|
|
|
}
|
|
|
}
|
|
|
|