Browse Source

代码上传

dev_shibei_match
zhaoqifeng 5 years ago
parent
commit
90e7ea00fa
  1. 8
      epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/service/impl/CodeServiceImpl.java

8
epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/service/impl/CodeServiceImpl.java

@ -141,16 +141,20 @@ public class CodeServiceImpl implements CodeService {
if(CodeConstant.RESI.equals(formDTO.getClientType())) {
resiName = getNickName(authInfo.getAuthorizerAppid());
AuthorizationInfoDTO workAuthInfo = authorizationInfoDao.getAuthInfoByCustomer(formDTO.getCustomerId(), CodeConstant.WORK);
if (null != workAuthInfo) {
workName = getNickName(workAuthInfo.getAuthorizerAppid());
miniInfoDao.updateNickName(formDTO.getCustomerId(), formDTO.getClientType(), resiName);
miniInfoDao.updateNickName(formDTO.getCustomerId(), CodeConstant.WORK, workName);
}
miniInfoDao.updateNickName(formDTO.getCustomerId(), formDTO.getClientType(), resiName);
} else {
workName = getNickName(authInfo.getAuthorizerAppid());
AuthorizationInfoDTO resiAuthInfo = authorizationInfoDao.getAuthInfoByCustomer(formDTO.getCustomerId(), CodeConstant.RESI);
if (null != resiAuthInfo) {
resiName = getNickName(resiAuthInfo.getAuthorizerAppid());
miniInfoDao.updateNickName(formDTO.getCustomerId(), formDTO.getClientType(), workName);
miniInfoDao.updateNickName(formDTO.getCustomerId(), CodeConstant.RESI, resiName);
}
miniInfoDao.updateNickName(formDTO.getCustomerId(), formDTO.getClientType(), workName);
}
//获取小程序居民端与工作端名称
String extJson = getExtJson(formDTO);

Loading…
Cancel
Save