fix 2
This commit is contained in:
parent
98cb3e36f4
commit
b029be9a48
@ -20,7 +20,7 @@ type ApprovalCopy struct {
|
||||
func BatchCopySave(users CopyUsers, approvalId uint64) error {
|
||||
var insertRaws []*ApprovalCopy
|
||||
|
||||
if users == nil && len(users) == 0 {
|
||||
if users == nil || len(users) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user