Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
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
d74e9bd2
authored
Jan 03, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改动态数据不正确
parent
bf65e22b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
cmd/bank_dong/main.go
cmd/bank_dong/main.go
View file @
d74e9bd2
...
@@ -51,8 +51,8 @@ func main() {
...
@@ -51,8 +51,8 @@ func main() {
if
mod
>
0
{
if
mod
>
0
{
svc
:=
service
.
New
()
svc
:=
service
.
New
()
svc
.
DongRun
(
ctx
,
mod
,
""
);
//运行main
svc
.
Bank
DongRun
(
ctx
,
mod
,
""
);
//运行main
svc
.
DongRun
(
ctx
,
999
,
""
);
//总计所有分数
svc
.
Bank
DongRun
(
ctx
,
999
,
""
);
//总计所有分数
svc
.
Close
()
//关闭数据库连接
svc
.
Close
()
//关闭数据库连接
logic
.
LogWrite
(
"统计"
+
dao
.
Model_dong
[
mod
]
+
"完成"
,
dao
.
Model_dong_log
[
mod
],
1
)
logic
.
LogWrite
(
"统计"
+
dao
.
Model_dong
[
mod
]
+
"完成"
,
dao
.
Model_dong_log
[
mod
],
1
)
...
@@ -136,7 +136,7 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
...
@@ -136,7 +136,7 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
logic
.
Loginfo
(
"统计开始--"
+
mod_name
,
mod_name_log
);
logic
.
Loginfo
(
"统计开始--"
+
mod_name
,
mod_name_log
);
svc
.
DongRun
(
ctx
,
k
,
rbm
.
ErpCompanyCode
);
//运行main
svc
.
Bank
DongRun
(
ctx
,
k
,
rbm
.
ErpCompanyCode
);
//运行main
fmt
.
Println
(
"统计结束:"
+
strconv
.
Itoa
(
k
))
fmt
.
Println
(
"统计结束:"
+
strconv
.
Itoa
(
k
))
logic
.
Loginfo
(
"统计结束--"
+
mod_name
,
mod_name_log
);
logic
.
Loginfo
(
"统计结束--"
+
mod_name
,
mod_name_log
);
...
...
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