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
3b0afeb9
Commit
3b0afeb9
authored
Jul 03, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fcn -> aship
parent
56b41129
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
54 additions
and
103 deletions
+54
-103
build.gradle
build.gradle
+1
-1
fcn.sh
fcn.sh
+0
-42
issue.sh
issue.sh
+5
-5
readme
readme
+6
-6
run-docker.sh
run-docker.sh
+4
-4
application.yml
src/main/resources/application.yml
+23
-30
hibernate.cfg.xml
src/main/resources/hibernate.cfg.xml
+1
-1
view.js
src/main/resources/static/app/srm/supplier/view/view.js
+1
-1
check.js
...in/resources/static/app/srm/supplierSurvey/check/check.js
+1
-1
feedback.html
...rces/static/app/srm/supplierSurvey/feedback/feedback.html
+5
-5
feedback.js
...ources/static/app/srm/supplierSurvey/feedback/feedback.js
+2
-2
view.js
...main/resources/static/app/srm/supplierSurvey/view/view.js
+1
-1
HttpURLConnectionTest.java
src/test/java/com/i1/test/erp/HttpURLConnectionTest.java
+3
-3
JaxWsProxyTest.java
src/test/java/com/i1/test/erp/JaxWsProxyTest.java
+1
-1
No files found.
build.gradle
View file @
3b0afeb9
...
@@ -32,7 +32,7 @@ flyway {
...
@@ -32,7 +32,7 @@ flyway {
url
=
'jdbc:mysql://localhost:3306/'
url
=
'jdbc:mysql://localhost:3306/'
user
=
'root'
user
=
'root'
password
=
''
password
=
''
schemas
=
[
'srm_
fcn
'
]
schemas
=
[
'srm_
aship
'
]
locations
=
[
'filesystem:upgrade/sql/mysql'
]
locations
=
[
'filesystem:upgrade/sql/mysql'
]
outOfOrder
=
true
outOfOrder
=
true
...
...
fcn.sh
deleted
100755 → 0
View file @
56b41129
#!/usr/bin/env bash
GROUP_NAME
=
fcn
PROJECT_NAME
=
srm
ISSUE_ID
=
prod
PORT
=
57002
MEMORY
=
1024
DOCKER_NAME
=
${
GROUP_NAME
}
-
${
PROJECT_NAME
}
-
${
ISSUE_ID
}
echo
"============================================="
echo
GROUP_NAME
=
${
GROUP_NAME
}
echo
PROJECT_NAME
=
${
PROJECT_NAME
}
echo
PORT
=
${
PORT
}
echo
MEMORY
=
${
MEMORY
}
echo
DOCKER_NAME
=
${
DOCKER_NAME
}
echo
"============================================="
echo
"stop docker
${
DOCKER_NAME
}
"
docker
rm
-f
${
DOCKER_NAME
}
echo
"Update code..."
git checkout
"master"
git branch
-d
"#
${
ISSUE_ID
}
"
git fetch
git checkout
-b
"#
${
ISSUE_ID
}
"
"origin/#
${
ISSUE_ID
}
"
echo
"Checkout branch origin/"
${
ISSUE_ID
}
cp
/alidata1/dev/bq/gradle-cache-fcn /alidata1/dev/bq/gradle-cache-fcn-
${
ISSUE_ID
}
-R
echo
"start docker
${
DOCKER_NAME
}
"
docker run
-d
\
--user
$UID
\
--name
${
DOCKER_NAME
}
\
-v
"
$PWD
"
:/
${
PROJECT_NAME
}
\
-v
/alidata1/dev/bq/gradle-cache-fcn-
${
ISSUE_ID
}
:/root/.gradle
\
-p
${
PORT
}
:1098
\
-w
/
${
PROJECT_NAME
}
\
gradle:alpine
\
bash
-c
"gradle flywayRepair -Pflyway.url=jdbc:mysql://project.benchmarkchina.com:3306/srm_fcn -Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://project.benchmarkchina.com:3306/srm -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"
issue.sh
View file @
3b0afeb9
...
@@ -7,10 +7,10 @@ if [ -z "$1" ]
...
@@ -7,10 +7,10 @@ if [ -z "$1" ]
fi
fi
GROUP_NAME
=
fcn
GROUP_NAME
=
aship
PROJECT_NAME
=
srm
PROJECT_NAME
=
srm
ISSUE_ID
=
$1
ISSUE_ID
=
$1
PORT
=
5
7
001
PORT
=
5
8
001
MEMORY
=
1024
MEMORY
=
1024
DOCKER_NAME
=
${
GROUP_NAME
}
-
${
PROJECT_NAME
}
-ISSUE
DOCKER_NAME
=
${
GROUP_NAME
}
-
${
PROJECT_NAME
}
-ISSUE
...
@@ -33,7 +33,7 @@ git checkout -b "#${ISSUE_ID}" "origin/#${ISSUE_ID}"
...
@@ -33,7 +33,7 @@ git checkout -b "#${ISSUE_ID}" "origin/#${ISSUE_ID}"
echo
"Checkout branch origin/"
${
ISSUE_ID
}
echo
"Checkout branch origin/"
${
ISSUE_ID
}
cp
/alidata1/dev/bq/gradle-cache-
fcn /alidata1/dev/bq/gradle-cache-fcn
-new
-R
cp
/alidata1/dev/bq/gradle-cache-
aship /alidata1/dev/bq/gradle-cache-aship
-new
-R
echo
"start docker
${
DOCKER_NAME
}
"
echo
"start docker
${
DOCKER_NAME
}
"
...
@@ -41,10 +41,10 @@ docker run -d \
...
@@ -41,10 +41,10 @@ docker run -d \
--user
$UID
\
--user
$UID
\
--name
${
DOCKER_NAME
}
\
--name
${
DOCKER_NAME
}
\
-v
"
$PWD
"
:/
${
PROJECT_NAME
}
\
-v
"
$PWD
"
:/
${
PROJECT_NAME
}
\
-v
/alidata1/dev/bq/gradle-cache-
fcn
-new:/root/.gradle
\
-v
/alidata1/dev/bq/gradle-cache-
aship
-new:/root/.gradle
\
-v
/etc/localtime:/etc/localtime:ro
\
-v
/etc/localtime:/etc/localtime:ro
\
-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_
fcn
-Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://project.benchmarkchina.com:3306/srm -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"
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 -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"
readme
View file @
3b0afeb9
SIT:
SIT:
URL: http://project.benchmarkchina.com:5
7
000/
URL: http://project.benchmarkchina.com:5
8
000/
Database:jdbc:mysql://project.benchmarkchina.com:3306/srm_
fcn
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
Database:jdbc:mysql://project.benchmarkchina.com:3306/srm_
aship
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
环境启动:目录:/alidata1/dev/
fcn
/srm 脚本:run-docker.sh
环境启动:目录:/alidata1/dev/
aship
/srm 脚本:run-docker.sh
ISSUE:
ISSUE:
URL: http://project.benchmarkchina.com:5
7
001/
URL: http://project.benchmarkchina.com:5
8
001/
Database:jdbc:mysql://project.benchmarkchina.com:3306/srm_
fcn
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
Database:jdbc:mysql://project.benchmarkchina.com:3306/srm_
aship
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
环境启动:目录:/alidata1/dev/launcher/
fcn
/srm 脚本:issue.sh issueNo(如执行:sh issue.sh 2)
环境启动:目录:/alidata1/dev/launcher/
aship
/srm 脚本:issue.sh issueNo(如执行:sh issue.sh 2)
Staging:
Staging:
URL: http://58.210.204.82:1098/
URL: http://58.210.204.82:1098/
...
...
run-docker.sh
View file @
3b0afeb9
#!/usr/bin/env bash
#!/usr/bin/env bash
GROUP_NAME
=
fcn
GROUP_NAME
=
aship
PROJECT_NAME
=
srm
PROJECT_NAME
=
srm
PORT
=
5
7
000
PORT
=
5
8
000
PROFILE
=
default
PROFILE
=
default
MEMORY
=
1024
MEMORY
=
1024
...
@@ -29,10 +29,10 @@ docker run -d \
...
@@ -29,10 +29,10 @@ docker run -d \
--user
$UID
\
--user
$UID
\
--name
${
DOCKER_NAME
}
\
--name
${
DOCKER_NAME
}
\
-v
"
$PWD
"
:/
${
PROJECT_NAME
}
\
-v
"
$PWD
"
:/
${
PROJECT_NAME
}
\
-v
/alidata1/dev/bq/gradle-cache-
fcn
:/root/.gradle
\
-v
/alidata1/dev/bq/gradle-cache-
aship
:/root/.gradle
\
-v
/etc/localtime:/etc/localtime:ro
\
-v
/etc/localtime:/etc/localtime:ro
\
-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_
fcn
-Pflyway.user=root -Pflyway.password=benchmark123 -Pflyway.locations=filesystem:upgrade/sql/mysql; gradle flywayMigrate -Pflyway.url=jdbc:mysql://project.benchmarkchina.com:3306/srm -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"
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 -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"
src/main/resources/application.yml
View file @
3b0afeb9
...
@@ -106,20 +106,20 @@ srm:
...
@@ -106,20 +106,20 @@ srm:
supplierErpSend
:
false
supplierErpSend
:
false
email
:
email
:
enable
:
false
enable
:
false
recipients
:
srm@mail.forcecon.com,
gujian@benchmarkchina.com,raven@benchmarkchina.com
recipients
:
gujian@benchmarkchina.com,raven@benchmarkchina.com
---
# default profile
---
# default profile
spring
:
spring
:
profiles
:
default
profiles
:
default
datasource
:
datasource
:
driverClassName
:
com.mysql.jdbc.Driver
driverClassName
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://project.benchmarkchina.com:3306/srm_
fcn
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
url
:
jdbc:mysql://project.benchmarkchina.com:3306/srm_
aship
?characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
username
:
root
username
:
root
password
:
benchmark123
password
:
benchmark123
srm
:
srm
:
dev
:
false
dev
:
false
aclSchema
:
srm_
fcn
aclSchema
:
srm_
aship
companyName
:
聚力
companyName
:
一舟
logging
:
logging
:
level
:
level
:
...
@@ -147,14 +147,7 @@ spring:
...
@@ -147,14 +147,7 @@ spring:
max-file-size
:
20MB
max-file-size
:
20MB
max-request-size
:
20MB
max-request-size
:
20MB
location
:
/home/srm/SRM/IOne-SRM-Prod/upload
location
:
/home/srm/SRM/IOne-SRM-Prod/upload
mail
:
host
:
mail.forcecon.com
password
:
1m7tc10p
port
:
25
username
:
srm@mail.forcecon.com
properties.mail.smtp.auth
:
true
properties.mail.smtp.starttls.enable
:
false
properties.mail.debug
:
true
server
:
server
:
port
:
1099
port
:
1099
session
:
session
:
...
@@ -162,7 +155,7 @@ server:
...
@@ -162,7 +155,7 @@ server:
srm
:
srm
:
dev
:
false
dev
:
false
aclSchema
:
srm
aclSchema
:
srm
companyName
:
聚力
companyName
:
一舟
bannerInfo
:
bannerInfo
:
print
:
print
:
printInSrm
:
false
printInSrm
:
false
...
@@ -193,7 +186,7 @@ srm:
...
@@ -193,7 +186,7 @@ srm:
defaultPoChgReturnType
:
0
defaultPoChgReturnType
:
0
email
:
email
:
enable
:
true
enable
:
true
recipients
:
srm@mail.forcecon.com,
gujian@benchmarkchina.com,raven@benchmarkchina.com
recipients
:
gujian@benchmarkchina.com,raven@benchmarkchina.com
logoImg
:
logoImg
:
logging
:
logging
:
level
:
level
:
...
@@ -228,7 +221,7 @@ server:
...
@@ -228,7 +221,7 @@ server:
srm
:
srm
:
dev
:
false
dev
:
false
aclSchema
:
srm_staging
aclSchema
:
srm_staging
companyName
:
聚力
companyName
:
一舟
bannerInfo
:
测试数据! 请勿送货!
bannerInfo
:
测试数据! 请勿送货!
print
:
print
:
printInSrm
:
false
printInSrm
:
false
...
@@ -282,7 +275,7 @@ server:
...
@@ -282,7 +275,7 @@ server:
srm
:
srm
:
dev
:
true
dev
:
true
aclSchema
:
srm_staging
aclSchema
:
srm_staging
companyName
:
聚力
companyName
:
一舟
bannerInfo
:
测试数据! 请勿送货!
bannerInfo
:
测试数据! 请勿送货!
print
:
print
:
printInSrm
:
false
printInSrm
:
false
...
@@ -329,7 +322,7 @@ server:
...
@@ -329,7 +322,7 @@ server:
srm
:
srm
:
dev
:
true
dev
:
true
aclSchema
:
srm
aclSchema
:
srm
companyName
:
聚力
companyName
:
一舟
bannerInfo
:
正式区
bannerInfo
:
正式区
print
:
print
:
printInSrm
:
false
printInSrm
:
false
...
@@ -374,25 +367,25 @@ spring:
...
@@ -374,25 +367,25 @@ 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_
fcn
?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
url
:
jdbc:mysql://project.benchmarkchina.com:3306/srm_
aship
?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
username
:
root
username
:
root
password
:
benchmark123
password
:
benchmark123
http
:
http
:
multipart
:
multipart
:
max-file-size
:
20MB
max-file-size
:
20MB
max-request-size
:
20MB
max-request-size
:
20MB
location
:
/Users/TryXD/devRep/
fcn
location
:
/Users/TryXD/devRep/
aship
resources
:
resources
:
static-locations
:
file:/Users/TryXD/devRep/
fcn
/srm, classpath:/static/,classpath:/META-INF/resources/,classpath:/resources/,classpath:/public/
static-locations
:
file:/Users/TryXD/devRep/
aship
/srm, classpath:/static/,classpath:/META-INF/resources/,classpath:/resources/,classpath:/public/
mail
:
#
mail:
host
:
mail.forcecon.com
#
host: mail.forcecon.com
password
:
1m7tc10p
#
password: 1m7tc10p
port
:
25
#
port: 25
username
:
srm@mail.forcecon.com
#
username: srm@mail.forcecon.com
properties.mail.smtp.auth
:
true
#
properties.mail.smtp.auth: true
properties.mail.smtp.starttls.enable
:
false
#
properties.mail.smtp.starttls.enable: false
properties.mail.debug
:
true
#
properties.mail.debug: true
server
:
server
:
port
:
8080
port
:
8080
...
@@ -401,7 +394,7 @@ server:
...
@@ -401,7 +394,7 @@ server:
srm
:
srm
:
dev
:
true
dev
:
true
aclSchema
:
srm_
fcn
aclSchema
:
srm_
aship
companyName
:
公司名
companyName
:
公司名
bannerInfo
:
测试数据! 请勿送货!
bannerInfo
:
测试数据! 请勿送货!
print
:
print
:
...
@@ -435,7 +428,7 @@ srm:
...
@@ -435,7 +428,7 @@ srm:
supplierErpSend
:
false
supplierErpSend
:
false
email
:
email
:
enable
:
true
enable
:
true
recipients
:
gujian@benchmarkchina.com,raven@benchmarkchina.com
,srm@mail.forcecon.com
recipients
:
gujian@benchmarkchina.com,raven@benchmarkchina.com
logging
:
logging
:
level
:
level
:
org.hibernate.SQL
:
DEBUG
org.hibernate.SQL
:
DEBUG
...
...
src/main/resources/hibernate.cfg.xml
View file @
3b0afeb9
...
@@ -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_
fcn
</property>
<property
name=
"connection.url"
>
jdbc:mysql://project.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/supplier/view/view.js
View file @
3b0afeb9
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
item
.
dtlIndex
=
index
+
1
;
item
.
dtlIndex
=
index
+
1
;
var
temp1
=
{
var
temp1
=
{
index
:
index
+
1
,
index
:
index
+
1
,
SupplierAndFacturer
:
'
聚力
'
,
SupplierAndFacturer
:
'
一舟
'
,
productName
:
item
.
productName
,
productName
:
item
.
productName
,
hscode
:
item
.
hscode
,
hscode
:
item
.
hscode
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
...
...
src/main/resources/static/app/srm/supplierSurvey/check/check.js
View file @
3b0afeb9
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
item
.
dtlIndex
=
index
+
1
;
item
.
dtlIndex
=
index
+
1
;
var
temp1
=
{
var
temp1
=
{
index
:
index
+
1
,
index
:
index
+
1
,
SupplierAndFacturer
:
'
聚力
'
,
SupplierAndFacturer
:
'
一舟
'
,
productName
:
item
.
productName
,
productName
:
item
.
productName
,
hscode
:
item
.
hscode
,
hscode
:
item
.
hscode
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
...
...
src/main/resources/static/app/srm/supplierSurvey/feedback/feedback.html
View file @
3b0afeb9
...
@@ -1934,7 +1934,7 @@
...
@@ -1934,7 +1934,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
(
聚力
)商品名称
</label>
<label>
(
一舟
)商品名称
</label>
<input
type=
"text"
class=
"form-control"
maxlength=
"200"
<input
type=
"text"
class=
"form-control"
maxlength=
"200"
ng-model=
"currentInvestCustomsdoc.productName"
ng-model=
"currentInvestCustomsdoc.productName"
required
>
required
>
...
@@ -1945,7 +1945,7 @@
...
@@ -1945,7 +1945,7 @@
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
(
聚力
)HSCODE
</label>
<label>
(
一舟
)HSCODE
</label>
<input
type=
"text"
class=
"form-control"
maxlength=
"100"
<input
type=
"text"
class=
"form-control"
maxlength=
"100"
ng-model=
"currentInvestCustomsdoc.hscode"
required
/>
ng-model=
"currentInvestCustomsdoc.hscode"
required
/>
<span
style=
"color: red;"
<span
style=
"color: red;"
...
@@ -1955,7 +1955,7 @@
...
@@ -1955,7 +1955,7 @@
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
(
聚力
)币别
</label>
<label>
(
一舟
)币别
</label>
<select
class=
"form-control"
style=
"width: 100%;"
<select
class=
"form-control"
style=
"width: 100%;"
ng-model=
"currentInvestCustomsdoc.currency.id"
required
>
ng-model=
"currentInvestCustomsdoc.currency.id"
required
>
<option
ng-repeat=
"item in currencyData"
<option
ng-repeat=
"item in currencyData"
...
@@ -1968,7 +1968,7 @@
...
@@ -1968,7 +1968,7 @@
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
(
聚力
)备案单价
</label>
<label>
(
一舟
)备案单价
</label>
<input
class=
"form-control"
<input
class=
"form-control"
ng-pattern=
"/^(\d{1,13}|\d{1,13}\.\d{1,5})$/"
ng-pattern=
"/^(\d{1,13}|\d{1,13}\.\d{1,5})$/"
name=
"recodePrice"
name=
"recodePrice"
...
@@ -1980,7 +1980,7 @@
...
@@ -1980,7 +1980,7 @@
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
(
聚力
)备案单位
</label>
<label>
(
一舟
)备案单位
</label>
<input
type=
"text"
class=
"form-control"
maxlength=
"100"
<input
type=
"text"
class=
"form-control"
maxlength=
"100"
ng-model=
"currentInvestCustomsdoc.recodeComp"
required
/>
ng-model=
"currentInvestCustomsdoc.recodeComp"
required
/>
<span
style=
"color: red;"
<span
style=
"color: red;"
...
...
src/main/resources/static/app/srm/supplierSurvey/feedback/feedback.js
View file @
3b0afeb9
...
@@ -299,7 +299,7 @@
...
@@ -299,7 +299,7 @@
currency
:
item
.
currency
,
currency
:
item
.
currency
,
supplierInvest
:
item
.
supplierInvest
,
supplierInvest
:
item
.
supplierInvest
,
index
:
index
+
1
,
index
:
index
+
1
,
SupplierAndFacturer
:
'
聚力
'
,
SupplierAndFacturer
:
'
一舟
'
,
productName
:
item
.
productName
,
productName
:
item
.
productName
,
hscode
:
item
.
hscode
,
hscode
:
item
.
hscode
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
...
@@ -838,7 +838,7 @@
...
@@ -838,7 +838,7 @@
currency
:
$scope
.
currentInvestCustomsdoc
.
currency
,
currency
:
$scope
.
currentInvestCustomsdoc
.
currency
,
index
:
$scope
.
currentInvestCustomsdoc
.
index
,
index
:
$scope
.
currentInvestCustomsdoc
.
index
,
supplierInvest
:
$scope
.
currentSupplierInvestMain
,
supplierInvest
:
$scope
.
currentSupplierInvestMain
,
SupplierAndFacturer
:
'
聚力
'
,
SupplierAndFacturer
:
'
一舟
'
,
productName
:
$scope
.
currentInvestCustomsdoc
.
productName
,
productName
:
$scope
.
currentInvestCustomsdoc
.
productName
,
hscode
:
$scope
.
currentInvestCustomsdoc
.
hscode
,
hscode
:
$scope
.
currentInvestCustomsdoc
.
hscode
,
currencyName
:
$scope
.
currentInvestCustomsdoc
.
currency
.
name
,
currencyName
:
$scope
.
currentInvestCustomsdoc
.
currency
.
name
,
...
...
src/main/resources/static/app/srm/supplierSurvey/view/view.js
View file @
3b0afeb9
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
item
.
dtlIndex
=
index
+
1
;
item
.
dtlIndex
=
index
+
1
;
var
temp1
=
{
var
temp1
=
{
index
:
index
+
1
,
index
:
index
+
1
,
SupplierAndFacturer
:
'
聚力
'
,
SupplierAndFacturer
:
'
一舟
'
,
productName
:
item
.
productName
,
productName
:
item
.
productName
,
hscode
:
item
.
hscode
,
hscode
:
item
.
hscode
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
currencyName
:
item
.
currency
==
null
?
""
:
item
.
currency
.
name
,
...
...
src/test/java/com/i1/test/erp/HttpURLConnectionTest.java
View file @
3b0afeb9
...
@@ -13,10 +13,10 @@ import java.net.URL;
...
@@ -13,10 +13,10 @@ import java.net.URL;
public
class
HttpURLConnectionTest
{
public
class
HttpURLConnectionTest
{
@Ignore
@Ignore
@Test
@Test
public
void
fcn
Test
()
{
public
void
httpWs
Test
()
{
try
{
try
{
//第一步:创建服务地址,不是WSDL地址
//第一步:创建服务地址,不是WSDL地址
URL
url
=
new
URL
(
"http://192.168.1.30:6394/ws/r/aws_ttsrv4_toptest"
);
//
聚力
URL
url
=
new
URL
(
"http://192.168.1.30:6394/ws/r/aws_ttsrv4_toptest"
);
//
一舟
//第二步:打开一个通向服务地址的连接
//第二步:打开一个通向服务地址的连接
HttpURLConnection
connection
=
(
HttpURLConnection
)
url
.
openConnection
();
HttpURLConnection
connection
=
(
HttpURLConnection
)
url
.
openConnection
();
//第三步:设置参数
//第三步:设置参数
...
@@ -40,7 +40,7 @@ public class HttpURLConnectionTest {
...
@@ -40,7 +40,7 @@ public class HttpURLConnectionTest {
" <tip:request>123</tip:request>\n"
+
" <tip:request>123</tip:request>\n"
+
" </tip:SRM_fahuoRequest>\n"
+
" </tip:SRM_fahuoRequest>\n"
+
" </soapenv:Body>\n"
+
" </soapenv:Body>\n"
+
"</soapenv:Envelope>"
;
//
聚力
"</soapenv:Envelope>"
;
//
一舟
OutputStream
os
=
connection
.
getOutputStream
();
OutputStream
os
=
connection
.
getOutputStream
();
os
.
write
(
soapXML
.
getBytes
());
os
.
write
(
soapXML
.
getBytes
());
...
...
src/test/java/com/i1/test/erp/JaxWsProxyTest.java
View file @
3b0afeb9
...
@@ -24,7 +24,7 @@ public class JaxWsProxyTest {
...
@@ -24,7 +24,7 @@ public class JaxWsProxyTest {
" <tip:request>123</tip:request>\n"
+
" <tip:request>123</tip:request>\n"
+
" </tip:SRM_fahuoRequest>\n"
+
" </tip:SRM_fahuoRequest>\n"
+
" </soapenv:Body>\n"
+
" </soapenv:Body>\n"
+
"</soapenv:Envelope>"
;
//
聚力
"</soapenv:Envelope>"
;
//
一舟
soapXML
=
"123"
;
soapXML
=
"123"
;
...
...
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