Преглед на файлове

fix(苏商银行):续授信逻辑修改

liutao преди 1 месец
родител
ревизия
c219a11425
променени са 2 файла, в които са добавени 13 реда и са изтрити 1 реда
  1. 1 1
      build.gradle
  2. 12 0
      src/main/java/com/sunxung/factoring/web/supplier/SupplierController.java

+ 1 - 1
build.gradle

@@ -9,7 +9,7 @@ targetCompatibility = 1.8
 
 jar {
     baseName = 'factoring-trade-prod'
-    version = '1.0.65'
+    version = '1.0.66'
 }
 
 springBoot {

+ 12 - 0
src/main/java/com/sunxung/factoring/web/supplier/SupplierController.java

@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
 import javax.annotation.Resource;
 import javax.servlet.http.HttpServletResponse;
 import java.io.IOException;
+import java.util.List;
 
 /**
  * @author liutao
@@ -49,6 +50,17 @@ public class SupplierController {
 
     @Autowired
     private IEnterpriseService enterpriseService;
+
+
+    /**
+     * 根据关键字模糊查询企业   企查查886高级接口
+     */
+    @RequestMapping("getBusinessByKeyWord")
+    public ResponseJson getBusinessByKeyWord(@RequestParam String keyword){
+        List<Enterprise> enterpriseList = enterpriseService.getBusinessByKeyWord(keyword);
+        return new ResponseJson(enterpriseList);
+    }
+
     /**
      * 开启流程
      * @param supplierInfo