提交 1b9321b7 作者: 张小凤

PilotCertificationServiceImpl(update)

上级 ff1f7626
...@@ -226,10 +226,11 @@ public class PilotCertificationServiceImpl implements PilotCertificationService ...@@ -226,10 +226,11 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
JSONObject value3 = new JSONObject(); JSONObject value3 = new JSONObject();
value3.put("value", message); value3.put("value", message);
JSONObject value4 = new JSONObject(); JSONObject value4 = new JSONObject();
CertificationMessage match = CertificationMessage.match(param.getAuditStatus());
//不通过原因 //不通过原因
String reason = null; String reason = null;
if (param.getAuditStatus() == 1) { if (param.getAuditStatus() == 1) {
reason = userAccountDO.getUserName() + message; reason = userAccountDO.getUserName() + match.getMessage();
} }
if (param.getAuditStatus() == 2) { if (param.getAuditStatus() == 2) {
PilotReasonDO pilotReasonDO = certificationDao.selectPilotReason(param.getReasonId()); PilotReasonDO pilotReasonDO = certificationDao.selectPilotReason(param.getReasonId());
...@@ -246,7 +247,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService ...@@ -246,7 +247,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
appletMsgVO.setTemplate_id(WxMsgTemplete.FW_CHECK_FLYER_AUTH_INFO); appletMsgVO.setTemplate_id(WxMsgTemplete.FW_CHECK_FLYER_AUTH_INFO);
appletMsgVO.setPage("pages/mine/index"); appletMsgVO.setPage("pages/mine/index");
appletMsgVO.setData(datad); appletMsgVO.setData(datad);
appletMsgVO.setMiniprogram_state("developer"); appletMsgVO.setMiniprogram_state(userSystemConstant.getMiniProgramState());
appletMsgVO.setLang("zh_CN"); appletMsgVO.setLang("zh_CN");
sendUserAppletMsg(appletMsgVO); sendUserAppletMsg(appletMsgVO);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论