Browse Source

修改内容:是否唤醒、转端、添加企业微信

lth 1 year ago
parent
commit
2971c8c9e2

+ 6 - 6
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/RoleManageServiceImpl.java

@@ -843,15 +843,15 @@ public class RoleManageServiceImpl implements IRoleManageService {
                 		IFNULL(j.is_send_mail, 0) as is_send_mail, -- 是否发送邮件
                 		j.send_gift_id as send_gift_id, -- 最新发送礼包id
                 		k.gift_name as gift_name, -- 礼包名
-                		IFNULL(j.is_change_game_type, 0) as is_change_game_type, -- 是否转端 1-是;0-否
-                		IFNULL(j.is_add_corp_wechat, 0) as is_add_corp_wechat, -- 是否添加企微 1-是; 0-否
+                		j.is_change_game_type as is_change_game_type, -- 是否转端 1-是;0-否
+                  		j.is_add_corp_wechat as is_add_corp_wechat, -- 是否添加企微 1-是; 0-否
                 		j.add_corp_user_id as add_corp_user_id, -- 企微号
                 		j.user_wechat as user_wechat, -- 客户微信号
                 		j.user_phone as user_phone, -- 客户手机号
                 		IFNULL(j.is_remove_game,
                   			IF(TIMESTAMPDIFF(HOUR, g.update_time, NOW()) > 72,
                   				IF(TIMESTAMPDIFF(HOUR, f.pay_time, NOW()) < 72 , NULL, 1) , NULL)) as is_remove_game, -- 是否退游 1-是;0-否;NULL-未操作过的数据(也代表未退游)
-                		IFNULL(j.is_wake_up, 0) as is_wake_up, -- 是否唤醒 1-是;0-否
+                		j.is_wake_up as is_wake_up, -- 是否唤醒 1-是;0-否
                 		j.remark as remark, -- 备注
                 		j.gs_id as gs_id, -- GS_ID
                 		j.customer_service_id as customer_service_id, -- 客服ID
@@ -1217,15 +1217,15 @@ public class RoleManageServiceImpl implements IRoleManageService {
                         IFNULL(j.is_send_mail, 0) as is_send_mail, -- 是否发送邮件
                         j.send_gift_id as send_gift_id, -- 最新发送礼包id
                         k.gift_name as gift_name, -- 礼包名
-                        IFNULL(j.is_change_game_type, 0) as is_change_game_type, -- 是否转端 1-是;0-否
-                        IFNULL(j.is_add_corp_wechat, 0) as is_add_corp_wechat, -- 是否添加企微 1-是; 0-否
+                        j.is_change_game_type as is_change_game_type, -- 是否转端 1-是;0-否
+                        j.is_add_corp_wechat as is_add_corp_wechat, -- 是否添加企微 1-是; 0-否
                         j.add_corp_user_id as add_corp_user_id, -- 企微号
                         j.user_wechat as user_wechat, -- 客户微信号
                         j.user_phone as user_phone, -- 客户手机号
                         IFNULL(j.is_remove_game,
                         			IF(TIMESTAMPDIFF(HOUR, g.update_time, NOW()) > 72,
                         				IF(TIMESTAMPDIFF(HOUR, f.pay_time, NOW()) < 72 , NULL, 1) , NULL)) as is_remove_game, -- 是否退游 1-是;0-否;-1-未操作过的数据(也代表未退游)
-                        IFNULL(j.is_wake_up, 0) as is_wake_up, -- 是否唤醒 1-是;0-否
+                        j.is_wake_up as is_wake_up, -- 是否唤醒 1-是;0-否
                         j.remark as remark, -- 备注
                         j.gs_id as gs_id, -- GS_ID
                         j.customer_service_id as customer_service_id, -- 客服ID