Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzlite
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzlite
提交
3ea1cdc8
提交
3ea1cdc8
编写于
9月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
bb49fa14
变更
10
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
27 行增加
和
26 行删除
+27
-26
dst-app_en_US.ts
app_web/src/locale/lanres/entities/dst-app/dst-app_en_US.ts
+1
-1
dst-app_zh_CN.ts
app_web/src/locale/lanres/entities/dst-app/dst-app_zh_CN.ts
+1
-1
main-grid-model.ts
app_web/src/widgets/dst-app/main-grid/main-grid-model.ts
+1
-1
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+1
-1
DstApp.java
...ore/src/main/java/cn/ibizlab/core/lite/domain/DstApp.java
+4
-3
IDstAppService.java
...ain/java/cn/ibizlab/core/lite/service/IDstAppService.java
+2
-2
DstAppServiceImpl.java
.../cn/ibizlab/core/lite/service/impl/DstAppServiceImpl.java
+3
-3
ibzlite.json
ibzlite-core/src/main/resources/sysmodel/ibzlite.json
+1
-1
DstAppDTO.java
...vider-api/src/main/java/cn/ibizlab/api/dto/DstAppDTO.java
+6
-6
DstAppResource.java
...api/src/main/java/cn/ibizlab/api/rest/DstAppResource.java
+7
-7
未找到文件。
app_web/src/locale/lanres/entities/dst-app/dst-app_en_US.ts
浏览文件 @
3ea1cdc8
...
...
@@ -3,7 +3,7 @@ export default {
fields
:
{
id
:
"应用标识"
,
label
:
"应用名"
,
ps
systemid
:
"系统标识"
,
systemid
:
"系统标识"
,
fullname
:
"全称"
,
type
:
"类型"
,
group
:
"分组"
,
...
...
app_web/src/locale/lanres/entities/dst-app/dst-app_zh_CN.ts
浏览文件 @
3ea1cdc8
...
...
@@ -2,7 +2,7 @@ export default {
fields
:
{
id
:
"应用标识"
,
label
:
"应用名"
,
ps
systemid
:
"系统标识"
,
systemid
:
"系统标识"
,
fullname
:
"全称"
,
type
:
"类型"
,
group
:
"分组"
,
...
...
app_web/src/widgets/dst-app/main-grid/main-grid-model.ts
浏览文件 @
3ea1cdc8
...
...
@@ -28,7 +28,7 @@ export default class MainModel {
return
[
{
name
:
'pssystemid'
,
prop
:
'
ps
systemid'
,
prop
:
'systemid'
,
dataType
:
'PICKUP'
,
},
{
...
...
app_web/src/widgets/dst-app/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
浏览文件 @
3ea1cdc8
...
...
@@ -22,7 +22,7 @@ export default class PickupViewpickupviewpanelModel {
name
:
'label'
,
},
{
name
:
'
ps
systemid'
,
name
:
'systemid'
,
},
{
name
:
'fullname'
,
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/domain/DstApp.java
浏览文件 @
3ea1cdc8
...
...
@@ -53,9 +53,10 @@ public class DstApp extends EntityBase implements Serializable {
/**
* 系统标识
*/
@JSONField
(
name
=
"pSSystemId"
)
@JsonProperty
(
"pSSystemId"
)
private
String
pssystemid
;
@DEField
(
name
=
"pssystemid"
)
@JSONField
(
name
=
"systemId"
)
@JsonProperty
(
"systemId"
)
private
String
systemid
;
/**
* 全称
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/IDstAppService.java
浏览文件 @
3ea1cdc8
...
...
@@ -36,8 +36,8 @@ public interface IDstAppService{
boolean
save
(
DstApp
et
)
;
void
saveBatch
(
List
<
DstApp
>
list
)
;
Page
<
DstApp
>
searchDefault
(
DstAppSearchContext
context
)
;
List
<
DstApp
>
selectBy
Pss
ystemid
(
String
pssystemid
)
;
void
removeBy
Pss
ystemid
(
String
pssystemid
)
;
List
<
DstApp
>
selectBy
S
ystemid
(
String
pssystemid
)
;
void
removeBy
S
ystemid
(
String
pssystemid
)
;
}
...
...
ibzlite-core/src/main/java/cn/ibizlab/core/lite/service/impl/DstAppServiceImpl.java
浏览文件 @
3ea1cdc8
...
...
@@ -106,14 +106,14 @@ public class DstAppServiceImpl implements IDstAppService {
@Override
public
List
<
DstApp
>
selectBy
Pss
ystemid
(
String
pssystemid
)
{
public
List
<
DstApp
>
selectBy
S
ystemid
(
String
pssystemid
)
{
return
null
;
}
@Override
public
void
removeBy
Pss
ystemid
(
String
pssystemid
)
{
public
void
removeBy
S
ystemid
(
String
pssystemid
)
{
Set
<
String
>
delIds
=
new
HashSet
<
String
>();
for
(
DstApp
before:
selectBy
Pss
ystemid
(
pssystemid
)){
for
(
DstApp
before:
selectBy
S
ystemid
(
pssystemid
)){
delIds
.
add
(
before
.
getId
());
}
if
(
delIds
.
size
()>
0
)
...
...
ibzlite-core/src/main/resources/sysmodel/ibzlite.json
浏览文件 @
3ea1cdc8
...
...
@@ -227,7 +227,7 @@
},
{
"fieldname"
:
"PSSYSTEMID"
,
"codename"
:
"
PS
SystemId"
,
"codename"
:
"SystemId"
,
"field_logic_name"
:
"系统标识"
,
"entity_name"
:
"DstApp"
,
"ref_field_name"
:
"PSSystemId"
,
...
...
ibzlite-provider/ibzlite-provider-api/src/main/java/cn/ibizlab/api/dto/DstAppDTO.java
浏览文件 @
3ea1cdc8
...
...
@@ -49,10 +49,10 @@ public class DstAppDTO extends DTOBase implements Serializable {
* 属性 [PSSYSTEMID]
*
*/
@JSONField
(
name
=
"
ps
systemid"
)
@JsonProperty
(
"
ps
systemid"
)
@JSONField
(
name
=
"systemid"
)
@JsonProperty
(
"systemid"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ps
systemid
;
private
String
systemid
;
/**
* 属性 [FULLNAME]
...
...
@@ -119,9 +119,9 @@ public class DstAppDTO extends DTOBase implements Serializable {
/**
* 设置 [PSSYSTEMID]
*/
public
void
set
Pssystemid
(
String
ps
systemid
){
this
.
pssystemid
=
ps
systemid
;
this
.
modify
(
"pssystemid"
,
ps
systemid
);
public
void
set
Systemid
(
String
systemid
){
this
.
systemid
=
systemid
;
this
.
modify
(
"pssystemid"
,
systemid
);
}
/**
...
...
ibzlite-provider/ibzlite-provider-api/src/main/java/cn/ibizlab/api/rest/DstAppResource.java
浏览文件 @
3ea1cdc8
...
...
@@ -149,7 +149,7 @@ public class DstAppResource {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dstsystems/{dstsystem_id}/dstapps"
)
public
ResponseEntity
<
DstAppDTO
>
createByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@RequestBody
DstAppDTO
dstappdto
)
{
DstApp
domain
=
dstappMapping
.
toDomain
(
dstappdto
);
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
dstappService
.
create
(
domain
);
DstAppDTO
dto
=
dstappMapping
.
toDto
(
domain
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
...
...
@@ -160,7 +160,7 @@ public class DstAppResource {
public
ResponseEntity
<
Boolean
>
createBatchByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@RequestBody
List
<
DstAppDTO
>
dstappdtos
)
{
List
<
DstApp
>
domainlist
=
dstappMapping
.
toDomain
(
dstappdtos
);
for
(
DstApp
domain:
domainlist
){
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
}
dstappService
.
createBatch
(
domainlist
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
...
...
@@ -170,7 +170,7 @@ public class DstAppResource {
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/dstsystems/{dstsystem_id}/dstapps/{dstapp_id}"
)
public
ResponseEntity
<
DstAppDTO
>
updateByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@PathVariable
(
"dstapp_id"
)
String
dstapp_id
,
@RequestBody
DstAppDTO
dstappdto
)
{
DstApp
domain
=
dstappMapping
.
toDomain
(
dstappdto
);
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
domain
.
setId
(
dstapp_id
);
dstappService
.
update
(
domain
);
DstAppDTO
dto
=
dstappMapping
.
toDto
(
domain
);
...
...
@@ -182,7 +182,7 @@ public class DstAppResource {
public
ResponseEntity
<
Boolean
>
updateBatchByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@RequestBody
List
<
DstAppDTO
>
dstappdtos
)
{
List
<
DstApp
>
domainlist
=
dstappMapping
.
toDomain
(
dstappdtos
);
for
(
DstApp
domain:
domainlist
){
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
}
dstappService
.
updateBatch
(
domainlist
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
...
...
@@ -213,7 +213,7 @@ public class DstAppResource {
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/dstsystems/{dstsystem_id}/dstapps/getdraft"
)
public
ResponseEntity
<
DstAppDTO
>
getDraftByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
)
{
DstApp
domain
=
new
DstApp
();
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dstappMapping
.
toDto
(
dstappService
.
getDraft
(
domain
)));
}
...
...
@@ -227,7 +227,7 @@ public class DstAppResource {
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/dstsystems/{dstsystem_id}/dstapps/save"
)
public
ResponseEntity
<
Boolean
>
saveByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@RequestBody
DstAppDTO
dstappdto
)
{
DstApp
domain
=
dstappMapping
.
toDomain
(
dstappdto
);
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dstappService
.
save
(
domain
));
}
...
...
@@ -236,7 +236,7 @@ public class DstAppResource {
public
ResponseEntity
<
Boolean
>
saveBatchByDstSystem
(
@PathVariable
(
"dstsystem_id"
)
String
dstsystem_id
,
@RequestBody
List
<
DstAppDTO
>
dstappdtos
)
{
List
<
DstApp
>
domainlist
=
dstappMapping
.
toDomain
(
dstappdtos
);
for
(
DstApp
domain:
domainlist
){
domain
.
set
Pss
ystemid
(
dstsystem_id
);
domain
.
set
S
ystemid
(
dstsystem_id
);
}
dstappService
.
saveBatch
(
domainlist
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录