src/main/java/com/nathan/crm/controller/CustomerLossController.java
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.nathan.crm.controller;
import com.nathan.base.BaseController;
import com.nathan.base.ResultInfo;
import com.nathan.crm.query.CustomerLossQuery;
import com.nathan.crm.service.CustomerLossService;
import com.nathan.crm.service.CustomerReprieveService;
import com.nathan.crm.vo.CustomerLoss;
import com.nathan.crm.vo.CustomerReprieve;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.Map;
@Controller
@RequestMapping("customer_loss")
public class CustomerLossController extends BaseController {
@Autowired
private CustomerLossService customerLossService;
/**
* 跳转到客户流失管理页面
* @return
*/
@RequestMapping("index")
public String index(){
return "customerLoss/customer_loss";
}
/**
* 查询客户流失信息
* @param customerLossQuery
* @return
*/
@RequestMapping("list")
@ResponseBody
public Map<String,Object> list(CustomerLossQuery customerLossQuery){
return customerLossService.queryByParamsForTable(customerLossQuery);
}
/**
* 打开客户流失暂缓数据页面
* @param cusId
* @return
*/
@RequestMapping("toCustomerRepPage")
public String toCustomerRepPage(Integer cusId, Model model){
// 根据id查询流失客户信息
CustomerLoss customerLoss = customerLossService.selectByPrimaryKey(cusId);
model.addAttribute("customerLoss",customerLoss);
return "customerLoss/customer_rep";
}
/**
后面还有 12 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。