浏览代码

问题处理

yzc 1 年之前
父节点
当前提交
5a5063327b
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      hx-form/src/main/resources/mapper/EmployeeProductivityMapperMapper.xml

+ 5 - 0
hx-form/src/main/resources/mapper/EmployeeProductivityMapperMapper.xml

@@ -109,6 +109,7 @@
         </if>
         AND NOT c.`status` IN ( 0, 70, 88 )
         AND c.del_flag = 0
+        And c.create_user = su.user_id
         ) AS newCustomerContractCount,
         (
         SELECT
@@ -128,6 +129,7 @@
         </if>
         AND NOT c.`status` IN ( 0, 70, 88 )
         AND c.del_flag = 0
+        And c.create_user = su.user_id
         ) AS newCustomerContractCnyAmount,
         (
         SELECT
@@ -147,6 +149,7 @@
         </if>
         AND NOT c.`status` IN ( 0, 70, 88 )
         AND c.del_flag = 0
+        And c.create_user = su.user_id
         ) AS oldCustomerContractCount,
         (
         SELECT
@@ -166,6 +169,7 @@
         </if>
         AND NOT c.`status` IN ( 0, 70, 88 )
         AND c.del_flag = 0
+        And c.create_user = su.user_id
         ) AS oldCustomerContractCnyAmount,
         (
         SELECT
@@ -181,6 +185,7 @@
         </if>
         AND NOT c.`status` IN ( 0, 70, 88 )
         AND c.del_flag = 0
+        And c.create_user = su.user_id
         ) AS contractCount
         FROM
         sys_user su