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)); } }