tudc 4 vuotta sitten
vanhempi
commit
9278899988

+ 1 - 2
src/main/java/com/minpay/reportManage/action/ReportManageAction.java

@@ -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());
     		}
     	}