|
|
@@ -443,7 +443,6 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/highNewRetrialStatistics/export",method = RequestMethod.GET)
|
|
|
public Result highNewRetrialStatisticsExport(String depId,String startDate,String endDate,String depName) {
|
|
|
- Result res =new Result();
|
|
|
List<OutHighNewRetrialStatistics> list=orderProjectService.highNewRetrialStatistics(depId,startDate,endDate);
|
|
|
NewExcelUtil<OutHighNewRetrialStatistics> newExcelUtil=new NewExcelUtil<>(OutHighNewRetrialStatistics.class);
|
|
|
StringBuffer str=new StringBuffer("搜索条件=》");
|
|
|
@@ -451,6 +450,35 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
if (startDate!=null&&endDate!=null)str=str.append("时间:").append(startDate).append("~").append(endDate).append(",");
|
|
|
return newExcelUtil.exportExcel(list,"高新复审统计",uploadPath,str.substring(0,str.toString().length()-1));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 高新复审详情列表
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/highNewRetrialList",method = RequestMethod.GET)
|
|
|
+ public Result highNewRetrialList(String province,String depId,String startDate,String endDate,String aid,Integer sort) {
|
|
|
+ Result res =new Result();
|
|
|
+ res.data(orderProjectService.highNewRetrialList(province,depId,aid,sort,startDate,endDate));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping(value = "/highNewRetrialList/export",method = RequestMethod.GET)
|
|
|
+ public Result highNewRetrialListExport(String province,String provinceName,String depId,String depName,String startDate,String endDate,String aid,
|
|
|
+ String aName,Integer sort) {
|
|
|
+
|
|
|
+ List<OutHighNewRetrialList> list=orderProjectService.highNewRetrialList(province,depId,aid,sort,startDate,endDate);
|
|
|
+ NewExcelUtil<OutHighNewRetrialList> newExcelUtil=new NewExcelUtil<>(OutHighNewRetrialList.class);
|
|
|
+ StringBuffer str=new StringBuffer("搜索条件=》");
|
|
|
+ if (provinceName!=null)str=str.append("省份:").append(provinceName).append(",");
|
|
|
+ if (depName!=null)str=str.append("部门:").append(depName).append(",");
|
|
|
+ if (aName!=null)str=str.append("跟进人:").append(aName).append(",");
|
|
|
+ if (startDate!=null&&endDate!=null)str=str.append("时间:").append(startDate).append("~").append(endDate).append(",");
|
|
|
+ if(sort!=null){
|
|
|
+ str=str.append("排序:");
|
|
|
+ if(sort==0)str=str.append("按签通过高新排序");
|
|
|
+ else if(sort==1)str=str.append("按未通过高新排序");
|
|
|
+ }
|
|
|
+ return newExcelUtil.exportExcel(list,"高新复审详情",uploadPath,str.substring(0,str.toString().length()-1));
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|