|
@@ -233,7 +233,7 @@ public class PubInquiryTask extends AbstractTask {
|
|
|
BatchInquiry.class);
|
|
BatchInquiry.class);
|
|
|
for (BatchInquiry inquiry : inquiries) {
|
|
for (BatchInquiry inquiry : inquiries) {
|
|
|
// 获取询价单明细
|
|
// 获取询价单明细
|
|
|
- List<BatchInProduct> details = jdbcTemplate.queryForBeanList("select batchinprod.*,em_name from batchinprod left join employee on batchinprod.bip_buyercode = employee.em_code where bip_biid = ?",
|
|
|
|
|
|
|
+ List<BatchInProduct> details = jdbcTemplate.queryForBeanList("select batchinprod.*,employee.em_name,auto_inquiryprod.ycgqty from batchinprod left join employee on batchinprod.bip_buyercode = employee.em_code left join auto_inquiryprod on batchinprod.bip_prodcode = auto_inquiryprod.pr_code where batchinprod.bip_biid = ?",
|
|
|
BatchInProduct.class, inquiry.getBi_id());
|
|
BatchInProduct.class, inquiry.getBi_id());
|
|
|
inquiry.setInProducts(details);
|
|
inquiry.setInProducts(details);
|
|
|
// 附件
|
|
// 附件
|