From 0d65be7dc3f7829e0b470875047049cb73f0b23d Mon Sep 17 00:00:00 2001 From: zhangjun Date: Thu, 21 May 2020 18:47:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ApplyChangeController.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src_app_fresh/apx/com/amarsoft/als/user/change/initiate/controller/ApplyChangeController.java b/src_app_fresh/apx/com/amarsoft/als/user/change/initiate/controller/ApplyChangeController.java index 74865817c..5adb7459d 100644 --- a/src_app_fresh/apx/com/amarsoft/als/user/change/initiate/controller/ApplyChangeController.java +++ b/src_app_fresh/apx/com/amarsoft/als/user/change/initiate/controller/ApplyChangeController.java @@ -13,8 +13,10 @@ import com.amarsoft.are.jbo.JBOTransaction; import com.amarsoft.awe.util.Transaction; import com.base.util.ReturnMapUtil; +import apx.com.amarsoft.als.user.change.initiate.service.ApplyGuarantorService; import apx.com.amarsoft.als.user.change.initiate.service.impl.ApplyChangeService; import apx.com.amarsoft.als.user.change.initiate.service.impl.ApplyChangeServiceImpl; +import apx.com.amarsoft.als.user.change.initiate.service.impl.ApplyGuarantorServiceImpl; @Path("/change") public class ApplyChangeController { //业务变更发起 @@ -35,4 +37,27 @@ public class ApplyChangeController { return ReturnMapUtil.rollback(e); } } + + //担保人信息 + @Path("/business/Guarantor") + @POST + public Map applyGuarantor(@Context HttpServletRequest request, + @Context HttpServletResponse response, @Context JBOTransaction tx, + @Context Transaction sqlca) throws Exception { + ReturnMapUtil ReturnMapUtil = new ReturnMapUtil(tx, sqlca); + ARE.getLog().info( + "[CONTROLLER] ApplyCancelController run ................."); + ARE.getLog().info("[Path] /change/initiate/business/Guarantor" + " run ................."); + + ApplyGuarantorService service = new ApplyGuarantorServiceImpl(); + try { + return service.applyGuarantor(request, response, tx, sqlca, ReturnMapUtil); + } catch (Exception e) { + return ReturnMapUtil.rollback(e); + } + } + + + + }