فهرست منبع

20211216后端日志更新代码_3

mashengyi 3 سال پیش
والد
کامیت
557f1218fd

+ 4 - 0
src/main/java/com/jkcredit/invoice/credit/custInterface/SelfCarInterServiceImpl.java

@@ -726,6 +726,10 @@ public class SelfCarInterServiceImpl implements SelfCarInterService {
                 return result;
             } else {
                 result.setData(3);
+                if("未查得".equals(rs.getMsg())){
+                    result.setData(2);
+                }
+
                 result.setCode(200);
                 result.setMsg(rs.getMsg());
                 return result;

+ 5 - 1
src/main/java/com/jkcredit/invoice/service/lowerService/impl/SelfCarServiceLImpl.java

@@ -352,7 +352,7 @@ public class SelfCarServiceLImpl implements SelfCarServiceL {
                     }
                 }
             }else{
-                return new RespR("未查得");
+                return new RespR(false,"未查得");
             }
             return new RespR(b2BInvoiceListModels,responseRespR.getData().getResult().toString());
         }
@@ -384,6 +384,10 @@ public class SelfCarServiceLImpl implements SelfCarServiceL {
             log.info("申请开票失败SelfCarServiceLImpl.getInvoicePackge{},msg{}",invoicePackageVo,b2bInvoicePackageResponseRespR.getMsg());
             return new RespR(false,b2bInvoicePackageResponseRespR.getMsg());
         }else{
+
+            if(StringUtils.isBlank(b2bInvoicePackageResponseRespR.getData().getResult())){
+                return new RespR (false,"未查得");
+            }
             return new RespR(b2bInvoicePackageResponseRespR.getData().getResult());
         }
     }