Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a588ccb3
提交
a588ccb3
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
c37cdbbe
变更
15
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
396 行增加
和
3 行删除
+396
-3
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+9
-0
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+9
-0
ibizbookusr2-edit-view-base.vue
...le/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
+262
-0
ibizbookusr2-edit-view.less
...sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view.less
+1
-0
book-type-select-treeview-model.ts
...k-type-select-treeview/book-type-select-treeview-model.ts
+3
-0
guide-wizardpanel-model.ts
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-model.ts
+4
-0
main-multieditviewpanel-model.ts
.../main-multieditviewpanel/main-multieditviewpanel-model.ts
+3
-0
state-guide-wizardpanel-model.ts
.../state-guide-wizardpanel/state-guide-wizardpanel-model.ts
+4
-0
IBIZBOOK.java
...src/main/java/cn/ibizlab/core/sample/domain/IBIZBOOK.java
+15
-0
IBIZBOOKSearchContext.java
.../cn/ibizlab/core/sample/filter/IBIZBOOKSearchContext.java
+7
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-0
IBIZBOOKMapper.xml
.../main/resources/mapper/sample/ibizbook/IBIZBOOKMapper.xml
+3
-3
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+14
-0
IBIZBOOKDTO.java
...api/src/main/java/cn/ibizlab/demoapi/dto/IBIZBOOKDTO.java
+17
-0
StaticDict.java
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+43
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
a588ccb3
...
...
@@ -21,6 +21,7 @@ export default {
stepstatus
:
"步骤"
,
borrower
:
"借阅人"
,
borrowway
:
"借阅方式"
,
returnlib
:
"归还图馆"
,
},
views
:
{
statewizardview
:
{
...
...
@@ -1237,6 +1238,14 @@ export default {
},
},
usr2editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
},
dashboardviewdashboard_sysportlet2_list_quicktoolbar_toolbar
:
{
deuiaction1
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
a588ccb3
...
...
@@ -20,6 +20,7 @@ export default {
stepstatus
:
"步骤"
,
borrower
:
"借阅人"
,
borrowway
:
"借阅方式"
,
returnlib
:
"归还图馆"
,
},
views
:
{
statewizardview
:
{
...
...
@@ -1236,6 +1237,14 @@ export default {
},
},
usr2editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
dashboardviewdashboard_sysportlet2_list_quicktoolbar_toolbar
:
{
deuiaction1
:
{
...
...
app_Web/src/pages/sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
浏览文件 @
a588ccb3
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view.less
浏览文件 @
a588ccb3
...
...
@@ -23,4 +23,5 @@
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/widgets/ibizbook/book-type-select-treeview/book-type-select-treeview-model.ts
浏览文件 @
a588ccb3
...
...
@@ -75,6 +75,9 @@ export default class BookTypeSelectModel {
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
]
}
...
...
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-model.ts
浏览文件 @
a588ccb3
...
...
@@ -94,6 +94,10 @@ export default class GuideModel {
name
:
'borrowway'
,
prop
:
'borrowway'
,
},
{
name
:
'returnlib'
,
prop
:
'returnlib'
,
},
]
}
...
...
app_Web/src/widgets/ibizbook/main-multieditviewpanel/main-multieditviewpanel-model.ts
浏览文件 @
a588ccb3
...
...
@@ -75,6 +75,9 @@ export default class MainModel {
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
]
}
...
...
app_Web/src/widgets/ibizbook/state-guide-wizardpanel/state-guide-wizardpanel-model.ts
浏览文件 @
a588ccb3
...
...
@@ -94,6 +94,10 @@ export default class StateGuideModel {
name
:
'borrowway'
,
prop
:
'borrowway'
,
},
{
name
:
'returnlib'
,
prop
:
'returnlib'
,
},
]
}
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/domain/IBIZBOOK.java
浏览文件 @
a588ccb3
...
...
@@ -192,6 +192,13 @@ public class IBIZBOOK extends EntityMP implements Serializable {
@JSONField
(
name
=
"borrowway"
)
@JsonProperty
(
"borrowway"
)
private
String
borrowway
;
/**
* 归还图馆
*/
@TableField
(
value
=
"returnlib"
)
@JSONField
(
name
=
"returnlib"
)
@JsonProperty
(
"returnlib"
)
private
String
returnlib
;
...
...
@@ -335,6 +342,14 @@ public class IBIZBOOK extends EntityMP implements Serializable {
this
.
modify
(
"borrowway"
,
borrowway
);
}
/**
* 设置 [归还图馆]
*/
public
void
setReturnlib
(
String
returnlib
)
{
this
.
returnlib
=
returnlib
;
this
.
modify
(
"returnlib"
,
returnlib
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/filter/IBIZBOOKSearchContext.java
浏览文件 @
a588ccb3
...
...
@@ -55,6 +55,13 @@ public class IBIZBOOKSearchContext extends QueryWrapperContext<IBIZBOOK> {
this
.
getSearchCond
().
eq
(
"borrowway"
,
n_borrowway_eq
);
}
}
private
String
n_returnlib_eq
;
//[归还图馆]
public
void
setN_returnlib_eq
(
String
n_returnlib_eq
)
{
this
.
n_returnlib_eq
=
n_returnlib_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_returnlib_eq
)){
this
.
getSearchCond
().
eq
(
"returnlib"
,
n_returnlib_eq
);
}
}
/**
* 启用快速搜索
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
a588ccb3
...
...
@@ -71,6 +71,8 @@
</column>
<column
name=
"BORROWWAY"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
<column
name=
"RETURNLIB"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</createTable>
</changeSet>
...
...
demo-core/src/main/resources/mapper/sample/ibizbook/IBIZBOOKMapper.xml
浏览文件 @
a588ccb3
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"IBIZBOOKResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1 ) t1 where ibizbookid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURN
LIB`, t1.`RETURN
TIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1 ) t1 where ibizbookid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
<![CDATA[ SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURN
LIB`, t1.`RETURN
TIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
<![CDATA[ SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURN
LIB`, t1.`RETURN
TIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
]]>
</sql>
</mapper>
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
a588ccb3
...
...
@@ -445,6 +445,20 @@
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"RETURNLIB"
,
"codename"
:
"Returnlib"
,
"field_logic_name"
:
"归还图馆"
,
"entity_name"
:
"IBIZBOOK"
,
"field_type"
:
"SSCODELIST"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
60
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
}
],
"subEntitys"
:[
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZBOOKDTO.java
浏览文件 @
a588ccb3
...
...
@@ -209,6 +209,15 @@ public class IBIZBOOKDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
60
,
message
=
"内容长度必须小于等于[60]"
)
private
String
borrowway
;
/**
* 属性 [RETURNLIB]
*
*/
@JSONField
(
name
=
"returnlib"
)
@JsonProperty
(
"returnlib"
)
@Size
(
min
=
0
,
max
=
60
,
message
=
"内容长度必须小于等于[60]"
)
private
String
returnlib
;
/**
* 设置 [IBIZBOOKNAME]
...
...
@@ -330,6 +339,14 @@ public class IBIZBOOKDTO extends DTOBase implements Serializable {
this
.
modify
(
"borrowway"
,
borrowway
);
}
/**
* 设置 [RETURNLIB]
*/
public
void
setReturnlib
(
String
returnlib
){
this
.
returnlib
=
returnlib
;
this
.
modify
(
"returnlib"
,
returnlib
);
}
}
...
...
demo-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
浏览文件 @
a588ccb3
...
...
@@ -6,6 +6,49 @@ public class StaticDict {
/**
* 代码表[借阅方式]
*/
@Getter
public
enum
CodeList25
{
ITEM_200
(
"200"
,
"押金"
),
ITEM_100
(
"100"
,
"身份证"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList25
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[图馆代码表]
*/
@Getter
public
enum
CodeList
{
ITEM_100
(
"100"
,
"第一图书馆"
),
ITEM_300
(
"300"
,
"第三图书馆"
),
ITEM_200
(
"200"
,
"第二图书馆"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[扩展表格单元格垂直对齐方式]
*/
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录