feat(system): 新增租户分账承担手续费标志字段
This commit is contained in:
parent
780cabad0a
commit
296c852bdd
@ -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;
|
||||
|
@ -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<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user