feat(system): 新增租户分账承担手续费标志字段

This commit is contained in:
huk 2025-09-25 16:14:55 +08:00
parent 780cabad0a
commit 296c852bdd
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@ -155,6 +154,8 @@ public class TenantDTO {
@Schema(description = "分配比例模板名称")
private String templateName;
@Schema(description = "分账是否承担手续费")
private Boolean bearFeeFlag;
@Schema(description = "代理机构名称")
private String agencyName;

View File

@ -198,6 +198,7 @@ public class SysTenantServiceImpl implements ISysTenantService {
tenant.setBirthday(bo.getBirthday());
tenant.setQualification(bo.getQualification());
tenant.setType(bo.getType());
tenant.setBearFeeFlag(bo.getBearFeeFlag());
// 插入sys_tenant表
boolean tenantInserted = baseMapper.insert(tenant) > 0;
@ -451,6 +452,7 @@ public class SysTenantServiceImpl implements ISysTenantService {
existingTenant.setCounty(bo.getCounty());
existingTenant.setBirthday(bo.getBirthday());
existingTenant.setQualification(bo.getQualification());
existingTenant.setBearFeeFlag(bo.getBearFeeFlag());
// 4. 查询扩展表现有数据
LambdaQueryWrapper<SysTenantExtend> extendQuery = new LambdaQueryWrapper<>();