|
@@ -1985,6 +1985,10 @@ func (this *IndustrialSubjectController) ReportMappingAdd() {
|
|
|
br.IsAddLog = true
|
|
|
}
|
|
|
|
|
|
+//func init() {
|
|
|
+// initAct()
|
|
|
+//}
|
|
|
+
|
|
|
func initart() {
|
|
|
//行业
|
|
|
var condition string
|
|
@@ -1993,7 +1997,7 @@ func initart() {
|
|
|
//报告匹配类型
|
|
|
//9.5 13:52
|
|
|
condition += ` GROUP BY art.article_id ORDER BY art.publish_date DESC `
|
|
|
- listart, err := cygx.GetReportArticleList(condition, pars, 0, 200, 1)
|
|
|
+ listart, err := cygx.GetReportArticleList(condition, pars, 0, 2000, 1)
|
|
|
if err != nil {
|
|
|
fmt.Println(err)
|
|
|
return
|
|
@@ -2283,7 +2287,8 @@ func initAct() {
|
|
|
mapMobile := make(map[string]bool)
|
|
|
mapuserMapbil := make(map[int]*models.WxUserSller)
|
|
|
var activityIds []int
|
|
|
- activityIds = []int{5590, 5658, 5734, 5747, 5805, 5833, 5832, 5865, 5887, 5872, 5889, 5870} // 2024-09-26 14:00
|
|
|
+ //activityIds = []int{5590, 5658, 5734, 5747, 5805, 5833, 5832, 5865, 5887, 5872, 5889, 5870} // 2024-10-10 15:10
|
|
|
+ activityIds = []int{5892, 5890, 5935} // 2024-10-10 15:10
|
|
|
var listData []*cygx.UserInteraction
|
|
|
for _, vid := range activityIds {
|
|
|
activityId := strconv.Itoa(vid)
|
|
@@ -2303,7 +2308,7 @@ func initAct() {
|
|
|
|
|
|
//condition = " AND s.activity_id = 5833 AND duration != '' "
|
|
|
//condition = " AND s.activity_id = " + activityId + " AND duration != '' " // 2024-09-06 09:20
|
|
|
- condition = " AND s.activity_id = " + activityId + " AND ( is_meeting = 1 OR duration != '' ) AND s.create_time > '2024-09-19 13:10' "
|
|
|
+ condition = " AND s.activity_id = " + activityId + " AND ( is_meeting = 1 OR duration != '' ) AND s.create_time > '2024-09-01 14:00' "
|
|
|
list, err := cygx.GetActivityMeetByUser(condition, 0, 1000)
|
|
|
if err != nil && err.Error() != utils.ErrNoRow() {
|
|
|
fmt.Println(err)
|
|
@@ -3363,9 +3368,6 @@ func initcygx_user_feedback() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// func init() {
|
|
|
-// initcompany_history_remark()
|
|
|
-// }
|
|
|
func initcompany_history_remark() {
|
|
|
remarkList, err := company.GetCompanyHistoryRemarkListInitExportinit()
|
|
|
if err != nil {
|