forked from free-lancers/electricity_bill_calc_service
enhance(meter):调整对于表计类型的解析。
This commit is contained in:
@@ -208,7 +208,7 @@ func (ms _MeterService) BatchImportMeters(pid string, file *multipart.FileHeader
|
||||
return vo.MeterCreationForm{
|
||||
Code: element.Code,
|
||||
Address: element.Address,
|
||||
MeterType: element.MeterType,
|
||||
MeterType: model.ParseMeterInstallationType(*element.MeterType),
|
||||
Ratio: element.Ratio,
|
||||
Seq: element.Seq,
|
||||
Enabled: true,
|
||||
|
Reference in New Issue
Block a user