Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
aship
srm
Commits
af03f7c9
Commit
af03f7c9
authored
Dec 05, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update sit server url
parent
0616e41d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
issue.sh
issue.sh
+1
-1
readme.md
readme.md
+2
-2
run-docker.sh
run-docker.sh
+1
-1
application.yml
src/main/resources/application.yml
+2
-2
hibernate.cfg.xml
src/main/resources/hibernate.cfg.xml
+1
-1
update.js
...n/resources/static/app/srm/deliveryOrder/update/update.js
+2
-2
view.js
src/main/resources/static/app/srm/deliveryOrder/view/view.js
+2
-2
No files found.
issue.sh
View file @
af03f7c9
...
@@ -46,5 +46,5 @@ docker run -d \
...
@@ -46,5 +46,5 @@ docker run -d \
-p
${
PORT
}
:1098
\
-p
${
PORT
}
:1098
\
-w
/
${
PROJECT_NAME
}
\
-w
/
${
PROJECT_NAME
}
\
gradle:alpine
\
gradle:alpine
\
bash
-c
"gradle flywayRepair -Pflyway.url=jdbc:mysql://
project.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://project
.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql -Pflyway.outOfOrder=true -Pflyway.validateOnMigrate=false -Pflyway.ignoreMissingMigrations=true -Pflyway.ignoreFutureMigrations=true; gradle bootRun -Dspring.profiles.active=sit"
bash
-c
"gradle flywayRepair -Pflyway.url=jdbc:mysql://
srm.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://srm
.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql -Pflyway.outOfOrder=true -Pflyway.validateOnMigrate=false -Pflyway.ignoreMissingMigrations=true -Pflyway.ignoreFutureMigrations=true; gradle bootRun -Dspring.profiles.active=sit"
readme.md
View file @
af03f7c9
# 各环境
# 各环境
*
SIT:
*
SIT:
URL: http://
project
.benchmarkchina.com:58000/
URL: http://
srm
.benchmarkchina.com:58000/
mysql DB:
project
.benchmarkchina.com:3306/srm_aship
mysql DB:
srm
.benchmarkchina.com:3306/srm_aship
环境启动:sh/alidata1/dev/aship/srm/run-docker.sh
环境启动:sh/alidata1/dev/aship/srm/run-docker.sh
*
Staging:
*
Staging:
...
...
run-docker.sh
View file @
af03f7c9
...
@@ -34,5 +34,5 @@ docker run -d \
...
@@ -34,5 +34,5 @@ docker run -d \
-p
${
PORT
}
:1098
\
-p
${
PORT
}
:1098
\
-w
/
${
PROJECT_NAME
}
\
-w
/
${
PROJECT_NAME
}
\
gradle:alpine
\
gradle:alpine
\
bash
-c
"gradle flywayRepair -Pflyway.url=jdbc:mysql://
project.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://project
.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql -Pflyway.outOfOrder=true -Pflyway.validateOnMigrate=false -Pflyway.ignoreMissingMigrations=true -Pflyway.ignoreFutureMigrations=true; gradle build;gradle bootRun -Dspring.profiles.active=sit"
bash
-c
"gradle flywayRepair -Pflyway.url=jdbc:mysql://
srm.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://srm
.benchmarkchina.com:3306/srm_aship -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql -Pflyway.outOfOrder=true -Pflyway.validateOnMigrate=false -Pflyway.ignoreMissingMigrations=true -Pflyway.ignoreFutureMigrations=true; gradle build;gradle bootRun -Dspring.profiles.active=sit"
src/main/resources/application.yml
View file @
af03f7c9
...
@@ -130,7 +130,7 @@ spring:
...
@@ -130,7 +130,7 @@ spring:
profiles
:
sit
profiles
:
sit
datasource
:
datasource
:
driverClassName
:
com.mysql.jdbc.Driver
driverClassName
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://
project
.benchmarkchina.com:3306/srm_aship?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
url
:
jdbc:mysql://
srm
.benchmarkchina.com:3306/srm_aship?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
username
:
root
username
:
root
password
:
benchmark123
password
:
benchmark123
...
@@ -160,7 +160,7 @@ spring:
...
@@ -160,7 +160,7 @@ spring:
datasource
:
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://
project
.benchmarkchina.com:3306/srm_aship?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
url
:
jdbc:mysql://
srm
.benchmarkchina.com:3306/srm_aship?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
username
:
root
username
:
root
password
:
benchmark123
password
:
benchmark123
http
:
http
:
...
...
src/main/resources/hibernate.cfg.xml
View file @
af03f7c9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<hibernate-configuration>
<session-factory>
<session-factory>
<property
name=
"connection.url"
>
jdbc:mysql://
project
.benchmarkchina.com:3306/srm_aship
</property>
<property
name=
"connection.url"
>
jdbc:mysql://
srm
.benchmarkchina.com:3306/srm_aship
</property>
<property
name=
"connection.driver_class"
>
com.mysql.jdbc.Driver
</property>
<property
name=
"connection.driver_class"
>
com.mysql.jdbc.Driver
</property>
<mapping
class=
"com.i1.srm.base.dao.entity.BaseDictFile"
/>
<mapping
class=
"com.i1.srm.base.dao.entity.BaseDictFile"
/>
...
...
src/main/resources/static/app/srm/deliveryOrder/update/update.js
View file @
af03f7c9
...
@@ -841,8 +841,8 @@ angular.module('IOne').controller('SteelCoilDlgCtrl', function ($scope, $uibModa
...
@@ -841,8 +841,8 @@ angular.module('IOne').controller('SteelCoilDlgCtrl', function ($scope, $uibModa
{
name
:
'批次号'
,
field
:
'doDtlProduct.batchId'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'批次号'
,
field
:
'doDtlProduct.batchId'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'汇总数量'
,
field
:
'doDtlProduct.totalAmount'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'汇总数量'
,
field
:
'doDtlProduct.totalAmount'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'箱号'
,
field
:
'boxCode'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'箱号'
,
field
:
'boxCode'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'
炉号
'
,
field
:
'furnaceNo'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'
规格
'
,
field
:
'furnaceNo'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'
钢卷号
'
,
field
:
'steelCoil'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'
数量
'
,
field
:
'steelCoil'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'每卷重量'
,
field
:
'amountInCurrentBox'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'每卷重量'
,
field
:
'amountInCurrentBox'
,
enableCellEdit
:
true
,
width
:
100
,
cellClass
:
'editable-field'
},
{
name
:
'原产地'
,
field
:
'doDtlProduct.sourceArea'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'原产地'
,
field
:
'doDtlProduct.sourceArea'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'制造日期'
,
field
:
'doDtlProduct.manufacturingDate'
,
enableCellEdit
:
false
,
width
:
100
,
cellFilter
:
'date:"yyyy-MM-dd"'
},
{
name
:
'制造日期'
,
field
:
'doDtlProduct.manufacturingDate'
,
enableCellEdit
:
false
,
width
:
100
,
cellFilter
:
'date:"yyyy-MM-dd"'
},
...
...
src/main/resources/static/app/srm/deliveryOrder/view/view.js
View file @
af03f7c9
...
@@ -239,8 +239,8 @@
...
@@ -239,8 +239,8 @@
{
name
:
'汇总项次'
,
field
:
'doDtlProductRow'
,
width
:
100
,
enableCellEdit
:
false
},
{
name
:
'汇总项次'
,
field
:
'doDtlProductRow'
,
width
:
100
,
enableCellEdit
:
false
},
{
name
:
'箱号'
,
field
:
'boxIndex'
,
width
:
100
,
enableCellEdit
:
false
},
{
name
:
'箱号'
,
field
:
'boxIndex'
,
width
:
100
,
enableCellEdit
:
false
},
{
name
:
'箱条码'
,
field
:
'boxCode'
,
width
:
280
,
enableCellEdit
:
false
},
{
name
:
'箱条码'
,
field
:
'boxCode'
,
width
:
280
,
enableCellEdit
:
false
},
{
name
:
'
炉号'
,
field
:
'steelCoil
'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'
规格'
,
field
:
'furnaceNo
'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'
钢卷号'
,
field
:
'furnaceNo
'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'
数量'
,
field
:
'steelCoil
'
,
enableCellEdit
:
false
,
width
:
100
},
{
name
:
'本箱内数量/重量'
,
field
:
'amountInCurrentBox'
,
enableCellEdit
:
false
,
width
:
150
},
{
name
:
'本箱内数量/重量'
,
field
:
'amountInCurrentBox'
,
enableCellEdit
:
false
,
width
:
150
},
// { name:'制造日期', field: 'manufacturingDate', cellFilter: 'date:"yyyy-MM-dd"', type: 'date', enableCellEdit: false, width:150},
// { name:'制造日期', field: 'manufacturingDate', cellFilter: 'date:"yyyy-MM-dd"', type: 'date', enableCellEdit: false, width:150},
...
...
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