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
e40da28b
Commit
e40da28b
authored
Dec 09, 2019
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UserNO匹配写入UnionID 到tB2BUser表
parent
b517aa1a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
451 additions
and
426 deletions
+451
-426
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+389
-372
UserService.java
src/main/java/com/egolm/shop/service/UserService.java
+56
-54
UserServiceImpl.java
...ain/java/com/egolm/shop/service/impl/UserServiceImpl.java
+6
-0
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
e40da28b
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/shop/service/UserService.java
View file @
e40da28b
package
com
.
egolm
.
shop
.
service
;
package
com
.
egolm
.
shop
.
service
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
com.egolm.shop.pojo.TCustomer
;
import
com.egolm.shop.pojo.TCustomer
;
import
com.egolm.shop.pojo.TShop
;
import
com.egolm.shop.pojo.TShop
;
public
interface
UserService
{
public
interface
UserService
{
public
TCustomer
getCustomer
(
String
custNO
,
String
shopNO
);
public
TCustomer
getCustomer
(
String
custNO
,
String
shopNO
);
public
TCustomer
getCustomer
(
String
mobile
);
public
TCustomer
getCustomer
(
String
mobile
);
public
TShop
getShop
(
String
shopNO
);
public
TShop
getShop
(
String
shopNO
);
public
Map
<
String
,
Object
>
createGuest
(
Map
<
String
,
Object
>
params
);
public
Map
<
String
,
Object
>
createGuest
(
Map
<
String
,
Object
>
params
);
public
String
login
(
Map
<
String
,
Object
>
params
)
;
public
String
login
(
Map
<
String
,
Object
>
params
)
;
public
String
modifyPwd
(
Map
<
String
,
Object
>
params
);
public
String
modifyPwd
(
Map
<
String
,
Object
>
params
);
public
String
sendSms
(
Map
<
String
,
Object
>
params
);
public
String
sendSms
(
Map
<
String
,
Object
>
params
);
public
boolean
checkShopExists
(
String
custNO
,
String
shopNO
);
public
boolean
checkShopExists
(
String
custNO
,
String
shopNO
);
public
String
modifyShopAuthInfo
(
Map
<
String
,
Object
>
parameters
);
public
String
modifyShopAuthInfo
(
Map
<
String
,
Object
>
parameters
);
public
Map
<
String
,
Object
>
queryCustomerByOpenId
(
String
openId
);
public
Map
<
String
,
Object
>
queryCustomerByOpenId
(
String
openId
);
public
Map
<
String
,
Object
>
queryCustomerByMobile
(
String
mobile
);
public
Map
<
String
,
Object
>
queryCustomerByMobile
(
String
mobile
);
public
Map
<
String
,
Object
>
createCustomer
(
String
orgNo
,
String
openId
,
String
mobile
);
public
Map
<
String
,
Object
>
createCustomer
(
String
orgNo
,
String
openId
,
String
mobile
);
public
List
<
Map
<
String
,
Object
>>
queryShopList
(
String
orgNo
,
String
custNo
);
public
List
<
Map
<
String
,
Object
>>
queryShopList
(
String
orgNo
,
String
custNo
);
public
Map
<
String
,
Object
>
createShop
(
String
orgNo
,
Map
<
String
,
Object
>
customerMap
);
public
Map
<
String
,
Object
>
createShop
(
String
orgNo
,
Map
<
String
,
Object
>
customerMap
);
public
void
deleteOpenId
(
String
openId
);
public
void
deleteOpenId
(
String
openId
);
public
void
saveOpenId
(
String
string
,
String
openId
);
public
void
saveOpenId
(
String
string
,
String
openId
);
public
String
queryShopAuthInfo
(
String
shopNo
,
String
langID
);
public
String
queryShopAuthInfo
(
String
shopNo
,
String
langID
);
public
Map
<
String
,
Object
>
getSalesmanByShopNo
(
String
shopNo
);
public
Map
<
String
,
Object
>
getSalesmanByShopNo
(
String
shopNo
);
public
Map
<
String
,
Object
>
getCustomerByNO
(
String
custNo
);
public
Map
<
String
,
Object
>
getCustomerByNO
(
String
custNo
);
public
void
updateCustomerEmail
(
String
custNo
,
String
email
);
public
void
updateCustomerEmail
(
String
custNo
,
String
email
);
public
List
<
Map
<
String
,
Object
>>
queryBankList
(
String
sCustNO
);
public
List
<
Map
<
String
,
Object
>>
queryBankList
(
String
sCustNO
);
public
Map
<
String
,
Object
>
loginByOpenId
(
String
orgNo
,
String
openId
,
String
mobile
,
String
name
);
public
Map
<
String
,
Object
>
loginByOpenId
(
String
orgNo
,
String
openId
,
String
mobile
,
String
name
);
}
public
void
updateB2BUnionID
(
String
UserNO
,
String
UnionID
);
}
src/main/java/com/egolm/shop/service/impl/UserServiceImpl.java
View file @
e40da28b
...
@@ -842,4 +842,10 @@ public class UserServiceImpl implements UserService {
...
@@ -842,4 +842,10 @@ public class UserServiceImpl implements UserService {
}
}
return
new
XException
((
String
)
errorMsg
);
return
new
XException
((
String
)
errorMsg
);
}
}
@Override
public
void
updateB2BUnionID
(
String
UserNO
,
String
UnionID
)
{
jdbcTemplate
.
update
(
"update tB2BUser set sUnionID = ? ,dLastUpdateTime = getdate() where sUserNO = ?"
,
UnionID
,
UserNO
);
}
}
}
\ No newline at end of file
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