校验
This commit is contained in:
parent
4d41da249b
commit
c5c121ec5e
@ -874,9 +874,13 @@ public class LklTkServiceImpl {
|
||||
|
||||
// 更新商户分店入驻表
|
||||
// status 状态:1-已成功;2-审核未通过;3-未处理;4-待审核;
|
||||
Integer status = "PASS".equals(reviewPass) ? CommonConstant.Enable :
|
||||
"UNPASS".equals(reviewPass) ? CommonConstant.Disable2 :
|
||||
"PASSING".equals(reviewPass) ? 3 : 4;
|
||||
Map<String, Integer> REVIEW_STATUS_MAP = new HashMap<String, Integer>() {{
|
||||
put("PASS", CommonConstant.Enable);
|
||||
put("UNPASS", CommonConstant.Disable2);
|
||||
put("PASSING", 3);
|
||||
}};
|
||||
|
||||
Integer status = REVIEW_STATUS_MAP.getOrDefault(reviewPass, 4);
|
||||
logger.info("拉卡拉商户增终异步通知 - 更新分店入驻表,审核关联ID: {}, 状态: {}, 通知响应: {}", reviewRelatedId, status, lklNotifyResp);
|
||||
shopMchEntryBranchService.updateByReviewRelatedId(reviewRelatedId, status, lklNotifyResp);
|
||||
|
||||
@ -901,7 +905,7 @@ public class LklTkServiceImpl {
|
||||
return new JSONObject().set("code", "200").set("message", "处理成功");
|
||||
|
||||
} catch (Exception e) {
|
||||
logger.error("处理拉卡拉增终异步通知异常", e);
|
||||
logger.error("拉卡拉商户增终异步通知 - 未知异常", e);
|
||||
return new JSONObject().set("code", "500").set("message", "处理异常:" + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user