lyhzzz 1 rok temu
rodzic
commit
5441de365a

+ 5 - 3
src/main/java/com/fdkankan/sale/service/impl/RepairInfoService.java

@@ -178,9 +178,11 @@ public class RepairInfoService {
                     break;
                 case 90:
                     RepairCheckAccount repairCheckAccount = repairCheckAccountService.getByRepairId(repairId);
-                    repairLogVo.setImagesInfo(repairCheckAccount.getCheckAccountImg());
-                    if(StringUtils.isNotBlank(repairCheckAccount.getRemark())){
-                        repairLogVo.setRemark("备注:"+repairCheckAccount.getRemark());
+                    if(repairCheckAccount != null){
+                        repairLogVo.setImagesInfo(repairCheckAccount.getCheckAccountImg());
+                        if(StringUtils.isNotBlank(repairCheckAccount.getRemark())){
+                            repairLogVo.setRemark("备注:"+repairCheckAccount.getRemark());
+                        }
                     }
                     break;
                 case 110 :  //维修完毕