Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
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
bltdc
dc-cost-system
Commits
a4b0c516
Commit
a4b0c516
authored
Oct 29, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
other copy source
parent
4b804777
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
255 additions
and
0 deletions
+255
-0
application-prod.yml
...tec-cost-core/other/BOOT-INF/classes/application-prod.yml
+35
-0
application-test.yml
...tec-cost-core/other/BOOT-INF/classes/application-test.yml
+49
-0
application.yml
bailuntec-cost-core/other/BOOT-INF/classes/application.yml
+7
-0
Cost.xml
bailuntec-cost-core/other/BOOT-INF/classes/mapper/Cost.xml
+0
-0
CostDic.xml
...untec-cost-core/other/BOOT-INF/classes/mapper/CostDic.xml
+19
-0
MANIFEST.MF
bailuntec-cost-core/other/META-INF/MANIFEST.MF
+11
-0
pom.properties
...ther/META-INF/maven/com.blt/cost-core-copy/pom.properties
+3
-0
pom.xml
...-core/other/META-INF/maven/com.blt/cost-core-copy/pom.xml
+131
-0
No files found.
bailuntec-cost-core/other/BOOT-INF/classes/application-prod.yml
0 → 100644
View file @
a4b0c516
spring
:
datasource
:
druid
:
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://gz-cdb-lnrmt5zh.sql.tencentcdb.com:61369/bailun_other?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username
:
root
password
:
"
#7kfnymAM$Y9-Ntf"
type
:
org.apache.commons.dbcp.BasicDataSource
mybatis
:
mapper-locations
:
classpath:mapper/*.xml
type-aliases-package
:
com.blt.other.other_cost.dto
configuration
:
map-underscore-to-camel-case
:
true
pagehelper
:
helper-dialect
:
mysql
reasonable
:
true
support-methods-arguments
:
true
params
:
count=countSql
logging
:
file
:
other/log/other.log
level
:
com.blt.other.other_cost.dao
:
debug
url
:
api
:
baseServerUrl
:
http://www.bailuntec.com
baseFinansysUrl
:
http://cw.bailuntec.com
getExchangeRateApi
:
${url.api.baseServerUrl}/api/ExchangeRate/GetExchangeRate
# 获取耗材
getConsumablesApi
:
${url.api.baseFinansysUrl}/Cashier/Cashier/BuyCashierRecordList
costTypeKind
:
logisticsSubjectCode
:
22222
bailuntec-cost-core/other/BOOT-INF/classes/application-test.yml
0 → 100644
View file @
a4b0c516
spring
:
datasource
:
druid
:
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:3306/bailun_other?useUnicode=true&characterEncoding=UTF-8&serverTimeZone=GMT&useSSL=false
username
:
root
password
:
root
filters
:
stat
initial-size
:
1
min-idle
:
1
max-active
:
20
max-wait
:
-1
time-between-eviction-runs-millis
:
60000
min-evictable-idle-time-millis
:
300000
validation-query
:
SELECT 'x'
test-while-idle
:
true
test-on-borrow
:
false
test-on-return
:
false
pool-prepared-statements
:
false
max-pool-prepared-statement-per-connection-size
:
20
thymeleaf
:
prefix
:
classpath:/templates/
suffix
:
.html
cache
:
false
resources
:
static-locations
:
classpath:/resources/, classpath:/static/
mybatis
:
mapper-locations
:
classpath:mapper/*.xml
type-aliases-package
:
com.blt.other.other_database.model
configuration
:
map-underscore-to-camel-case
:
true
pagehelper
:
helper-dialect
:
mysql
reasonable
:
true
support-methods-arguments
:
true
params
:
count=countSql
logging
:
file
:
other/log/other.log
costTypeKind
:
logisticsSubjectCode
:
22222
\ No newline at end of file
bailuntec-cost-core/other/BOOT-INF/classes/application.yml
0 → 100644
View file @
a4b0c516
server
:
port
:
8085
servlet
:
context-path
:
/logistic/fee
spring
:
profiles
:
active
:
prod
bailuntec-cost-core/other/BOOT-INF/classes/mapper/Cost.xml
0 → 100644
View file @
a4b0c516
This diff is collapsed.
Click to expand it.
bailuntec-cost-core/other/BOOT-INF/classes/mapper/CostDic.xml
0 → 100644
View file @
a4b0c516
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"com.blt.other.other_cost.dao.CostDicDao"
>
<update
id=
"updateCostDicCny"
>
update cost set to_rmb_rate = 1 where dic = 'CNY' and to_rmb_rate != 1
</update>
<update
id=
"updateCostDicOther"
>
update cost set to_rmb_rate = #{to_rmb_rate} where dic = #{dic} and to_rmb_rate = 1
</update>
<select
id=
"selectCostDicGroupDic"
resultType=
"java.util.Map"
>
select dic, to_rmb_rate from cost where dic != "CNY" and to_rmb_rate != 1 group by dic order by pay_time desc;
</select>
</mapper>
\ No newline at end of file
bailuntec-cost-core/other/META-INF/MANIFEST.MF
0 → 100644
View file @
a4b0c516
Manifest-Version: 1.0
Implementation-Title: cost-core-copy
Implementation-Version: 0.0.1-SNAPSHOT
Start-Class: com.blt.other.CostCoreCopyApplication
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
Build-Jdk-Spec: 1.8
Spring-Boot-Version: 2.2.1.RELEASE
Created-By: Maven Archiver 3.4.0
Main-Class: org.springframework.boot.loader.JarLauncher
bailuntec-cost-core/other/META-INF/maven/com.blt/cost-core-copy/pom.properties
0 → 100644
View file @
a4b0c516
version
=
0.0.1-SNAPSHOT
groupId
=
com.blt
artifactId
=
cost-core-copy
bailuntec-cost-core/other/META-INF/maven/com.blt/cost-core-copy/pom.xml
0 → 100644
View file @
a4b0c516
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.2.1.RELEASE
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
com.blt
</groupId>
<artifactId>
cost-core-copy
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
cost-core-copy
</name>
<description>
blt other purcharse
</description>
<properties>
<java.version>
1.8
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<mybatis.version>
3.4.1
</mybatis.version>
<mybatis.spring.version>
1.3.2
</mybatis.spring.version>
<mysql.version>
5.1.47
</mysql.version>
<pagehelper.spring.boot.starter>
1.2.5
</pagehelper.spring.boot.starter>
<druid.spring.boot.starter>
1.1.9
</druid.spring.boot.starter>
<pagehelper>
5.0.0
</pagehelper>
<pagehelper.spring.boot.autoconfigure>
1.2.5
</pagehelper.spring.boot.autoconfigure>
<commons.io>
2.4
</commons.io>
<fastjson>
1.2.47
</fastjson>
</properties>
<dependencies>
<!-- fastjson begin -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
${fastjson}
</version>
</dependency>
<!-- fastjson end -->
<!-- spring boot 热部署-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-devtools
</artifactId>
<optional>
true
</optional>
</dependency>
<!-- spring boot 热部署-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
${mybatis.spring.version}
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!-- 分页插件 begin-->
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
${pagehelper.spring.boot.starter}
</version>
</dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper
</artifactId>
<version>
${pagehelper}
</version>
</dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-autoconfigure
</artifactId>
<version>
${pagehelper.spring.boot.autoconfigure}
</version>
</dependency>
<!-- pagehelper end-->
<!-- alibaba druid 数据库连接池-->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
${druid.spring.boot.starter}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.httpcomponents
</groupId>
<artifactId>
httpclient
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-quartz
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
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