|
@@ -369,6 +369,10 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
//客户手机号
|
|
|
criA.where().andEquals("user_phone", dto.getPhone());
|
|
|
}
|
|
|
+ if(dto.getUserPhoneStatus()!=null){
|
|
|
+ //客服手机号绑定状态
|
|
|
+ criA.where().andEquals("user_phone_status", dto.getUserPhoneStatus());
|
|
|
+ }
|
|
|
if (dto.getGsId() != null) {
|
|
|
//GS
|
|
|
if (dto.getGsId() == 0L) {
|
|
@@ -1566,6 +1570,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
j.add_corp_user_id as add_corp_user_id, -- 企微号
|
|
|
j.user_wechat as user_wechat, -- 客户微信号
|
|
|
j.user_phone as user_phone, -- 客户手机号
|
|
|
+ IF(j.user_phone is null or j.user_phone ='null',0,1) as user_phone_status, -- 客服手机号绑定状态 0未绑定 1绑定
|
|
|
IF(TIMESTAMPDIFF(HOUR, g.update_time, NOW()) > 72,IF(TIMESTAMPDIFF(HOUR, f.pay_time, NOW()) < 72 , 0, 1) , 0) as is_remove_game_for_system, -- 是否退游 1-是;0-否(系统判定)
|
|
|
IFNULL(j.is_remove_game,2) as is_remove_game, -- 是否退游 1-是;0-否;null-代表未操作数据
|
|
|
IFNULL(j.is_wake_up,2) as is_wake_up, -- 是否唤醒 1-是;0-否 2-未操作
|
|
@@ -2377,6 +2382,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
|
|
|
IFNULL(j.is_change_game_type,2) as is_change_game_type, -- 是否转端 1-是;0-否
|
|
|
IFNULL(j.is_add_corp_wechat,2) as is_add_corp_wechat, -- 是否添加企微 1-是; 0-否
|
|
|
j.user_phone as user_phone, -- 客户手机号
|
|
|
+ IF(j.user_phone is null or j.user_phone ='null',0,1) as user_phone_status, -- 客服手机号绑定状态 0未绑定 1绑定
|
|
|
j.user_wechat as user_wechat, -- 客户微信号
|
|
|
IF(TIMESTAMPDIFF(HOUR, g.update_time, NOW()) > 72,
|
|
|
IF(TIMESTAMPDIFF(HOUR, f.pay_time, NOW()) < 72 , 0, 1) , 0) as is_remove_game_for_system, -- 是否退游 1-是;0-否(系统判定)
|