判断生产日期失效日期 发票等数据如果没值就写死

hlfyyy
qiuyt 1 month ago
parent f07b743faa
commit 082c99f3e4

@ -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<UdiwmsOrderDetailHlfyRequest.CodeDetailEntity> list = new ArrayList<>();

@ -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<RelCodeDetailMapper, RelCo
// relCodeDetail = new RelCodeDetail();
// relCodeDetail.setCurCode(code);
// }
List<RelCodeDetail> list = new ArrayList<>();
// list.add(relCodeDetail);
fetchAllChildren(code, list);

Loading…
Cancel
Save