Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
1d3aefac
提交
1d3aefac
编写于
5月 21, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码
上级
db2574b6
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
18 行增加
和
12 行删除
+18
-12
control-service.ts
app_web/src/widgets/control-service.ts
+4
-2
IBZDepartmentMapper.java
...n/java/cn/ibizlab/core/ou/mapper/IBZDepartmentMapper.java
+1
-0
IBZDeptMemberMapper.java
...n/java/cn/ibizlab/core/ou/mapper/IBZDeptMemberMapper.java
+1
-0
IBZEmployeeMapper.java
...ain/java/cn/ibizlab/core/ou/mapper/IBZEmployeeMapper.java
+1
-0
IBZOrganizationMapper.java
...java/cn/ibizlab/core/ou/mapper/IBZOrganizationMapper.java
+1
-0
h2_table.xml
ibzou-core/src/main/resources/liquibase/h2_table.xml
+9
-9
IBZEmployeesaveDeptMemberRule.drl
...rc/main/resources/rules/IBZEmployeesaveDeptMemberRule.drl
+1
-1
未找到文件。
app_web/src/widgets/control-service.ts
浏览文件 @
1d3aefac
...
...
@@ -293,13 +293,15 @@ export default class ControlService {
if
(
codelist
)
{
resolve
([...
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
))]);
}
else
{
console
.
log
(
`<#noparse>----
${
codeListObject
.
tag
}
----代码表不存在</#noparse>`
);
resolve
([]);
console
.
log
(
`----
${
codeListObject
.
tag
}
----代码表不存在`
);
}
}
else
if
(
codeListObject
.
tag
&&
Object
.
is
(
codeListObject
.
codelistType
,
"DYNAMIC"
)){
this
.
codeListService
.
getItems
(
codeListObject
.
tag
).
then
((
res
:
any
)
=>
{
resolve
(
res
);
}).
catch
((
error
:
any
)
=>
{
console
.
log
(
`<#noparse>----
${
codeListObject
.
tag
}
----代码表不存在</#noparse>`
);
resolve
([]);
console
.
log
(
`----
${
codeListObject
.
tag
}
----代码表不存在`
);
});
}
})
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/mapper/IBZDepartmentMapper.java
浏览文件 @
1d3aefac
...
...
@@ -30,6 +30,7 @@ public interface IBZDepartmentMapper extends BaseMapper<IBZDepartment>{
@Override
@CacheEvict
(
value
=
"ibzdepartment"
,
key
=
"'row:'+#p0.deptid"
)
int
updateById
(
@Param
(
Constants
.
ENTITY
)
IBZDepartment
entity
);
@Override
@CacheEvict
(
value
=
"ibzdepartment"
,
key
=
"'row:'+#p0.deptid"
)
int
update
(
@Param
(
Constants
.
ENTITY
)
IBZDepartment
entity
,
@Param
(
"ew"
)
Wrapper
<
IBZDepartment
>
updateWrapper
);
@Override
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/mapper/IBZDeptMemberMapper.java
浏览文件 @
1d3aefac
...
...
@@ -26,6 +26,7 @@ public interface IBZDeptMemberMapper extends BaseMapper<IBZDeptMember>{
int
insert
(
IBZDeptMember
entity
);
@Override
int
updateById
(
@Param
(
Constants
.
ENTITY
)
IBZDeptMember
entity
);
@Override
int
update
(
@Param
(
Constants
.
ENTITY
)
IBZDeptMember
entity
,
@Param
(
"ew"
)
Wrapper
<
IBZDeptMember
>
updateWrapper
);
@Override
int
deleteById
(
Serializable
id
);
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/mapper/IBZEmployeeMapper.java
浏览文件 @
1d3aefac
...
...
@@ -29,6 +29,7 @@ public interface IBZEmployeeMapper extends BaseMapper<IBZEmployee>{
@Override
@CacheEvict
(
value
=
"ibzemployee"
,
key
=
"'row:'+#p0.userid"
)
int
updateById
(
@Param
(
Constants
.
ENTITY
)
IBZEmployee
entity
);
@Override
@CacheEvict
(
value
=
"ibzemployee"
,
key
=
"'row:'+#p0.userid"
)
int
update
(
@Param
(
Constants
.
ENTITY
)
IBZEmployee
entity
,
@Param
(
"ew"
)
Wrapper
<
IBZEmployee
>
updateWrapper
);
@Override
...
...
ibzou-core/src/main/java/cn/ibizlab/core/ou/mapper/IBZOrganizationMapper.java
浏览文件 @
1d3aefac
...
...
@@ -31,6 +31,7 @@ public interface IBZOrganizationMapper extends BaseMapper<IBZOrganization>{
@Override
@CacheEvict
(
value
=
"ibzorganization"
,
key
=
"'row:'+#p0.orgid"
)
int
updateById
(
@Param
(
Constants
.
ENTITY
)
IBZOrganization
entity
);
@Override
@CacheEvict
(
value
=
"ibzorganization"
,
key
=
"'row:'+#p0.orgid"
)
int
update
(
@Param
(
Constants
.
ENTITY
)
IBZOrganization
entity
,
@Param
(
"ew"
)
Wrapper
<
IBZOrganization
>
updateWrapper
);
@Override
...
...
ibzou-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
1d3aefac
...
...
@@ -28,7 +28,7 @@
</createTable>
</changeSet>
<!--输出实体[IBZEMP]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzemp-61
6
-2"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzemp-61
8
-2"
>
<createTable
tableName=
"IBZEMP"
>
<column
name=
"USERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZEMP_USERID"
/>
...
...
@@ -106,7 +106,7 @@
</createTable>
</changeSet>
<!--输出实体[IBZDEPTMEMBER]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdeptmember-2
5
-3"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdeptmember-2
7
-3"
>
<createTable
tableName=
"IBZDEPTMEMBER"
>
<column
name=
"MEMBERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZDEPTMEMBER_MEMBERID"
/>
...
...
@@ -118,7 +118,7 @@
</createTable>
</changeSet>
<!--输出实体[IBZDEPT]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdept-54
2
-4"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdept-54
3
-4"
>
<createTable
tableName=
"IBZDEPT"
>
<column
name=
"DEPTID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZDEPT_DEPTID"
/>
...
...
@@ -157,24 +157,24 @@
<addForeignKeyConstraint
baseColumnNames=
"PORGID"
baseTableName=
"IBZORG"
constraintName=
"DER1N_IBZORG_IBZORG_PORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZEMP]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-61
6
-6"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-61
8
-6"
>
<addForeignKeyConstraint
baseColumnNames=
"MDEPTID"
baseTableName=
"IBZEMP"
constraintName=
"DER1N_IBZEMP_IBZDEPT_MDEPTID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-61
6
-7"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-61
8
-7"
>
<addForeignKeyConstraint
baseColumnNames=
"ORGID"
baseTableName=
"IBZEMP"
constraintName=
"DER1N_IBZEMP_IBZORG_ORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZDEPTMEMBER]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-2
5
-8"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-2
7
-8"
>
<addForeignKeyConstraint
baseColumnNames=
"DEPTID"
baseTableName=
"IBZDEPTMEMBER"
constraintName=
"DER1N_IBZDEPTMEMBER_IBZDEPT_DE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-2
5
-9"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-2
7
-9"
>
<addForeignKeyConstraint
baseColumnNames=
"USERID"
baseTableName=
"IBZDEPTMEMBER"
constraintName=
"DER1N_IBZDEPTMEMBER_IBZEMP_USE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"USERID"
referencedTableName=
"IBZEMP"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZDEPT]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-54
2
-10"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-54
3
-10"
>
<addForeignKeyConstraint
baseColumnNames=
"PDEPTID"
baseTableName=
"IBZDEPT"
constraintName=
"DER1N_IBZDEPT_IBZDEPT_PDEPTID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-54
2
-11"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-54
3
-11"
>
<addForeignKeyConstraint
baseColumnNames=
"ORGID"
baseTableName=
"IBZDEPT"
constraintName=
"DER1N_IBZDEPT_IBZORG_ORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
...
...
ibzou-core/src/main/resources/rules/IBZEmployeesaveDeptMemberRule.drl
浏览文件 @
1d3aefac
...
...
@@ -16,7 +16,7 @@ rule "deaction1"
ruleflow
-
group
"ibzemployeesavedeptmemberdeaction1"
when
then
ibzdeptmemberservice
.
save
(
ibzemployeesavedeptmember
default
);
ibzdeptmemberservice
.
save
(
ibzemployeesavedeptmember
member
);
update
(
ibzemployeesavedeptmemberdefault
);//
更新
fact
中变量值
update
(
ibzemployeesavedeptmembermember
);//
更新
fact
中变量值
end
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录