|
|
|
@ -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<>();
|
|
|
|
|