初始化 crm 模块
parent
82fd800ad2
commit
7e312aae02
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 线索
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.clue;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.contact;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 合同
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.contract;
|
||||
@ -0,0 +1,4 @@
|
||||
### 请求 /crm/customer/test 接口 => 成功
|
||||
GET {{baseUrl}}/crm/customer/test
|
||||
tenant-id: 1
|
||||
Authorization: Bearer {{token}}
|
||||
@ -0,0 +1,23 @@
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.customer;
|
||||
|
||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
|
||||
|
||||
@Tag(name = "管理后台 - 客户信息")
|
||||
@RestController
|
||||
@RequestMapping("/crm/customer")
|
||||
@Validated
|
||||
public class CrmCustomerController {
|
||||
|
||||
@GetMapping("/test")
|
||||
public CommonResult<String> test() {
|
||||
return success("hello");
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 产品表
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.product;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 回款
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.admin.receivable;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 占位
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.controller.app;
|
||||
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 提供 POJO 类的实体转换
|
||||
*
|
||||
* 目前使用 MapStruct 框架
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.convert;
|
||||
@ -0,0 +1 @@
|
||||
<http://www.iocoder.cn/Spring-Boot/MapStruct/?yudao>
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 线索
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.clue;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.contact;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 合同
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.contract;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 客户
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.customer;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 产品表
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.product;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 回款
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.dataobject.receivable;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 线索
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.clue;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.contact;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 合同
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.contract;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 客户
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.customer;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 产品表
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.product;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 回款
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.dal.mysql.receivable;
|
||||
@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 属于 crm 模块的 framework 封装
|
||||
*
|
||||
* @author 芋道源码
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.framework;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 线索
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.clue;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.contact;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 合同
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.contract;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 客户
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.customer;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 产品表
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.product;
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 回款
|
||||
*/
|
||||
package cn.iocoder.yudao.module.crm.service.receivable;
|
||||
Loading…
Reference in New Issue