enhance(meter):调整对于表计类型的解析。

This commit is contained in:
徐涛
2023-06-13 10:59:49 +08:00
parent 7bac667c2a
commit 6f0edc54bf
3 changed files with 20 additions and 2 deletions

View File

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