|
@@ -47,7 +47,7 @@ public class PurchaseAPBillTask extends AbstractTask {
|
|
List<PurchaseAPBill> purchaseAPBills = jdbcTemplate.queryForBeanList(
|
|
List<PurchaseAPBill> purchaseAPBills = jdbcTemplate.queryForBeanList(
|
|
"select * from (select apbill.*, ve_uu ab_vendoruu from apbill"
|
|
"select * from (select apbill.*, ve_uu ab_vendoruu from apbill"
|
|
+ " left join vendor on apbill.ab_vendcode = vendor.ve_code where ab_class = '应付发票' and ab_status = '已过账'"
|
|
+ " left join vendor on apbill.ab_vendcode = vendor.ve_code where ab_class = '应付发票' and ab_status = '已过账'"
|
|
- + " and ab_sendstatus = '待上传' and ve_uu is not null and nvl(ab_kind,' ')<>'货款调账' and nvl(ve_b2benable,0)=1 ) where rownum <= 50",
|
|
|
|
|
|
+ + " and ab_sendstatus = '待上传' and ve_uu is not null and nvl(ab_kind,' ')<>'货款调账' and nvl(ve_b2benable,0)=1 ) where rownum <= 10",
|
|
PurchaseAPBill.class);
|
|
PurchaseAPBill.class);
|
|
for (PurchaseAPBill purchaseAPBill : purchaseAPBills) {
|
|
for (PurchaseAPBill purchaseAPBill : purchaseAPBills) {
|
|
List<PurchaseAPBillDetail> apBillDetails = jdbcTemplate.queryForBeanList(
|
|
List<PurchaseAPBillDetail> apBillDetails = jdbcTemplate.queryForBeanList(
|