|
|
|
@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -531,6 +532,7 @@ public class PzhzdClient implements BaseHttpClient {
|
|
|
|
|
subErpOrder.setCount(childrenvoBean.getNinnum());
|
|
|
|
|
subErpOrder.setReCount(childrenvoBean.getNshouldinnum());
|
|
|
|
|
subErpOrder.setBatchNo(childrenvoBean.getVbatchcode());
|
|
|
|
|
subErpOrder.setPrice(BigDecimal.valueOf(childrenvoBean.getNprice()));
|
|
|
|
|
subErpOrder.setExpireDate(childrenvoBean.getDvalidate());
|
|
|
|
|
subPurchases.add(subErpOrder);
|
|
|
|
|
}
|
|
|
|
@ -586,6 +588,7 @@ public class PzhzdClient implements BaseHttpClient {
|
|
|
|
|
subPurchase.setReCount(childrenvoBean.getNshouldoutnum());
|
|
|
|
|
subPurchase.setCount(childrenvoBean.getNoutnum());
|
|
|
|
|
subPurchase.setBatchNo(childrenvoBean.getVbatchcode());
|
|
|
|
|
subPurchase.setPrice(BigDecimal.valueOf(childrenvoBean.getNsaleprice()));
|
|
|
|
|
subPurchases.add(subPurchase);
|
|
|
|
|
}
|
|
|
|
|
purchaseinResponse.setSubErpOrders(subPurchases);
|
|
|
|
|