Browse Source

修改租户表更新接口

master
wanghaoran 2 years ago
parent
commit
635c00f74a
2 changed files with 6 additions and 4 deletions
  1. +0
    -4
      tuoheng-admin/src/main/java/com/tuoheng/admin/dto/TenantDto.java
  2. +6
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/Tenant.java

+ 0
- 4
tuoheng-admin/src/main/java/com/tuoheng/admin/dto/TenantDto.java View File

/** /**
* 市区编号 * 市区编号
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String cityCode; private String cityCode;


/** /**
* 市区名称 * 市区名称
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String cityName; private String cityName;


/** /**
* 区县编号 * 区县编号
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String districtCode; private String districtCode;


/** /**
* 区县名称 * 区县名称
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String districtName; private String districtName;


/** /**

+ 6
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/Tenant.java View File

package com.tuoheng.admin.entity; package com.tuoheng.admin.entity;


import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;


import java.time.LocalDateTime; import java.time.LocalDateTime;
/** /**
* 市区编号 * 市区编号
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String cityCode; private String cityCode;


/** /**
* 市区名称 * 市区名称
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String cityName; private String cityName;


/** /**
* 区县编号 * 区县编号
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String districtCode; private String districtCode;


/** /**
* 区县名称 * 区县名称
*/ */
@TableField(updateStrategy= FieldStrategy.IGNORED)
private String districtName; private String districtName;


/** /**

Loading…
Cancel
Save