Explorar o código

商品导出新增字段

zouxuan hai 1 ano
pai
achega
8431b40987

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/GoodsServiceImpl.java

@@ -79,7 +79,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods>  implement
 		if (CollectionUtils.isEmpty(rows)) {
 			throw new BizException("没有查询到商品信息");
 		}
-		List<Organization> all = organizationDao.findAll(null);
+		List<Organization> all = organizationDao.findAll(params);
 		Map<Integer, String> organizationMap = all.stream().collect(Collectors.toMap(Organization::getId, Organization::getName));
 		for (Goods goods : rows) {
 			if(StringUtils.isNotEmpty(goods.getStudentShowOrganId())){