|
|
@@ -94,14 +94,14 @@ public class ProjectPaySettingServiceImpl extends SuperService implements Projec
|
|
|
return ResultContent.buildFail(String.format("%s 结构不属于项目类型", projectOrg.getName()));
|
|
|
}
|
|
|
WxPayConfig wxPayConfig = wxPayConfigDao.findTopByProjectOid(param.getProjectOid());
|
|
|
- WxPayConfig temp = wxPayConfigDao.findTopByAppId(param.getAppid());
|
|
|
+ WxPayConfig temp = wxPayConfigDao.findTopByAppId(param.getAppId());
|
|
|
if (ObjectUtils.isEmpty(wxPayConfig)) {
|
|
|
wxPayConfig = new WxPayConfig();
|
|
|
initEntity(wxPayConfig);
|
|
|
} else {
|
|
|
// 编辑
|
|
|
if (ObjectUtils.isNotEmpty(temp) && !temp.getId().equals(wxPayConfig.getId())) {
|
|
|
- return ResultContent.buildFail(String.format("appId已存在:%s", wxPayConfig.getAppid()));
|
|
|
+ return ResultContent.buildFail(String.format("appId已存在:%s", wxPayConfig.getAppId()));
|
|
|
}
|
|
|
}
|
|
|
|