Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
王衍超
cloud-fb
Commits
e364885e
Commit
e364885e
authored
Apr 14, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加资金模块后端工程
parent
3d03f6c2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
104 additions
and
0 deletions
+104
-0
settings.gradle
backend/settings.gradle
+1
-0
build.gradle
backend/xyst.dinas.finance/build.gradle
+28
-0
settings.gradle
backend/xyst.dinas.finance/settings.gradle
+2
-0
FinanceConfiguration.java
...a/com/xyst/dinas/finance/config/FinanceConfiguration.java
+5
-0
spring.factories
...inas.finance/src/main/resources/META-INF/spring.factories
+4
-0
persistence.xml
...t.dinas.finance/src/test/resources/config/persistence.xml
+64
-0
No files found.
backend/settings.gradle
View file @
e364885e
...
...
@@ -16,4 +16,5 @@ include "xyst.dinas.production"
include
"xyst.dinas.contract"
include
"xyst.dinas.camera"
include
"xyst.dinas.sales"
include
"xyst.dinas.finance"
backend/xyst.dinas.finance/build.gradle
0 → 100644
View file @
e364885e
dependencies
{
compile
lib
.
bcp_import
compile
lib
.
bcp_type
compile
lib
.
bcp_store
compile
lib
.
hibernate_core
compile
lib
.
spring_web
compile
lib
.
spring_boot_autoconfigure
compile
lib
.
jackson_datatype_jdk8
compile
lib
.
jackson_datatype_jsr310
compile
lib
.
json
compile
"com.beecode:bap2.participant:${aminoVersion}"
compile
"com.beecode:bcp.org:${aminoVersion}"
compile
"com.beecode:bap2.department:${aminoVersion}"
compile
"com.beecode:bap2.staff:${aminoVersion}"
compile
'com.deepoove:poi-tl:1.5.0'
compile
project
(
":inz.common"
)
compile
project
(
":inz.query"
)
compile
project
(
":inz.workflow"
)
compile
project
(
":inz.basis"
)
compile
project
(
":xyst.dinas.biz"
)
testCompile
lib
.
amino_boot_web
testCompile
lib
.
mysql_connector
}
backend/xyst.dinas.finance/settings.gradle
0 → 100644
View file @
e364885e
rootProject
.
name
=
'xyst.dinas.finance'
\ No newline at end of file
backend/xyst.dinas.finance/src/main/java/com/xyst/dinas/finance/config/FinanceConfiguration.java
0 → 100644
View file @
e364885e
package
com
.
xyst
.
dinas
.
finance
.
config
;
public
class
FinanceConfiguration
{
}
backend/xyst.dinas.finance/src/main/resources/META-INF/spring.factories
0 → 100644
View file @
e364885e
# Auto Configure
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.xyst.dinas.finance.config.FinanceConfiguration
\ No newline at end of file
backend/xyst.dinas.finance/src/test/resources/config/persistence.xml
0 → 100644
View file @
e364885e
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx=
"http://www.springframework.org/schema/tx"
xmlns:aop=
"http://www.springframework.org/schema/aop"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:util=
"http://www.springframework.org/schema/util"
xmlns:jee=
"http://www.springframework.org/schema/jee"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd"
>
<!-- 数据库映射 -->
<bean
id=
"dataSource"
class=
"org.springframework.jdbc.datasource.DriverManagerDataSource"
>
<property
name=
"driverClassName"
value=
"${jdbc.driverClassName}"
/>
<property
name=
"url"
value=
"${jdbc.url}"
/>
<property
name=
"username"
value=
"${jdbc.user}"
/>
<property
name=
"password"
value=
"${jdbc.pass}"
/>
</bean>
<bean
id=
"sessionFactory"
class=
"com.beecode.bcp.store.hibernate.HibernateSessionFactoryBean"
scope=
"metadata"
lazy-init=
"true"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"mappingLocations"
>
<list>
<value>
classpath*:/**/*.hbm.xml
</value>
</list>
</property>
<property
name=
"packagesToScan"
>
<list>
<value>
com.beecode.amino.test.war.entity
</value>
<value>
com.beecode.inz.authmgr.**.*
</value>
<value>
com.beecode.bap.scheduler.entity
</value>
</list>
</property>
<property
name=
"hibernateProperties"
>
<props>
<prop
key=
"hibernate.hbm2ddl.auto"
>
${hibernate.hbm2ddl.auto}
</prop>
<prop
key=
"hibernate.dialect"
>
${hibernate.dialect}
</prop>
<prop
key=
"hibernate.show_sql"
>
${hibernate.show_sql}
</prop>
</props>
</property>
</bean>
<!-- 配置Hibernate事务管理器 -->
<bean
id=
"transactionManager"
class=
"com.beecode.bcp.store.hibernate.HibernateTransactionManager"
>
<property
name=
"sessionFactoryName"
value=
"sessionFactory"
/>
</bean>
<!-- 配置Hibernate模板 -->
<bean
id=
"hibernateOperations"
class=
"com.beecode.bcp.store.hibernate.HibernateTemplate"
>
<property
name=
"sessionFactoryName"
value=
"sessionFactory"
/>
</bean>
<!-- 配置事务异常封装 -->
<bean
id=
"persistenceExceptionTranslationPostProcessor"
class=
"org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"
/>
</beans>
\ No newline at end of file
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