Commit c7523883 authored by lisong's avatar lisong

修改bug

parent 73756915
......@@ -165,6 +165,9 @@ public class HouseholdPvDeviceController extends BaseController {
if (!EquipType.OTHER.getName().equals(dto.getType()) && ObjectUtils.isEmpty(dto.getSNCode())) {
return "第" + line + "行" + "SN编码不能为空!";
}
if (!EquipType.OTHER.getName().equals(dto.getType()) && ObjectUtils.isEmpty(dto.getModel())) {
return "第" + line + "行" + "型号不能为空!";
}
if (EquipType.INVERTER.getName().equals(dto.getType()) && ObjectUtils.isEmpty(dto.getSerialNumber())) {
return "第" + line + "行" + "序列号不能为空!";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment