model/faultType.go
@@ -130,6 +130,13 @@ if total != 0 { return nil } records := []*FaultType{} records := []*FaultType{ {1, "设备安装"}, {2, "设备调教"}, {3, "设备升级"}, {4, "电气故障"}, {5, "设备故障"}, {6, "设备良品率低"}, } return slf.CreateBatch(records) }