双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

不懂asp求大神帮忙看看求昨天和7天内的数据

Justy1989 Justy1989 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
if otype=1 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",100,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",200,""&date()&"&"&strUserList)
End If
elseif otype=2 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",300,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",400,""&date()&"&"&strUserList)
End If
elseif otype=3 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",500,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",600,""&date()&"&"&strUserList)
End If
elseif otype=4 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",700,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",800,""&date()&"&"&strUserList)
End If
elseif otype=5 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1500,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1600,""&date()&"&"&strUserList)
End If
elseif otype=6 then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1300,""&date())
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1400,""&date()&"&"&strUserList)
End If
elseif otype="" then
If Session("CRM_level") = 9 Then
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",900,"")
Else
strUserList = getUserList(Session("CRM_level"),Session("CRM_group"))
Set rs = GWCrmCom_Obj.CallGWFunc("followup.asp",1000,""&strUserList)
End If
end if


----------------------------------------------参数
【otype】
1、30天内
2、30~90天
3、90-360天
4、超过1年
5、昨天
6、7天内
-------------------------------------------------------求:
otype=5 和 otype=6 是我自己添加的,时间不对啊(我要求的是:昨天内有多少数据 和 7天内有多少数据)
...全文

相关推荐

评论 3
收藏 已收藏
分享
返回顶部
Justy1989
ASP 28,401 成员 356,940 内容