|
|
@@ -413,7 +413,7 @@ public class ERPServiceImpl implements ERPService {
|
|
|
SpObserver.putSp(master);
|
|
|
StringBuffer errmsg = new StringBuffer();
|
|
|
StringBuffer remindmsg = new StringBuffer();
|
|
|
- SqlRowList rs_main = baseDao.queryForRowSet("select * from invoiceOrder left join customer on io_cucode=cu_code left join elecinvoice on io_id=ei_ioid where io_id="+id);
|
|
|
+ SqlRowList rs_main = baseDao.queryForRowSet("select * from invoiceOrder left join customer on io_cucode=cu_code left join elecinvoice on io_id=ei_ioid where io_id="+id+" and nvl(ei_redapplyid,' ')=' ' and nvl(EI_INVOICESTATE,0)=1 and nvl(EI_INVOICETYPE,0)=1 ");
|
|
|
if (rs_main.hasNext()){
|
|
|
int scount = 0;
|
|
|
while(rs_main.next()){
|