|
|
@@ -53,7 +53,7 @@ public class SyncProductWIPTask {
|
|
|
" where ct_caller='XiaoMiProductWIP' and ct_id= " +
|
|
|
" (select ct_id from (select ct_id from CUSTOMTABLE where ct_caller='XiaoMiProductWIP' " +
|
|
|
//"and trunc(ct_recorddate)=trunc(sysdate) " +
|
|
|
- "and ct_statuscode='AUDITED' and nvl(CT_SENDSTATUS,' ')<>'已上传' order by ct_id desc) where rownum=1)" +
|
|
|
+ "and ct_statuscode='AUDITED' and nvl(CT_SENDSTATUS,' ')<>'已上传' order by ct_id ) where rownum=1)" +
|
|
|
" order by cd_detno) A) where rn<=1000";
|
|
|
SqlRowList rs = baseDao.queryForRowSet(Sql);
|
|
|
|