Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
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
曲欣亮
shop
Commits
7e8cc38a
Commit
7e8cc38a
authored
Sep 23, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
49f52412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
UserServiceImpl.java
...ain/java/com/egolm/shop/service/impl/UserServiceImpl.java
+24
-3
No files found.
src/main/java/com/egolm/shop/service/impl/UserServiceImpl.java
View file @
7e8cc38a
...
@@ -417,17 +417,38 @@ public class UserServiceImpl implements UserService {
...
@@ -417,17 +417,38 @@ public class UserServiceImpl implements UserService {
String
sCertifType
=
"营业执照"
;
String
sCertifType
=
"营业执照"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
shopMap
=
jdbcTemplate
.
queryForMap
(
"select * from tShop where nShopID = ?"
,
shopId
);
Map
<
String
,
Object
>
shopMap
=
jdbcTemplate
.
queryForMap
(
"select * from tShop where nShopID = ?"
,
shopId
);
String
sProvinceID
=
(
String
)
shopMap
.
get
(
"sProvinceID"
);
String
sCityID
=
(
String
)
shopMap
.
get
(
"sCityID"
);
String
sDistrictID
=
(
String
)
shopMap
.
get
(
"sDistrictID"
);
List
<
Map
<
String
,
Object
>>
addrNameList
=
jdbcTemplate
.
queryForList
(
"select sRegionNO, sRegionDesc from tRegion where sRegionNO = ? or sRegionNO = ? or sRegionNO = ?"
,
sProvinceID
,
sCityID
,
sDistrictID
);
Map
<
String
,
Map
<
String
,
Object
>>
addrmm
=
Util
.
listToMM
(
addrNameList
,
"sRegionNO"
);
Map
<
String
,
Object
>
pMap
=
addrmm
.
get
(
sProvinceID
);
Map
<
String
,
Object
>
cMap
=
addrmm
.
get
(
sCityID
);
Map
<
String
,
Object
>
dMap
=
addrmm
.
get
(
sDistrictID
);
String
sProvince
=
pMap
==
null
?
null
:
(
String
)
pMap
.
get
(
"sRegionDesc"
);
String
sCity
=
cMap
==
null
?
null
:
(
String
)
cMap
.
get
(
"sRegionDesc"
);
String
sDistrict
=
dMap
==
null
?
null
:
(
String
)
dMap
.
get
(
"sRegionDesc"
);
sProvince
=
sProvince
==
null
?
""
:
sProvince
;
sCity
=
sCity
==
null
?
""
:
sCity
;
sDistrict
=
sDistrict
==
null
?
""
:
sDistrict
;
String
custNo
=
(
String
)
shopMap
.
get
(
"sCustNO"
);
String
custNo
=
(
String
)
shopMap
.
get
(
"sCustNO"
);
Map
<
String
,
Object
>
custMap
=
jdbcTemplate
.
queryForMap
(
"select * from tCustomer where sCustNO = ?"
,
custNo
);
Map
<
String
,
Object
>
custMap
=
jdbcTemplate
.
queryForMap
(
"select * from tCustomer where sCustNO = ?"
,
custNo
);
map
.
put
(
"nTag"
,
custMap
.
get
(
"nTag"
));
map
.
put
(
"nTag"
,
custMap
.
get
(
"nTag"
));
map
.
put
(
"sCustName"
,
custMap
.
get
(
"sCustName"
));
map
.
put
(
"sCustName"
,
custMap
.
get
(
"sCustName"
));
map
.
put
(
"sCustNO"
,
custMap
.
get
(
"sCustNO"
));
map
.
put
(
"sCustNO"
,
custMap
.
get
(
"sCustNO"
));
map
.
put
(
"sShopNO"
,
shopMap
.
get
(
"sShopNO"
));
map
.
put
(
"sShopNO"
,
shopMap
.
get
(
"sShopNO"
));
map
.
put
(
"nShopID"
,
shopMap
.
get
(
"nShopID"
));
map
.
put
(
"nShopID"
,
shopMap
.
get
(
"nShopID"
));
map
.
put
(
"sShopName"
,
shopMap
.
get
(
"sShopName"
));
map
.
put
(
"sShopName"
,
shopMap
.
get
(
"sShopName"
));
map
.
put
(
"sProvinceID"
,
shopMap
.
get
(
"sProvinceID"
));
map
.
put
(
"sCityID"
,
shopMap
.
get
(
"sCityID"
));
map
.
put
(
"sProvinceID"
,
sProvinceID
);
map
.
put
(
"sDistrictID"
,
shopMap
.
get
(
"sDistrictID"
));
map
.
put
(
"sCityID"
,
sCityID
);
map
.
put
(
"sDistrictID"
,
sDistrictID
);
map
.
put
(
"sProvince"
,
sProvince
);
map
.
put
(
"sCity"
,
sCity
);
map
.
put
(
"sDistrict"
,
sDistrict
);
map
.
put
(
"sAddress"
,
shopMap
.
get
(
"sAddress"
));
map
.
put
(
"sAddress"
,
shopMap
.
get
(
"sAddress"
));
map
.
put
(
"sEmail"
,
shopMap
.
get
(
"sEmail"
));
map
.
put
(
"sEmail"
,
shopMap
.
get
(
"sEmail"
));
map
.
put
(
"sMemo"
,
shopMap
.
get
(
"sMemo"
));
map
.
put
(
"sMemo"
,
shopMap
.
get
(
"sMemo"
));
...
...
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