feat:查询OA用户列表

This commit is contained in:
2026-01-27 09:04:36 +08:00
parent d048efe94d
commit 9ded8a078b
10 changed files with 203 additions and 4 deletions

View File

@@ -0,0 +1,34 @@
package com.sdm.system.controller;
import com.alibaba.fastjson2.JSONArray;
import com.sdm.common.common.SdmResponse;
import com.sdm.outbridge.entity.LyricVUserToDm;
import com.sdm.outbridge.service.lyric.*;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
@Slf4j
@RestController
@RequestMapping(value = "/lyricUser")
@Tag(name = "外部模块系统交互", description = "外部模块系统交互")
public class LyricUserController {
/*利元亨现场对接接口方法*/
@Autowired
private LyricIntegrateService lyricIntegrateService;
@PostMapping("/queryUserList")
@Operation(summary = "查询利元亨用户列表")
public SdmResponse<List<LyricVUserToDm>> queryUserList(@RequestParam String workType) {
SdmResponse sdmResponse = lyricIntegrateService.queryUserList(workType);
return sdmResponse;
}
}