|
@@ -400,4 +400,22 @@ public class TaCompanyController extends BaseController {
|
400
|
400
|
}
|
401
|
401
|
return responseBean;
|
402
|
402
|
}
|
|
403
|
+
|
|
404
|
+ /**
|
|
405
|
+ * 企业认证回调函数
|
|
406
|
+ *
|
|
407
|
+ */
|
|
408
|
+ @RequestMapping(value = "/fadd/company", method = RequestMethod.GET)
|
|
409
|
+ public void faddCompanyNitify(@RequestParam String companyName,
|
|
410
|
+ @RequestParam String transactionNo,
|
|
411
|
+ @RequestParam String authenticationType,
|
|
412
|
+ @RequestParam String status,
|
|
413
|
+ HttpServletRequest request) {
|
|
414
|
+ logger.info("企业认证回调函数参数:公司名称{},交易号{},认证类型{},状态,{}",companyName,transactionNo,authenticationType,status);
|
|
415
|
+ QueryWrapper<TaCompany> taCompanyQueryWrapper = new QueryWrapper<>();
|
|
416
|
+ taCompanyQueryWrapper.eq("certified_serial_number",transactionNo);
|
|
417
|
+ TaCompany taCompany = iTaCompanyService.getOne(taCompanyQueryWrapper);
|
|
418
|
+ taCompany.setStatus(Integer.valueOf(status));
|
|
419
|
+ iTaCompanyService.updateById(taCompany);
|
|
420
|
+ }
|
403
|
421
|
}
|