src/main/java/com/nathan/crm/controller/CusDevPlanController.java
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.nathan.crm.controller;
import com.nathan.base.BaseController;
import com.nathan.base.ResultInfo;
import com.nathan.crm.enums.StateStatus;
import com.nathan.crm.query.CusDevPlanQuery;
import com.nathan.crm.query.SaleChanceQuery;
import com.nathan.crm.service.CusDevPlanService;
import com.nathan.crm.service.SaleChanceService;
import com.nathan.crm.utils.LoginUserUtil;
import com.nathan.crm.vo.CusDevPlan;
import com.nathan.crm.vo.SaleChance;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;
@Controller
@RequestMapping("cus_dev_plan")
public class CusDevPlanController extends BaseController {
@Autowired
private SaleChanceService saleChanceService;
@Autowired
private CusDevPlanService cusDevPlanService;
/*
分页查询客户开发计划数据
*/
@RequestMapping("list")
@ResponseBody
public Map<String,Object> queryCusDevPlanByParams(CusDevPlanQuery cusDevPlanQuery){
return cusDevPlanService.queryCusDevPlanByParams(cusDevPlanQuery);
}
/*
添加客户开发计划
*/
@RequestMapping("add")
@ResponseBody
public ResultInfo addCusDevPlan(CusDevPlan cusDevPlan){
cusDevPlanService.addCusDevPlan(cusDevPlan);
return success("添加成功!");
}
/*
更新客户开发计划
*/
@RequestMapping("update")
@ResponseBody
public ResultInfo updateCusDevPlan(CusDevPlan cusDevPlan){
cusDevPlanService.updateCusDevPlan(cusDevPlan);
后面还有 54 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。