Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
ef15af53
提交
ef15af53
编写于
6月 19, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
081f356c
变更
13
展开全部
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
288 行增加
和
535 行删除
+288
-535
data-dictionary.json
app_BusinessCentral/public/assets/json/data-dictionary.json
+10
-0
codelist_en_US.ts
...inessCentral/src/locale/lanres/codelist/codelist_en_US.ts
+1
-0
codelist_zh_CN.ts
...inessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
+1
-0
campaign-activity_en_US.ts
...res/entities/campaign-activity/campaign-activity_en_US.ts
+56
-56
campaign-activity_zh_CN.ts
...res/entities/campaign-activity/campaign-activity_zh_CN.ts
+56
-56
codelist.ts
app_BusinessCentral/src/mock/codelist/codelist.ts
+10
-0
campaign-activity-edit-view-base.vue
...n-activity-edit-view/campaign-activity-edit-view-base.vue
+32
-393
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+41
-14
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+11
-0
CampaignActivityInheritMapping.java
...ore/marketing/mapping/CampaignActivityInheritMapping.java
+33
-0
CampaignActivityServiceImpl.java
...e/marketing/service/impl/CampaignActivityServiceImpl.java
+20
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+16
-16
未找到文件。
app_BusinessCentral/public/assets/json/data-dictionary.json
浏览文件 @
ef15af53
...
@@ -741,6 +741,16 @@
...
@@ -741,6 +741,16 @@
"codename"
:
"Campaignresponse"
,
"codename"
:
"Campaignresponse"
,
"value"
:
"CAMPAIGNRESPONSE"
,
"value"
:
"CAMPAIGNRESPONSE"
,
"disabled"
:
false
}
,
{
"id"
:
"CAMPAIGNACTIVITY"
,
"label"
:
"市场活动项目"
,
"text"
:
"市场活动项目"
,
"data"
:
""
,
"codename"
:
"Campaignactivity"
,
"value"
:
"CAMPAIGNACTIVITY"
,
"disabled"
:
false
"disabled"
:
false
}
}
]
]
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
ef15af53
...
@@ -90,6 +90,7 @@ export default {
...
@@ -90,6 +90,7 @@ export default {
'FAX'
:
"传真"
,
'FAX'
:
"传真"
,
'SERVICEAPPOINTMENT'
:
"服务活动"
,
'SERVICEAPPOINTMENT'
:
"服务活动"
,
'CAMPAIGNRESPONSE'
:
"市场活动响应"
,
'CAMPAIGNRESPONSE'
:
"市场活动响应"
,
'CAMPAIGNACTIVITY'
:
"市场活动项目"
,
empty
:
""
,
empty
:
""
,
},
},
Account__AccountClassificationCode
:
{
Account__AccountClassificationCode
:
{
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
ef15af53
...
@@ -90,6 +90,7 @@ export default {
...
@@ -90,6 +90,7 @@ export default {
'FAX'
:
"传真"
,
'FAX'
:
"传真"
,
'SERVICEAPPOINTMENT'
:
"服务活动"
,
'SERVICEAPPOINTMENT'
:
"服务活动"
,
'CAMPAIGNRESPONSE'
:
"市场活动响应"
,
'CAMPAIGNRESPONSE'
:
"市场活动响应"
,
'CAMPAIGNACTIVITY'
:
"市场活动项目"
,
empty
:
""
,
empty
:
""
,
},
},
Account__AccountClassificationCode
:
{
Account__AccountClassificationCode
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-activity/campaign-activity_en_US.ts
浏览文件 @
ef15af53
...
@@ -93,10 +93,12 @@ export default {
...
@@ -93,10 +93,12 @@ export default {
title
:
'市场活动项目表格视图'
,
title
:
'市场活动项目表格视图'
,
},
},
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
details
:
{
group1
:
"campaignactivity基本信息"
,
group1
:
"campaignactivity基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"市场活动项目"
,
srfkey
:
"市场活动项目"
,
...
@@ -106,27 +108,19 @@ export default {
...
@@ -106,27 +108,19 @@ export default {
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
subject
:
"主题"
,
subject
:
"主题"
,
category
:
"类别"
,
createman
:
"建立人"
,
channeltypecode
:
"渠道"
,
createdate
:
"建立时间"
,
description
:
"说明"
,
updateman
:
"更新人"
,
scheduledstart
:
"计划开始时间"
,
updatedate
:
"更新时间"
,
scheduledend
:
"计划结束时间"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
budgetedcost
:
"预算分配"
,
actualcost
:
"实际成本"
,
regardingobjectid
:
"关于"
,
activityid
:
"市场活动项目"
,
activityid
:
"市场活动项目"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
details
:
{
group1
:
"campaignactivity基本信息"
,
group1
:
"campaignactivity基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"市场活动项目"
,
srfkey
:
"市场活动项目"
,
...
@@ -136,10 +130,16 @@ export default {
...
@@ -136,10 +130,16 @@ export default {
srfdeid
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
srfsourcekey
:
""
,
subject
:
"主题"
,
subject
:
"主题"
,
createman
:
"建立人"
,
category
:
"类别"
,
createdate
:
"建立时间"
,
channeltypecode
:
"渠道"
,
updateman
:
"更新人"
,
description
:
"说明"
,
updatedate
:
"更新时间"
,
scheduledstart
:
"计划开始时间"
,
scheduledend
:
"计划结束时间"
,
actualstart
:
"实际开始时间"
,
actualend
:
"实际结束时间"
,
budgetedcost
:
"预算分配"
,
actualcost
:
"实际成本"
,
regardingobjectid
:
"关于"
,
activityid
:
"市场活动项目"
,
activityid
:
"市场活动项目"
,
},
},
uiactions
:
{
uiactions
:
{
...
@@ -161,44 +161,6 @@ export default {
...
@@ -161,44 +161,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
"Save"
,
caption
:
"Save"
,
...
@@ -237,6 +199,44 @@ export default {
...
@@ -237,6 +199,44 @@ export default {
tip
:
"Copy {0}"
,
tip
:
"Copy {0}"
,
},
},
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
"New"
,
caption
:
"New"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/campaign-activity/campaign-activity_zh_CN.ts
浏览文件 @
ef15af53
...
@@ -92,10 +92,12 @@ export default {
...
@@ -92,10 +92,12 @@ export default {
title
:
'市场活动项目表格视图'
,
title
:
'市场活动项目表格视图'
,
},
},
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
details
:
{
group1
:
'campaignactivity基本信息'
,
group1
:
'campaignactivity基本信息'
,
formpage1
:
'基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srforikey
:
''
,
srfkey
:
'市场活动项目'
,
srfkey
:
'市场活动项目'
,
...
@@ -105,27 +107,19 @@ export default {
...
@@ -105,27 +107,19 @@ export default {
srfdeid
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
srfsourcekey
:
''
,
subject
:
'主题'
,
subject
:
'主题'
,
category
:
'类别'
,
createman
:
'建立人'
,
channeltypecode
:
'渠道'
,
createdate
:
'建立时间'
,
description
:
'说明'
,
updateman
:
'更新人'
,
scheduledstart
:
'计划开始时间'
,
updatedate
:
'更新时间'
,
scheduledend
:
'计划结束时间'
,
actualstart
:
'实际开始时间'
,
actualend
:
'实际结束时间'
,
budgetedcost
:
'预算分配'
,
actualcost
:
'实际成本'
,
regardingobjectid
:
'关于'
,
activityid
:
'市场活动项目'
,
activityid
:
'市场活动项目'
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
details
:
{
group1
:
'campaignactivity基本信息'
,
group1
:
'campaignactivity基本信息'
,
formpage1
:
'基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srforikey
:
''
,
srfkey
:
'市场活动项目'
,
srfkey
:
'市场活动项目'
,
...
@@ -135,10 +129,16 @@ export default {
...
@@ -135,10 +129,16 @@ export default {
srfdeid
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
srfsourcekey
:
''
,
subject
:
'主题'
,
subject
:
'主题'
,
createman
:
'建立人'
,
category
:
'类别'
,
createdate
:
'建立时间'
,
channeltypecode
:
'渠道'
,
updateman
:
'更新人'
,
description
:
'说明'
,
updatedate
:
'更新时间'
,
scheduledstart
:
'计划开始时间'
,
scheduledend
:
'计划结束时间'
,
actualstart
:
'实际开始时间'
,
actualend
:
'实际结束时间'
,
budgetedcost
:
'预算分配'
,
actualcost
:
'实际成本'
,
regardingobjectid
:
'关于'
,
activityid
:
'市场活动项目'
,
activityid
:
'市场活动项目'
,
},
},
uiactions
:
{
uiactions
:
{
...
@@ -160,44 +160,6 @@ export default {
...
@@ -160,44 +160,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
editviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
'保存'
,
caption
:
'保存'
,
...
@@ -236,6 +198,44 @@ export default {
...
@@ -236,6 +198,44 @@ export default {
tip
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
},
},
byparentkeytoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem4
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
tbitem6
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
tbitem7
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem8
:
{
caption
:
'删除'
,
tip
:
'删除'
,
},
tbitem9
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem13
:
{
caption
:
'导出'
,
tip
:
'导出'
,
},
tbitem10
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem19
:
{
caption
:
'过滤'
,
tip
:
'过滤'
,
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
'新建'
,
caption
:
'新建'
,
...
...
app_BusinessCentral/src/mock/codelist/codelist.ts
浏览文件 @
ef15af53
...
@@ -749,6 +749,16 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
...
@@ -749,6 +749,16 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"codename"
:
"Campaignresponse"
,
"codename"
:
"Campaignresponse"
,
value
:
'CAMPAIGNRESPONSE'
,
value
:
'CAMPAIGNRESPONSE'
,
disabled
:
false
,
},
{
id
:
'CAMPAIGNACTIVITY'
,
label
:
"市场活动项目"
,
text
:
"市场活动项目"
,
"data"
:
""
,
"codename"
:
"Campaignactivity"
,
value
:
'CAMPAIGNACTIVITY'
,
disabled
:
false
,
disabled
:
false
,
},
},
]
]
...
...
app_BusinessCentral/src/pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view-base.vue
浏览文件 @
ef15af53
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
ef15af53
...
@@ -34,6 +34,7 @@ export const PageComponents = {
...
@@ -34,6 +34,7 @@ export const PageComponents = {
Vue
.
component
(
'account-info-major-contact'
,
()
=>
import
(
'@pages/base/account-info-major-contact/account-info-major-contact.vue'
));
Vue
.
component
(
'account-info-major-contact'
,
()
=>
import
(
'@pages/base/account-info-major-contact/account-info-major-contact.vue'
));
Vue
.
component
(
'lead-info-company'
,
()
=>
import
(
'@pages/sales/lead-info-company/lead-info-company.vue'
));
Vue
.
component
(
'lead-info-company'
,
()
=>
import
(
'@pages/sales/lead-info-company/lead-info-company.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'campaign-activity-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view.vue'
));
Vue
.
component
(
'contact-quick-create'
,
()
=>
import
(
'@pages/base/contact-quick-create/contact-quick-create.vue'
));
Vue
.
component
(
'contact-quick-create'
,
()
=>
import
(
'@pages/base/contact-quick-create/contact-quick-create.vue'
));
Vue
.
component
(
'lead-info-market'
,
()
=>
import
(
'@pages/sales/lead-info-market/lead-info-market.vue'
));
Vue
.
component
(
'lead-info-market'
,
()
=>
import
(
'@pages/sales/lead-info-market/lead-info-market.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
ef15af53
...
@@ -908,6 +908,20 @@ const router = new Router({
...
@@ -908,6 +908,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
),
},
},
{
path
:
'campaignactivities/:campaignactivity?/editview/:editview?'
,
meta
:
{
caption
:
'entities.campaignactivity.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'campaignactivities'
,
parameterName
:
'campaignactivity'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view.vue'
),
},
{
{
path
:
'accounts/:account?/contacts/:contact?/quickcreate/:quickcreate?'
,
path
:
'accounts/:account?/contacts/:contact?/quickcreate/:quickcreate?'
,
meta
:
{
meta
:
{
...
@@ -2642,6 +2656,20 @@ const router = new Router({
...
@@ -2642,6 +2656,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
),
},
},
{
path
:
'accounts/:account?/edit_accountinfo/:edit_accountinfo?'
,
meta
:
{
caption
:
'entities.account.views.edit_accountinfo.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_accountinfo'
,
parameterName
:
'edit_accountinfo'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
{
path
:
'incidents/:incident?/gridview/:gridview?'
,
path
:
'incidents/:incident?/gridview/:gridview?'
,
meta
:
{
meta
:
{
...
@@ -2685,20 +2713,6 @@ const router = new Router({
...
@@ -2685,20 +2713,6 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/base/contact-edit-address/contact-edit-address.vue'
),
component
:
()
=>
import
(
'@pages/base/contact-edit-address/contact-edit-address.vue'
),
},
},
{
path
:
'accounts/:account?/edit_accountinfo/:edit_accountinfo?'
,
meta
:
{
caption
:
'entities.account.views.edit_accountinfo.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_accountinfo'
,
parameterName
:
'edit_accountinfo'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
{
path
:
'accounts/:account?/innerpickupview/:innerpickupview?'
,
path
:
'accounts/:account?/innerpickupview/:innerpickupview?'
,
meta
:
{
meta
:
{
...
@@ -3284,6 +3298,19 @@ const router = new Router({
...
@@ -3284,6 +3298,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
),
},
},
{
path
:
'/campaignactivities/:campaignactivity?/editview/:editview?'
,
meta
:
{
caption
:
'entities.campaignactivity.views.editview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'campaignactivities'
,
parameterName
:
'campaignactivity'
},
{
pathName
:
'editview'
,
parameterName
:
'editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/campaign-activity-edit-view/campaign-activity-edit-view.vue'
),
},
{
{
path
:
'/accounts/:account?/contacts/:contact?/listcontacts/:listcontact?/gridview/:gridview?'
,
path
:
'/accounts/:account?/contacts/:contact?/listcontacts/:listcontact?/gridview/:gridview?'
,
meta
:
{
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
ef15af53
...
@@ -265,6 +265,15 @@ export const viewstate: any = {
...
@@ -265,6 +265,15 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'30458f00562fda145be535e56948b067'
,
viewmodule
:
'Marketing'
,
viewname
:
'CampaignActivityEditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'3124753ba4abff3aaf49355a5197c4ab'
,
viewtag
:
'3124753ba4abff3aaf49355a5197c4ab'
,
viewmodule
:
'Marketing'
,
viewmodule
:
'Marketing'
,
...
@@ -366,6 +375,7 @@ export const viewstate: any = {
...
@@ -366,6 +375,7 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
'24e222a530526aab94ed4ed22cfedf9a'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'99d4a530c13b03a98cd143f341394354'
,
'30458f00562fda145be535e56948b067'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'3d538df4ca389d372347f7b53d67269f'
,
'3d538df4ca389d372347f7b53d67269f'
,
'a50134133db91e46c8434ad0ebff22c7'
,
'a50134133db91e46c8434ad0ebff22c7'
,
...
@@ -973,6 +983,7 @@ export const viewstate: any = {
...
@@ -973,6 +983,7 @@ export const viewstate: any = {
'aa79d35850f36fbc1a5085353ecd5af5'
,
'aa79d35850f36fbc1a5085353ecd5af5'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'24e222a530526aab94ed4ed22cfedf9a'
,
'99d4a530c13b03a98cd143f341394354'
,
'99d4a530c13b03a98cd143f341394354'
,
'30458f00562fda145be535e56948b067'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'b3cfac5362b3bfb70d1471932f120fa5'
,
'3d538df4ca389d372347f7b53d67269f'
,
'3d538df4ca389d372347f7b53d67269f'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/marketing/mapping/CampaignActivityInheritMapping.java
0 → 100644
浏览文件 @
ef15af53
package
cn
.
ibizlab
.
businesscentral
.
core
.
marketing
.
mapping
;
import
org.mapstruct.*
;
import
cn.ibizlab.businesscentral.core.marketing.domain.CampaignActivity
;
import
cn.ibizlab.businesscentral.core.base.domain.ActivityPointer
;
import
java.util.List
;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{})
public
interface
CampaignActivityInheritMapping
{
@Mappings
({
@Mapping
(
source
=
"activityid"
,
target
=
"activityid"
),
@Mapping
(
source
=
"subject"
,
target
=
"subject"
),
@Mapping
(
target
=
"focusNull"
,
ignore
=
true
),
})
ActivityPointer
toActivitypointer
(
CampaignActivity
campaignactivity
);
@Mappings
({
@Mapping
(
source
=
"activityid"
,
target
=
"activityid"
),
@Mapping
(
source
=
"subject"
,
target
=
"subject"
),
@Mapping
(
target
=
"focusNull"
,
ignore
=
true
),
})
CampaignActivity
toCampaignactivity
(
ActivityPointer
activitypointer
);
List
<
ActivityPointer
>
toActivitypointer
(
List
<
CampaignActivity
>
campaignactivity
);
List
<
CampaignActivity
>
toCampaignactivity
(
List
<
ActivityPointer
>
activitypointer
);
}
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/marketing/service/impl/CampaignActivityServiceImpl.java
浏览文件 @
ef15af53
...
@@ -54,6 +54,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
...
@@ -54,6 +54,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
@Transactional
@Transactional
public
boolean
remove
(
String
key
)
{
public
boolean
remove
(
String
key
)
{
boolean
result
=
removeById
(
key
);
boolean
result
=
removeById
(
key
);
activitypointerService
.
remove
(
key
);
return
result
;
return
result
;
}
}
...
@@ -96,6 +97,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
...
@@ -96,6 +97,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
@Override
@Override
@Transactional
@Transactional
public
boolean
update
(
CampaignActivity
et
)
{
public
boolean
update
(
CampaignActivity
et
)
{
activitypointerService
.
update
(
campaignactivityInheritMapping
.
toActivitypointer
(
et
));
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"activityid"
,
et
.
getActivityid
())))
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"activityid"
,
et
.
getActivityid
())))
return
false
;
return
false
;
CachedBeanCopier
.
copy
(
get
(
et
.
getActivityid
()),
et
);
CachedBeanCopier
.
copy
(
get
(
et
.
getActivityid
()),
et
);
...
@@ -119,6 +121,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
...
@@ -119,6 +121,7 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
@Override
@Override
@Transactional
@Transactional
public
boolean
create
(
CampaignActivity
et
)
{
public
boolean
create
(
CampaignActivity
et
)
{
createIndexMajorEntityData
(
et
);
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
return
false
;
return
false
;
CachedBeanCopier
.
copy
(
get
(
et
.
getActivityid
()),
et
);
CachedBeanCopier
.
copy
(
get
(
et
.
getActivityid
()),
et
);
...
@@ -176,6 +179,23 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
...
@@ -176,6 +179,23 @@ public class CampaignActivityServiceImpl extends ServiceImpl<CampaignActivityMap
@Autowired
cn
.
ibizlab
.
businesscentral
.
core
.
marketing
.
mapping
.
CampaignActivityInheritMapping
campaignactivityInheritMapping
;
@Autowired
@Lazy
private
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
service
.
IActivityPointerService
activitypointerService
;
/**
* 创建索引主实体数据
* @param et
*/
private
void
createIndexMajorEntityData
(
CampaignActivity
et
){
if
(
ObjectUtils
.
isEmpty
(
et
.
getActivityid
()))
et
.
setActivityid
((
String
)
et
.
getDefaultKey
(
true
));
cn
.
ibizlab
.
businesscentral
.
core
.
base
.
domain
.
ActivityPointer
activitypointer
=
campaignactivityInheritMapping
.
toActivitypointer
(
et
);
activitypointer
.
set
(
"activitytypecode"
,
"CAMPAIGNACTIVITY"
);
activitypointerService
.
create
(
activitypointer
);
}
@Override
@Override
public
List
<
JSONObject
>
select
(
String
sql
,
Map
param
){
public
List
<
JSONObject
>
select
(
String
sql
,
Map
param
){
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
ef15af53
...
@@ -5042,7 +5042,7 @@
...
@@ -5042,7 +5042,7 @@
<!--输出实体[CAMPAIGNACTIVITY]数据结构 -->
<!--输出实体[CAMPAIGNACTIVITY]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaignactivity-2
8
-57"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-campaignactivity-2
9
-57"
>
<createTable
tableName=
"CAMPAIGNACTIVITY"
>
<createTable
tableName=
"CAMPAIGNACTIVITY"
>
<column
name=
"STATUSCODE"
remarks=
""
type=
"INT"
>
<column
name=
"STATUSCODE"
remarks=
""
type=
"INT"
>
</column>
</column>
...
@@ -9043,7 +9043,7 @@
...
@@ -9043,7 +9043,7 @@
<!--输出实体[ACTIVITYPOINTER]数据结构 -->
<!--输出实体[ACTIVITYPOINTER]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-5
8
-99"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-activitypointer-5
9
-99"
>
<createTable
tableName=
"ACTIVITYPOINTER"
>
<createTable
tableName=
"ACTIVITYPOINTER"
>
<column
name=
"SERIESID"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"SERIESID"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
@@ -9840,7 +9840,7 @@
...
@@ -9840,7 +9840,7 @@
<!--输出实体[LIST]数据结构 -->
<!--输出实体[LIST]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-list-6
1
-110"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-list-6
8
-110"
>
<createTable
tableName=
"LIST"
>
<createTable
tableName=
"LIST"
>
<column
name=
"OWNERIDTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"OWNERIDTYPE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</column>
...
@@ -10397,7 +10397,7 @@
...
@@ -10397,7 +10397,7 @@
<!--输出实体[OPPORTUNITY]数据结构 -->
<!--输出实体[OPPORTUNITY]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-opportunity-2
1
-120"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-opportunity-2
3
-120"
>
<createTable
tableName=
"OPPORTUNITY"
>
<createTable
tableName=
"OPPORTUNITY"
>
<column
name=
"DECISIONMAKER"
remarks=
""
type=
"INT"
>
<column
name=
"DECISIONMAKER"
remarks=
""
type=
"INT"
>
</column>
</column>
...
@@ -11174,7 +11174,7 @@
...
@@ -11174,7 +11174,7 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"SERVICEAPPOINTMENT"
constraintName=
"DER1N_SERVICEAPPOINTMENT__TRAN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"SERVICEAPPOINTMENT"
constraintName=
"DER1N_SERVICEAPPOINTMENT__TRAN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[CAMPAIGNACTIVITY]外键关系 -->
<!--输出实体[CAMPAIGNACTIVITY]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaignactivity-2
8
-267"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-campaignactivity-2
9
-267"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CAMPAIGNACTIVITY"
constraintName=
"DER1N_CAMPAIGNACTIVITY__SLA__S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CAMPAIGNACTIVITY"
constraintName=
"DER1N_CAMPAIGNACTIVITY__SLA__S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[ENTITLEMENTTEMPLATE]外键关系 -->
<!--输出实体[ENTITLEMENTTEMPLATE]外键关系 -->
...
@@ -11492,13 +11492,13 @@
...
@@ -11492,13 +11492,13 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRODUCTSUBSTITUTE"
constraintName=
"DER1N_PRODUCTSUBSTITUTE__TRANS"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"PRODUCTSUBSTITUTE"
constraintName=
"DER1N_PRODUCTSUBSTITUTE__TRANS"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[ACTIVITYPOINTER]外键关系 -->
<!--输出实体[ACTIVITYPOINTER]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
8
-370"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
9
-370"
>
<addForeignKeyConstraint
baseColumnNames=
"SERVICEID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SERVICE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SERVICEID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SERVICE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
8
-371"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
9
-371"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SLA__SL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__SLA__SL"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
8
-372"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-activitypointer-5
9
-372"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__TRANSAC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACTIVITYPOINTER"
constraintName=
"DER1N_ACTIVITYPOINTER__TRANSAC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[BULKDELETEFAILURE]外键关系 -->
<!--输出实体[BULKDELETEFAILURE]外键关系 -->
...
@@ -11572,7 +11572,7 @@
...
@@ -11572,7 +11572,7 @@
<!--输出实体[POST]外键关系 -->
<!--输出实体[POST]外键关系 -->
<!--输出实体[CONTRACTTEMPLATE]外键关系 -->
<!--输出实体[CONTRACTTEMPLATE]外键关系 -->
<!--输出实体[LIST]外键关系 -->
<!--输出实体[LIST]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-list-6
1
-394"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-list-6
8
-394"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"LIST"
constraintName=
"DER1N_LIST__TRANSACTIONCURRENC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"LIST"
constraintName=
"DER1N_LIST__TRANSACTIONCURRENC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[KNOWLEDGEBASERECORD]外键关系 -->
<!--输出实体[KNOWLEDGEBASERECORD]外键关系 -->
...
@@ -11612,25 +11612,25 @@
...
@@ -11612,25 +11612,25 @@
<!--输出实体[RELATIONSHIPS]外键关系 -->
<!--输出实体[RELATIONSHIPS]外键关系 -->
<!--输出实体[CONNECTIONROLE]外键关系 -->
<!--输出实体[CONNECTIONROLE]外键关系 -->
<!--输出实体[OPPORTUNITY]外键关系 -->
<!--输出实体[OPPORTUNITY]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-404"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-404"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__ACCOUNT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__ACCOUNT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-405"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-405"
>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CAMPAIGN__C"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CAMPAIGN__C"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-406"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-406"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTCONTACTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CONTACT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PARENTCONTACTID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__CONTACT__PA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-407"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-407"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__LEAD__ORIGI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__LEAD__ORIGI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-408"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-408"
>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__PRICELEVEL_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"PRICELEVELID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__PRICELEVEL_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-409"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-409"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
1
-410"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-opportunity-2
3
-410"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__TRANSACTION"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"OPPORTUNITY"
constraintName=
"DER1N_OPPORTUNITY__TRANSACTION"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[ANNOTATION]外键关系 -->
<!--输出实体[ANNOTATION]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录