forked from rongchao/epmet-cloud-rizhao
Browse Source
# Conflicts: # epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java # epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.javadev
64 changed files with 579 additions and 56 deletions
@ -0,0 +1,19 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/7/13 09:58 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class GetStaffExistRoleFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 8877632229886141531L; |
|||
|
|||
private String customerId; |
|||
private String staffId; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/7/12 16:11 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
public class RoleUserFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 7503477804419017109L; |
|||
|
|||
private List<String> roleIds; |
|||
|
|||
private String userId; |
|||
private String customerId; |
|||
} |
@ -0,0 +1,40 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2022/7/13 09:56 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class NewUserRoleResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7761042062413503637L; |
|||
|
|||
private String roleId; |
|||
/** |
|||
* 角色key |
|||
*/ |
|||
private String roleKey; |
|||
/** |
|||
* 角色名称 |
|||
*/ |
|||
private String roleName; |
|||
|
|||
private Integer isDefault; |
|||
|
|||
/** |
|||
* 是否选中(选中的是true) |
|||
*/ |
|||
private Boolean selected; |
|||
|
|||
public NewUserRoleResultDTO() { |
|||
this.roleId = ""; |
|||
this.roleKey = ""; |
|||
this.roleName = ""; |
|||
this.selected = false; |
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
|
|||
|
|||
ALTER TABLE `gov_role` |
|||
ADD COLUMN `CUSTOMER_ID` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户ID' AFTER `id`; |
|||
|
|||
|
|||
ALTER TABLE `gov_role_menu` |
|||
ADD COLUMN `CUSTOMER_ID` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户ID' AFTER `id`; |
|||
|
|||
|
|||
ALTER TABLE `gov_role_user` |
|||
ADD COLUMN `CUSTOMER_ID` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客户ID' AFTER `id`; |
|||
|
|||
|
|||
|
|||
|
@ -1,9 +1,7 @@ |
|||
package com.epmet.service; |
|||
|
|||
import com.epmet.commons.mybatis.service.BaseService; |
|||
import com.epmet.dto.result.ServiceProjectScopeResultDTO; |
|||
import com.epmet.entity.IcPlaceOrgEntity; |
|||
|
|||
public interface ServiceProjectService { |
|||
ServiceProjectScopeResultDTO getServiceScopeTree(String staffId); |
|||
ServiceProjectScopeResultDTO getServiceScopeTree(String staffId,String customerId); |
|||
} |
|||
|
Loading…
Reference in new issue