mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 21:30:25 +00:00
fix: 修复分账配置更新不生效问题, 修复wxjava配置使用base64无法解析问题, 修复微信分账同步有空指针问题
This commit is contained in:
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
@RequestGroup(groupCode = "AllocConfig", groupName = "分账配置", moduleCode = "Alloc", moduleName = "分账管理" )
|
||||
@RequestMapping("/allocation/config")
|
||||
@RequiredArgsConstructor
|
||||
public class AllocController {
|
||||
public class AllocConfigController {
|
||||
private final AllocConfigService allocConfigService;
|
||||
|
||||
@RequestPath("保存")
|
@@ -43,7 +43,7 @@ public class AllocConfigService {
|
||||
public void update(AllocConfigParam param) {
|
||||
AllocConfig config = allocConfigManger.findById(param.getId())
|
||||
.orElseThrow(() -> new DataNotExistException("分账配置不存在"));
|
||||
BeanUtil.copyProperties(config, param, CopyOptions.create().ignoreNullValue());
|
||||
BeanUtil.copyProperties(param, config, CopyOptions.create().ignoreNullValue());
|
||||
allocConfigManger.updateById(config);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user