Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
8c5efe88
提交
8c5efe88
编写于
5月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
82bc864d
变更
26
显示空白字符变更
内嵌
并排
正在显示
26 个修改的文件
包含
92 行增加
和
13 行删除
+92
-13
config.xml
config.xml
+5
-0
application-dev.yml
ibzuaa-boot/src/main/resources/application-dev.yml
+1
-1
SYS_PERMISSIONSearchContext.java
.../ibizlab/core/uaa/filter/SYS_PERMISSIONSearchContext.java
+1
-0
SYS_PSAPPMENUITEMSearchContext.java
...izlab/core/uaa/filter/SYS_PSAPPMENUITEMSearchContext.java
+1
-0
SYS_PSDEOPPRIVSearchContext.java
.../ibizlab/core/uaa/filter/SYS_PSDEOPPRIVSearchContext.java
+1
-0
SYS_PSSYSTEMSearchContext.java
...cn/ibizlab/core/uaa/filter/SYS_PSSYSTEMSearchContext.java
+1
-0
SYS_ROLESearchContext.java
...ava/cn/ibizlab/core/uaa/filter/SYS_ROLESearchContext.java
+1
-0
SYS_ROLE_PERMISSIONSearchContext.java
...lab/core/uaa/filter/SYS_ROLE_PERMISSIONSearchContext.java
+1
-0
SYS_USERSearchContext.java
...ava/cn/ibizlab/core/uaa/filter/SYS_USERSearchContext.java
+1
-0
SYS_USER_ROLESearchContext.java
...n/ibizlab/core/uaa/filter/SYS_USER_ROLESearchContext.java
+1
-0
SYS_PERMISSIONServiceImpl.java
...zlab/core/uaa/service/impl/SYS_PERMISSIONServiceImpl.java
+3
-1
SYS_PSAPPMENUITEMServiceImpl.java
...b/core/uaa/service/impl/SYS_PSAPPMENUITEMServiceImpl.java
+3
-1
SYS_PSDEOPPRIVServiceImpl.java
...zlab/core/uaa/service/impl/SYS_PSDEOPPRIVServiceImpl.java
+3
-1
SYS_PSSYSTEMServiceImpl.java
...bizlab/core/uaa/service/impl/SYS_PSSYSTEMServiceImpl.java
+3
-1
SYS_ROLEServiceImpl.java
...cn/ibizlab/core/uaa/service/impl/SYS_ROLEServiceImpl.java
+3
-1
SYS_ROLE_PERMISSIONServiceImpl.java
...core/uaa/service/impl/SYS_ROLE_PERMISSIONServiceImpl.java
+3
-1
SYS_USERServiceImpl.java
...cn/ibizlab/core/uaa/service/impl/SYS_USERServiceImpl.java
+3
-1
SYS_USER_ROLEServiceImpl.java
...izlab/core/uaa/service/impl/SYS_USER_ROLEServiceImpl.java
+3
-1
Dockerfile
...a-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
+1
-1
ibzuaa-provider-api.yaml
...uaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
+3
-1
application-api-dev.yml
...a-provider-api/src/main/resources/application-api-dev.yml
+1
-1
application-api-prod.yml
...-provider-api/src/main/resources/application-api-prod.yml
+1
-1
IBZWFFallback.java
...l/src/main/java/cn/ibizlab/util/client/IBZWFFallback.java
+18
-0
IBZWFFeignClient.java
...rc/main/java/cn/ibizlab/util/client/IBZWFFeignClient.java
+18
-0
EntityBase.java
...util/src/main/java/cn/ibizlab/util/domain/EntityBase.java
+4
-0
SearchContextBase.java
...c/main/java/cn/ibizlab/util/filter/SearchContextBase.java
+8
-0
未找到文件。
config.xml
浏览文件 @
8c5efe88
...
...
@@ -38,6 +38,11 @@
git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/
mvn clean package -Papi
cd ibzuaa-provider/ibzuaa-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzuaa-boot/src/main/resources/application-dev.yml
浏览文件 @
8c5efe88
server
:
port
:
8080
port
:
40002
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_PERMISSIONSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_PSAPPMENUITEMSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_PSDEOPPRIVSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_PSSYSTEMSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_ROLESearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_ROLE_PERMISSIONSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_USERSearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/filter/SYS_USER_ROLESearchContext.java
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
core
.
uaa
.
filter
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.sql.Timestamp
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_PERMISSIONServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_PERMISSIONMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[权限/资源] 服务对象接口实现
...
...
@@ -152,6 +153,7 @@ public class SYS_PERMISSIONServiceImpl extends ServiceImpl<SYS_PERMISSIONMapper,
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_PSAPPMENUITEMServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_PSAPPMENUITEMMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[系统菜单项] 服务对象接口实现
...
...
@@ -145,6 +146,7 @@ public class SYS_PSAPPMENUITEMServiceImpl extends ServiceImpl<SYS_PSAPPMENUITEMM
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_PSDEOPPRIVServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_PSDEOPPRIVMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[实体数据操作标识] 服务对象接口实现
...
...
@@ -145,6 +146,7 @@ public class SYS_PSDEOPPRIVServiceImpl extends ServiceImpl<SYS_PSDEOPPRIVMapper,
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_PSSYSTEMServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_PSSYSTEMMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[实体] 服务对象接口实现
...
...
@@ -145,6 +146,7 @@ public class SYS_PSSYSTEMServiceImpl extends ServiceImpl<SYS_PSSYSTEMMapper, SYS
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_ROLEServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_ROLEMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[系统角色] 服务对象接口实现
...
...
@@ -159,6 +160,7 @@ public class SYS_ROLEServiceImpl extends ServiceImpl<SYS_ROLEMapper, SYS_ROLE> i
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_ROLE_PERMISSIONServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_ROLE_PERMISSIONMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[角色权限关系] 服务对象接口实现
...
...
@@ -223,6 +224,7 @@ public class SYS_ROLE_PERMISSIONServiceImpl extends ServiceImpl<SYS_ROLE_PERMISS
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_USERServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_USERMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[系统用户] 服务对象接口实现
...
...
@@ -152,6 +153,7 @@ public class SYS_USERServiceImpl extends ServiceImpl<SYS_USERMapper, SYS_USER> i
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SYS_USER_ROLEServiceImpl.java
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,7 @@ import java.util.HashMap;
import
java.util.Collection
;
import
java.util.Objects
;
import
java.util.Optional
;
import
java.math.BigInteger
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -34,7 +35,7 @@ import cn.ibizlab.core.uaa.mapper.SYS_USER_ROLEMapper;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.util.StringUtils
;
/**
* 实体[用户角色关系] 服务对象接口实现
...
...
@@ -223,6 +224,7 @@ public class SYS_USER_ROLEServiceImpl extends ServiceImpl<SYS_USER_ROLEMapper, S
}
@Override
public
List
<
JSONObject
>
select
(
String
sql
){
return
this
.
baseMapper
.
selectBySQL
(
sql
);
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
浏览文件 @
8c5efe88
...
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-provider-api.jar
EXPOSE
8081
EXPOSE
40002
ADD
ibzuaa-provider-api.jar /ibzuaa-provider-api.jar
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
浏览文件 @
8c5efe88
...
...
@@ -3,9 +3,11 @@ services:
ibzuaa-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest
ports
:
-
"
8081:8081
"
-
"
40002:40002
"
networks
:
-
agent_network
environment
:
SPRING_CLOUD_NACOS_DISCOVERY_IP
:
172.16.180.237
deploy
:
mode
:
replicated
replicas
:
1
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/resources/application-api-dev.yml
浏览文件 @
8c5efe88
server
:
port
:
8081
\ No newline at end of file
port
:
40002
\ No newline at end of file
ibzuaa-provider/ibzuaa-provider-api/src/main/resources/application-api-prod.yml
浏览文件 @
8c5efe88
server
:
port
:
8081
port
:
40002
ibzuaa-util/src/main/java/cn/ibizlab/util/client/IBZWFFallback.java
0 → 100644
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
util
.
client
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
IBZWFFallback
implements
IBZWFFeignClient
{
@Override
public
List
<
String
>
getbusinesskeys
(
String
system
,
String
appname
,
String
entity
,
String
processDefinitionKey
,
String
taskDefinitionKey
)
{
return
null
;
}
@Override
public
List
<
String
>
getbusinesskeysByUserId
(
String
system
,
String
userId
,
String
entity
,
String
processDefinitionKey
,
String
taskDefinitionKey
)
{
return
null
;
}
}
ibzuaa-util/src/main/java/cn/ibizlab/util/client/IBZWFFeignClient.java
0 → 100644
浏览文件 @
8c5efe88
package
cn
.
ibizlab
.
util
.
client
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
@FeignClient
(
value
=
"ibzwf-api"
,
fallback
=
IBZWFFallback
.
class
)
public
interface
IBZWFFeignClient
{
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/{system}-app-{appname}/{entity}/process-definitions/{processDefinitionKey}/usertasks/{taskDefinitionKey}/tasks"
)
List
<
String
>
getbusinesskeys
(
@PathVariable
(
"system"
)
String
system
,
@PathVariable
(
"appname"
)
String
appname
,
@PathVariable
(
"entity"
)
String
entity
,
@PathVariable
(
"processDefinitionKey"
)
String
processDefinitionKey
,
@PathVariable
(
"taskDefinitionKey"
)
String
taskDefinitionKey
);
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/{system}-user-{userId}/{entity}/process-definitions/{processDefinitionKey}/usertasks/{taskDefinitionKey}/tasks"
)
List
<
String
>
getbusinesskeysByUserId
(
@PathVariable
(
"system"
)
String
system
,
@PathVariable
(
"userId"
)
String
userId
,
@PathVariable
(
"entity"
)
String
entity
,
@PathVariable
(
"processDefinitionKey"
)
String
processDefinitionKey
,
@PathVariable
(
"taskDefinitionKey"
)
String
taskDefinitionKey
);
}
ibzuaa-util/src/main/java/cn/ibizlab/util/domain/EntityBase.java
浏览文件 @
8c5efe88
...
...
@@ -72,6 +72,8 @@ public class EntityBase implements Serializable {
Hashtable
<
String
,
String
>
keys
=
DEFieldCacheMap
.
getFieldKeys
(
this
.
getClass
().
getName
());
if
(
keys
.
containsKey
(
field
))
return
getMap
().
get
(
keys
.
get
(
field
));
else
if
(
keys
.
containsKey
(
field
.
replace
(
"_"
,
""
)))
return
getMap
().
get
(
keys
.
get
(
field
.
replace
(
"_"
,
""
)));
else
return
this
.
extensionparams
.
get
(
field
);
}
...
...
@@ -88,6 +90,8 @@ public class EntityBase implements Serializable {
Hashtable
<
String
,
String
>
keys
=
DEFieldCacheMap
.
getFieldKeys
(
this
.
getClass
().
getName
());
if
(
keys
.
containsKey
(
field
))
getMap
().
put
(
keys
.
get
(
field
),
value
);
else
if
(
keys
.
containsKey
(
field
.
replace
(
"_"
,
""
)))
getMap
().
put
(
keys
.
get
(
field
.
replace
(
"_"
,
""
)),
value
);
else
this
.
extensionparams
.
put
(
field
,
value
);
}
...
...
ibzuaa-util/src/main/java/cn/ibizlab/util/filter/SearchContextBase.java
浏览文件 @
8c5efe88
...
...
@@ -55,6 +55,14 @@ public class SearchContextBase implements ISearchContext{
* 排序对象
*/
public
Sort
pageSort
;
/**
* 工作流步骤标识
*/
public
String
userTaskId
;
/**
* 工作流流程标识
*/
public
String
processDefinitionKey
;
/**
* 获取分页参数
* @return
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录