Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
photo_taking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
36ab9b02
authored
Nov 03, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加日志
parent
7d7c7e80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
internal/server/http/server.go
internal/server/http/server.go
View file @
36ab9b02
...
...
@@ -274,6 +274,10 @@ func getOrderDetailId(c *bm.Context) {
err
=
db
.
QueryRow
(
c
,
"select id from (SELECT *,qty-scanqty show_zan FROM `lie_erp_order` where materialno = ? and ordersn = ? order by show_zan asc LIMIT 100) abc where show_zan >= ?"
,
materialno
,
ordersn
,
num
)
.
Scan
(
&
id
)
if
err
!=
nil
{
service
.
ErrorReturn
(
c
,
err
.
Error
())
}
if
id
==
0
{
service
.
ErrorReturn
(
c
,
"该订单暂无符合数量的数据"
)
}
...
...
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