提交 ef15af53 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 081f356c
...@@ -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
} }
] ]
......
...@@ -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: {
......
...@@ -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: {
......
...@@ -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",
......
...@@ -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: '新建',
......
...@@ -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,
}, },
] ]
......
...@@ -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'));
......
...@@ -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: {
......
...@@ -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',
......
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);
}
...@@ -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){
......
...@@ -5042,7 +5042,7 @@ ...@@ -5042,7 +5042,7 @@
<!--输出实体[CAMPAIGNACTIVITY]数据结构 --> <!--输出实体[CAMPAIGNACTIVITY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-campaignactivity-28-57"> <changeSet author="a_LAB01_e85d8801c" id="tab-campaignactivity-29-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-58-99"> <changeSet author="a_LAB01_e85d8801c" id="tab-activitypointer-59-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-61-110"> <changeSet author="a_LAB01_e85d8801c" id="tab-list-68-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-21-120"> <changeSet author="a_LAB01_e85d8801c" id="tab-opportunity-23-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-28-267"> <changeSet author="a_LAB01_e85d8801c" id="fk-campaignactivity-29-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-58-370"> <changeSet author="a_LAB01_e85d8801c" id="fk-activitypointer-59-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-58-371"> <changeSet author="a_LAB01_e85d8801c" id="fk-activitypointer-59-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-58-372"> <changeSet author="a_LAB01_e85d8801c" id="fk-activitypointer-59-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-61-394"> <changeSet author="a_LAB01_e85d8801c" id="fk-list-68-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-21-404"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-405"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-406"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-407"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-408"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-409"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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-21-410"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-23-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册