feat:查询OA用户列表
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user