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