|
@@ -126,7 +126,7 @@ public class SysDeptSubServiceImpl extends ServiceImpl<SysDeptSubMapper, SysDept
|
|
|
public void saveSettleConfig(DeptSubLimitAmountInput input) {
|
|
|
// 更新结算主体
|
|
|
String[] subTypeArr = input.getSubList().stream()
|
|
|
- .map(sysDeptSub -> sysDeptSub.getSubjectLocation().getGigType().name())
|
|
|
+ .map(sysDeptSub -> String.valueOf(sysDeptSub.getSubjectLocation().getGigType().getCode()))
|
|
|
.distinct()
|
|
|
.toArray(String[]::new);
|
|
|
SysDept dept = sysDeptMapper.selectById(input.getDeptId());
|