|
|
@@ -2,10 +2,12 @@ package com.usoftchina.saas.document.api;
|
|
|
|
|
|
import com.usoftchina.saas.auth.client.interceptor.ServiceFeignInterceptor;
|
|
|
import com.usoftchina.saas.base.Result;
|
|
|
+import com.usoftchina.saas.document.dto.VendorDTO;
|
|
|
import com.usoftchina.saas.document.dto.VendorListDTO;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -19,4 +21,12 @@ public interface VendorApi {
|
|
|
*/
|
|
|
@GetMapping("/vendor/read/{id}")
|
|
|
Result<VendorListDTO> getDataById(@PathVariable("id") Long id);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 通过供应商UU号查找 供应商信息
|
|
|
+ * @param uu
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/vendor/read", params = "uu")
|
|
|
+ Result<VendorDTO> findByUU(@RequestParam("uu") Long uu);
|
|
|
}
|