管理企业更新
parent
2f74b536d9
commit
9b683e6129
|
@ -1,9 +1,14 @@
|
||||||
# Tomcat
|
# Tomcat
|
||||||
|
|
||||||
server:
|
server:
|
||||||
port: 9200
|
port: 9200
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
main:
|
||||||
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: couplet-auth
|
name: couplet-auth
|
||||||
|
@ -16,6 +21,7 @@ spring:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 121.89.211.230:8848
|
server-addr: 121.89.211.230:8848
|
||||||
namespace: 00004c44-c962-48f0-bc9a-7e589b2881e3
|
namespace: 00004c44-c962-48f0-bc9a-7e589b2881e3
|
||||||
|
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 121.89.211.230:8848
|
server-addr: 121.89.211.230:8848
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.couplet.common.system.domain;
|
package com.couplet.common.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.couplet.common.core.web.domain.BaseEntity;
|
import com.couplet.common.core.web.domain.BaseEntity;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
@ -39,6 +40,10 @@ public class SysDept extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private Long parentId;
|
private Long parentId;
|
||||||
|
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String remark;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 祖级列表
|
* 祖级列表
|
||||||
*/
|
*/
|
||||||
|
@ -82,11 +87,13 @@ public class SysDept extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 父部门名称
|
* 父部门名称
|
||||||
*/
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
private String parentName;
|
private String parentName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 子部门
|
* 子部门
|
||||||
*/
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
private List<SysDept> children = new ArrayList<SysDept>();
|
private List<SysDept> children = new ArrayList<SysDept>();
|
||||||
|
|
||||||
public Long getDeptId () {
|
public Long getDeptId () {
|
||||||
|
|
|
@ -4,6 +4,8 @@ server:
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
main:
|
||||||
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: couplet-gen
|
name: couplet-gen
|
||||||
|
|
|
@ -4,6 +4,8 @@ server:
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
main:
|
||||||
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: couplet-job
|
name: couplet-job
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class SysFirmController {
|
||||||
* @param deptId
|
* @param deptId
|
||||||
* @return com.couplet.common.core.domain.Result
|
* @return com.couplet.common.core.domain.Result
|
||||||
**/
|
**/
|
||||||
@DeleteMapping("delFirm/{deptId}")
|
@PostMapping("delFirm/{deptId}")
|
||||||
public Result delFirm(@PathVariable Integer deptId){
|
public Result delFirm(@PathVariable Integer deptId){
|
||||||
int i = sysFirmService.delFirm(deptId);
|
int i = sysFirmService.delFirm(deptId);
|
||||||
Result<Integer> success = Result.success(i);
|
Result<Integer> success = Result.success(i);
|
||||||
|
|
|
@ -4,6 +4,8 @@ server:
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
main:
|
||||||
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: couplet-system
|
name: couplet-system
|
||||||
|
|
Loading…
Reference in New Issue