|
|
@@ -191,11 +191,8 @@ public class PubInquiryTask extends AbstractTask {
|
|
|
public void uploadInquiryDecide() {
|
|
|
Enterprise enterprise = getEnterprise();
|
|
|
if (null != enterprise) {
|
|
|
- List<InquiryDecide> replies = jdbcTemplate.queryForBeanList("select id_id,id_incode in_code,id_detno,abs(id_isagreed) id_agreed,id_ptid b2b_id " +
|
|
|
- "from InquiryAutoDetail left join vendor on id_vendcode=ve_code " +
|
|
|
- "where nvl(ID_SENDSTATUS, ' ')<>'已上传' and nvl(id_isagreed,9999) <> 1 " +
|
|
|
- "and(nvl(id_status, ' ') = '已转价格库' or nvl(id_status, ' ') = '不采纳') " +
|
|
|
- "and ve_uu is not null and nvl(ve_b2benable,0)=1 and rownum < 100 order by in_code,id_detno",
|
|
|
+ List<InquiryDecide> replies = jdbcTemplate.queryForBeanList("select id_id,id_incode in_code,id_detno,id_isagreed id_agreed,id_ptid b2b_id from InquiryAutoDetail where nvl(ID_SENDSTATUS, ' ')<>'已上传'" +
|
|
|
+ " and nvl(id_isagreed,9999) <> 1 and(nvl(id_status, ' ') = '已转价格库' or nvl(id_status, ' ') = '不采纳') and rownum < 100 order by in_code,id_detno",
|
|
|
InquiryDecide.class);
|
|
|
if (!CollectionUtils.isEmpty(replies)) {
|
|
|
ContextHolder.setDataSize(replies.size());
|