提交 d055952c 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 171b9f53
...@@ -37,6 +37,11 @@ ...@@ -37,6 +37,11 @@
git clone -b master $para2 ibzuaa/ git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/ 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> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -84,8 +84,8 @@ public class SYS_PERMISSIONServiceImpl extends ServiceImpl<SYS_PERMISSIONMapper, ...@@ -84,8 +84,8 @@ public class SYS_PERMISSIONServiceImpl extends ServiceImpl<SYS_PERMISSIONMapper,
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
sysRolePermissionService.removeByPermissionid(key) ; sysRolePermissionService.removeByPermissionid(key) ;
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -113,8 +113,8 @@ public class SYS_PSAPPMENUITEMServiceImpl extends ServiceImpl<SYS_PSAPPMENUITEMM ...@@ -113,8 +113,8 @@ public class SYS_PSAPPMENUITEMServiceImpl extends ServiceImpl<SYS_PSAPPMENUITEMM
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -50,8 +50,8 @@ public class SYS_PSDEOPPRIVServiceImpl extends ServiceImpl<SYS_PSDEOPPRIVMapper, ...@@ -50,8 +50,8 @@ public class SYS_PSDEOPPRIVServiceImpl extends ServiceImpl<SYS_PSDEOPPRIVMapper,
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -87,8 +87,8 @@ public class SYS_PSSYSTEMServiceImpl extends ServiceImpl<SYS_PSSYSTEMMapper, SYS ...@@ -87,8 +87,8 @@ public class SYS_PSSYSTEMServiceImpl extends ServiceImpl<SYS_PSSYSTEMMapper, SYS
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -94,8 +94,8 @@ public class SYS_PSSYSUNIRESServiceImpl extends ServiceImpl<SYS_PSSYSUNIRESMappe ...@@ -94,8 +94,8 @@ public class SYS_PSSYSUNIRESServiceImpl extends ServiceImpl<SYS_PSSYSUNIRESMappe
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -130,8 +130,8 @@ public class SYS_ROLEServiceImpl extends ServiceImpl<SYS_ROLEMapper, SYS_ROLE> i ...@@ -130,8 +130,8 @@ public class SYS_ROLEServiceImpl extends ServiceImpl<SYS_ROLEMapper, SYS_ROLE> i
public boolean remove(String key) { public boolean remove(String key) {
sysRolePermissionService.removeByRoleid(key) ; sysRolePermissionService.removeByRoleid(key) ;
sysUserRoleService.removeByRoleid(key) ; sysUserRoleService.removeByRoleid(key) ;
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -69,8 +69,8 @@ public class SYS_ROLE_PERMISSIONServiceImpl extends ServiceImpl<SYS_ROLE_PERMISS ...@@ -69,8 +69,8 @@ public class SYS_ROLE_PERMISSIONServiceImpl extends ServiceImpl<SYS_ROLE_PERMISS
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -54,8 +54,8 @@ public class SYS_USERServiceImpl extends ServiceImpl<SYS_USERMapper, SYS_USER> i ...@@ -54,8 +54,8 @@ public class SYS_USERServiceImpl extends ServiceImpl<SYS_USERMapper, SYS_USER> i
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
sysUserRoleService.removeByUserid(key) ; sysUserRoleService.removeByUserid(key) ;
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -83,8 +83,8 @@ public class SYS_USER_ROLEServiceImpl extends ServiceImpl<SYS_USER_ROLEMapper, S ...@@ -83,8 +83,8 @@ public class SYS_USER_ROLEServiceImpl extends ServiceImpl<SYS_USER_ROLEMapper, S
@Override @Override
@Transactional @Transactional
public boolean remove(String key) { public boolean remove(String key) {
if(!removeById(key)) return false; boolean result=removeById(key);
return true ; return result ;
} }
@Override @Override
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-provider-api.jar 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 ADD ibzuaa-provider-api.jar /ibzuaa-provider-api.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ibzuaa-provider-api: ibzuaa-provider-api:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest
ports: ports:
- "8081:8081" - "40002:40002"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.180.237
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8081 port: 40002
\ No newline at end of file \ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册