|
@@ -5,7 +5,6 @@ import com.dragoninfo.dcuc.auth.element.vo.ElementUserSaveVo;
|
|
|
import com.dragoninfo.dcuc.auth.element.vo.EnvElementSaveVo;
|
|
|
import com.dragoninfo.dcuc.auth.element.vo.RespEnvElementVo;
|
|
|
import com.dragoninfo.dcuc.auth.sub.vo.AuthUserVo;
|
|
|
-import com.dragoninfo.duceap.core.response.Result;
|
|
|
import com.dragonsoft.duceap.base.entity.http.ResponseStatus;
|
|
|
import com.dragonsoft.duceap.base.entity.search.SearchDTO;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
@@ -67,7 +66,7 @@ public interface IEnvElementFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("userRelPage")
|
|
|
- Result<List<ElementUserRelRespVo>> userRelPage(@RequestBody SearchDTO searchDTO);
|
|
|
+ Page<ElementUserRelRespVo> userRelPage(@RequestBody SearchDTO searchDTO);
|
|
|
|
|
|
/**
|
|
|
* 保存用户关联关系
|
|
@@ -76,7 +75,7 @@ public interface IEnvElementFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("userRelSave")
|
|
|
- Result<Object> userRelSave(@RequestBody ElementUserSaveVo relSaveVo);
|
|
|
+ ResponseStatus userRelSave(@RequestBody ElementUserSaveVo relSaveVo);
|
|
|
|
|
|
/**
|
|
|
* 删除用户关联关系
|
|
@@ -85,7 +84,7 @@ public interface IEnvElementFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
@DeleteMapping("deleteUserRel/{id}")
|
|
|
- Result<Object> deleteUserRel(@PathVariable("id") String id);
|
|
|
+ ResponseStatus deleteUserRel(@PathVariable("id") String id);
|
|
|
|
|
|
/**
|
|
|
* 非关联用户分页查询
|
|
@@ -93,5 +92,5 @@ public interface IEnvElementFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("notInUserRelPage")
|
|
|
- Result<List<AuthUserVo>> notInUserRelPage(@RequestBody SearchDTO searchDTO);
|
|
|
+ Page<AuthUserVo> notInUserRelPage(@RequestBody SearchDTO searchDTO);
|
|
|
}
|