anderx 3 years ago
parent
commit
9e0f60cfed

+ 9 - 1
src/main/java/com/goafanti/order/controller/OrderProjectApiController.java

@@ -670,7 +670,7 @@ public class OrderProjectApiController extends CertifyApiController {
 			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"暂停编号","暂停编号"));
 			return res;
 		}
-		return res.data(orderProjectService.updateProjectSotp( in));
+		return res.data(orderProjectService.updateProjectSotp(in));
 	}
 
 	/**
@@ -755,4 +755,12 @@ public class OrderProjectApiController extends CertifyApiController {
 			}
 		return res.data(newExcelUtil.exportExcel(list2,"暂停项目列表",uploadPath));
 	}
+
+	/** 文件上传 **/
+	@RequestMapping(value = "/uploadStopFile", method = RequestMethod.POST)
+	public Result uploadStopFile(HttpServletRequest req,String sign){
+		Result res = new Result();
+		res.setData(handleFile(res, "/uploadStopFile/", false, req, sign));
+		return res;
+	}
 }