Commit b8192227 authored by jay's avatar jay

营销活动拉取修改

parent 83909091
...@@ -680,19 +680,11 @@ public class MarketingActivityController extends BaseController { ...@@ -680,19 +680,11 @@ public class MarketingActivityController extends BaseController {
wrapMap(entity, paraMap); wrapMap(entity, paraMap);
MarketingActivityRequest marketingActivityRequest = new MarketingActivityRequest(); MarketingActivityRequest marketingActivityRequest = new MarketingActivityRequest();
String[] projectNames = vo.getProjectName().split(",");
StringBuilder name = new StringBuilder(); entity.setSeeProjectName("");
for (int j = 0; j < projectNames.length; j++) { entity.setSeeCount(0);
name.append(projectNames[j].split("\\(")[0]).append(","); entity.setSeeStartTime(null);
} entity.setSeeEndTime(null);
String seeProjectName = name.toString();
if (seeProjectName.contains(",")) {
seeProjectName = seeProjectName.substring(0, seeProjectName.length() - 1);
}
entity.setSeeProjectName(seeProjectName);
entity.setSeeCount(vo.getSeeCount());
entity.setSeeStartTime(vo.getSeeStartTime());
entity.setSeeEndTime(vo.getSeeEndTime());
if (!StringUtils.isEmpty(vo.getActivityName())) { if (!StringUtils.isEmpty(vo.getActivityName())) {
entity.setName(vo.getActivityName()); entity.setName(vo.getActivityName());
} }
......
...@@ -26,8 +26,8 @@ system.default.fileMax=2097152 ...@@ -26,8 +26,8 @@ system.default.fileMax=2097152
projects.server.url=http://oms.house365.com/test/adminpack/index.php projects.server.url=http://oms.house365.com/test/adminpack/index.php
## News ## News
news.server.url=http://mapi.house365.com/cms/mobile_news.php news.server.url=http://mapi.house365.com/cms/mobile_news.php
CRM.CUSTOMERQUERY.URL=http://crmtest.house365.com/api/hgs/query #CRM.CUSTOMERQUERY.URL=http://crmtest.house365.com/api/hgs/query
#CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
#CRM.TRANSLATE.URL=http://crmtest.house365.com/api/hgs/translate #CRM.TRANSLATE.URL=http://crmtest.house365.com/api/hgs/translate
CRM.TRANSLATE.URL=http://crm.house365.com/api/hgs/translate CRM.TRANSLATE.URL=http://crm.house365.com/api/hgs/translate
......
...@@ -39,8 +39,8 @@ CRM.TOUCH.HOST=http://crmtouch.house365.com ...@@ -39,8 +39,8 @@ CRM.TOUCH.HOST=http://crmtouch.house365.com
CRM.CUSTOMER.CALLBACK=http://tcrm.house365.com/api/hgs/pingback CRM.CUSTOMER.CALLBACK=http://tcrm.house365.com/api/hgs/pingback
unbindcornet.url=http://api.400.house365.com/api/5a9ea13f5e42c unbindcornet.url=http://api.400.house365.com/api/5a9ea13f5e42c
CRM.CONFIG.URL=http://tcrm.house365.com/api/hgs/definition CRM.CONFIG.URL=http://tcrm.house365.com/api/hgs/definition
CRM.CUSTOMERQUERY.URL=http://crmtest.house365.com/api/hgs/query #CRM.CUSTOMERQUERY.URL=http://crmtest.house365.com/api/hgs/query
#CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query CRM.CUSTOMERQUERY.URL=http://crm.house365.com/api/hgs/query
CRM.CONFIRM.URL=http://crmtest.house365.com/api/hgs/confirm CRM.CONFIRM.URL=http://crmtest.house365.com/api/hgs/confirm
#\u7EA6\u770B\u63D0\u9192# #\u7EA6\u770B\u63D0\u9192#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment