-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Isolate func and model #6106
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6106 +/- ##
=======================================
Coverage 23.00% 23.01%
=======================================
Files 1777 1778 +1
Lines 190821 190916 +95
=======================================
+ Hits 43899 43937 +38
- Misses 141894 141951 +57
Partials 5028 5028
|
3bf1e3e
to
b00b0d3
Compare
// batchOperationTipModal: { | ||
// type: 'Modal', | ||
// props: { | ||
// status: 'warning', | ||
// content: '您将解冻以下节点:\n cn-hongkong.172.15.3.3 \ncn-hongkong.172.15.3.3', | ||
// title: '提示', | ||
// }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete useless comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for pointing out
@@ -126,6 +126,9 @@ func (p *provider) queryPersonalEfficiency(rw http.ResponseWriter, r *http.Reque | |||
} | |||
|
|||
rawSql := p.makeEfficiencyBasicSql(req) | |||
fmt.Println("————————————————————————————打印sql————————————————————————————") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete useless codes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for pointing out
} | ||
|
||
// Transfer transfer a to b with json, kind of b must be pointer | ||
func Transfer(a, b interface{}) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Transfer
is necessary to add unit-test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for pointing out
feat:add confirmation button for batch deletion
/approve |
feat:add confirmation button for batch deletion
What this PR does / why we need it:
refactor: Isolate func and model
feat:add confirmation button for batch deletion
Which issue(s) this PR fixes:
Specified Reviewers:
/assign @chengjoey @sfwn
ChangeLog
Need cherry-pick to release versions?
Add comment like
/cherry-pick release/1.0
when this PR is merged.