Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
ba0517f3
Commit
ba0517f3
authored
Mar 20, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
b4f354e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+3
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
ba0517f3
...
@@ -141,6 +141,7 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -141,6 +141,7 @@ public class AuditApiServiceImpl implements AuditApiService{
}
}
}
}
void
getStoreDTO
(
StoreDTO
store
,
String
changeField
,
String
oldValue
,
String
newValue
){
void
getStoreDTO
(
StoreDTO
store
,
String
changeField
,
String
oldValue
,
String
newValue
){
logger
.
info
(
"==========================>changeField={}"
,
changeField
);
if
(
StoreFieldEnum
.
BUSINESS_TIME_STRING
.
getValue
().
equals
(
changeField
)){
if
(
StoreFieldEnum
.
BUSINESS_TIME_STRING
.
getValue
().
equals
(
changeField
)){
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"HH:mm"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"HH:mm"
);
//营业时间
//营业时间
...
@@ -165,11 +166,12 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -165,11 +166,12 @@ public class AuditApiServiceImpl implements AuditApiService{
//联系电话
//联系电话
store
.
setConactsPhone
(
newValue
);
store
.
setConactsPhone
(
newValue
);
}
else
if
(
StoreFieldEnum
.
STORE_ADDRESS
.
getValue
().
equals
(
changeField
)){
}
else
if
(
StoreFieldEnum
.
STORE_ADDRESS
.
getValue
().
equals
(
changeField
)){
logger
.
info
(
"==========================>进来333"
);
//门店地址
//门店地址
StoreAddressDTO
obj
=
JSONObject
.
parseObject
(
newValue
,
StoreAddressDTO
.
class
);
StoreAddressDTO
obj
=
JSONObject
.
parseObject
(
newValue
,
StoreAddressDTO
.
class
);
String
areaId
=
obj
.
getAreaId
();
String
areaId
=
obj
.
getAreaId
();
String
storeAddress
=
obj
.
getStoreAddress
();
String
storeAddress
=
obj
.
getStoreAddress
();
logger
.
info
(
"==========================>areaId={},storeAddress={}
"
,
areaId
,
storeAddress
);
logger
.
info
(
"==========================>areaId={},storeAddress={}
,newValue={}"
,
areaId
,
storeAddress
,
newValue
);
String
arr
[]
=
storeAddress
.
split
(
" "
);
String
arr
[]
=
storeAddress
.
split
(
" "
);
store
.
setAreaId
(
areaId
);
store
.
setAreaId
(
areaId
);
store
.
setFullArea
(
arr
[
0
]);
store
.
setFullArea
(
arr
[
0
]);
...
...
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