WangHan
2025-04-02 a8ba678a3fe5a39da2c732014cebbb66e408e97c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.consum.base.controller;
 
import com.consum.base.BaseController;
import com.consum.base.service.LOrgSupplierServiceImpl;
import com.iplatform.model.po.S_user_core;
import com.walker.web.ResponseValue;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @ClassName LOrgSupplierController
 
 * @Date 2023/11/2
 * @Description
 * @Version 1.0
 **/
// @Api(value = "供应商", tags = "供应商")
@RestController
@RequestMapping("/pc/orgSupplier")
public class LOrgSupplierController extends BaseController {
 
    @Resource
    private LOrgSupplierServiceImpl lOrgSupplierService;
 
    @GetMapping("/getSupplier")
    public ResponseValue queryFormProcureList(String supplier) {
        S_user_core currentUser = this.getCurrentUser();
        if (currentUser == null) {
            return ResponseValue.error("登录用户信息不存在");
        }
        return ResponseValue.success(lOrgSupplierService.selectSupplier(this.getSysInfo().getTenantId(), supplier));
    }
}