Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
f36b7b58
Commit
f36b7b58
authored
Oct 30, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
eb4ea8a8
a736e4e4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
15 deletions
+27
-15
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+0
-0
ServiceHGSC101.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC101.java
+14
-2
application.properties
src/main/resources/application.properties
+7
-7
quartz.properties
src/main/resources/quartz.properties
+6
-6
No files found.
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
f36b7b58
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC101.java
View file @
f36b7b58
...
...
@@ -6,6 +6,7 @@ import com.baosight.hggp.core.extapp.decheng.api.DcOpenApi;
import
com.baosight.hggp.core.extapp.decheng.model.DcContract
;
import
com.baosight.hggp.core.extapp.decheng.model.DcContractList
;
import
com.baosight.hggp.core.model.Pager
;
import
com.baosight.hggp.core.tools.CodeValueTools
;
import
com.baosight.hggp.core.utils.ThreadUtils
;
import
com.baosight.hggp.hg.pz.domain.HGPZ009
;
import
com.baosight.hggp.hg.pz.tools.HGPZTools
;
...
...
@@ -232,8 +233,19 @@ public class ServiceHGSC101 extends ServiceEPBase {
* @return
*/
private
String
getProjectSource
(
String
name
)
{
ProjectSourceEnum
projectSourceEnum
=
ProjectSourceEnum
.
getByName
(
name
);
return
projectSourceEnum
==
null
?
ProjectSourceEnum
.
OTHER
.
getCode
()
:
projectSourceEnum
.
getCode
();
List
<
Map
>
codesetMaps
=
CodeValueTools
.
getCodeValues
(
"app.sc.projectSource"
);
if
(
CollectionUtils
.
isEmpty
(
codesetMaps
))
{
ProjectSourceEnum
projectSourceEnum
=
ProjectSourceEnum
.
getByName
(
name
);
return
projectSourceEnum
==
null
?
ProjectSourceEnum
.
OTHER
.
getCode
()
:
projectSourceEnum
.
getCode
();
}
for
(
Map
codesetMap
:
codesetMaps
)
{
String
value
=
MapUtils
.
getString
(
codesetMap
,
"value"
);
String
text
=
MapUtils
.
getString
(
codesetMap
,
"label"
);
if
(
text
.
equals
(
name
))
{
return
value
;
}
}
return
ProjectSourceEnum
.
OTHER
.
getCode
();
}
}
src/main/resources/application.properties
View file @
f36b7b58
...
...
@@ -18,7 +18,7 @@ spring.servlet.multipart.file-size-threshold=0
componentEname
=
hggp
projectName
=
hggp
moduleName
=
ep
projectEnv
=
run
projectEnv
=
dev
platSchema
=
iplat_hggp
eplatSchema
=
EPLAT_HGGP
lowcodedbSchema
=
lowcodedb_hggp
...
...
@@ -33,12 +33,12 @@ customerName=\u6B66\u6C49\u5B9D\u4FE1\u5927\u6570\u636E\u4E8B\u4E1A\u90E8
enterpriseName
=
\u
6B66
\u
6C49
\u
5B9D
\u
4FE1
\u5927\u6570\u
636E
\u
4E8B
\u
4E1A
\u
90E8
datasource.type
=
dbcp
jdbc.driverClassName
=
com.mysql.cj.jdbc.Driver
jdbc.url
=
jdbc:mysql://rm-uf60e9vbmanleydq4.mysql.rds.aliyuncs.com:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
#
jdbc.url=jdbc:mysql://129.211.46.84:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
jdbc.username
=
hggp
#
jdbc.username=root
jdbc.password
=
hggp_Twhxz2024Aly
#
jdbc.password=Whxz@2019
#
jdbc.url=jdbc:mysql://rm-uf60e9vbmanleydq4.mysql.rds.aliyuncs.com:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
jdbc.url
=
jdbc:mysql://129.211.46.84:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
#
jdbc.username=hggp
jdbc.username
=
root
#
jdbc.password=hggp_Twhxz2024Aly
jdbc.password
=
Whxz@2019
jdbc.maxActive
=
20
jdbc.validationQuery
=
SELECT 1 FROM ${platSchema}.TEDFA00
...
...
src/main/resources/quartz.properties
View file @
f36b7b58
...
...
@@ -22,12 +22,12 @@ org.quartz.jobStore.isClustered = true
#\u6570\u636E\u5E93\u8FDE\u63A5\u914D\u7F6E\u4FE1\u606F
org.quartz.jobStore.clusterCheckinInterval
=
20000
org.quartz.dataSource.appDS.driver
=
com.mysql.cj.jdbc.Driver
org.quartz.dataSource.appDS.URL
=
jdbc:mysql://rm-uf60e9vbmanleydq4.mysql.rds.aliyuncs.com:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
#
org.quartz.dataSource.appDS.URL = jdbc:mysql://129.211.46.84:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
org.quartz.dataSource.appDS.user
=
hggp
#
org.quartz.dataSource.appDS.user = root
org.quartz.dataSource.appDS.password
=
hggp_Twhxz2024Aly
#
org.quartz.dataSource.appDS.password = Whxz@2019
#
org.quartz.dataSource.appDS.URL = jdbc:mysql://rm-uf60e9vbmanleydq4.mysql.rds.aliyuncs.com:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
org.quartz.dataSource.appDS.URL
=
jdbc:mysql://129.211.46.84:3306/iplat_hggp?useSSL=false&useUnicode=true&characterEncoding=utf-8
#
org.quartz.dataSource.appDS.user = hggp
org.quartz.dataSource.appDS.user
=
root
#
org.quartz.dataSource.appDS.password = hggp_Twhxz2024Aly
org.quartz.dataSource.appDS.password
=
Whxz@2019
org.quartz.dataSource.appDS.maxConnections
=
30
org.quartz.plugin.logging.class
=
com.baosight.xservices.ej.job.quartz.JobLoggingPluginWithPartition
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment