|
|
|
@ -50,7 +50,6 @@ import org.springframework.http.HttpHeaders;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.text.DecimalFormat;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.Date;
|
|
|
|
@ -324,10 +323,11 @@ public class PhxyyClient {
|
|
|
|
|
item.setStandard(stockOrderDetailEntity.getSpec());
|
|
|
|
|
item.setRegisterNo(stockOrderDetailEntity.getZczbhhzbapzbh());
|
|
|
|
|
try {
|
|
|
|
|
DecimalFormat df44 = new DecimalFormat("#.00");
|
|
|
|
|
if (stockOrderDetailEntity.getPrice() != null) {
|
|
|
|
|
item.setPrice(df44.format(stockOrderDetailEntity.getPrice().doubleValue() * stockOrderDetailEntity.getCount().intValue()));
|
|
|
|
|
}
|
|
|
|
|
// DecimalFormat df44 = new DecimalFormat("#.00");
|
|
|
|
|
// if (stockOrderDetailEntity.getPrice() != null) {
|
|
|
|
|
// item.setPrice(df44.format(stockOrderDetailEntity.getPrice().doubleValue() * stockOrderDetailEntity.getCount().intValue()));
|
|
|
|
|
// }
|
|
|
|
|
item.setPrice(stockOrderDetailEntity.getPrice() + "");
|
|
|
|
|
item.setFirstSalesInvNo(stockOrderDetailEntity.getFirstSalesInvNo());
|
|
|
|
|
item.setSecSalesInvNo(stockOrderDetailEntity.getSecSalesInvNo());
|
|
|
|
|
item.setInvoiceDate(stockOrderDetailEntity.getInvoiceDate());
|
|
|
|
|