Sfoglia il codice sorgente

Merge branch 'v3.5' of http://git.ycjcjy.com/zhiyuxing/estateagents into v3.5

魏熙美 5 anni fa
parent
commit
adf34d9b33
33 ha cambiato i file con 1086 aggiunte e 9 eliminazioni
  1. 1
    1
      pom.xml
  2. 149
    0
      src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerFollowUpRecordController.java
  3. 149
    0
      src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerGenderStatisticController.java
  4. 149
    0
      src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerStatisticDailyController.java
  5. 149
    0
      src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerStatisticMonthlyController.java
  6. 59
    0
      src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerFollowUpRecord.java
  7. 64
    0
      src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerGenderStatistic.java
  8. 56
    0
      src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerStatisticDaily.java
  9. 66
    0
      src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerStatisticMonthly.java
  10. 18
    0
      src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerFollowUpRecordMapper.java
  11. 18
    0
      src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerGenderStatisticMapper.java
  12. 18
    0
      src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerStatisticDailyMapper.java
  13. 18
    0
      src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerStatisticMonthlyMapper.java
  14. 16
    0
      src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerFollowUpRecordService.java
  15. 16
    0
      src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerGenderStatisticService.java
  16. 16
    0
      src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerStatisticDailyService.java
  17. 16
    0
      src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerStatisticMonthlyService.java
  18. 20
    0
      src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerFollowUpRecordServiceImpl.java
  19. 20
    0
      src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerGenderStatisticServiceImpl.java
  20. 20
    0
      src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerStatisticDailyServiceImpl.java
  21. 20
    0
      src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerStatisticMonthlyServiceImpl.java
  22. 1
    1
      src/main/resources/application-demo.yml
  23. 1
    1
      src/main/resources/application-dev.yml
  24. 1
    1
      src/main/resources/application-gzysd.yml
  25. 1
    1
      src/main/resources/application-nj.yml
  26. 1
    1
      src/main/resources/application-prod.yml
  27. 1
    1
      src/main/resources/application-test.yml
  28. 1
    1
      src/main/resources/application-v3.yml
  29. 1
    1
      src/main/resources/application-xs.yml
  30. 5
    0
      src/main/resources/mapper/statistic/TaCustomerFollowUpRecordMapper.xml
  31. 5
    0
      src/main/resources/mapper/statistic/TaCustomerGenderStatisticMapper.xml
  32. 5
    0
      src/main/resources/mapper/statistic/TaCustomerStatisticDailyMapper.xml
  33. 5
    0
      src/main/resources/mapper/statistic/TaCustomerStatisticMonthlyMapper.xml

+ 1
- 1
pom.xml Vedi File

@@ -198,7 +198,7 @@
198 198
 				<includes>
199 199
 					<include>application.yml</include>
200 200
 					<include>application-${profiles.active}.yml</include>
201
-					<include>mapper/*.xml</include>
201
+					<include>mapper/**/*.xml</include>
202 202
 				</includes>
203 203
 			</resource>
204 204
 		</resources>

+ 149
- 0
src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerFollowUpRecordController.java Vedi File

@@ -0,0 +1,149 @@
1
+package com.huiju.estateagents.statistic.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.huiju.estateagents.base.BaseController;
7
+import com.huiju.estateagents.base.ResponseBean;
8
+import com.huiju.estateagents.statistic.entity.TaCustomerFollowUpRecord;
9
+import com.huiju.estateagents.statistic.service.ITaCustomerFollowUpRecordService;
10
+import org.slf4j.Logger;
11
+import org.slf4j.LoggerFactory;
12
+import org.springframework.beans.factory.annotation.Autowired;
13
+import org.springframework.web.bind.annotation.PathVariable;
14
+import org.springframework.web.bind.annotation.RequestBody;
15
+import org.springframework.web.bind.annotation.RequestMapping;
16
+import org.springframework.web.bind.annotation.RequestMethod;
17
+import org.springframework.web.bind.annotation.RequestParam;
18
+import org.springframework.web.bind.annotation.ResponseBody;
19
+import org.springframework.web.bind.annotation.RestController;
20
+
21
+/**
22
+ * <p>
23
+    * 跟进记录表 小程序盘客工具我的客户跟进记录信息 前端控制器
24
+    * </p>
25
+ *
26
+ * @author jobob
27
+ * @since 2019-11-08
28
+ */
29
+@RestController
30
+@RequestMapping("/")
31
+public class TaCustomerFollowUpRecordController extends BaseController {
32
+
33
+    private final Logger logger = LoggerFactory.getLogger(TaCustomerFollowUpRecordController.class);
34
+
35
+    @Autowired
36
+    public ITaCustomerFollowUpRecordService iTaCustomerFollowUpRecordService;
37
+
38
+
39
+    /**
40
+     * 分页查询列表
41
+     * @param pageNum
42
+     * @param pageSize
43
+     * @return
44
+     */
45
+    @RequestMapping(value="/taCustomerFollowUpRecord",method= RequestMethod.GET)
46
+    public ResponseBean taCustomerFollowUpRecordList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
47
+                                                     @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
48
+        ResponseBean responseBean = new ResponseBean();
49
+        try {
50
+            //使用分页插件
51
+		    IPage<TaCustomerFollowUpRecord> pg = new Page<>(pageNum, pageSize);
52
+            QueryWrapper<TaCustomerFollowUpRecord> queryWrapper = new QueryWrapper<>();
53
+            queryWrapper.orderByDesc("create_date");
54
+
55
+            IPage<TaCustomerFollowUpRecord> result = iTaCustomerFollowUpRecordService.page(pg, queryWrapper);
56
+            responseBean.addSuccess(result);
57
+        }catch (Exception e){
58
+            e.printStackTrace();
59
+            logger.error("taCustomerFollowUpRecordList -=- {}",e.toString());
60
+            responseBean.addError(e.getMessage());
61
+        }
62
+        return responseBean;
63
+    }
64
+
65
+    /**
66
+     * 保存对象
67
+     * @param taCustomerFollowUpRecord 实体对象
68
+     * @return
69
+     */
70
+    @RequestMapping(value="/taCustomerFollowUpRecord",method= RequestMethod.POST)
71
+    public ResponseBean taCustomerFollowUpRecordAdd(@RequestBody TaCustomerFollowUpRecord taCustomerFollowUpRecord){
72
+        ResponseBean responseBean = new ResponseBean();
73
+        try {
74
+            if (iTaCustomerFollowUpRecordService.save(taCustomerFollowUpRecord)){
75
+                responseBean.addSuccess(taCustomerFollowUpRecord);
76
+            }else {
77
+                responseBean.addError("fail");
78
+            }
79
+        }catch (Exception e){
80
+            e.printStackTrace();
81
+            logger.error("taCustomerFollowUpRecordAdd -=- {}",e.toString());
82
+            responseBean.addError(e.getMessage());
83
+        }
84
+        return responseBean;
85
+    }
86
+
87
+    /**
88
+     * 根据id删除对象
89
+     * @param id  实体ID
90
+     */
91
+    @ResponseBody
92
+    @RequestMapping(value="/taCustomerFollowUpRecord/{id}", method= RequestMethod.DELETE)
93
+    public ResponseBean taCustomerFollowUpRecordDelete(@PathVariable Integer id){
94
+        ResponseBean responseBean = new ResponseBean();
95
+        try {
96
+            if(iTaCustomerFollowUpRecordService.removeById(id)){
97
+                responseBean.addSuccess("success");
98
+            }else {
99
+                responseBean.addError("fail");
100
+            }
101
+        }catch (Exception e){
102
+            e.printStackTrace();
103
+            logger.error("taCustomerFollowUpRecordDelete -=- {}",e.toString());
104
+            responseBean.addError(e.getMessage());
105
+        }
106
+        return responseBean;
107
+    }
108
+
109
+    /**
110
+     * 修改对象
111
+     * @param id  实体ID
112
+     * @param taCustomerFollowUpRecord 实体对象
113
+     * @return
114
+     */
115
+    @RequestMapping(value="/taCustomerFollowUpRecord/{id}",method= RequestMethod.PUT)
116
+    public ResponseBean taCustomerFollowUpRecordUpdate(@PathVariable Integer id,
117
+                                        @RequestBody TaCustomerFollowUpRecord taCustomerFollowUpRecord){
118
+        ResponseBean responseBean = new ResponseBean();
119
+        try {
120
+            if (iTaCustomerFollowUpRecordService.updateById(taCustomerFollowUpRecord)){
121
+                responseBean.addSuccess(taCustomerFollowUpRecord);
122
+            }else {
123
+                responseBean.addError("fail");
124
+            }
125
+        }catch (Exception e){
126
+            e.printStackTrace();
127
+            logger.error("taCustomerFollowUpRecordUpdate -=- {}",e.toString());
128
+            responseBean.addError(e.getMessage());
129
+        }
130
+        return responseBean;
131
+    }
132
+
133
+    /**
134
+     * 根据id查询对象
135
+     * @param id  实体ID
136
+     */
137
+    @RequestMapping(value="/taCustomerFollowUpRecord/{id}",method= RequestMethod.GET)
138
+    public ResponseBean taCustomerFollowUpRecordGet(@PathVariable Integer id){
139
+        ResponseBean responseBean = new ResponseBean();
140
+        try {
141
+            responseBean.addSuccess(iTaCustomerFollowUpRecordService.getById(id));
142
+        }catch (Exception e){
143
+            e.printStackTrace();
144
+            logger.error("taCustomerFollowUpRecordDelete -=- {}",e.toString());
145
+            responseBean.addError(e.getMessage());
146
+        }
147
+        return responseBean;
148
+    }
149
+}

+ 149
- 0
src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerGenderStatisticController.java Vedi File

@@ -0,0 +1,149 @@
1
+package com.huiju.estateagents.statistic.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.huiju.estateagents.base.BaseController;
7
+import com.huiju.estateagents.base.ResponseBean;
8
+import com.huiju.estateagents.statistic.entity.TaCustomerGenderStatistic;
9
+import com.huiju.estateagents.statistic.service.ITaCustomerGenderStatisticService;
10
+import org.slf4j.Logger;
11
+import org.slf4j.LoggerFactory;
12
+import org.springframework.beans.factory.annotation.Autowired;
13
+import org.springframework.web.bind.annotation.PathVariable;
14
+import org.springframework.web.bind.annotation.RequestBody;
15
+import org.springframework.web.bind.annotation.RequestMapping;
16
+import org.springframework.web.bind.annotation.RequestMethod;
17
+import org.springframework.web.bind.annotation.RequestParam;
18
+import org.springframework.web.bind.annotation.ResponseBody;
19
+import org.springframework.web.bind.annotation.RestController;
20
+
21
+/**
22
+ * <p>
23
+    * 客户分析性别统计表 小程序盘客工具客户分析 前端控制器
24
+    * </p>
25
+ *
26
+ * @author jobob
27
+ * @since 2019-11-08
28
+ */
29
+@RestController
30
+@RequestMapping("/")
31
+public class TaCustomerGenderStatisticController extends BaseController {
32
+
33
+    private final Logger logger = LoggerFactory.getLogger(TaCustomerGenderStatisticController.class);
34
+
35
+    @Autowired
36
+    public ITaCustomerGenderStatisticService iTaCustomerGenderStatisticService;
37
+
38
+
39
+    /**
40
+     * 分页查询列表
41
+     * @param pageNum
42
+     * @param pageSize
43
+     * @return
44
+     */
45
+    @RequestMapping(value="/taCustomerGenderStatistic",method= RequestMethod.GET)
46
+    public ResponseBean taCustomerGenderStatisticList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
47
+                                                      @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
48
+        ResponseBean responseBean = new ResponseBean();
49
+        try {
50
+            //使用分页插件
51
+		    IPage<TaCustomerGenderStatistic> pg = new Page<>(pageNum, pageSize);
52
+            QueryWrapper<TaCustomerGenderStatistic> queryWrapper = new QueryWrapper<>();
53
+            queryWrapper.orderByDesc("create_date");
54
+
55
+            IPage<TaCustomerGenderStatistic> result = iTaCustomerGenderStatisticService.page(pg, queryWrapper);
56
+            responseBean.addSuccess(result);
57
+        }catch (Exception e){
58
+            e.printStackTrace();
59
+            logger.error("taCustomerGenderStatisticList -=- {}",e.toString());
60
+            responseBean.addError(e.getMessage());
61
+        }
62
+        return responseBean;
63
+    }
64
+
65
+    /**
66
+     * 保存对象
67
+     * @param taCustomerGenderStatistic 实体对象
68
+     * @return
69
+     */
70
+    @RequestMapping(value="/taCustomerGenderStatistic",method= RequestMethod.POST)
71
+    public ResponseBean taCustomerGenderStatisticAdd(@RequestBody TaCustomerGenderStatistic taCustomerGenderStatistic){
72
+        ResponseBean responseBean = new ResponseBean();
73
+        try {
74
+            if (iTaCustomerGenderStatisticService.save(taCustomerGenderStatistic)){
75
+                responseBean.addSuccess(taCustomerGenderStatistic);
76
+            }else {
77
+                responseBean.addError("fail");
78
+            }
79
+        }catch (Exception e){
80
+            e.printStackTrace();
81
+            logger.error("taCustomerGenderStatisticAdd -=- {}",e.toString());
82
+            responseBean.addError(e.getMessage());
83
+        }
84
+        return responseBean;
85
+    }
86
+
87
+    /**
88
+     * 根据id删除对象
89
+     * @param id  实体ID
90
+     */
91
+    @ResponseBody
92
+    @RequestMapping(value="/taCustomerGenderStatistic/{id}", method= RequestMethod.DELETE)
93
+    public ResponseBean taCustomerGenderStatisticDelete(@PathVariable Integer id){
94
+        ResponseBean responseBean = new ResponseBean();
95
+        try {
96
+            if(iTaCustomerGenderStatisticService.removeById(id)){
97
+                responseBean.addSuccess("success");
98
+            }else {
99
+                responseBean.addError("fail");
100
+            }
101
+        }catch (Exception e){
102
+            e.printStackTrace();
103
+            logger.error("taCustomerGenderStatisticDelete -=- {}",e.toString());
104
+            responseBean.addError(e.getMessage());
105
+        }
106
+        return responseBean;
107
+    }
108
+
109
+    /**
110
+     * 修改对象
111
+     * @param id  实体ID
112
+     * @param taCustomerGenderStatistic 实体对象
113
+     * @return
114
+     */
115
+    @RequestMapping(value="/taCustomerGenderStatistic/{id}",method= RequestMethod.PUT)
116
+    public ResponseBean taCustomerGenderStatisticUpdate(@PathVariable Integer id,
117
+                                        @RequestBody TaCustomerGenderStatistic taCustomerGenderStatistic){
118
+        ResponseBean responseBean = new ResponseBean();
119
+        try {
120
+            if (iTaCustomerGenderStatisticService.updateById(taCustomerGenderStatistic)){
121
+                responseBean.addSuccess(taCustomerGenderStatistic);
122
+            }else {
123
+                responseBean.addError("fail");
124
+            }
125
+        }catch (Exception e){
126
+            e.printStackTrace();
127
+            logger.error("taCustomerGenderStatisticUpdate -=- {}",e.toString());
128
+            responseBean.addError(e.getMessage());
129
+        }
130
+        return responseBean;
131
+    }
132
+
133
+    /**
134
+     * 根据id查询对象
135
+     * @param id  实体ID
136
+     */
137
+    @RequestMapping(value="/taCustomerGenderStatistic/{id}",method= RequestMethod.GET)
138
+    public ResponseBean taCustomerGenderStatisticGet(@PathVariable Integer id){
139
+        ResponseBean responseBean = new ResponseBean();
140
+        try {
141
+            responseBean.addSuccess(iTaCustomerGenderStatisticService.getById(id));
142
+        }catch (Exception e){
143
+            e.printStackTrace();
144
+            logger.error("taCustomerGenderStatisticDelete -=- {}",e.toString());
145
+            responseBean.addError(e.getMessage());
146
+        }
147
+        return responseBean;
148
+    }
149
+}

+ 149
- 0
src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerStatisticDailyController.java Vedi File

@@ -0,0 +1,149 @@
1
+package com.huiju.estateagents.statistic.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.huiju.estateagents.base.BaseController;
7
+import com.huiju.estateagents.base.ResponseBean;
8
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticDaily;
9
+import com.huiju.estateagents.statistic.service.ITaCustomerStatisticDailyService;
10
+import org.slf4j.Logger;
11
+import org.slf4j.LoggerFactory;
12
+import org.springframework.beans.factory.annotation.Autowired;
13
+import org.springframework.web.bind.annotation.PathVariable;
14
+import org.springframework.web.bind.annotation.RequestBody;
15
+import org.springframework.web.bind.annotation.RequestMapping;
16
+import org.springframework.web.bind.annotation.RequestMethod;
17
+import org.springframework.web.bind.annotation.RequestParam;
18
+import org.springframework.web.bind.annotation.ResponseBody;
19
+import org.springframework.web.bind.annotation.RestController;
20
+
21
+/**
22
+ * <p>
23
+    * 客户分析日统计表 小程序盘客工具客户分析 前端控制器
24
+    * </p>
25
+ *
26
+ * @author jobob
27
+ * @since 2019-11-08
28
+ */
29
+@RestController
30
+@RequestMapping("/")
31
+public class TaCustomerStatisticDailyController extends BaseController {
32
+
33
+    private final Logger logger = LoggerFactory.getLogger(TaCustomerStatisticDailyController.class);
34
+
35
+    @Autowired
36
+    public ITaCustomerStatisticDailyService iTaCustomerStatisticDailyService;
37
+
38
+
39
+    /**
40
+     * 分页查询列表
41
+     * @param pageNum
42
+     * @param pageSize
43
+     * @return
44
+     */
45
+    @RequestMapping(value="/taCustomerStatisticDaily",method= RequestMethod.GET)
46
+    public ResponseBean taCustomerStatisticDailyList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
47
+                                                     @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
48
+        ResponseBean responseBean = new ResponseBean();
49
+        try {
50
+            //使用分页插件
51
+		    IPage<TaCustomerStatisticDaily> pg = new Page<>(pageNum, pageSize);
52
+            QueryWrapper<TaCustomerStatisticDaily> queryWrapper = new QueryWrapper<>();
53
+            queryWrapper.orderByDesc("create_date");
54
+
55
+            IPage<TaCustomerStatisticDaily> result = iTaCustomerStatisticDailyService.page(pg, queryWrapper);
56
+            responseBean.addSuccess(result);
57
+        }catch (Exception e){
58
+            e.printStackTrace();
59
+            logger.error("taCustomerStatisticDailyList -=- {}",e.toString());
60
+            responseBean.addError(e.getMessage());
61
+        }
62
+        return responseBean;
63
+    }
64
+
65
+    /**
66
+     * 保存对象
67
+     * @param taCustomerStatisticDaily 实体对象
68
+     * @return
69
+     */
70
+    @RequestMapping(value="/taCustomerStatisticDaily",method= RequestMethod.POST)
71
+    public ResponseBean taCustomerStatisticDailyAdd(@RequestBody TaCustomerStatisticDaily taCustomerStatisticDaily){
72
+        ResponseBean responseBean = new ResponseBean();
73
+        try {
74
+            if (iTaCustomerStatisticDailyService.save(taCustomerStatisticDaily)){
75
+                responseBean.addSuccess(taCustomerStatisticDaily);
76
+            }else {
77
+                responseBean.addError("fail");
78
+            }
79
+        }catch (Exception e){
80
+            e.printStackTrace();
81
+            logger.error("taCustomerStatisticDailyAdd -=- {}",e.toString());
82
+            responseBean.addError(e.getMessage());
83
+        }
84
+        return responseBean;
85
+    }
86
+
87
+    /**
88
+     * 根据id删除对象
89
+     * @param id  实体ID
90
+     */
91
+    @ResponseBody
92
+    @RequestMapping(value="/taCustomerStatisticDaily/{id}", method= RequestMethod.DELETE)
93
+    public ResponseBean taCustomerStatisticDailyDelete(@PathVariable Integer id){
94
+        ResponseBean responseBean = new ResponseBean();
95
+        try {
96
+            if(iTaCustomerStatisticDailyService.removeById(id)){
97
+                responseBean.addSuccess("success");
98
+            }else {
99
+                responseBean.addError("fail");
100
+            }
101
+        }catch (Exception e){
102
+            e.printStackTrace();
103
+            logger.error("taCustomerStatisticDailyDelete -=- {}",e.toString());
104
+            responseBean.addError(e.getMessage());
105
+        }
106
+        return responseBean;
107
+    }
108
+
109
+    /**
110
+     * 修改对象
111
+     * @param id  实体ID
112
+     * @param taCustomerStatisticDaily 实体对象
113
+     * @return
114
+     */
115
+    @RequestMapping(value="/taCustomerStatisticDaily/{id}",method= RequestMethod.PUT)
116
+    public ResponseBean taCustomerStatisticDailyUpdate(@PathVariable Integer id,
117
+                                        @RequestBody TaCustomerStatisticDaily taCustomerStatisticDaily){
118
+        ResponseBean responseBean = new ResponseBean();
119
+        try {
120
+            if (iTaCustomerStatisticDailyService.updateById(taCustomerStatisticDaily)){
121
+                responseBean.addSuccess(taCustomerStatisticDaily);
122
+            }else {
123
+                responseBean.addError("fail");
124
+            }
125
+        }catch (Exception e){
126
+            e.printStackTrace();
127
+            logger.error("taCustomerStatisticDailyUpdate -=- {}",e.toString());
128
+            responseBean.addError(e.getMessage());
129
+        }
130
+        return responseBean;
131
+    }
132
+
133
+    /**
134
+     * 根据id查询对象
135
+     * @param id  实体ID
136
+     */
137
+    @RequestMapping(value="/taCustomerStatisticDaily/{id}",method= RequestMethod.GET)
138
+    public ResponseBean taCustomerStatisticDailyGet(@PathVariable Integer id){
139
+        ResponseBean responseBean = new ResponseBean();
140
+        try {
141
+            responseBean.addSuccess(iTaCustomerStatisticDailyService.getById(id));
142
+        }catch (Exception e){
143
+            e.printStackTrace();
144
+            logger.error("taCustomerStatisticDailyDelete -=- {}",e.toString());
145
+            responseBean.addError(e.getMessage());
146
+        }
147
+        return responseBean;
148
+    }
149
+}

+ 149
- 0
src/main/java/com/huiju/estateagents/statistic/controller/TaCustomerStatisticMonthlyController.java Vedi File

@@ -0,0 +1,149 @@
1
+package com.huiju.estateagents.statistic.controller;
2
+
3
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
4
+import com.baomidou.mybatisplus.core.metadata.IPage;
5
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
6
+import com.huiju.estateagents.base.BaseController;
7
+import com.huiju.estateagents.base.ResponseBean;
8
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticMonthly;
9
+import com.huiju.estateagents.statistic.service.ITaCustomerStatisticMonthlyService;
10
+import org.slf4j.Logger;
11
+import org.slf4j.LoggerFactory;
12
+import org.springframework.beans.factory.annotation.Autowired;
13
+import org.springframework.web.bind.annotation.PathVariable;
14
+import org.springframework.web.bind.annotation.RequestBody;
15
+import org.springframework.web.bind.annotation.RequestMapping;
16
+import org.springframework.web.bind.annotation.RequestMethod;
17
+import org.springframework.web.bind.annotation.RequestParam;
18
+import org.springframework.web.bind.annotation.ResponseBody;
19
+import org.springframework.web.bind.annotation.RestController;
20
+
21
+/**
22
+ * <p>
23
+    * 客户分析月统计表 小程序盘客工具客户分析 前端控制器
24
+    * </p>
25
+ *
26
+ * @author jobob
27
+ * @since 2019-11-08
28
+ */
29
+@RestController
30
+@RequestMapping("/")
31
+public class TaCustomerStatisticMonthlyController extends BaseController {
32
+
33
+    private final Logger logger = LoggerFactory.getLogger(TaCustomerStatisticMonthlyController.class);
34
+
35
+    @Autowired
36
+    public ITaCustomerStatisticMonthlyService iTaCustomerStatisticMonthlyService;
37
+
38
+
39
+    /**
40
+     * 分页查询列表
41
+     * @param pageNum
42
+     * @param pageSize
43
+     * @return
44
+     */
45
+    @RequestMapping(value="/taCustomerStatisticMonthly",method= RequestMethod.GET)
46
+    public ResponseBean taCustomerStatisticMonthlyList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
47
+                                                       @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
48
+        ResponseBean responseBean = new ResponseBean();
49
+        try {
50
+            //使用分页插件
51
+		    IPage<TaCustomerStatisticMonthly> pg = new Page<>(pageNum, pageSize);
52
+            QueryWrapper<TaCustomerStatisticMonthly> queryWrapper = new QueryWrapper<>();
53
+            queryWrapper.orderByDesc("create_date");
54
+
55
+            IPage<TaCustomerStatisticMonthly> result = iTaCustomerStatisticMonthlyService.page(pg, queryWrapper);
56
+            responseBean.addSuccess(result);
57
+        }catch (Exception e){
58
+            e.printStackTrace();
59
+            logger.error("taCustomerStatisticMonthlyList -=- {}",e.toString());
60
+            responseBean.addError(e.getMessage());
61
+        }
62
+        return responseBean;
63
+    }
64
+
65
+    /**
66
+     * 保存对象
67
+     * @param taCustomerStatisticMonthly 实体对象
68
+     * @return
69
+     */
70
+    @RequestMapping(value="/taCustomerStatisticMonthly",method= RequestMethod.POST)
71
+    public ResponseBean taCustomerStatisticMonthlyAdd(@RequestBody TaCustomerStatisticMonthly taCustomerStatisticMonthly){
72
+        ResponseBean responseBean = new ResponseBean();
73
+        try {
74
+            if (iTaCustomerStatisticMonthlyService.save(taCustomerStatisticMonthly)){
75
+                responseBean.addSuccess(taCustomerStatisticMonthly);
76
+            }else {
77
+                responseBean.addError("fail");
78
+            }
79
+        }catch (Exception e){
80
+            e.printStackTrace();
81
+            logger.error("taCustomerStatisticMonthlyAdd -=- {}",e.toString());
82
+            responseBean.addError(e.getMessage());
83
+        }
84
+        return responseBean;
85
+    }
86
+
87
+    /**
88
+     * 根据id删除对象
89
+     * @param id  实体ID
90
+     */
91
+    @ResponseBody
92
+    @RequestMapping(value="/taCustomerStatisticMonthly/{id}", method= RequestMethod.DELETE)
93
+    public ResponseBean taCustomerStatisticMonthlyDelete(@PathVariable Integer id){
94
+        ResponseBean responseBean = new ResponseBean();
95
+        try {
96
+            if(iTaCustomerStatisticMonthlyService.removeById(id)){
97
+                responseBean.addSuccess("success");
98
+            }else {
99
+                responseBean.addError("fail");
100
+            }
101
+        }catch (Exception e){
102
+            e.printStackTrace();
103
+            logger.error("taCustomerStatisticMonthlyDelete -=- {}",e.toString());
104
+            responseBean.addError(e.getMessage());
105
+        }
106
+        return responseBean;
107
+    }
108
+
109
+    /**
110
+     * 修改对象
111
+     * @param id  实体ID
112
+     * @param taCustomerStatisticMonthly 实体对象
113
+     * @return
114
+     */
115
+    @RequestMapping(value="/taCustomerStatisticMonthly/{id}",method= RequestMethod.PUT)
116
+    public ResponseBean taCustomerStatisticMonthlyUpdate(@PathVariable Integer id,
117
+                                        @RequestBody TaCustomerStatisticMonthly taCustomerStatisticMonthly){
118
+        ResponseBean responseBean = new ResponseBean();
119
+        try {
120
+            if (iTaCustomerStatisticMonthlyService.updateById(taCustomerStatisticMonthly)){
121
+                responseBean.addSuccess(taCustomerStatisticMonthly);
122
+            }else {
123
+                responseBean.addError("fail");
124
+            }
125
+        }catch (Exception e){
126
+            e.printStackTrace();
127
+            logger.error("taCustomerStatisticMonthlyUpdate -=- {}",e.toString());
128
+            responseBean.addError(e.getMessage());
129
+        }
130
+        return responseBean;
131
+    }
132
+
133
+    /**
134
+     * 根据id查询对象
135
+     * @param id  实体ID
136
+     */
137
+    @RequestMapping(value="/taCustomerStatisticMonthly/{id}",method= RequestMethod.GET)
138
+    public ResponseBean taCustomerStatisticMonthlyGet(@PathVariable Integer id){
139
+        ResponseBean responseBean = new ResponseBean();
140
+        try {
141
+            responseBean.addSuccess(iTaCustomerStatisticMonthlyService.getById(id));
142
+        }catch (Exception e){
143
+            e.printStackTrace();
144
+            logger.error("taCustomerStatisticMonthlyDelete -=- {}",e.toString());
145
+            responseBean.addError(e.getMessage());
146
+        }
147
+        return responseBean;
148
+    }
149
+}

+ 59
- 0
src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerFollowUpRecord.java Vedi File

@@ -0,0 +1,59 @@
1
+package com.huiju.estateagents.statistic.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+import lombok.experimental.Accessors;
8
+
9
+import java.io.Serializable;
10
+import java.time.LocalDateTime;
11
+
12
+/**
13
+ * <p>
14
+ * 跟进记录表 小程序盘客工具我的客户跟进记录信息
15
+ * </p>
16
+ *
17
+ * @author jobob
18
+ * @since 2019-11-08
19
+ */
20
+@Data
21
+@EqualsAndHashCode(callSuper = false)
22
+@Accessors(chain = true)
23
+public class TaCustomerFollowUpRecord implements Serializable {
24
+
25
+    private static final long serialVersionUID = 1L;
26
+
27
+    /**
28
+     * 主键ID
29
+     */
30
+    @TableId(value = "follow_up_record_id", type = IdType.AUTO)
31
+    private Integer followUpRecordId;
32
+
33
+    /**
34
+     * 公司id
35
+     */
36
+    private Integer orgId;
37
+
38
+    /**
39
+     * 创建时间
40
+     */
41
+    private LocalDateTime createDate;
42
+
43
+    /**
44
+     * 客户ID
45
+     */
46
+    private String customerId;
47
+
48
+    /**
49
+     * 记录类型
50
+     */
51
+    private String recordType;
52
+
53
+    /**
54
+     * 记录内容
55
+     */
56
+    private String recordContent;
57
+
58
+
59
+}

+ 64
- 0
src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerGenderStatistic.java Vedi File

@@ -0,0 +1,64 @@
1
+package com.huiju.estateagents.statistic.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import lombok.Data;
6
+import lombok.EqualsAndHashCode;
7
+import lombok.experimental.Accessors;
8
+
9
+import java.io.Serializable;
10
+import java.time.LocalDateTime;
11
+
12
+/**
13
+ * <p>
14
+ * 客户分析性别统计表 小程序盘客工具客户分析
15
+ * </p>
16
+ *
17
+ * @author jobob
18
+ * @since 2019-11-08
19
+ */
20
+@Data
21
+@EqualsAndHashCode(callSuper = false)
22
+@Accessors(chain = true)
23
+public class TaCustomerGenderStatistic implements Serializable {
24
+
25
+    private static final long serialVersionUID = 1L;
26
+
27
+    /**
28
+     * 主键ID
29
+     */
30
+    @TableId(value = "customer_gender_statistic_id", type = IdType.AUTO)
31
+    private Integer customerGenderStatisticId;
32
+
33
+    /**
34
+     * 公司id
35
+     */
36
+    private Integer orgId;
37
+
38
+    /**
39
+     * 性别类型 1男2女3未知
40
+     */
41
+    private Integer genderType;
42
+
43
+    /**
44
+     * 客户人数
45
+     */
46
+    private Integer customerNum;
47
+
48
+    /**
49
+     * 百分比 百分比
50
+     */
51
+    private Integer percentage;
52
+
53
+    /**
54
+     * 创建时间
55
+     */
56
+    private LocalDateTime createDate;
57
+
58
+    /**
59
+     * 更新时间
60
+     */
61
+    private LocalDateTime updateDate;
62
+
63
+
64
+}

+ 56
- 0
src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerStatisticDaily.java Vedi File

@@ -0,0 +1,56 @@
1
+package com.huiju.estateagents.statistic.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.baomidou.mybatisplus.annotation.TableName;
6
+import lombok.Data;
7
+import lombok.EqualsAndHashCode;
8
+import lombok.experimental.Accessors;
9
+
10
+import java.io.Serializable;
11
+import java.time.LocalDateTime;
12
+
13
+/**
14
+ * <p>
15
+ * 客户分析日统计表 小程序盘客工具客户分析
16
+ * </p>
17
+ *
18
+ * @author jobob
19
+ * @since 2019-11-08
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@TableName("ta_customer_statistic_daily")
25
+public class TaCustomerStatisticDaily implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    /**
30
+     * 主键ID
31
+     */
32
+    @TableId(value = "customer_statistic_daily_id", type = IdType.AUTO)
33
+    private Integer customerStatisticDailyId;
34
+
35
+    /**
36
+     * 公司id
37
+     */
38
+    private Integer orgId;
39
+
40
+    /**
41
+     * 客户数量
42
+     */
43
+    private Integer customerNum;
44
+
45
+    /**
46
+     * 客户类型 visite 到访客户, new 新增客户 ,follow跟进客户
47
+     */
48
+    private String customerType;
49
+
50
+    /**
51
+     * 创建时间
52
+     */
53
+    private LocalDateTime createDate;
54
+
55
+
56
+}

+ 66
- 0
src/main/java/com/huiju/estateagents/statistic/entity/TaCustomerStatisticMonthly.java Vedi File

@@ -0,0 +1,66 @@
1
+package com.huiju.estateagents.statistic.entity;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.baomidou.mybatisplus.annotation.TableName;
6
+import lombok.Data;
7
+import lombok.EqualsAndHashCode;
8
+import lombok.experimental.Accessors;
9
+
10
+import java.io.Serializable;
11
+import java.time.LocalDateTime;
12
+
13
+/**
14
+ * <p>
15
+ * 客户分析月统计表 小程序盘客工具客户分析
16
+ * </p>
17
+ *
18
+ * @author jobob
19
+ * @since 2019-11-08
20
+ */
21
+@Data
22
+@EqualsAndHashCode(callSuper = false)
23
+@Accessors(chain = true)
24
+@TableName("ta_customer_statistic_monthly")
25
+public class TaCustomerStatisticMonthly implements Serializable {
26
+
27
+    private static final long serialVersionUID = 1L;
28
+
29
+    /**
30
+     * 主键ID
31
+     */
32
+    @TableId(value = "customer_statistic_monthly_id", type = IdType.AUTO)
33
+    private Integer customerStatisticMonthlyId;
34
+
35
+    /**
36
+     * 公司id
37
+     */
38
+    private Integer orgId;
39
+
40
+    /**
41
+     * 客户数量
42
+     */
43
+    private Integer customerNum;
44
+
45
+    /**
46
+     * 客户类型 visite 到访客户, new 新增客户 ,follow跟进客户
47
+     */
48
+    private String customerType;
49
+
50
+    /**
51
+     * 月份 格式yyyymm例201911
52
+     */
53
+    private String month;
54
+
55
+    /**
56
+     * 创建时间
57
+     */
58
+    private LocalDateTime createDate;
59
+
60
+    /**
61
+     * 更新时间
62
+     */
63
+    private LocalDateTime updateDate;
64
+
65
+
66
+}

+ 18
- 0
src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerFollowUpRecordMapper.java Vedi File

@@ -0,0 +1,18 @@
1
+package com.huiju.estateagents.statistic.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerFollowUpRecord;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 跟进记录表 小程序盘客工具我的客户跟进记录信息 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author jobob
13
+ * @since 2019-11-08
14
+ */
15
+@Mapper
16
+public interface TaCustomerFollowUpRecordMapper extends BaseMapper<TaCustomerFollowUpRecord> {
17
+
18
+}

+ 18
- 0
src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerGenderStatisticMapper.java Vedi File

@@ -0,0 +1,18 @@
1
+package com.huiju.estateagents.statistic.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerGenderStatistic;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 客户分析性别统计表 小程序盘客工具客户分析 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author jobob
13
+ * @since 2019-11-08
14
+ */
15
+@Mapper
16
+public interface TaCustomerGenderStatisticMapper extends BaseMapper<TaCustomerGenderStatistic> {
17
+
18
+}

+ 18
- 0
src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerStatisticDailyMapper.java Vedi File

@@ -0,0 +1,18 @@
1
+package com.huiju.estateagents.statistic.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticDaily;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 客户分析日统计表 小程序盘客工具客户分析 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author jobob
13
+ * @since 2019-11-08
14
+ */
15
+@Mapper
16
+public interface TaCustomerStatisticDailyMapper extends BaseMapper<TaCustomerStatisticDaily> {
17
+
18
+}

+ 18
- 0
src/main/java/com/huiju/estateagents/statistic/mapper/TaCustomerStatisticMonthlyMapper.java Vedi File

@@ -0,0 +1,18 @@
1
+package com.huiju.estateagents.statistic.mapper;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticMonthly;
5
+import org.apache.ibatis.annotations.Mapper;
6
+
7
+/**
8
+ * <p>
9
+ * 客户分析月统计表 小程序盘客工具客户分析 Mapper 接口
10
+ * </p>
11
+ *
12
+ * @author jobob
13
+ * @since 2019-11-08
14
+ */
15
+@Mapper
16
+public interface TaCustomerStatisticMonthlyMapper extends BaseMapper<TaCustomerStatisticMonthly> {
17
+
18
+}

+ 16
- 0
src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerFollowUpRecordService.java Vedi File

@@ -0,0 +1,16 @@
1
+package com.huiju.estateagents.statistic.service;
2
+
3
+import com.baomidou.mybatisplus.extension.service.IService;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerFollowUpRecord;
5
+
6
+/**
7
+ * <p>
8
+ * 跟进记录表 小程序盘客工具我的客户跟进记录信息 服务类
9
+ * </p>
10
+ *
11
+ * @author jobob
12
+ * @since 2019-11-08
13
+ */
14
+public interface ITaCustomerFollowUpRecordService extends IService<TaCustomerFollowUpRecord> {
15
+
16
+}

+ 16
- 0
src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerGenderStatisticService.java Vedi File

@@ -0,0 +1,16 @@
1
+package com.huiju.estateagents.statistic.service;
2
+
3
+import com.baomidou.mybatisplus.extension.service.IService;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerGenderStatistic;
5
+
6
+/**
7
+ * <p>
8
+ * 客户分析性别统计表 小程序盘客工具客户分析 服务类
9
+ * </p>
10
+ *
11
+ * @author jobob
12
+ * @since 2019-11-08
13
+ */
14
+public interface ITaCustomerGenderStatisticService extends IService<TaCustomerGenderStatistic> {
15
+
16
+}

+ 16
- 0
src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerStatisticDailyService.java Vedi File

@@ -0,0 +1,16 @@
1
+package com.huiju.estateagents.statistic.service;
2
+
3
+import com.baomidou.mybatisplus.extension.service.IService;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticDaily;
5
+
6
+/**
7
+ * <p>
8
+ * 客户分析日统计表 小程序盘客工具客户分析 服务类
9
+ * </p>
10
+ *
11
+ * @author jobob
12
+ * @since 2019-11-08
13
+ */
14
+public interface ITaCustomerStatisticDailyService extends IService<TaCustomerStatisticDaily> {
15
+
16
+}

+ 16
- 0
src/main/java/com/huiju/estateagents/statistic/service/ITaCustomerStatisticMonthlyService.java Vedi File

@@ -0,0 +1,16 @@
1
+package com.huiju.estateagents.statistic.service;
2
+
3
+import com.baomidou.mybatisplus.extension.service.IService;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticMonthly;
5
+
6
+/**
7
+ * <p>
8
+ * 客户分析月统计表 小程序盘客工具客户分析 服务类
9
+ * </p>
10
+ *
11
+ * @author jobob
12
+ * @since 2019-11-08
13
+ */
14
+public interface ITaCustomerStatisticMonthlyService extends IService<TaCustomerStatisticMonthly> {
15
+
16
+}

+ 20
- 0
src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerFollowUpRecordServiceImpl.java Vedi File

@@ -0,0 +1,20 @@
1
+package com.huiju.estateagents.statistic.service.impl;
2
+
3
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerFollowUpRecord;
5
+import com.huiju.estateagents.statistic.mapper.TaCustomerFollowUpRecordMapper;
6
+import com.huiju.estateagents.statistic.service.ITaCustomerFollowUpRecordService;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 跟进记录表 小程序盘客工具我的客户跟进记录信息 服务实现类
12
+ * </p>
13
+ *
14
+ * @author jobob
15
+ * @since 2019-11-08
16
+ */
17
+@Service
18
+public class TaCustomerFollowUpRecordServiceImpl extends ServiceImpl<TaCustomerFollowUpRecordMapper, TaCustomerFollowUpRecord> implements ITaCustomerFollowUpRecordService {
19
+
20
+}

+ 20
- 0
src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerGenderStatisticServiceImpl.java Vedi File

@@ -0,0 +1,20 @@
1
+package com.huiju.estateagents.statistic.service.impl;
2
+
3
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerGenderStatistic;
5
+import com.huiju.estateagents.statistic.mapper.TaCustomerGenderStatisticMapper;
6
+import com.huiju.estateagents.statistic.service.ITaCustomerGenderStatisticService;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 客户分析性别统计表 小程序盘客工具客户分析 服务实现类
12
+ * </p>
13
+ *
14
+ * @author jobob
15
+ * @since 2019-11-08
16
+ */
17
+@Service
18
+public class TaCustomerGenderStatisticServiceImpl extends ServiceImpl<TaCustomerGenderStatisticMapper, TaCustomerGenderStatistic> implements ITaCustomerGenderStatisticService {
19
+
20
+}

+ 20
- 0
src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerStatisticDailyServiceImpl.java Vedi File

@@ -0,0 +1,20 @@
1
+package com.huiju.estateagents.statistic.service.impl;
2
+
3
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticDaily;
5
+import com.huiju.estateagents.statistic.mapper.TaCustomerStatisticDailyMapper;
6
+import com.huiju.estateagents.statistic.service.ITaCustomerStatisticDailyService;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 客户分析日统计表 小程序盘客工具客户分析 服务实现类
12
+ * </p>
13
+ *
14
+ * @author jobob
15
+ * @since 2019-11-08
16
+ */
17
+@Service
18
+public class TaCustomerStatisticDailyServiceImpl extends ServiceImpl<TaCustomerStatisticDailyMapper, TaCustomerStatisticDaily> implements ITaCustomerStatisticDailyService {
19
+
20
+}

+ 20
- 0
src/main/java/com/huiju/estateagents/statistic/service/impl/TaCustomerStatisticMonthlyServiceImpl.java Vedi File

@@ -0,0 +1,20 @@
1
+package com.huiju.estateagents.statistic.service.impl;
2
+
3
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
4
+import com.huiju.estateagents.statistic.entity.TaCustomerStatisticMonthly;
5
+import com.huiju.estateagents.statistic.mapper.TaCustomerStatisticMonthlyMapper;
6
+import com.huiju.estateagents.statistic.service.ITaCustomerStatisticMonthlyService;
7
+import org.springframework.stereotype.Service;
8
+
9
+/**
10
+ * <p>
11
+ * 客户分析月统计表 小程序盘客工具客户分析 服务实现类
12
+ * </p>
13
+ *
14
+ * @author jobob
15
+ * @since 2019-11-08
16
+ */
17
+@Service
18
+public class TaCustomerStatisticMonthlyServiceImpl extends ServiceImpl<TaCustomerStatisticMonthlyMapper, TaCustomerStatisticMonthly> implements ITaCustomerStatisticMonthlyService {
19
+
20
+}

+ 1
- 1
src/main/resources/application-demo.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wx65d61e127ed35d5e

+ 1
- 1
src/main/resources/application-dev.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wxd6f47a9bb3052175

+ 1
- 1
src/main/resources/application-gzysd.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wxe3b1e683853800b5

+ 1
- 1
src/main/resources/application-nj.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wx1a3e5f7d0139285e

+ 1
- 1
src/main/resources/application-prod.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wxd6f47a9bb3052175

+ 1
- 1
src/main/resources/application-test.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wxc56decdcbc64d8de

+ 1
- 1
src/main/resources/application-v3.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 
27 27
 ali:
28 28
   accessKeyId: LTAIkc75dpkJw8Lb

+ 1
- 1
src/main/resources/application-xs.yml Vedi File

@@ -22,7 +22,7 @@ mybatis-plus:
22 22
   configuration:
23 23
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
24 24
     call-setters-on-nulls: true
25
-  mapper-locations: classpath:mapper/*.xml
25
+  mapper-locations: classpath:mapper/**/*.xml
26 26
 wx:
27 27
   miniapp:
28 28
     appid: wx09cd665abf378db7

+ 5
- 0
src/main/resources/mapper/statistic/TaCustomerFollowUpRecordMapper.xml Vedi File

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.huiju.estateagents.statistic.mapper.TaCustomerFollowUpRecordMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/statistic/TaCustomerGenderStatisticMapper.xml Vedi File

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.huiju.estateagents.statistic.mapper.TaCustomerGenderStatisticMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/statistic/TaCustomerStatisticDailyMapper.xml Vedi File

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.huiju.estateagents.statistic.mapper.TaCustomerStatisticDailyMapper">
4
+
5
+</mapper>

+ 5
- 0
src/main/resources/mapper/statistic/TaCustomerStatisticMonthlyMapper.xml Vedi File

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.huiju.estateagents.statistic.mapper.TaCustomerStatisticMonthlyMapper">
4
+
5
+</mapper>