1 年之前
父節點
當前提交
28c6eb7562

+ 7 - 7
platform-rest/src/main/java/com/platform/rest/controller/sqarepartmanage/SparePartInfoController.java

@@ -230,13 +230,13 @@ public class SparePartInfoController {
             // 查询备件关联的设备型号信息
             List<SbModelSpareBomVO> bomList = sbModelSpareBomService.selectExportList2(sparePartInfoDTO);
             for (SparePartInfo sparePartInfo : list) {
-                if (sparePartInfo.getYt()==1){
-                    sparePartInfo.setYtStr("设备配件");
-                }else if (sparePartInfo.getYt()==2){
-                    sparePartInfo.setYtStr("工程物资");
-                }else {
-                    sparePartInfo.setYtStr("设备配件");
-                }
+//                if (sparePartInfo.getYt()==1){
+//                    sparePartInfo.setYtStr("设备配件");
+//                }else if (sparePartInfo.getYt()==2){
+//                    sparePartInfo.setYtStr("工程物资");
+//                }else {
+//                    sparePartInfo.setYtStr("设备配件");
+//                }
                 StringBuffer sb = new StringBuffer();
                 for (SbModelSpareBomVO sbModelSpareBomVO : bomList) {
                     if (sparePartInfo.getId().equals(sbModelSpareBomVO.getSpareId())) {