|
|
@@ -146,9 +146,15 @@ public class PurchaseNotifyTask extends AbstractTask {
|
|
|
return accepts;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 收料通知单确认数查询条件增加状态'PART2VA'
|
|
|
+ *
|
|
|
+ * @author hejq
|
|
|
+ * @date 2018-01-11 13:39
|
|
|
+ */
|
|
|
@TaskMapping(title = "上传收料通知修改的确认数", fixedDelay = 60000)
|
|
|
public void uploadAcceptNotifyConfirm() {
|
|
|
- List<AcceptNotifyConfirm> confirms = jdbcTemplate.queryForBeanList("select b2b_ss_id,and_id,and_detno,and_inqty from AcceptNotify left join vendor on an_vendcode=ve_code left join AcceptNotifyDetail on and_anid=an_id where b2b_ss_id is not null and an_statuscode in ('AUDITED','TURNVA') and and_sendstatus='待上传' and and_inqty<nvl(and_b2bqty,and_inqty) and ve_uu is not null and nvl(ve_b2benable,0)=1 order by b2b_ss_id,and_detno",
|
|
|
+ List<AcceptNotifyConfirm> confirms = jdbcTemplate.queryForBeanList("select b2b_ss_id,and_id,and_detno,and_inqty from AcceptNotify left join vendor on an_vendcode=ve_code left join AcceptNotifyDetail on and_anid=an_id where b2b_ss_id is not null and an_statuscode in ('AUDITED','TURNVA', 'PART2VA') and and_sendstatus='待上传' and and_inqty<nvl(and_b2bqty,and_inqty) and ve_uu is not null and nvl(ve_b2benable,0)=1 order by b2b_ss_id,and_detno",
|
|
|
AcceptNotifyConfirm.class);
|
|
|
if (!CollectionUtils.isEmpty(confirms)) {
|
|
|
ContextHolder.setDataSize(confirms.size());
|