Commit b5b106f23ce2b19f678307b8f1d95854e1bbdc89

Authored by YunaiV
1 parent b05178d2

feat(crm): 新增 CRM 统计分析与业绩目标能力

- 新增客户公海、销售漏斗、产品销售、合同汇总等统计分析
- 新增业绩目标设置与业绩达成统计
- 新增客户负责人变更记录能力,并用于公海客户分析
- 完善销售漏斗阶段统计、商机转化率和明细筛选
- 补充产品分类、时间范围、空金额等统计边界处理
- 新增相关前端页面、API 与数据库菜单配置
yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
... ... @@ -167,15 +167,6 @@
167 167 <if test="sourceDocCode != null and sourceDocCode != ''">
168 168 AND t.sourceDocCode LIKE CONCAT('%', #{sourceDocCode}, '%')
169 169 </if>
170   - <if test="sourceDocType != null">
171   - AND t.sourceDocType = #{sourceDocType}
172   - </if>
173   - <if test="sourceDocId != null">
174   - AND t.sourceDocId = #{sourceDocId}
175   - </if>
176   - <if test="sourceLineId != null">
177   - AND t.sourceLineId = #{sourceLineId}
178   - </if>
179 170 <if test="qcType != null">
180 171 AND t.qcType = #{qcType}
181 172 </if>
... ...