|
@@ -40,6 +40,7 @@ import javax.persistence.criteria.Root;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.jpa.domain.Specification;
|
|
import org.springframework.data.jpa.domain.Specification;
|
|
|
|
|
+import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.StringUtils;
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
|
@@ -75,6 +76,9 @@ public class InquiryServiceImpl implements InquiryService {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private InquiryRemindDao inquiryRemindDao;
|
|
private InquiryRemindDao inquiryRemindDao;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private JdbcTemplate jdbcTemplate;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 查询公共询价列表信息
|
|
* 查询公共询价列表信息
|
|
|
*
|
|
*
|
|
@@ -204,6 +208,9 @@ public class InquiryServiceImpl implements InquiryService {
|
|
|
} else if (status.equals(Constant.NO)) {
|
|
} else if (status.equals(Constant.NO)) {
|
|
|
inquiryRemindDao.updateStatus(item.getSourceId(), Status.NOTALLOW.value(), item.getVendUU());
|
|
inquiryRemindDao.updateStatus(item.getSourceId(), Status.NOTALLOW.value(), item.getVendUU());
|
|
|
}
|
|
}
|
|
|
|
|
+ // 更新原公共询价单该条明细,设置为不可报价
|
|
|
|
|
+ String sql = "update purc$puinquiryitems set id_overdue = 1 where id_id = " + item.getSourceId();
|
|
|
|
|
+ jdbcTemplate.update(sql);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|