소스 검색

核价后台:1、修复床垫列表页显示报价清单报错问题

chen_yjin 3 일 전
부모
커밋
d15f69eede
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      JLHHJSvr/Excutor/GetComputeMattressByIdExcutor.cs

+ 1 - 1
JLHHJSvr/Excutor/GetComputeMattressByIdExcutor.cs

@@ -45,7 +45,7 @@ namespace JLHHJSvr.Excutor
                 var mxList = mattressHelper.GetMattressMxMtrl(request.mattressid.Value);
 
                 
-                if (mattress.dannum_type.Value == 0)
+                if (mattress.dannum_type == null || mattress.dannum_type.Value == 0)
                 {
                     mattress.dannum_type = 2; // 默认标准
                 }