|
@@ -4678,9 +4678,9 @@ func (this *ActivityCoAntroller) ActivityVideoHistoryAdd() {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
func (this *ActivityCoAntroller) OverActivityList() {
|
|
@@ -4824,7 +4824,13 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
} else if whichDay == "4" {
|
|
|
startDate = utils.GetLastMonthFirstDay().Format(utils.FormatDate)
|
|
|
endDate = utils.GetLastMonthLastDay().Format(utils.FormatDate)
|
|
|
- }else {
|
|
|
+ } else if whichDay == "1,2" {
|
|
|
+ startDate = utils.GetLastWeekMonday().Format(utils.FormatDate)
|
|
|
+ endDate = utils.GetNowWeekSunday().Format(utils.FormatDate)
|
|
|
+ } else if whichDay == "3,4" {
|
|
|
+ startDate = utils.GetLastMonthFirstDay().Format(utils.FormatDate)
|
|
|
+ endDate = utils.GetNowMonthLastDay().Format(utils.FormatDate)
|
|
|
+ } else {
|
|
|
startDate = utils.GetNowWeekMonday().Format(utils.FormatDate)
|
|
|
endDate = utils.GetNowWeekSunday().Format(utils.FormatDate)
|
|
|
}
|
|
@@ -4835,7 +4841,17 @@ func (this *ActivityCoAntroller) OverActivityList() {
|
|
|
condition += ` AND art.chart_permission_id IN (` + chartPermissionIds + `)`
|
|
|
}
|
|
|
if typeName != ""{
|
|
|
- condition += ` AND art.activity_type_name = ` + "'" + typeName + " '"
|
|
|
+ typeSlice := strings.Split(typeName, ",")
|
|
|
+ tempCondition := ""
|
|
|
+ for _, s := range typeSlice {
|
|
|
+ if s == "1"{
|
|
|
+ tempCondition += "'专家电话会',"
|
|
|
+ } else if s == "2" {
|
|
|
+ tempCondition += "'分析师电话会',"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ tempCondition = strings.TrimRight(tempCondition, ",")
|
|
|
+ condition += ` AND art.activity_type_name IN (` + tempCondition + `)`
|
|
|
}
|
|
|
|
|
|
|