基本配置增加csv和excel导出

This commit is contained in:
leijun
2018-12-26 14:47:23 +08:00
parent 52f88155e2
commit b2eb6afad9
23 changed files with 590 additions and 115 deletions

View File

@@ -51,15 +51,33 @@ public class ServiceDictInfoService extends BaseService{
* @return
*/
public List<ServiceDictInfo> findAllServiceDictInfo(ServiceDictInfo serviceDictInfo,List<Integer> itType,String orderBy){
serviceDictInfo.setConditionType(itType);;
serviceDictInfo.setConditionType(itType);
return serviceDictInfoDao.findAllServiceDictInfo(serviceDictInfo,orderBy);
}
public List<ServiceDictInfo> findByDictInfo(String ids,List<Integer> itType){
String itemType=String.valueOf(itType.get(0));
return serviceDictInfoDao.findByDictInfo(ids,itemType);
}
/**
* 根据条件查询所有数据
* @param serviceDictInfo
* @param itType
* @return
*/
public Page<ServiceDictInfo> findAllPageServiceDictInfo(Page<ServiceDictInfo> page, ServiceDictInfo serviceDictInfo,List<Integer> itType,String orderBy){
serviceDictInfo.setPage(page);
serviceDictInfo.setConditionType(itType);
List<ServiceDictInfo> parentList =serviceDictInfoDao.findAllServiceDictInfo(serviceDictInfo,orderBy);
page.setList(parentList);
return page;
}
@@ -331,6 +349,5 @@ public class ServiceDictInfoService extends BaseService{
}
}