|
@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.kexun.common.utils.Result;
|
|
import com.kexun.common.utils.Result;
|
|
import com.kexun.entity.CooperatorField;
|
|
import com.kexun.entity.CooperatorField;
|
|
import com.kexun.entity.CooperatorInfo;
|
|
import com.kexun.entity.CooperatorInfo;
|
|
|
|
+import com.kexun.entity.CooperatorProduct;
|
|
import com.kexun.service.CooperatorService;
|
|
import com.kexun.service.CooperatorService;
|
|
import lombok.extern.java.Log;
|
|
import lombok.extern.java.Log;
|
|
import org.apache.commons.lang.StringUtils;
|
|
import org.apache.commons.lang.StringUtils;
|
|
@@ -68,6 +69,17 @@ public class CooperatorController {
|
|
return Result.success("ok", result);
|
|
return Result.success("ok", result);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @GetMapping("findCooperatorProductByNum")
|
|
|
|
+ public Result findCooperatorProductByNum(String cooperatorNum) {
|
|
|
|
+
|
|
|
|
+ JSONObject result = new JSONObject();
|
|
|
|
+ List<CooperatorProduct> list = CooperatorService.findCooperatorProductByNum();
|
|
|
|
+// System.out.println(list);
|
|
|
|
+ result.put("cooperator_product",list);
|
|
|
|
+
|
|
|
|
+ return Result.success("ok", result);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
@GetMapping("list")
|
|
@GetMapping("list")
|
|
public Result list(String partnerName) {
|
|
public Result list(String partnerName) {
|