|
|
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
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.utils.poi.ExcelUtil;
|
|
|
|
import com.haiwei.common.core.page.TableDataInfo;
|
|
|
|
import com.haiwei.common.core.page.TableDataInfo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static com.haiwei.common.core.domain.AjaxResult.success;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 客户信息管理Controller
|
|
|
|
* 客户信息管理Controller
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -52,6 +55,14 @@ public class BaseCustomerController extends BaseController {
|
|
|
|
List<BaseCustomer> list = baseCustomerService.selectBaseCustomerList(baseCustomer);
|
|
|
|
List<BaseCustomer> list = baseCustomerService.selectBaseCustomerList(baseCustomer);
|
|
|
|
return getDataTable(list);
|
|
|
|
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));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 导出客户信息管理列表
|
|
|
|
* 导出客户信息管理列表
|
|
|
|