|
|
@@ -147,7 +147,7 @@ public class PurchaseNotifyTask extends AbstractTask {
|
|
|
* @return
|
|
|
*/
|
|
|
private List<AcceptNotify> getAcceptNotify() {
|
|
|
- List<AcceptNotify> accepts = jdbcTemplate.queryForBeanList("select AcceptNotify.* from AcceptNotify left join vendor on an_vendcode=ve_code where AN_SENDSTATUS='待上传' and an_statuscode='AUDITED' and ve_uu is not null and nvl(ve_b2benable,0)=1 order by an_date",
|
|
|
+ List<AcceptNotify> accepts = jdbcTemplate.queryForBeanList("select AcceptNotify.* from AcceptNotify left join vendor on an_vendcode=ve_code where AN_SENDSTATUS='待上传' and an_statuscode='AUDITED' and ve_uu is not null and nvl(ve_b2benable,0)=1 and B2B_SS_ID is not null order by an_date",
|
|
|
AcceptNotify.class);
|
|
|
for (AcceptNotify accept : accepts) {
|
|
|
List<AcceptNotifyDetail> details = jdbcTemplate.queryForBeanList("select * from AcceptNotifyDetail where and_anid=?",
|