|
|
@@ -140,6 +140,7 @@ public class PurcInquiryServiceImpl implements PurcInquiryService {
|
|
|
item.setVendUU(contact.getEnuu());
|
|
|
item.setStatus((short) Status.NOT_REPLY.value());
|
|
|
item.setVendUserUU(vendorEn.getEnAdminuu());
|
|
|
+ item.setIsOpen(inquiryInfo.getIsOpen());
|
|
|
items.add(item);
|
|
|
i++;
|
|
|
}
|
|
|
@@ -531,6 +532,10 @@ public class PurcInquiryServiceImpl implements PurcInquiryService {
|
|
|
saleInquiry.setPriceType(purcInquiry.getPriceType());
|
|
|
saleInquiry.setInvoice(purcInquiry.getInvoice());
|
|
|
saleInquiry.setShip(purcInquiry.getShip());
|
|
|
+ saleInquiry.setEndDate(purcInquiry.getEndDate());
|
|
|
+ saleInquiry.setAttachs(purcInquiry.getAttachs());
|
|
|
+ saleInquiry.setEnvironment(purcInquiry.getEnvironment());
|
|
|
+ saleInquiry.setRemark(purcInquiry.getRemark());
|
|
|
Set<PurchaseInquiryItem> items = new HashSet<PurchaseInquiryItem>();
|
|
|
Short i = 0;
|
|
|
if (null != purcInquiryItem) {
|
|
|
@@ -609,7 +614,7 @@ public class PurcInquiryServiceImpl implements PurcInquiryService {
|
|
|
idid, item.getNumber(), item.getCurrency(), item.getFromDate(), item.getToDate(),
|
|
|
item.getTaxrate(), item.getProductId(), item.getVendUU(), item.getVendUserUU(),
|
|
|
item.getSourceApp(), item.getStatus(), item.getCustLap(), item.getSendStatus(),
|
|
|
- item.getSourceId(), purcInquiry.getId());
|
|
|
+ item.getSourceId(), inquiry.getId());
|
|
|
} catch (DataAccessException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|