Kaynağa Gözat

兰兰UserID 改为陈思宇

zhaoxian 1 yıl önce
ebeveyn
işleme
98c95781cd

+ 2 - 2
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/ManagerSaleValueMapper.xml

@@ -107,9 +107,9 @@
         AND user_id in (
         select user_id
         from `application`.app_user_manage
-        where manage_id IN ('461857c245f54ba5813bcb5900a23092','00d630a129e4487cba5427788a1f08ce')
+        where manage_id IN ('b07f2bdd0f914f1dab2b4e841764911f','00d630a129e4487cba5427788a1f08ce')
         UNION ALL
-        select '461857c245f54ba5813bcb5900a23092'
+        select 'b07f2bdd0f914f1dab2b4e841764911f'
         UNION ALL
         select '00d630a129e4487cba5427788a1f08ce'
         )

+ 4 - 4
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/service/impl/ManagerSaleValueServiceImpl.java

@@ -126,7 +126,7 @@ public class ManagerSaleValueServiceImpl extends ServiceImpl<ManagerSaleValueMap
         //运营一部:李超及其下级 李超 id:f6a6843879c949618e4a859140c8a127
         List<Long> oneAccountIds = null;
         String lichaoId = "f6a6843879c949618e4a859140c8a127";
-        //运营二部:兰兰及其下级 兰兰id:461857c245f54ba5813bcb5900a23092,00d630a129e4487cba5427788a1f08ce
+        //运营二部:陈思宇及其下级 陈思宇id:b07f2bdd0f914f1dab2b4e841764911f,00d630a129e4487cba5427788a1f08ce
         List<Long> twoAccountIds = null;
         //1 头条
         if ("1".equals(mediaId)) {
@@ -157,7 +157,7 @@ public class ManagerSaleValueServiceImpl extends ServiceImpl<ManagerSaleValueMap
                 result.put("oneCharge", oneResult.getBigDecimal("totalCharge"));
                 result.put("oneChargeRoi", oneResult.getString("chargeRoi"));
 
-                //运营二部:兰兰及其下级 兰兰id:461857c245f54ba5813bcb5900a23092
+                //运营二部:陈思宇及其下级 陈思宇id:b07f2bdd0f914f1dab2b4e841764911f
                 twoAccountIds = baseMapper.querySalesDirectorAccountIds2(companyId, mediaId, saleTeaMber);
                 JSONObject twoResult = baseMapper.queryTtTodayCharge2(startTime, endTime, hour, twoAccountIds, companyId, days);
                 result.put("twoCharge", twoResult.getBigDecimal("totalCharge"));
@@ -194,8 +194,8 @@ public class ManagerSaleValueServiceImpl extends ServiceImpl<ManagerSaleValueMap
                 result.put("oneCharge", oneResult.getBigDecimal("totalCharge"));
                 result.put("oneChargeRoi", oneResult.getString("chargeRoi"));
 
-                //运营二部:兰兰及其下级 兰兰id:461857c245f54ba5813bcb5900a23092,00d630a129e4487cba5427788a1f08ce
-                //专查询 兰兰组 并去除 郭浩和王雪莹账户
+                //运营二部:陈思宇及其下级 陈思宇id:b07f2bdd0f914f1dab2b4e841764911f,00d630a129e4487cba5427788a1f08ce
+                //专查询 陈思宇组 并去除 郭浩和王雪莹账户
                 twoAccountIds = baseMapper.querySalesDirectorAccountIds2(companyId, mediaId, saleTeaMber);
                 JSONObject twoResult = baseMapper.queryKsTodayCharge2(startTime, endTime, hour, twoAccountIds, companyId, days);
                 result.put("twoCharge", twoResult.getBigDecimal("totalCharge"));

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/controller/KsNewGroupReportCtrl.java

@@ -55,7 +55,7 @@ public class KsNewGroupReportCtrl {
         JSONArray accountIds = requestBody.getJSONArray("accountIds");
         String userId = requestBody.getString("userId");
         //TODO 没有维护快手事业部负责人角色,增加判断
-        if ("b73c6a1cafb4469a8c0081acd50f703b".equals(userId) || "228c45f913924639bf20c79ce5dadb16".equals(userId)) {
+        if ("b07f2bdd0f914f1dab2b4e841764911f".equals(userId) || "228c45f913924639bf20c79ce5dadb16".equals(userId)) {
             accountIds = newPlanReportService.getAccountIdsByMedia();
         } else {
             if (!userId.isEmpty()) {

+ 4 - 4
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/service/impl/KuaishouOperationReportServiceImpl.java

@@ -560,8 +560,8 @@ public class KuaishouOperationReportServiceImpl extends ServiceImpl<KuaishouOper
             String roleName = datum.getString("roleName");
             if (roleName.contains("经理")) {
                 BigDecimal managenCharge = null;
-                //兰兰和李超 就这俩人定制化
-                if ("461857c245f54ba5813bcb5900a23092".equals(userId) ||
+                //陈思宇和李超 就这俩人定制化
+                if ("b07f2bdd0f914f1dab2b4e841764911f".equals(userId) ||
                         "f6a6843879c949618e4a859140c8a127".equals(userId)) {
                     List<String> managers = baseMapper.getTtManagers(userId, DateUtils.getDateInteger(dateMap.get("startDate")), DateUtils.getDateInteger(dateMap.get("endDate")));
                     managenCharge = baseMapper.getTtManageChargeCommission(Arrays.asList(userId), DateUtils.getDateInteger(dateMap.get("startDate")), DateUtils.getDateInteger(dateMap.get("endDate")));
@@ -1173,8 +1173,8 @@ public class KuaishouOperationReportServiceImpl extends ServiceImpl<KuaishouOper
             String roleName = datum.getString("roleName");
             if (roleName.contains("经理")) {
                 BigDecimal managenCharge = null;
-                //兰兰和李超 就这俩人定制化
-                if ("461857c245f54ba5813bcb5900a23092".equals(userId) ||
+                //陈思宇和李超 就这俩人定制化
+                if ("b07f2bdd0f914f1dab2b4e841764911f".equals(userId) ||
                         "f6a6843879c949618e4a859140c8a127".equals(userId)) {
                     List<String> managers = baseMapper.getManagers(userId, DateUtils.getDateInteger(dateMap.get("startDate")), DateUtils.getDateInteger(dateMap.get("endDate")));
                     managenCharge = baseMapper.getManageChargeCommission(Arrays.asList(userId), DateUtils.getDateInteger(dateMap.get("startDate")), DateUtils.getDateInteger(dateMap.get("endDate")));