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
0259ba52
Commit
0259ba52
authored
Oct 10, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3e436e08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
AddressServiceImpl.java
.../java/com/egolm/shop/service/impl/AddressServiceImpl.java
+16
-17
No files found.
src/main/java/com/egolm/shop/service/impl/AddressServiceImpl.java
View file @
0259ba52
...
...
@@ -10,7 +10,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
com.egolm.common.StringUtil
;
import
com.egolm.common.Util
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.Page
;
...
...
@@ -235,22 +234,22 @@ public class AddressServiceImpl implements AddressService {
public
Map
<
String
,
Object
>
getDefaultAddress
(
String
custNo
,
String
shopNo
)
{
String
sql
=
""
+
"select "
+
"addrID=
t.
sAddrID, "
+
"addrName=
t.
sAddrName, "
+
"contacts=
t.
sContacts, "
+
"mobile=
t.
sMobile, "
+
"tel=
t.
sTel, "
+
"province=
t.
sProvince, "
+
"city=
t.
sCity, "
+
"districtID=
t.
sDistrictID, "
+
"provinceID=
t.
sProvinceID, "
+
"cityID=
t.
sCityID, "
+
"district=
t.
sDistrict, "
+
"address=
t.
sAddress, "
+
"street=
t.
sStreet, "
+
"postalcode=
t.
sPostalcode, "
+
"tag=
t.
nTag, "
+
"lastUpdateTime =
t.
dLastUpdateTime "
+
"addrID=sAddrID, "
+
"addrName=sAddrName, "
+
"contacts=sContacts, "
+
"mobile=sMobile, "
+
"tel=sTel, "
+
"province=sProvince, "
+
"city=sCity, "
+
"districtID=sDistrictID, "
+
"provinceID=sProvinceID, "
+
"cityID=sCityID, "
+
"district=sDistrict, "
+
"address=sAddress, "
+
"street=sStreet, "
+
"postalcode=sPostalcode, "
+
"tag=nTag, "
+
"lastUpdateTime = dLastUpdateTime "
+
" from tCustAddress where nTag&1 = 0 and sCustNO = ? and (sShopNO = ? or sShopNO is null or sShopNO = '') order by nTag desc"
;
List
<
Map
<
String
,
Object
>>
list
=
jdbcTemplate
.
queryForList
(
sql
,
custNo
,
shopNo
);
Map
<
String
,
Object
>
defMap
=
null
;
...
...
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