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
b3ba55bc
authored
Jan 02, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
清除已统计分数
parent
ba0f59fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
internal/dao/bank_dong.go
internal/dao/bank_dong.go
View file @
b3ba55bc
...
...
@@ -43,16 +43,6 @@ const (
//计算逾期金额率:延期支付时间超过平均账期的金额/收款总额:
func
(
d
*
dao
)
BankDongMain
(
ctx
context
.
Context
,
project_id
int
,
erp_company_code
string
)
(
r
[]
map
[
string
]
interface
{},
err
error
)
{
execSql
:=
"truncate `lie_scores` "
row
,
err
:=
d
.
db_bank
.
Exec
(
ctx
,
execSql
)
if
err
!=
nil
{
logic
.
CheckErr
(
err
)
}
else
{
affectNum
,
_
:=
row
.
RowsAffected
()
fmt
.
Println
(
affectNum
)
}
panic
(
123
)
var
(
weight
float64
//权重
month_six
string
//拼接6个月字符串,sql用
...
...
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