修改 监控页面链接

master
wangh 1 year ago
parent 4625e16e23
commit 6087d09c1c

@ -37,7 +37,7 @@ public class ApiController {
@Autowired
private IBaseCustomerService baseCustomerService;//客户
@ApiOperation(tags = {"首页","文档归档"}, value = "客户-列表")
@ApiOperation(tags = {"首页"}, value = "客户-列表")
@GetMapping("/home/queryCustomer")
public AjaxResult queryCustomer() {
return success(baseCustomerService.selectBaseCustomerList(null));

@ -6,6 +6,7 @@ import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@ -21,6 +22,8 @@ import com.haiwei.common.core.domain.AjaxResult;
import com.haiwei.common.utils.poi.ExcelUtil;
import com.haiwei.common.core.page.TableDataInfo;
import static com.haiwei.common.core.domain.AjaxResult.success;
/**
* Controller
*
@ -52,6 +55,14 @@ public class BaseCustomerController extends BaseController {
List<BaseCustomer> list = baseCustomerService.selectBaseCustomerList(baseCustomer);
return getDataTable(list);
}
@ApiOperation(tags = {"文档归档"}, value = "客户-列表")
@GetMapping("/customerList")
@ResponseBody
public AjaxResult queryCustomer(String name) {
BaseCustomer baseCustomer=new BaseCustomer();
baseCustomer.setCustomerName(name);
return AjaxResult.success(baseCustomerService.selectBaseCustomerList(baseCustomer));
}
/**
*

Loading…
Cancel
Save