Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
085461a9
提交
085461a9
编写于
7月 08, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
c7b38aa1
变更
23
展开全部
显示空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
1379 行增加
和
1146 行删除
+1379
-1146
connection.ts
app_CRM/src/interface/entity/connection.ts
+16
-0
connection_en_US.ts
...src/locale/lanres/entities/connection/connection_en_US.ts
+4
-0
connection_zh_CN.ts
...src/locale/lanres/entities/connection/connection_zh_CN.ts
+4
-0
connection-by-parent-key-base.tsx
...onnection-by-parent-key/connection-by-parent-key-base.tsx
+11
-0
connection-edit-view-base.tsx
...untime/connection-edit-view/connection-edit-view-base.tsx
+11
-0
account-service-base.ts
app_CRM/src/service/account/account-service-base.ts
+50
-50
campaign-service-base.ts
app_CRM/src/service/campaign/campaign-service-base.ts
+52
-52
contact-service-base.ts
app_CRM/src/service/contact/contact-service-base.ts
+131
-131
ibiz-list-service-base.ts
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
+50
-50
lead-service-base.ts
app_CRM/src/service/lead/lead-service-base.ts
+369
-369
opportunity-service-base.ts
app_CRM/src/service/opportunity/opportunity-service-base.ts
+368
-368
product-service-base.ts
app_CRM/src/service/product/product-service-base.ts
+50
-50
sales-literature-service-base.ts
...service/sales-literature/sales-literature-service-base.ts
+50
-50
main-form-base.tsx
app_CRM/src/widgets/connection/main-form/main-form-base.tsx
+10
-0
main-grid-base.tsx
app_CRM/src/widgets/connection/main-grid/main-grid-base.tsx
+16
-0
main-grid-model.ts
app_CRM/src/widgets/connection/main-grid/main-grid-model.ts
+10
-0
main-grid.html
app_CRM/src/widgets/connection/main-grid/main-grid.html
+24
-0
Connection.java
...izlab/businesscentral/core/runtime/domain/Connection.java
+30
-0
ConnectionSearchContext.java
...scentral/core/runtime/filter/ConnectionSearchContext.java
+28
-0
ConnectionServiceImpl.java
...tral/core/runtime/service/impl/ConnectionServiceImpl.java
+33
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+26
-22
ConnectionMapper.xml
.../resources/mapper/runtime/connection/ConnectionMapper.xml
+4
-4
ConnectionDTO.java
...ibizlab/businesscentral/centralapi/dto/ConnectionDTO.java
+32
-0
未找到文件。
app_CRM/src/interface/entity/connection.ts
浏览文件 @
085461a9
...
...
@@ -261,4 +261,20 @@ export interface Connection {
* @memberof Connection
*/
record2roleid
?:
any
;
/**
* 角色(源)
*
* @returns {*}
* @memberof Connection
*/
record1rolename
?:
any
;
/**
* 角色(目标)
*
* @returns {*}
* @memberof Connection
*/
record2rolename
?:
any
;
}
\ No newline at end of file
app_CRM/src/locale/lanres/entities/connection/connection_en_US.ts
浏览文件 @
085461a9
...
...
@@ -33,6 +33,8 @@ export default {
record1roleid
:
"角色(源)"
,
transactioncurrencyid
:
"货币"
,
record2roleid
:
"角色(目标)"
,
record1rolename
:
"角色(源)"
,
record2rolename
:
"角色(目标)"
,
},
views
:
{
byparentkey
:
{
...
...
@@ -85,6 +87,8 @@ export default {
connectionname
:
"关联名称"
,
statecode
:
"状态"
,
statuscode
:
"状态描述"
,
record1rolename
:
"角色(源)"
,
record2rolename
:
"角色(目标)"
,
},
uiactions
:
{
},
...
...
app_CRM/src/locale/lanres/entities/connection/connection_zh_CN.ts
浏览文件 @
085461a9
...
...
@@ -32,6 +32,8 @@ export default {
record1roleid
:
"角色(源)"
,
transactioncurrencyid
:
"货币"
,
record2roleid
:
"角色(目标)"
,
record1rolename
:
"角色(源)"
,
record2rolename
:
"角色(目标)"
,
},
views
:
{
byparentkey
:
{
...
...
@@ -84,6 +86,8 @@ export default {
connectionname
:
"关联名称"
,
statecode
:
"状态"
,
statuscode
:
"状态描述"
,
record1rolename
:
"角色(源)"
,
record2rolename
:
"角色(目标)"
,
},
uiactions
:
{
},
...
...
app_CRM/src/pages/runtime/connection-by-parent-key/connection-by-parent-key-base.tsx
浏览文件 @
085461a9
...
...
@@ -59,6 +59,17 @@ export class ConnectionByParentKeyBase extends GridViewBase {
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof ConnectionByParentKeyBase
*/
protected
customViewNavContexts
:
any
=
{
'RECORD1ID'
:
{
isRawValue
:
false
,
value
:
'lead'
}
};
/**
* 视图模型数据
*
...
...
app_CRM/src/pages/runtime/connection-edit-view/connection-edit-view-base.tsx
浏览文件 @
085461a9
...
...
@@ -56,6 +56,17 @@ export class ConnectionEditViewBase extends EditViewBase {
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof ConnectionEditViewBase
*/
protected
customViewParams
:
any
=
{
'record1id'
:
{
isRawValue
:
false
,
value
:
'record1id'
}
};
/**
* 视图模型数据
*
...
...
app_CRM/src/service/account/account-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/campaign/campaign-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/contact/contact-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/ibiz-list/ibiz-list-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/lead/lead-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/opportunity/opportunity-service-base.ts
浏览文件 @
085461a9
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_CRM/src/service/product/product-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/service/sales-literature/sales-literature-service-base.ts
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
app_CRM/src/widgets/connection/main-form/main-form-base.tsx
浏览文件 @
085461a9
...
...
@@ -183,4 +183,14 @@ export class MainEditFormBase extends EditFormControlBase {
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
/**
* 新建默认值
* @memberof MainEditFormBase
*/
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'record1id'
))
{
this
.
data
[
'record1id'
]
=
this
.
viewparams
[
'record1id'
];
}
}
}
\ No newline at end of file
app_CRM/src/widgets/connection/main-grid/main-grid-base.tsx
浏览文件 @
085461a9
...
...
@@ -86,6 +86,20 @@ export class MainGridBase extends GridControllerBase {
show
:
true
,
util
:
'PX'
},
{
name
:
'record1rolename'
,
label
:
'角色(源)'
,
langtag
:
'entities.connection.main_grid.columns.record1rolename'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'record2rolename'
,
label
:
'角色(目标)'
,
langtag
:
'entities.connection.main_grid.columns.record2rolename'
,
show
:
true
,
util
:
'PX'
},
]
/**
...
...
@@ -123,6 +137,8 @@ export class MainGridBase extends GridControllerBase {
'connectionname'
:
false
,
'statecode'
:
false
,
'statuscode'
:
false
,
'record1rolename'
:
false
,
'record2rolename'
:
false
,
};
/**
...
...
app_CRM/src/widgets/connection/main-grid/main-grid-model.ts
浏览文件 @
085461a9
...
...
@@ -26,6 +26,11 @@ export default class MainModel {
]
}
else
{
return
[
{
name
:
'record2rolename'
,
prop
:
'record2rolename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'statecode'
,
prop
:
'statecode'
,
...
...
@@ -36,6 +41,11 @@ export default class MainModel {
prop
:
'record1roleid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'record1rolename'
,
prop
:
'record1rolename'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'record2roleid'
,
prop
:
'record2roleid'
,
...
...
app_CRM/src/widgets/connection/main-grid/main-grid.html
浏览文件 @
085461a9
...
...
@@ -63,6 +63,30 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('record1rolename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'record1rolename'"
:label=
"$t('entities.connection.main_grid.columns.record1rolename')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connection.main_grid.columns.record1rolename')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.record1rolename}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('record2rolename')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'record2rolename'"
:label=
"$t('entities.connection.main_grid.columns.record2rolename')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.connection.main_grid.columns.record2rolename')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.record2rolename}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"adaptiveState"
>
<el-table-column></el-table-column>
</template>
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/runtime/domain/Connection.java
浏览文件 @
085461a9
...
...
@@ -276,6 +276,20 @@ public class Connection extends EntityMP implements Serializable {
@JSONField
(
name
=
"record2roleid"
)
@JsonProperty
(
"record2roleid"
)
private
String
record2roleid
;
/**
* 角色(源)
*/
@TableField
(
value
=
"record1rolename"
)
@JSONField
(
name
=
"record1rolename"
)
@JsonProperty
(
"record1rolename"
)
private
String
record1rolename
;
/**
* 角色(目标)
*/
@TableField
(
value
=
"record2rolename"
)
@JSONField
(
name
=
"record2rolename"
)
@JsonProperty
(
"record2rolename"
)
private
String
record2rolename
;
/**
*
...
...
@@ -549,6 +563,22 @@ public class Connection extends EntityMP implements Serializable {
this
.
modify
(
"record2roleid"
,
record2roleid
);
}
/**
* 设置 [角色(源)]
*/
public
void
setRecord1rolename
(
String
record1rolename
){
this
.
record1rolename
=
record1rolename
;
this
.
modify
(
"record1rolename"
,
record1rolename
);
}
/**
* 设置 [角色(目标)]
*/
public
void
setRecord2rolename
(
String
record2rolename
){
this
.
record2rolename
=
record2rolename
;
this
.
modify
(
"record2rolename"
,
record2rolename
);
}
}
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/runtime/filter/ConnectionSearchContext.java
浏览文件 @
085461a9
...
...
@@ -83,6 +83,34 @@ public class ConnectionSearchContext extends QueryWrapperContext<Connection> {
this
.
getSearchCond
().
eq
(
"record2roleid"
,
n_record2roleid_eq
);
}
}
private
String
n_record1rolename_eq
;
//[角色(源)]
public
void
setN_record1rolename_eq
(
String
n_record1rolename_eq
)
{
this
.
n_record1rolename_eq
=
n_record1rolename_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_record1rolename_eq
)){
this
.
getSearchCond
().
eq
(
"record1rolename"
,
n_record1rolename_eq
);
}
}
private
String
n_record1rolename_like
;
//[角色(源)]
public
void
setN_record1rolename_like
(
String
n_record1rolename_like
)
{
this
.
n_record1rolename_like
=
n_record1rolename_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_record1rolename_like
)){
this
.
getSearchCond
().
like
(
"record1rolename"
,
n_record1rolename_like
);
}
}
private
String
n_record2rolename_eq
;
//[角色(目标)]
public
void
setN_record2rolename_eq
(
String
n_record2rolename_eq
)
{
this
.
n_record2rolename_eq
=
n_record2rolename_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_record2rolename_eq
)){
this
.
getSearchCond
().
eq
(
"record2rolename"
,
n_record2rolename_eq
);
}
}
private
String
n_record2rolename_like
;
//[角色(目标)]
public
void
setN_record2rolename_like
(
String
n_record2rolename_like
)
{
this
.
n_record2rolename_like
=
n_record2rolename_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_record2rolename_like
)){
this
.
getSearchCond
().
like
(
"record2rolename"
,
n_record2rolename_like
);
}
}
/**
* 启用快速搜索
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/runtime/service/impl/ConnectionServiceImpl.java
浏览文件 @
085461a9
...
...
@@ -56,6 +56,7 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
@Override
@Transactional
public
boolean
create
(
Connection
et
)
{
fillParentData
(
et
);
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
return
false
;
CachedBeanCopier
.
copy
(
get
(
et
.
getConnectionid
()),
et
);
...
...
@@ -64,12 +65,14 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
@Override
public
void
createBatch
(
List
<
Connection
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
this
.
saveBatch
(
list
,
batchSize
);
}
@Override
@Transactional
public
boolean
update
(
Connection
et
)
{
fillParentData
(
et
);
if
(!
update
(
et
,(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"connectionid"
,
et
.
getConnectionid
())))
return
false
;
CachedBeanCopier
.
copy
(
get
(
et
.
getConnectionid
()),
et
);
...
...
@@ -78,6 +81,7 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
@Override
public
void
updateBatch
(
List
<
Connection
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
updateBatchById
(
list
,
batchSize
);
}
...
...
@@ -108,6 +112,7 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
@Override
public
Connection
getDraft
(
Connection
et
)
{
fillParentData
(
et
);
return
et
;
}
...
...
@@ -137,12 +142,14 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
@Override
public
boolean
saveBatch
(
Collection
<
Connection
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
@Override
public
void
saveBatch
(
List
<
Connection
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
}
...
...
@@ -198,6 +205,32 @@ public class ConnectionServiceImpl extends ServiceImpl<ConnectionMapper, Connect
/**
* 为当前实体填充父数据(外键值文本、外键值附加数据)
* @param et
*/
private
void
fillParentData
(
Connection
et
){
//实体关系[DER1N_CONNECTION__CONNECTIONROLE__RECORD1ROLEID]
if
(!
ObjectUtils
.
isEmpty
(
et
.
getRecord1roleid
())){
cn
.
ibizlab
.
businesscentral
.
core
.
runtime
.
domain
.
ConnectionRole
record1role
=
et
.
getRecord1role
();
if
(
ObjectUtils
.
isEmpty
(
record1role
)){
cn
.
ibizlab
.
businesscentral
.
core
.
runtime
.
domain
.
ConnectionRole
majorEntity
=
connectionroleService
.
get
(
et
.
getRecord1roleid
());
et
.
setRecord1role
(
majorEntity
);
record1role
=
majorEntity
;
}
et
.
setRecord1rolename
(
record1role
.
getConnectionrolename
());
}
//实体关系[DER1N_CONNECTION__CONNECTIONROLE__RECORD2ROLEID]
if
(!
ObjectUtils
.
isEmpty
(
et
.
getRecord2roleid
())){
cn
.
ibizlab
.
businesscentral
.
core
.
runtime
.
domain
.
ConnectionRole
record2role
=
et
.
getRecord2role
();
if
(
ObjectUtils
.
isEmpty
(
record2role
)){
cn
.
ibizlab
.
businesscentral
.
core
.
runtime
.
domain
.
ConnectionRole
majorEntity
=
connectionroleService
.
get
(
et
.
getRecord2roleid
());
et
.
setRecord2role
(
majorEntity
);
record2role
=
majorEntity
;
}
et
.
setRecord2rolename
(
record2role
.
getConnectionrolename
());
}
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
085461a9
此差异已折叠。
点击以展开。
businesscentral-core/src/main/resources/mapper/runtime/connection/ConnectionMapper.xml
浏览文件 @
085461a9
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"ConnectionResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1 ) t1 where connectionid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
1ROLENAME`, t1.`RECORD2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID`, t1.`RECORD2ROLENAME
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1 ) t1 where connectionid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -68,18 +68,18 @@
<!--数据查询[ByParentKey]-->
<sql
id=
"ByParentKey"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
1ROLENAME`, t1.`RECORD2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID`, t1.`RECORD2ROLENAME
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
WHERE ( t1.`RECORD1ID` = #{srf.datacontext.srfparentkey} )
]]>
</sql>
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
1ROLENAME`, t1.`RECORD2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID`, t1.`RECORD2ROLENAME
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
<![CDATA[ SELECT t1.`CONNECTIONID`, t1.`CONNECTIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EFFECTIVEEND`, t1.`EFFECTIVESTART`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MASTER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`RECORD1ID`, t1.`RECORD1IDOBJECTTYPECODE`, t1.`RECORD1OBJECTTYPECODE`, t1.`RECORD1ROLEID`, t1.`RECORD
1ROLENAME`, t1.`RECORD2ID`, t1.`RECORD2IDOBJECTTYPECODE`, t1.`RECORD2OBJECTTYPECODE`, t1.`RECORD2ROLEID`, t1.`RECORD2ROLENAME
`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CONNECTION` t1
]]>
</sql>
</mapper>
...
...
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/dto/ConnectionDTO.java
浏览文件 @
085461a9
...
...
@@ -284,6 +284,22 @@ public class ConnectionDTO extends DTOBase implements Serializable {
@JsonProperty
(
"record2roleid"
)
private
String
record2roleid
;
/**
* 属性 [RECORD1ROLENAME]
*
*/
@JSONField
(
name
=
"record1rolename"
)
@JsonProperty
(
"record1rolename"
)
private
String
record1rolename
;
/**
* 属性 [RECORD2ROLENAME]
*
*/
@JSONField
(
name
=
"record2rolename"
)
@JsonProperty
(
"record2rolename"
)
private
String
record2rolename
;
/**
* 设置 [RECORD2OBJECTTYPECODE]
...
...
@@ -501,6 +517,22 @@ public class ConnectionDTO extends DTOBase implements Serializable {
this
.
modify
(
"record2roleid"
,
record2roleid
);
}
/**
* 设置 [RECORD1ROLENAME]
*/
public
void
setRecord1rolename
(
String
record1rolename
){
this
.
record1rolename
=
record1rolename
;
this
.
modify
(
"record1rolename"
,
record1rolename
);
}
/**
* 设置 [RECORD2ROLENAME]
*/
public
void
setRecord2rolename
(
String
record2rolename
){
this
.
record2rolename
=
record2rolename
;
this
.
modify
(
"record2rolename"
,
record2rolename
);
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录