Browse Source

✨ CRM:更新最新代码,支持线索、客户、联系人、商机、合同等功能

YunaiV 2 years ago
parent
commit
a390fb4519

BIN
.image/common/crm-feature.png


+ 6 - 0
README.md

@@ -255,6 +255,12 @@
 
 演示地址:<https://doc.iocoder.cn/erp-preview/>
 
+### CRM 系统
+
+![功能图](/.image/common/crm-feature.png)
+
+演示地址:<https://doc.iocoder.cn/crm-preview/>
+
 ## 🐨 技术栈
 
 ### 模块

+ 0 - 0
sql/mysql/optinal/crm_data.sql


+ 0 - 0
sql/mysql/optinal/crm_menu.sql


File diff suppressed because it is too large
+ 39 - 39
sql/mysql/ruoyi-vue-pro.sql


+ 0 - 1
yudao-module-crm/pom.xml

@@ -19,7 +19,6 @@
     <description>
         crm 包下,客户关系管理(Customer Relationship Management)。
         例如说:客户、联系人、商机、合同、回款等等
-        商业智能 BI 模块,包括:报表、图表、数据大屏等等
     </description>
 
 </project>

+ 0 - 1
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/customer/CrmCustomerController.java

@@ -128,7 +128,6 @@ public class CrmCustomerController {
     @Operation(summary = "获得客户分页")
     @PreAuthorize("@ss.hasPermission('crm:customer:query')")
     public CommonResult<PageResult<CrmCustomerRespVO>> getCustomerPage(@Valid CrmCustomerPageReqVO pageVO) {
-        customerService.autoPutCustomerPool();
         // 1. 查询客户分页
         PageResult<CrmCustomerDO> pageResult = customerService.getCustomerPage(pageVO, getLoginUserId());
         if (CollUtil.isEmpty(pageResult.getList())) {

+ 2 - 0
yudao-module-infra/yudao-module-infra-biz/src/test/java/cn/iocoder/yudao/module/infra/service/codegen/CodegenServiceImplTest.java

@@ -24,6 +24,7 @@ import cn.iocoder.yudao.module.system.api.user.AdminUserApi;
 import cn.iocoder.yudao.module.system.api.user.dto.AdminUserRespDTO;
 import com.baomidou.mybatisplus.generator.config.po.TableField;
 import com.baomidou.mybatisplus.generator.config.po.TableInfo;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.springframework.boot.test.mock.mockito.MockBean;
 import org.springframework.context.annotation.Import;
@@ -233,6 +234,7 @@ public class CodegenServiceImplTest extends BaseDbUnitTest {
     }
 
     @Test
+    @Disabled // TODO @芋艿:这个单测会随机性失败,需要定位下;
     public void testSyncCodegenFromDB() {
         // mock 数据(CodegenTableDO)
         CodegenTableDO table = randomPojo(CodegenTableDO.class, o -> o.setTableName("t_yunai")

+ 5 - 5
yudao-server/pom.xml

@@ -88,11 +88,11 @@
 <!--        </dependency>-->
 
         <!-- CRM 相关模块。默认注释,保证编译速度 -->
-        <dependency>
-            <groupId>cn.iocoder.boot</groupId>
-            <artifactId>yudao-module-crm-biz</artifactId>
-            <version>${revision}</version>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>cn.iocoder.boot</groupId>-->
+<!--            <artifactId>yudao-module-crm-biz</artifactId>-->
+<!--            <version>${revision}</version>-->
+<!--        </dependency>-->
 
         <!-- ERP 相关模块。默认注释,保证编译速度 -->
 <!--        <dependency>-->