Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b96f6df5
authored
Jun 16, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-dingwf-mvp616' into develop
2 parents
de55a526
dc1b5931
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/LocationDTO.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderCreateServiceImpl.java
project-order/src/main/resources/application.yaml
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/LocationDTO.java
View file @
b96f6df
...
@@ -4,7 +4,7 @@ import lombok.Data;
...
@@ -4,7 +4,7 @@ import lombok.Data;
@Data
@Data
public
class
LocationDTO
{
public
class
LocationDTO
{
private
String
a
ddress
;
private
String
formattedA
ddress
;
private
String
country
;
private
String
country
;
private
String
province
;
private
String
province
;
private
String
citycode
;
private
String
citycode
;
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrderCreateServiceImpl.java
View file @
b96f6df
...
@@ -108,7 +108,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
...
@@ -108,7 +108,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
entity
.
setProvince
(
location
.
getProvince
());
entity
.
setProvince
(
location
.
getProvince
());
entity
.
setCity
(
location
.
getCity
());
entity
.
setCity
(
location
.
getCity
());
entity
.
setCounty
(
location
.
getDistrict
());
entity
.
setCounty
(
location
.
getDistrict
());
entity
.
setAddress
(
location
.
getAddress
());
entity
.
setAddress
(
location
.
get
Formatted
Address
());
// 根据分单,填写clusterId/branchId/groupId/teamId等
// 根据分单,填写clusterId/branchId/groupId/teamId等
String
layer
=
productCategoryDao
.
getLayerByBrandAndTypeAndSkill
(
req
.
getBrand
(),
req
.
getType
(),
req
.
getSkill
());
String
layer
=
productCategoryDao
.
getLayerByBrandAndTypeAndSkill
(
req
.
getBrand
(),
req
.
getType
(),
req
.
getSkill
());
String
loc
=
String
.
format
(
"%f,%f"
,
req
.
getLocation
().
getLng
(),
req
.
getLocation
().
getLat
());
String
loc
=
String
.
format
(
"%f,%f"
,
req
.
getLocation
().
getLng
(),
req
.
getLocation
().
getLat
());
...
...
project-order/src/main/resources/application.yaml
View file @
b96f6df
...
@@ -32,8 +32,8 @@ spring:
...
@@ -32,8 +32,8 @@ spring:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
logging
:
logging
:
level
:
pattern
:
root
:
${LOG_LEVEL:INFO}
dateformat
:
"
yyyy-MM-dd
HH:mm:ss.SSS
'+0800'"
seata
:
seata
:
application-id
:
${spring.application.name}
application-id
:
${spring.application.name}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment