|
|
@@ -728,7 +728,6 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
@RequestMapping(value = "/selectProjectSotp/export" ,method = RequestMethod.GET)
|
|
|
public Result selectProjectSotpExport(String orderNo,String userName,String depId,String contractNo, String projectName,Integer status,
|
|
|
String startTime, String endTime, String receiverId, Integer pageNo,Integer pageSize){
|
|
|
- Result res = new Result();
|
|
|
NewExcelUtil newExcelUtil=new NewExcelUtil(OutselectProjectSotpBo.class);
|
|
|
Pagination<?> p = orderProjectService.selectProjectSotp(orderNo, userName, depId, contractNo,
|
|
|
projectName, status, startTime, endTime, receiverId, pageNo, pageSize);
|
|
|
@@ -753,7 +752,7 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
o.setStatusName(str.toString());
|
|
|
list2.add(o);
|
|
|
}
|
|
|
- return res.data(newExcelUtil.exportExcel(list2,"暂停项目列表",uploadPath));
|
|
|
+ return newExcelUtil.exportExcel(list2,"暂停项目列表",uploadPath);
|
|
|
}
|
|
|
|
|
|
/** 文件上传 **/
|