Browse Source

更新物料导出方法

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8582 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
d68b7794df

+ 1 - 0
src/main/java/com/uas/platform/b2b/controller/BaseInfoController.java

@@ -180,6 +180,7 @@ public class BaseInfoController {
 		PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
 		PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
 		pageInfo.sorting("id", Direction.DESC);
 		pageInfo.sorting("id", Direction.DESC);
 		pageInfo.filter("enUU", SystemSession.getUser().getEnterprise().getUu());
 		pageInfo.filter("enUU", SystemSession.getUser().getEnterprise().getUu());
+		pageInfo.filter("isSale", Constant.YES);
 		ModelAndView modelAndView = new ModelAndView();
 		ModelAndView modelAndView = new ModelAndView();
 		modelAndView.addObject("data", productService.findAllByPageInfo(pageInfo, keyword).getContent());
 		modelAndView.addObject("data", productService.findAllByPageInfo(pageInfo, keyword).getContent());
 		modelAndView.setView(new JxlsExcelView("classpath:jxls-tpl/baseInfo/baseInfo", "物料资料表"));
 		modelAndView.setView(new JxlsExcelView("classpath:jxls-tpl/baseInfo/baseInfo", "物料资料表"));