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

ibizdev提交

上级 517907b6
...@@ -5,9 +5,19 @@ ...@@ -5,9 +5,19 @@
"codelisttype":"static", "codelisttype":"static",
"items": [ "items": [
{ {
"id": "APPMENU",
"label": "应用菜单",
"text": "应用菜单",
"data":"",
"codename":"Appmenu",
"value": "APPMENU",
"disabled": false
}
, {
"id": "OPPRIV", "id": "OPPRIV",
"label": "数据对象能力", "label": "数据能力",
"text": "数据对象能力", "text": "数据能力",
"data":"", "data":"",
"codename":"Oppriv", "codename":"Oppriv",
"value": "OPPRIV", "value": "OPPRIV",
......
export default { export default {
CLPermissionType: { CLPermissionType: {
'OPPRIV': '数据对象能力', 'APPMENU': '应用菜单',
'OPPRIV': '数据能力',
'UNIRES': '统一资源', 'UNIRES': '统一资源',
empty: '', empty: '',
}, },
......
export default { export default {
CLPermissionType: { CLPermissionType: {
'OPPRIV': '数据对象能力', 'APPMENU': '应用菜单',
'OPPRIV': '数据能力',
'UNIRES': '统一资源', 'UNIRES': '统一资源',
empty: '', empty: '',
}, },
......
...@@ -3,14 +3,13 @@ export default { ...@@ -3,14 +3,13 @@ export default {
fields: { fields: {
appmenuitemid: '系统菜单项标识', appmenuitemid: '系统菜单项标识',
appmenuitemname: '系统菜单项名称', appmenuitemname: '系统菜单项名称',
psappid: '系统应用标识', psappid: '业务系统应用标识',
psappname: '系统应用名称', psappname: '业务系统应用名称',
psappmenuid: '系统菜单标识', psappmenuid: '业务系统菜单标识',
psappmenuname: '系统菜单名称', psappmenuname: '业务系统菜单名称',
isleaf: '是否为叶子节点(用于菜单)', pssystemid: '业务系统标识',
pssystemid: '实体标识', permissionid: '业务系统菜单项标识',
permissionid: '系统资源标识', parentpermissionid: '业务系统父菜单项标识',
parentpermissionid: '父项资源标识',
createdate: '建立时间', createdate: '建立时间',
updatedate: '更新时间', updatedate: '更新时间',
}, },
......
...@@ -2,14 +2,13 @@ export default { ...@@ -2,14 +2,13 @@ export default {
fields: { fields: {
appmenuitemid: '系统菜单项标识', appmenuitemid: '系统菜单项标识',
appmenuitemname: '系统菜单项名称', appmenuitemname: '系统菜单项名称',
psappid: '系统应用标识', psappid: '业务系统应用标识',
psappname: '系统应用名称', psappname: '业务系统应用名称',
psappmenuid: '系统菜单标识', psappmenuid: '业务系统菜单标识',
psappmenuname: '系统菜单名称', psappmenuname: '业务系统菜单名称',
isleaf: '是否为叶子节点(用于菜单)', pssystemid: '业务系统标识',
pssystemid: '实体标识', permissionid: '业务系统菜单项标识',
permissionid: '系统资源标识', parentpermissionid: '业务系统父菜单项标识',
parentpermissionid: '父项资源标识',
createdate: '建立时间', createdate: '建立时间',
updatedate: '更新时间', updatedate: '更新时间',
}, },
......
...@@ -12,10 +12,20 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -12,10 +12,20 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
emptytext: '未定义', emptytext: '未定义',
"codelisttype":"static", "codelisttype":"static",
items: [ items: [
{
id: 'APPMENU',
label: '应用菜单',
text: '应用菜单',
"data":"",
"codename":"Appmenu",
value: 'APPMENU',
disabled: false,
},
{ {
id: 'OPPRIV', id: 'OPPRIV',
label: '数据对象能力', label: '数据能力',
text: '数据对象能力', text: '数据能力',
"data":"", "data":"",
"codename":"Oppriv", "codename":"Oppriv",
value: 'OPPRIV', value: 'OPPRIV',
......
...@@ -37,11 +37,6 @@ ...@@ -37,11 +37,6 @@
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 -Pweb
cd ibzuaa-app/ibzuaa-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-app-web.yaml ibzlab-rt --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -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-app-web.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
EXPOSE 30002 EXPOSE 8080
ADD ibzuaa-app-web.jar /ibzuaa-app-web.jar ADD ibzuaa-app-web.jar /ibzuaa-app-web.jar
...@@ -3,11 +3,9 @@ services: ...@@ -3,11 +3,9 @@ services:
ibzuaa-app-web: ibzuaa-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
ports: ports:
- "30002:30002" - "8080:8080"
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: 30002 port: 8080
\ No newline at end of file \ No newline at end of file
server: server:
port: 30002 port: 8080
#zuul网关路由设置 #zuul网关路由设置
zuul: zuul:
......
...@@ -49,56 +49,49 @@ public class SYS_PSAPPMENUITEM extends EntityMP implements Serializable { ...@@ -49,56 +49,49 @@ public class SYS_PSAPPMENUITEM extends EntityMP implements Serializable {
@JsonProperty("appmenuitemname") @JsonProperty("appmenuitemname")
private String appmenuitemname; private String appmenuitemname;
/** /**
* 系统应用标识 * 业务系统应用标识
*/ */
@TableField(value = "psappid") @TableField(value = "psappid")
@JSONField(name = "psappid") @JSONField(name = "psappid")
@JsonProperty("psappid") @JsonProperty("psappid")
private String psappid; private String psappid;
/** /**
* 系统应用名称 * 业务系统应用名称
*/ */
@TableField(value = "psappname") @TableField(value = "psappname")
@JSONField(name = "psappname") @JSONField(name = "psappname")
@JsonProperty("psappname") @JsonProperty("psappname")
private String psappname; private String psappname;
/** /**
* 系统菜单标识 * 业务系统菜单标识
*/ */
@TableField(value = "psappmenuid") @TableField(value = "psappmenuid")
@JSONField(name = "psappmenuid") @JSONField(name = "psappmenuid")
@JsonProperty("psappmenuid") @JsonProperty("psappmenuid")
private String psappmenuid; private String psappmenuid;
/** /**
* 系统菜单名称 * 业务系统菜单名称
*/ */
@TableField(value = "psappmenuname") @TableField(value = "psappmenuname")
@JSONField(name = "psappmenuname") @JSONField(name = "psappmenuname")
@JsonProperty("psappmenuname") @JsonProperty("psappmenuname")
private String psappmenuname; private String psappmenuname;
/** /**
* 是否为叶子节点(用于菜单) * 业务系统标识
*/
@TableField(value = "isleaf")
@JSONField(name = "isleaf")
@JsonProperty("isleaf")
private Integer isleaf;
/**
* 实体标识
*/ */
@TableField(value = "pssystemid") @TableField(value = "pssystemid")
@JSONField(name = "pssystemid") @JSONField(name = "pssystemid")
@JsonProperty("pssystemid") @JsonProperty("pssystemid")
private String pssystemid; private String pssystemid;
/** /**
* 系统资源标识 * 业务系统菜单项标识
*/ */
@TableField(value = "permissionid") @TableField(value = "permissionid")
@JSONField(name = "permissionid") @JSONField(name = "permissionid")
@JsonProperty("permissionid") @JsonProperty("permissionid")
private String permissionid; private String permissionid;
/** /**
* 父项资源标识 * 业务系统父菜单项标识
*/ */
@DEField(name = "p_permissionid") @DEField(name = "p_permissionid")
@TableField(value = "p_permissionid") @TableField(value = "p_permissionid")
...@@ -134,56 +127,49 @@ public class SYS_PSAPPMENUITEM extends EntityMP implements Serializable { ...@@ -134,56 +127,49 @@ public class SYS_PSAPPMENUITEM extends EntityMP implements Serializable {
this.modify("sys_psappmenuitemname",appmenuitemname); this.modify("sys_psappmenuitemname",appmenuitemname);
} }
/** /**
* 设置 [系统应用标识] * 设置 [业务系统应用标识]
*/ */
public void setPsappid(String psappid){ public void setPsappid(String psappid){
this.psappid = psappid ; this.psappid = psappid ;
this.modify("psappid",psappid); this.modify("psappid",psappid);
} }
/** /**
* 设置 [系统应用名称] * 设置 [业务系统应用名称]
*/ */
public void setPsappname(String psappname){ public void setPsappname(String psappname){
this.psappname = psappname ; this.psappname = psappname ;
this.modify("psappname",psappname); this.modify("psappname",psappname);
} }
/** /**
* 设置 [系统菜单标识] * 设置 [业务系统菜单标识]
*/ */
public void setPsappmenuid(String psappmenuid){ public void setPsappmenuid(String psappmenuid){
this.psappmenuid = psappmenuid ; this.psappmenuid = psappmenuid ;
this.modify("psappmenuid",psappmenuid); this.modify("psappmenuid",psappmenuid);
} }
/** /**
* 设置 [系统菜单名称] * 设置 [业务系统菜单名称]
*/ */
public void setPsappmenuname(String psappmenuname){ public void setPsappmenuname(String psappmenuname){
this.psappmenuname = psappmenuname ; this.psappmenuname = psappmenuname ;
this.modify("psappmenuname",psappmenuname); this.modify("psappmenuname",psappmenuname);
} }
/** /**
* 设置 [是否为叶子节点(用于菜单)] * 设置 [业务系统标识]
*/
public void setIsleaf(Integer isleaf){
this.isleaf = isleaf ;
this.modify("isleaf",isleaf);
}
/**
* 设置 [实体标识]
*/ */
public void setPssystemid(String pssystemid){ public void setPssystemid(String pssystemid){
this.pssystemid = pssystemid ; this.pssystemid = pssystemid ;
this.modify("pssystemid",pssystemid); this.modify("pssystemid",pssystemid);
} }
/** /**
* 设置 [系统资源标识] * 设置 [业务系统菜单项标识]
*/ */
public void setPermissionid(String permissionid){ public void setPermissionid(String permissionid){
this.permissionid = permissionid ; this.permissionid = permissionid ;
this.modify("permissionid",permissionid); this.modify("permissionid",permissionid);
} }
/** /**
* 设置 [父项资源标识] * 设置 [业务系统父菜单项标识]
*/ */
public void setParentpermissionid(String parentpermissionid){ public void setParentpermissionid(String parentpermissionid){
this.parentpermissionid = parentpermissionid ; this.parentpermissionid = parentpermissionid ;
......
...@@ -34,7 +34,7 @@ public class SYS_PSAPPMENUITEMSearchContext extends QueryWrapperContext<SYS_PSAP ...@@ -34,7 +34,7 @@ public class SYS_PSAPPMENUITEMSearchContext extends QueryWrapperContext<SYS_PSAP
this.getSelectCond().like("sys_psappmenuitemname", n_sys_psappmenuitemname_like); this.getSelectCond().like("sys_psappmenuitemname", n_sys_psappmenuitemname_like);
} }
} }
private String n_pssystemid_eq;//[实体标识] private String n_pssystemid_eq;//[业务系统标识]
public void setN_pssystemid_eq(String n_pssystemid_eq) { public void setN_pssystemid_eq(String n_pssystemid_eq) {
this.n_pssystemid_eq = n_pssystemid_eq; this.n_pssystemid_eq = n_pssystemid_eq;
if(!ObjectUtils.isEmpty(this.n_pssystemid_eq)){ if(!ObjectUtils.isEmpty(this.n_pssystemid_eq)){
......
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
], ],
"predefineddatarange":[{"id":"ALL","name":"全部数据"},{"id":"CURORG","name":"当前单位"},{"id":"PORG","name":"上级单位"},{"id":"SORG","name":"下级单位"},{"id":"CURORGDEPT","name":"当前部门"},{"id":"PORGDEPT","name":"上级部门"},{"id":"SORGDEPT","name":"下级部门"}], "predefineddatarange":[{"id":"ALL","name":"全部数据"},{"id":"CURORG","name":"当前单位"},{"id":"PORG","name":"上级单位"},{"id":"SORG","name":"下级单位"},{"id":"CURORGDEPT","name":"当前部门"},{"id":"PORGDEPT","name":"上级部门"},{"id":"SORGDEPT","name":"下级部门"}],
"entities":[ "entities":[
] ],
"appmenus":[
{
"appid":"web",
"appname":"UAA鉴权",
"appmenu":[{"menuid":"Main", "menuname":"MAIN", "menuitem":[{"id":"f59655c22753740bbcf200f5cfee8a54" , "name":"menuitem3" , "text":"用户管理" },{"id":"db3e0d48d6e76a66784adc84edd90cdc" , "name":"menuitem6" , "text":"角色" },{"id":"aa34fa65ba436d9267830d242fcda6c5" , "name":"menuitem7" , "text":"用户角色" },{"id":"6177ea33605de953767d48b120145efb" , "name":"menuitem10" , "text":"权限" },{"id":"2794bbcfc7b3c81b431d1f2e808a793b" , "name":"menuitem1" , "text":"角色权限" }] }]
}
]
} }
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[SYS_PSAPPMENUITEM]数据结构 --> <!--输出实体[SYS_PSAPPMENUITEM]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-sys_psappmenuitem-29-9"> <changeSet author="a_A_5d9d78509" id="tab-sys_psappmenuitem-56-9">
<createTable tableName="IBZPSAPPMENUITEM"> <createTable tableName="IBZPSAPPMENUITEM">
<column name="SYS_PSAPPMENUITEMID" remarks="" type="VARCHAR(200)"> <column name="SYS_PSAPPMENUITEMID" remarks="" type="VARCHAR(200)">
<constraints primaryKey="true" primaryKeyName="PK_SYS_PSAPPMENUITEM_SYS_PSAPP"/> <constraints primaryKey="true" primaryKeyName="PK_SYS_PSAPPMENUITEM_SYS_PSAPP"/>
...@@ -173,8 +173,6 @@ ...@@ -173,8 +173,6 @@
</column> </column>
<column name="PSAPPMENUNAME" remarks="" type="VARCHAR(100)"> <column name="PSAPPMENUNAME" remarks="" type="VARCHAR(100)">
</column> </column>
<column name="ISLEAF" remarks="" type="INT">
</column>
<column name="PSSYSTEMID" remarks="" type="VARCHAR(100)"> <column name="PSSYSTEMID" remarks="" type="VARCHAR(100)">
</column> </column>
<column name="PERMISSIONID" remarks="" type="VARCHAR(100)"> <column name="PERMISSIONID" remarks="" type="VARCHAR(100)">
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`ISLEAF`, t1.`PERMISSIONID`, t1.`PSAPPID`, t1.`PSAPPMENUID`, t1.`PSAPPMENUNAME`, t1.`PSAPPNAME`, t1.`PSSYSTEMID`, t1.`P_PERMISSIONID`, t1.`SYS_PSAPPMENUITEMID`, t1.`SYS_PSAPPMENUITEMNAME`, t1.`UPDATEDATE` FROM `IBZPSAPPMENUITEM` t1 <![CDATA[ SELECT t1.`CREATEDATE`, t1.`PERMISSIONID`, t1.`PSAPPID`, t1.`PSAPPMENUID`, t1.`PSAPPMENUNAME`, t1.`PSAPPNAME`, t1.`PSSYSTEMID`, t1.`P_PERMISSIONID`, t1.`SYS_PSAPPMENUITEMID`, t1.`SYS_PSAPPMENUITEMNAME`, t1.`UPDATEDATE` FROM `IBZPSAPPMENUITEM` t1
]]> ]]>
</sql> </sql>
......
...@@ -71,14 +71,6 @@ public class SYS_PSAPPMENUITEMDTO extends DTOBase implements Serializable { ...@@ -71,14 +71,6 @@ public class SYS_PSAPPMENUITEMDTO extends DTOBase implements Serializable {
@JsonProperty("psappmenuname") @JsonProperty("psappmenuname")
private String psappmenuname; private String psappmenuname;
/**
* 属性 [ISLEAF]
*
*/
@JSONField(name = "isleaf")
@JsonProperty("isleaf")
private Integer isleaf;
/** /**
* 属性 [PSSYSTEMID] * 属性 [PSSYSTEMID]
* *
...@@ -162,14 +154,6 @@ public class SYS_PSAPPMENUITEMDTO extends DTOBase implements Serializable { ...@@ -162,14 +154,6 @@ public class SYS_PSAPPMENUITEMDTO extends DTOBase implements Serializable {
this.modify("psappmenuname",psappmenuname); this.modify("psappmenuname",psappmenuname);
} }
/**
* 设置 [ISLEAF]
*/
public void setIsleaf(Integer isleaf){
this.isleaf = isleaf ;
this.modify("isleaf",isleaf);
}
/** /**
* 设置 [PSSYSTEMID] * 设置 [PSSYSTEMID]
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册