18 lines
487 B
Go
18 lines
487 B
Go
package change
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/library/batchimport"
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/logic/iot/simcardbatch/common/cardsource"
|
|
)
|
|
|
|
func ParseInputRows(ctx context.Context, input string) ([]batchimport.Row, error) {
|
|
return cardsource.BuildIccidRows(ctx, input, "batch input change data is empty", func(line cardsource.IccidLine) *Row {
|
|
return &Row{
|
|
RowNo: line.RowNo,
|
|
Iccid: line.Iccid,
|
|
}
|
|
})
|
|
}
|