|
@@ -84,7 +84,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getApprovalCoordinates", method=RequestMethod.POST)
|
|
|
- public String getApprovalCoordinates(PresignCallBack presignCallBack) {
|
|
|
+ public String getApprovalCoordinates(PresignCallBack presignCallBack, HttpServletRequest request , HttpServletResponse response) {
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
//根据contractId查询对应的报告信息
|
|
|
String[] documentIds = presignCallBack.getDocumentId().split(",");
|
|
@@ -214,7 +214,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getApprovalYCCoordinates", method=RequestMethod.POST)
|
|
|
- public String getApprovalYCCoordinates(PresignCallBack presignCallBack) {
|
|
|
+ public String getApprovalYCCoordinates(PresignCallBack presignCallBack, HttpServletRequest request , HttpServletResponse response) {
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
//根据contractId查询对应的报告信息
|
|
|
String[] documentIds = presignCallBack.getDocumentId().split(",");
|
|
@@ -508,7 +508,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getSignatureYCCoordinates", method=RequestMethod.POST)
|
|
|
- public String getSignatureYCCoordinates(PresignCallBack presignCallBack) {
|
|
|
+ public String getSignatureYCCoordinates(PresignCallBack presignCallBack, HttpServletRequest request , HttpServletResponse response) {
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
//根据contractId查询对应的报告信息
|
|
|
String[] documentIds = presignCallBack.getDocumentId().split(",");
|
|
@@ -676,7 +676,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/getJudgementCoordinates", method=RequestMethod.POST)
|
|
|
- public String getJudgementCoordinates(PresignCallBack presignCallBack) {
|
|
|
+ public String getJudgementCoordinates(PresignCallBack presignCallBack, HttpServletRequest request , HttpServletResponse response) {
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
String[] documentIds = presignCallBack.getDocumentId().split(",");
|
|
|
//根据contractId查询对应的报告信息
|
|
@@ -769,7 +769,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* 下载附件
|
|
|
*/
|
|
|
@RequestMapping(value = "/downLoadAttach", method=RequestMethod.GET)
|
|
|
- public void downLoadAttach(String contractId,HttpServletResponse response) {
|
|
|
+ public void downLoadAttach(String contractId, HttpServletRequest request , HttpServletResponse response) {
|
|
|
//根据contractId查询对应的报告信息
|
|
|
ProjectReportData projectReportData = projectReportDataService.getProjectReportDataByContractId(contractId);
|
|
|
if(null == projectReportData || StringUtils.isBlank(projectReportData.getSignatureContractId())){
|
|
@@ -789,7 +789,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/getViewUrlByContractId", method=RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
- public Map getViewUrlByContractId(String contractId) {
|
|
|
+ public Map getViewUrlByContractId(String contractId, HttpServletRequest request , HttpServletResponse response) {
|
|
|
Map resultMap = new HashMap();
|
|
|
resultMap.put("success",false);
|
|
|
//根据contractId查询对应的报告信息
|
|
@@ -822,7 +822,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/getViewUrlByReportContractId", method=RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
- public Map getViewUrlByReportContractId(String contractId) {
|
|
|
+ public Map getViewUrlByReportContractId(String contractId, HttpServletRequest request , HttpServletResponse response) {
|
|
|
Map resultMap = new HashMap();
|
|
|
resultMap.put("success",false);
|
|
|
//根据contractId查询对应的报告信息
|
|
@@ -856,7 +856,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* 下载附件
|
|
|
*/
|
|
|
@RequestMapping(value = "/downLoadReportAttach", method=RequestMethod.GET)
|
|
|
- public void downLoadReportAttach(String contractId,HttpServletResponse response) {
|
|
|
+ public void downLoadReportAttach(String contractId, HttpServletRequest request , HttpServletResponse response) {
|
|
|
//根据contractId查询对应的报告信息
|
|
|
RuralProjectRecords ruralProjectRecords = projectRecordsService.getProjectRecordsByContractId(contractId);
|
|
|
if(null == ruralProjectRecords || StringUtils.isBlank(ruralProjectRecords.getReportSignatureContractId())){
|
|
@@ -875,7 +875,7 @@ public class RuralProjectSignatureCallBackController extends BaseController {
|
|
|
* 下载附件
|
|
|
*/
|
|
|
@RequestMapping(value = "/downLoadJudgementReportAttach", method=RequestMethod.GET)
|
|
|
- public void downLoadJudgementReportAttach(String contractId,HttpServletResponse response) {
|
|
|
+ public void downLoadJudgementReportAttach(String contractId, HttpServletRequest request , HttpServletResponse response) {
|
|
|
//根据contractId查询对应的报告信息
|
|
|
RuralProjectRecords ruralProjectRecords = projectRecordsService.getJudgementProjectRecordsByContractId(contractId);
|
|
|
if(null == ruralProjectRecords || StringUtils.isBlank(ruralProjectRecords.getQualitySignatureContractId())){
|