diff --git a/src/main/java/com/glxp/mipsdl/client/hlfyyy/HlfyyyClient.java b/src/main/java/com/glxp/mipsdl/client/hlfyyy/HlfyyyClient.java index cf56dc2..3f8a58e 100644 --- a/src/main/java/com/glxp/mipsdl/client/hlfyyy/HlfyyyClient.java +++ b/src/main/java/com/glxp/mipsdl/client/hlfyyy/HlfyyyClient.java @@ -783,19 +783,19 @@ public class HlfyyyClient extends CommonHttpClient { udiwmsOrderDetailHlfyRequest.setPrice(udiwmsOrderDetailRequest.getPrice().toString()); udiwmsOrderDetailHlfyRequest.setCount(udiwmsOrderDetailRequest.getCount()+""); udiwmsOrderDetailHlfyRequest.setAllowNoBatch(Boolean.toString(udiwmsOrderDetailRequest.isAllowNoBatch())); - // 判断生产日期失效日期 发票等数据如果没值就写死 - if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getInvoiceDate())){ - udiwmsOrderDetailHlfyRequest.setInvoiceDate("2000-01-01 00:00:00"); - } - if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getFirstSalesInvNo())){ - udiwmsOrderDetailHlfyRequest.setFirstSalesInvNo("test111"); - } - if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getProductDate())){ - udiwmsOrderDetailHlfyRequest.setProductDate("2000-01-01 00:00:00"); - } - if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getExpireDate())){ - udiwmsOrderDetailHlfyRequest.setExpireDate("2099-01-01 00:00:00"); - } +// // 判断生产日期失效日期 发票等数据如果没值就写死 +// if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getInvoiceDate())){ +// udiwmsOrderDetailHlfyRequest.setInvoiceDate("2000-01-01 00:00:00"); +// } +// if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getFirstSalesInvNo())){ +// udiwmsOrderDetailHlfyRequest.setFirstSalesInvNo("test111"); +// } +// if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getProductDate())){ +// udiwmsOrderDetailHlfyRequest.setProductDate("2000-01-01 00:00:00"); +// } +// if(StringUtils.isEmpty(udiwmsOrderDetailHlfyRequest.getExpireDate())){ +// udiwmsOrderDetailHlfyRequest.setExpireDate("2099-01-01 00:00:00"); +// } if(udiwmsOrderDetailRequest.getCodeList()!=null && udiwmsOrderDetailRequest.getCodeList().size() >0){ List list = new ArrayList<>(); diff --git a/src/main/java/com/glxp/mipsdl/service/basic/RelCodeDetailService.java b/src/main/java/com/glxp/mipsdl/service/basic/RelCodeDetailService.java index f2951bb..856ca95 100644 --- a/src/main/java/com/glxp/mipsdl/service/basic/RelCodeDetailService.java +++ b/src/main/java/com/glxp/mipsdl/service/basic/RelCodeDetailService.java @@ -1,6 +1,7 @@ package com.glxp.mipsdl.service.basic; import cn.hutool.core.collection.CollUtil; +import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import org.springframework.stereotype.Service; @@ -28,6 +29,7 @@ public class RelCodeDetailService extends ServiceImpl list = new ArrayList<>(); // list.add(relCodeDetail); fetchAllChildren(code, list);