diff --git a/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/controller/SysEpmetUserRelationController.java b/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/controller/SysEpmetUserRelationController.java index 80cac07c..3b2e24e4 100644 --- a/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/controller/SysEpmetUserRelationController.java +++ b/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/controller/SysEpmetUserRelationController.java @@ -124,17 +124,4 @@ public class SysEpmetUserRelationController { return sysEpmetUserRelationService.bindSysUserWithEpmetUser(formDto); } - /** - * 解除当前用户已绑定的产品工作人员信息 - * - * @param formDto 产品工作人员信息 - * @return com.elink.esua.epdc.commons.tools.utils.Result - * @author liuchuang - * @since 2021/7/8 16:49 - */ - @PostMapping("unbindepmetuser") - public Result unbindEpmetUser(@RequestBody SysEpmetUserRelationDTO formDto) { - return sysEpmetUserRelationService.unbindSysUserWithEpmetUser(formDto); - } - } diff --git a/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/dao/SysEpmetUserRelationDao.java b/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/dao/SysEpmetUserRelationDao.java index 75976251..26f32429 100644 --- a/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/dao/SysEpmetUserRelationDao.java +++ b/esua-epdc/epdc-admin/epdc-admin-epmet/src/main/java/com/elink/esua/epdc/epmet/modules/userrelation/dao/SysEpmetUserRelationDao.java @@ -18,6 +18,7 @@ package com.elink.esua.epdc.epmet.modules.userrelation.dao; import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; +import com.elink.esua.epdc.dto.SysUserDTO; import com.elink.esua.epdc.epmet.modules.userrelation.dto.SysEpmetUserRelationDTO; import com.elink.esua.epdc.epmet.modules.userrelation.entity.SysEpmetUserRelationEntity; import org.apache.ibatis.annotations.Mapper; @@ -40,4 +41,24 @@ public interface SysEpmetUserRelationDao extends BaseDao + + + + DELETE FROM sys_epmet_user_relation WHERE SYS_USER_ID = #{id} + + diff --git a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/pom.xml b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/pom.xml index df40ed07..179404ae 100644 --- a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/pom.xml +++ b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/pom.xml @@ -136,10 +136,11 @@ 47.105.119.155:8848 1da17390-6495-4e16-9ec6-0b8ece18a4a0 - https://epmet-dev.elinkservice.cn/api - 0398b33f845c4768a102d2ab6ebdd00b5fec222e437540428f55d1df53e6be1e - d44a6daaea58be408bb74fe93714710f - f5ff0770f409981c73adda6ae35143ef + + http://192.168.1.140/api + d2c011b14217425eb48e27cf6481716ae845cff14cc0429198a8348c76893023 + c1fe1becebf94b8aef724728690816a0 + eac9d3b8b10c328350b59ac4b1d64db5