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
43e655ad
Commit
43e655ad
authored
Sep 20, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
de475df4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+4
-4
UserServiceImpl.java
...ain/java/com/egolm/shop/service/impl/UserServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
43e655ad
...
...
@@ -227,9 +227,9 @@ public class UserController {
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
name
=
"shopId"
,
value
=
"店铺ID"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"shopName"
,
value
=
"店铺名称"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"provinceId"
,
value
=
"省ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"cityId"
,
value
=
"市ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"districtId"
,
value
=
"区ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"provinceId"
,
value
=
"省ID"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"cityId"
,
value
=
"市ID"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"districtId"
,
value
=
"区ID"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"address"
,
value
=
"详细地址"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"certifTypeID"
,
value
=
"店铺证件类型 A.营业执照"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"certifNO"
,
value
=
"店铺证件号码"
),
...
...
@@ -237,7 +237,7 @@ public class UserController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"bankTypeID"
,
value
=
"银行ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"bankType"
,
value
=
"银行名称"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"bankCardNO"
,
value
=
"银行卡号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"customerName"
,
value
=
"客户姓名"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"customerName"
,
value
=
"客户姓名"
,
required
=
true
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"email"
,
value
=
"邮箱"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"memo"
,
value
=
"备注"
),
/*=======================================================分界线=================================================================*/
...
...
src/main/java/com/egolm/shop/service/impl/UserServiceImpl.java
View file @
43e655ad
...
...
@@ -443,7 +443,7 @@ public class UserServiceImpl implements UserService {
}
Integer
itemId
=
jdbcTemplate
.
queryForInt
(
"select max(nItem) from tShopCertifPic where sShopNO = ? and sCertifTypeID = ? and sCertifNO = ?"
,
shopNo
,
certifTypeID
,
certifNO
);
String
insertPicSql
=
"insert into tShopCertifPic (sShopNO, sCertifTypeID, sCertifNO, nItem, sPicDesc, sURL, sCreateUser, dCreateDate, dLastUpdateTime) values (?, ?, ?, ?, '', ?, '', getdate(), getdate())"
;
Object
[]
insertPicArgs
=
new
Object
[]
{
shopNo
,
certifTypeID
,
certifNO
,
++
itemId
,
certifPicUrl
};
Object
[]
insertPicArgs
=
new
Object
[]
{
shopNo
,
certifTypeID
,
certifNO
,
(
itemId
==
null
?
1
:
++
itemId
)
,
certifPicUrl
};
jdbcTemplate
.
update
(
insertPicSql
,
insertPicArgs
);
int
countBankCard
=
jdbcTemplate
.
queryForInt
(
"select count(*) from tCustBank where sCustNO = ? and sBankAccountNO = ?"
,
custNo
,
bankCardNO
);
...
...
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