Преглед изворни кода

业务数据展示有误部分

limin пре 7 година
родитељ
комит
ec2e2d3ed0

+ 1 - 1
src/main/java/com/goafanti/business/service/impl/JtBusinessServiceImpl.java

@@ -113,7 +113,7 @@ public class JtBusinessServiceImpl  extends BaseMybatisDao<JtBusinessProjectMapp
 		if(StringUtils.isNotBlank(ownerId)) {
 			params.put("ownerId", ownerId);
 		}
-		//if(module!=null)params.put("module", module);
+		if(module!=null)params.put("module", module);
 		if(isHot!=null)params.put("isHot", isHot);
 		if(orderType!=null)params.put("orderType", orderType);
 		if(orderSort!=null)params.put("orderSort", orderSort);

+ 1 - 1
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -674,7 +674,7 @@ public class WebpageController extends BaseController {
 		patentCategory = patentCategory.subList(0, Math.min(3, patentCategory.size()));
 		modelview.addObject("patentCategory", patentCategory);
 		List<JtBusinessProject> jtBusinessProjects = (List<JtBusinessProject>) jtBusinessService
-				.getProjects(null,null, null, null, 5, 1, 1, 2, 0, 1, 0, 0, null).getList();
+				.getProjects(null,null, null, null, 5, 1, 1, 2, null, 1, 0, 0, null).getList();
 		for (JtBusinessProject project : jtBusinessProjects) {
 			if (project.getMaxImgUrl() != null && project.getMaxImgUrl().length() <= 0)
 				project.setMaxImgUrl(null);