|
@@ -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())) {
|