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

Justy1989 2014-01-08 09:38:22
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天内有多少数据)
...全文
132 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Justy1989 2014-01-08
  • 打赏
  • 举报
回复
Justy1989 2014-01-08
  • 打赏
  • 举报
回复
来人 help me
Justy1989 2014-01-08
  • 打赏
  • 举报
回复

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧