|
@@ -5,13 +5,13 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import me.zhengjie.annotation.rest.AnonymousPostMapping;
|
|
import me.zhengjie.annotation.rest.AnonymousPostMapping;
|
|
|
-import me.zhengjie.appapi.dto.OrderDetailDto;
|
|
|
|
|
-import me.zhengjie.appapi.entity.response.BaseResponse;
|
|
|
|
|
-import me.zhengjie.appapi.service.BorrowerService;
|
|
|
|
|
-import me.zhengjie.appapi.service.GuaranteeService;
|
|
|
|
|
-import me.zhengjie.appapi.service.MortgageService;
|
|
|
|
|
|
|
+import me.zhengjie.controller.bank.vo.OrderDetailDto;
|
|
|
|
|
+import me.zhengjie.base.AppBaseResponse;
|
|
|
|
|
+import me.zhengjie.service.bank.BorrowerService;
|
|
|
|
|
+import me.zhengjie.service.bank.GuaranteeService;
|
|
|
|
|
+import me.zhengjie.service.bank.MortgageService;
|
|
|
import me.zhengjie.base.util.TencentUtil;
|
|
import me.zhengjie.base.util.TencentUtil;
|
|
|
-import me.zhengjie.appapi.vo.FileVo;
|
|
|
|
|
|
|
+import me.zhengjie.controller.bank.vo.FileVo;
|
|
|
import me.zhengjie.base.ResultCode;
|
|
import me.zhengjie.base.ResultCode;
|
|
|
import me.zhengjie.controller.admin.vo.PartyEntity;
|
|
import me.zhengjie.controller.admin.vo.PartyEntity;
|
|
|
import me.zhengjie.controller.admin.vo.NotaryOrderQueryReq;
|
|
import me.zhengjie.controller.admin.vo.NotaryOrderQueryReq;
|
|
@@ -56,7 +56,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/query")
|
|
@RequestMapping("/query")
|
|
|
- public BaseResponse<List<NotaryOrderQueryRsp>> query(@RequestBody NotaryOrderQueryReq req) {
|
|
|
|
|
|
|
+ public AppBaseResponse<List<NotaryOrderQueryRsp>> query(@RequestBody NotaryOrderQueryReq req) {
|
|
|
return notaryOrderService.query(req);
|
|
return notaryOrderService.query(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -67,7 +67,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/customerInfo")
|
|
@RequestMapping("/customerInfo")
|
|
|
- public BaseResponse<NotaryOrderQueryRsp> getCustomerInfo(@RequestBody HashMap<String,String> map) {
|
|
|
|
|
|
|
+ public AppBaseResponse<NotaryOrderQueryRsp> getCustomerInfo(@RequestBody HashMap<String,String> map) {
|
|
|
return notaryOrderService.getCustomerInfo(map);
|
|
return notaryOrderService.getCustomerInfo(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -77,7 +77,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/borrowerInfo")
|
|
@RequestMapping("/borrowerInfo")
|
|
|
- public BaseResponse<OrderDetailDto> borrowerInfo(@RequestBody HashMap<String,String> map) {
|
|
|
|
|
|
|
+ public AppBaseResponse<OrderDetailDto> borrowerInfo(@RequestBody HashMap<String,String> map) {
|
|
|
return borrowerService.borrowerInfo(map);
|
|
return borrowerService.borrowerInfo(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -87,7 +87,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/mortgageInfo")
|
|
@RequestMapping("/mortgageInfo")
|
|
|
- public BaseResponse<OrderDetailDto> mortgageInfo(@RequestBody HashMap<String,String> map) {
|
|
|
|
|
|
|
+ public AppBaseResponse<OrderDetailDto> mortgageInfo(@RequestBody HashMap<String,String> map) {
|
|
|
return mortgageService.mortgageInfo(map);
|
|
return mortgageService.mortgageInfo(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -97,7 +97,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/guaranteeInfo")
|
|
@RequestMapping("/guaranteeInfo")
|
|
|
- public BaseResponse<OrderDetailDto> guaranteeInfo(@RequestBody HashMap<String,String> map) {
|
|
|
|
|
|
|
+ public AppBaseResponse<OrderDetailDto> guaranteeInfo(@RequestBody HashMap<String,String> map) {
|
|
|
return guaranteeService.guaranteeInfo(map);
|
|
return guaranteeService.guaranteeInfo(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -108,7 +108,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/partys")
|
|
@RequestMapping("/partys")
|
|
|
- public BaseResponse<List<PartyEntity>> partys(@RequestBody HashMap<String,String> map) {
|
|
|
|
|
|
|
+ public AppBaseResponse<List<PartyEntity>> partys(@RequestBody HashMap<String,String> map) {
|
|
|
return notaryOrderService.partys(map);
|
|
return notaryOrderService.partys(map);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -118,7 +118,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/orderReturn")
|
|
@RequestMapping("/orderReturn")
|
|
|
- public BaseResponse orderReturn(@RequestBody NotaryOrderQueryReq req) {
|
|
|
|
|
|
|
+ public AppBaseResponse orderReturn(@RequestBody NotaryOrderQueryReq req) {
|
|
|
return notaryOrderService.orderReturn(req);
|
|
return notaryOrderService.orderReturn(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -128,7 +128,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@AnonymousPostMapping("/orderReject")
|
|
@AnonymousPostMapping("/orderReject")
|
|
|
- public BaseResponse orderReject(@RequestBody NotaryOrderQueryReq req) {
|
|
|
|
|
|
|
+ public AppBaseResponse orderReject(@RequestBody NotaryOrderQueryReq req) {
|
|
|
return notaryOrderService.orderReject(req);
|
|
return notaryOrderService.orderReject(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -138,7 +138,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@RequestMapping("/partyPass")
|
|
@RequestMapping("/partyPass")
|
|
|
- public BaseResponse partyPass(@RequestBody NotaryOrderQueryReq req) {
|
|
|
|
|
|
|
+ public AppBaseResponse partyPass(@RequestBody NotaryOrderQueryReq req) {
|
|
|
return notaryOrderService.partyPass(req);
|
|
return notaryOrderService.partyPass(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -148,7 +148,7 @@ public class NotaryOrderController {
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
@AnonymousPostMapping("/checkInfoPass")
|
|
@AnonymousPostMapping("/checkInfoPass")
|
|
|
- public BaseResponse checkInfoPass(@RequestBody NotaryOrderQueryReq req) {
|
|
|
|
|
|
|
+ public AppBaseResponse checkInfoPass(@RequestBody NotaryOrderQueryReq req) {
|
|
|
return notaryOrderService.checkInfoPass(req);
|
|
return notaryOrderService.checkInfoPass(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -186,22 +186,22 @@ public class NotaryOrderController {
|
|
|
return response;
|
|
return response;
|
|
|
}
|
|
}
|
|
|
@RequestMapping("/preview")
|
|
@RequestMapping("/preview")
|
|
|
- public BaseResponse previewNotarization(@RequestBody NotaryOrderQueryReq req){
|
|
|
|
|
|
|
+ public AppBaseResponse previewNotarization(@RequestBody NotaryOrderQueryReq req){
|
|
|
return notaryOrderService.previewNotarization(req);
|
|
return notaryOrderService.previewNotarization(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@AnonymousPostMapping("/bankCustomer")
|
|
@AnonymousPostMapping("/bankCustomer")
|
|
|
- public BaseResponse bankCustomer(@RequestBody NotaryOrderQueryReq req){
|
|
|
|
|
|
|
+ public AppBaseResponse bankCustomer(@RequestBody NotaryOrderQueryReq req){
|
|
|
return notaryOrderService.bankCustomer(req);
|
|
return notaryOrderService.bankCustomer(req);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@AnonymousPostMapping("/uploadNotarization")
|
|
@AnonymousPostMapping("/uploadNotarization")
|
|
|
- public BaseResponse uploadNotarization(@RequestBody FileVo file) {
|
|
|
|
|
|
|
+ public AppBaseResponse uploadNotarization(@RequestBody FileVo file) {
|
|
|
return notaryOrderService.uploadNotarization(file);
|
|
return notaryOrderService.uploadNotarization(file);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@AnonymousPostMapping("/getDocList")
|
|
@AnonymousPostMapping("/getDocList")
|
|
|
- public BaseResponse getDocList(@RequestBody NotaryOrderQueryReq req){
|
|
|
|
|
|
|
+ public AppBaseResponse getDocList(@RequestBody NotaryOrderQueryReq req){
|
|
|
return notaryOrderService.getDocList(req);
|
|
return notaryOrderService.getDocList(req);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|