Browse Source

修改删除租户字段

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
1d2df5fc16
2 changed files with 41 additions and 41 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/callback/OidcCallbackController.java
  2. +40
    -40
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/TenantMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/controller/callback/OidcCallbackController.java View File

@@ -47,7 +47,7 @@ public class OidcCallbackController {
}

/**
* 创建用户
* 删除用户
*/
@PostMapping("/tenant/deleted")
public JsonResult deletedTenant(@RequestBody DeletedOidcTenantRequest request) {

+ 40
- 40
tuoheng-service/tuoheng-admin/src/main/resources/mapper/TenantMapper.xml View File

@@ -1,41 +1,41 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.tuoheng.admin.mapper.TenantMapper">
<resultMap type="com.tuoheng.admin.entity.Tenant" id="TenantResult">
<result property="id" column="id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="username" column="username" />
<result property="logo" column="logo" />
<result property="portraitUrl" column="portrait_url" />
<result property="pid" column="pid" />
<result property="type" column="type" />
<result property="phone" column="phone" />
<result property="email" column="email" />
<result property="provinceCode" column="province_code" />
<result property="provinceName" column="province_name" />
<result property="cityCode" column="city_code" />
<result property="cityName" column="city_name" />
<result property="districtCode" column="district_code" />
<result property="districtName" column="district_name" />
<result property="platformName" column="platform_name" />
<result property="address" column="address" />
<result property="intro" column="intro" />
<result property="status" column="status" />
<result property="note" column="note" />
<result property="sort" column="sort" />
<result property="createUser" column="create_user" />
<result property="createTime" column="create_time" />
<result property="updateUser" column="update_user" />
<result property="updateTime" column="update_time" />
<result property="mark" column="mark" />
</resultMap>
<sql id="selectThTenantVo">
select id, name, code, username, logo, portrait_url, pid, type, phone, email, province_code, province_name, city_code, city_name, district_code, district_name, platform_name, address, intro, status, note, sort, create_user, create_time, update_user, update_time, mark from th_tenant
</sql>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.tuoheng.admin.mapper.TenantMapper">
<resultMap type="com.tuoheng.admin.entity.Tenant" id="TenantResult">
<result property="id" column="id" />
<result property="name" column="name" />
<result property="code" column="code" />
<result property="username" column="username" />
<result property="logo" column="logo" />
<result property="portraitUrl" column="portrait_url" />
<result property="pid" column="pid" />
<result property="type" column="type" />
<result property="phone" column="phone" />
<result property="email" column="email" />
<result property="provinceCode" column="province_code" />
<result property="provinceName" column="province_name" />
<result property="cityCode" column="city_code" />
<result property="cityName" column="city_name" />
<result property="districtCode" column="district_code" />
<result property="districtName" column="district_name" />
<result property="platformName" column="platform_name" />
<result property="address" column="address" />
<result property="intro" column="intro" />
<result property="status" column="status" />
<result property="note" column="note" />
<result property="sort" column="sort" />
<result property="createUser" column="create_user" />
<result property="createTime" column="create_time" />
<result property="updateUser" column="update_user" />
<result property="updateTime" column="update_time" />
<result property="mark" column="mark" />
</resultMap>
<sql id="selectThTenantVo">
select id, name, code, username, logo, portrait_url, pid, type, phone, email, province_code, province_name, city_code, city_name, district_code, district_name, platform_name, address, intro, status, note, sort, create_user, create_time, update_user, update_time, mark from th_tenant
</sql>
</mapper>

Loading…
Cancel
Save