admin后台可关联商户;fastmybatis升级到3.1.7

This commit is contained in:
六如
2025-08-18 13:38:44 +08:00
parent 0588006cd1
commit fd4ff7c98d
7 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
## 日常更新
- 2025-08-17admin后台可关联商户;fastmybatis升级到3.1.6。有升级SQL[sop-20250817.sql](./upgrade/sop-20250817.sql)
- 2025-08-17admin后台可关联商户;fastmybatis升级到3.1.7。有升级SQL[sop-20250817.sql](./upgrade/sop-20250817.sql)
- 2025-07-22: 修复当objClass被代理后获取不到interface BUG
- 2025-06-15新增帮助文档管理。有升级SQL[sop-20250615.sql](./upgrade/sop-20250615.sql)
- 2025-06-11java-sdk添加文件下载示例

View File

@@ -50,7 +50,7 @@
<commons-logging.version>1.2</commons-logging.version>
<validation-api.version>2.0.1.Final</validation-api.version>
<hibernate-validator.version>6.0.13.Final</hibernate-validator.version>
<fastmybatis.version>3.1.6</fastmybatis.version>
<fastmybatis.version>3.1.7</fastmybatis.version>
</properties>
<dependencyManagement>

View File

@@ -11,7 +11,7 @@ import org.apache.ibatis.annotations.Mapper;
public interface IsvInfoMapper extends BaseMapper<IsvInfo> {
default IsvInfo getByAppId(String appId) {
return this.get(IsvInfo::getAppId, appId);
return this.getByField(IsvInfo::getAppId, appId);
}
}

View File

@@ -11,7 +11,7 @@ import org.apache.ibatis.annotations.Mapper;
public interface IsvKeysMapper extends BaseMapper<IsvKeys> {
default IsvKeys getByIsvId(Long isvId) {
return this.get(IsvKeys::getIsvId, isvId);
return this.getByField(IsvKeys::getIsvId, isvId);
}
}

View File

@@ -56,7 +56,7 @@ public class LocalIsvManagerImpl implements IsvManager {
protected IsvDTO search(String appId) {
IsvInfo isvInfo = isvInfoMapper.getByAppId(appId);
IsvDTO isvDTO = CopyUtil.copyBean(isvInfo, IsvDTO::new);
IsvMerchant isvMerchant = isvMerchantMapper.get(IsvMerchant::getAppId, appId);
IsvMerchant isvMerchant = isvMerchantMapper.getByField(IsvMerchant::getAppId, appId);
if (isvMerchant != null) {
isvDTO.setMerchantCode(isvMerchant.getMerchantCode());
}

View File

@@ -50,7 +50,7 @@ public class SysConfigService extends BaseLambdaService<SysConfig, SysConfigMapp
*/
public String getConfigValue(String key, String defaultValue) {
Objects.requireNonNull(key, "need key");
SysConfig systemConfig = get(SysConfig::getConfigKey, key);
SysConfig systemConfig = getByField(SysConfig::getConfigKey, key);
return Optional.ofNullable(systemConfig)
.map(SysConfig::getConfigValue)
.orElseGet(() -> environment.getProperty(key, defaultValue));

View File

@@ -33,7 +33,7 @@ public class WebsiteService {
private DocSettingService docSettingService;
public List<DocAppDTO> listDocApp() {
List<DocApp> docApps = docAppService.list(DocApp::getIsPublish, YesOrNo.YES);
List<DocApp> docApps = docAppService.listByField(DocApp::getIsPublish, YesOrNo.YES);
return CopyUtil.copyList(docApps, DocAppDTO::new);
}