This commit is contained in:
耿阳 2023-04-11 10:43:57 +08:00
parent 98cb3e36f4
commit b029be9a48

View File

@ -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
}