Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
2306cd23
提交
2306cd23
编写于
7月 20, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 部署微服务接口
上级
7cb0d8a6
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
70 行增加
和
70 行删除
+70
-70
Dockerfile
...esscentral-app-businesscentral/src/main/docker/Dockerfile
+1
-1
businesscentral-app-businesscentral.yaml
.../src/main/docker/businesscentral-app-businesscentral.yaml
+1
-15
KnowledgeArticle.java
...ab/businesscentral/core/base/domain/KnowledgeArticle.java
+16
-16
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+12
-12
KnowledgeArticleMapper.xml
...s/mapper/base/knowledgearticle/KnowledgeArticleMapper.xml
+3
-3
Dockerfile
...esscentral-provider-centralapi/src/main/docker/Dockerfile
+1
-1
businesscentral-provider-centralapi.yaml
.../src/main/docker/businesscentral-provider-centralapi.yaml
+15
-1
KnowledgeArticleDTO.java
...b/businesscentral/centralapi/dto/KnowledgeArticleDTO.java
+16
-16
config.xml
config.xml
+5
-5
未找到文件。
businesscentral-app/businesscentral-app-businesscentral/src/main/docker/Dockerfile
浏览文件 @
2306cd23
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar
EXPOSE
1032
0
EXPOSE
808
0
ADD
businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar
businesscentral-app/businesscentral-app-businesscentral/src/main/docker/businesscentral-app-businesscentral.yaml
浏览文件 @
2306cd23
...
...
@@ -3,23 +3,9 @@ services:
businesscentral-app-businesscentral
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest
ports
:
-
"
10320:1032
0"
-
"
8080:808
0"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10320
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
resources
:
limits
:
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/base/domain/KnowledgeArticle.java
浏览文件 @
2306cd23
...
...
@@ -63,14 +63,6 @@ public class KnowledgeArticle extends EntityMP implements Serializable {
@JSONField
(
name
=
"statuscode"
)
@JsonProperty
(
"statuscode"
)
private
Integer
statuscode
;
/**
* 主要文章
*/
@DEField
(
defaultValue
=
"0"
)
@TableField
(
value
=
"primary"
)
@JSONField
(
name
=
"primary"
)
@JsonProperty
(
"primary"
)
private
Integer
primary
;
/**
* 过期状态 ID
*/
...
...
@@ -528,6 +520,14 @@ public class KnowledgeArticle extends EntityMP implements Serializable {
@JSONField
(
name
=
"transactioncurrencyname"
)
@JsonProperty
(
"transactioncurrencyname"
)
private
String
transactioncurrencyname
;
/**
* 主要文章
*/
@DEField
(
defaultValue
=
"0"
)
@TableField
(
value
=
"isprimary"
)
@JSONField
(
name
=
"isprimary"
)
@JsonProperty
(
"isprimary"
)
private
Integer
isprimary
;
/**
*
...
...
@@ -613,14 +613,6 @@ public class KnowledgeArticle extends EntityMP implements Serializable {
this
.
modify
(
"statuscode"
,
statuscode
);
}
/**
* 设置 [主要文章]
*/
public
void
setPrimary
(
Integer
primary
){
this
.
primary
=
primary
;
this
.
modify
(
"primary"
,
primary
);
}
/**
* 设置 [过期状态 ID]
*/
...
...
@@ -1117,6 +1109,14 @@ public class KnowledgeArticle extends EntityMP implements Serializable {
this
.
modify
(
"transactioncurrencyname"
,
transactioncurrencyname
);
}
/**
* 设置 [主要文章]
*/
public
void
setIsprimary
(
Integer
isprimary
){
this
.
isprimary
=
isprimary
;
this
.
modify
(
"isprimary"
,
isprimary
);
}
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2306cd23
...
...
@@ -5488,7 +5488,7 @@
<!--输出实体[KNOWLEDGEARTICLE]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-knowledgearticle-
47
-65"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-knowledgearticle-
51
-65"
>
<createTable
tableName=
"KNOWLEDGEARTICLE"
>
<column
name=
"KNOWLEDGEARTICLEVIEWS_DATE"
remarks=
""
type=
"DATETIME"
>
</column>
...
...
@@ -5496,8 +5496,6 @@
</column>
<column
name=
"STATUSCODE"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"PRIMARY"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"EXPIRATIONSTATEID"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"RATING_COUNT"
remarks=
""
type=
"INT"
>
...
...
@@ -5591,7 +5589,7 @@
</column>
<column
name=
"INTERNAL"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"TITLE"
remarks=
""
type=
"
TEXT(1048576
)"
>
<column
name=
"TITLE"
remarks=
""
type=
"
VARCHAR(2000
)"
>
</column>
<column
name=
"UPDATECONTENT"
remarks=
""
type=
"INT"
>
</column>
...
...
@@ -5613,16 +5611,18 @@
</column>
<column
name=
"LANGUAGELOCALENAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PARENTARTICLECONTENTNAME"
remarks=
""
type=
"
TEXT(1048576
)"
>
<column
name=
"PARENTARTICLECONTENTNAME"
remarks=
""
type=
"
VARCHAR(2000
)"
>
</column>
<column
name=
"PREVIOUSARTICLECONTENTNAME"
remarks=
""
type=
"
TEXT(1048576
)"
>
<column
name=
"PREVIOUSARTICLECONTENTNAME"
remarks=
""
type=
"
VARCHAR(2000
)"
>
</column>
<column
name=
"ROOTARTICLENAME"
remarks=
""
type=
"
TEXT(1048576
)"
>
<column
name=
"ROOTARTICLENAME"
remarks=
""
type=
"
VARCHAR(2000
)"
>
</column>
<column
name=
"SUBJECTNAME"
remarks=
""
type=
"VARCHAR(500)"
>
</column>
<column
name=
"TRANSACTIONCURRENCYNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ISPRIMARY"
remarks=
""
type=
"INT"
>
</column>
</createTable>
</changeSet>
...
...
@@ -5673,7 +5673,7 @@
</column>
<column
name=
"INCIDENTNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
<column
name=
"KNOWLEDGEARTICLENAME"
remarks=
""
type=
"
TEXT(1048576
)"
>
<column
name=
"KNOWLEDGEARTICLENAME"
remarks=
""
type=
"
VARCHAR(2000
)"
>
</column>
</createTable>
</changeSet>
...
...
@@ -11449,16 +11449,16 @@
<addForeignKeyConstraint
baseColumnNames=
"UOMID"
baseTableName=
"INVOICEDETAIL"
constraintName=
"DER1N_INVOICEDETAIL__UOM__UOMI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"UOMID"
referencedTableName=
"UOM"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLE]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
47
-292"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
51
-292"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTARTICLECONTENTID"
baseTableName=
"KNOWLEDGEARTICLE"
constraintName=
"DER1N_KNOWLEDGEARTICLE__KNOWLE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"KNOWLEDGEARTICLEID"
referencedTableName=
"KNOWLEDGEARTICLE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
47
-295"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
51
-295"
>
<addForeignKeyConstraint
baseColumnNames=
"LANGUAGELOCALEID"
baseTableName=
"KNOWLEDGEARTICLE"
constraintName=
"DER1N_KNOWLEDGEARTICLE__LANGUA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LANGUAGELOCALEID"
referencedTableName=
"LANGUAGELOCALE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
47
-296"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
51
-296"
>
<addForeignKeyConstraint
baseColumnNames=
"SUBJECTID"
baseTableName=
"KNOWLEDGEARTICLE"
constraintName=
"DER1N_KNOWLEDGEARTICLE__SUBJEC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SUBJECTID"
referencedTableName=
"SUBJECT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
47
-297"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-knowledgearticle-
51
-297"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"KNOWLEDGEARTICLE"
constraintName=
"DER1N_KNOWLEDGEARTICLE__TRANSA"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEINCIDENT]外键关系 -->
...
...
businesscentral-core/src/main/resources/mapper/base/knowledgearticle/KnowledgeArticleMapper.xml
浏览文件 @
2306cd23
...
...
@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select
id=
"selectById"
resultMap=
"KnowledgeArticleResultMap"
databaseId=
"mysql"
>
<![CDATA[select t1.* from (SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARY
`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1 ) t1 where knowledgearticleid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME
`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1 ) t1 where knowledgearticleid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...
...
@@ -94,12 +94,12 @@
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PRIMARY`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER
`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
ISPRIMARY`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE
`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql
id=
"View"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARY
`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
<![CDATA[ SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`
ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME
`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
]]>
</sql>
</mapper>
...
...
businesscentral-provider/businesscentral-provider-centralapi/src/main/docker/Dockerfile
浏览文件 @
2306cd23
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar
EXPOSE
8081
EXPOSE
10310
ADD
businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar
businesscentral-provider/businesscentral-provider-centralapi/src/main/docker/businesscentral-provider-centralapi.yaml
浏览文件 @
2306cd23
...
...
@@ -3,9 +3,23 @@ services:
businesscentral-provider-centralapi
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest
ports
:
-
"
8081:8081
"
-
"
10310:10310
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
-
SERVER_PORT=10310
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
-
SPRING_REDIS_HOST=172.16.240.110
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
-
SPRING_DATASOURCE_PASSWORD=b1@@@772
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
-
CAS=https://passport.ibizlab.cn
-
NACOS=172.16.240.110:8848
deploy
:
resources
:
limits
:
...
...
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/dto/KnowledgeArticleDTO.java
浏览文件 @
2306cd23
...
...
@@ -48,14 +48,6 @@ public class KnowledgeArticleDTO extends DTOBase implements Serializable {
@JsonProperty
(
"statuscode"
)
private
Integer
statuscode
;
/**
* 属性 [PRIMARY]
*
*/
@JSONField
(
name
=
"primary"
)
@JsonProperty
(
"primary"
)
private
Integer
primary
;
/**
* 属性 [EXPIRATIONSTATEID]
*
...
...
@@ -558,6 +550,14 @@ public class KnowledgeArticleDTO extends DTOBase implements Serializable {
@JsonProperty
(
"transactioncurrencyname"
)
private
String
transactioncurrencyname
;
/**
* 属性 [ISPRIMARY]
*
*/
@JSONField
(
name
=
"isprimary"
)
@JsonProperty
(
"isprimary"
)
private
Integer
isprimary
;
/**
* 设置 [KNOWLEDGEARTICLEVIEWS_DATE]
...
...
@@ -583,14 +583,6 @@ public class KnowledgeArticleDTO extends DTOBase implements Serializable {
this
.
modify
(
"statuscode"
,
statuscode
);
}
/**
* 设置 [PRIMARY]
*/
public
void
setPrimary
(
Integer
primary
){
this
.
primary
=
primary
;
this
.
modify
(
"primary"
,
primary
);
}
/**
* 设置 [EXPIRATIONSTATEID]
*/
...
...
@@ -1047,6 +1039,14 @@ public class KnowledgeArticleDTO extends DTOBase implements Serializable {
this
.
modify
(
"transactioncurrencyname"
,
transactioncurrencyname
);
}
/**
* 设置 [ISPRIMARY]
*/
public
void
setIsprimary
(
Integer
isprimary
){
this
.
isprimary
=
isprimary
;
this
.
modify
(
"isprimary"
,
isprimary
);
}
}
config.xml
浏览文件 @
2306cd23
...
...
@@ -37,11 +37,11 @@
git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/
mvn clean package -P
businesscentral
cd businesscentral-
app/businesscentral-app-businesscentral
mvn -P
businesscentral
docker:build
mvn -P
businesscentral
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-
app-businesscentral.yaml iBizEE --with-registry-auth
mvn clean package -P
centralapi
cd businesscentral-
provider/businesscentral-provider-centralapi
mvn -P
centralapi
docker:build
mvn -P
centralapi
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-
provider-centralapi.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录