|
|
@@ -58,7 +58,7 @@ public class ProductTask {
|
|
|
|
|
|
@Scheduled(cron = "0 0/10 * * * ?")
|
|
|
public void syncBannedProducts() {
|
|
|
- SqlRowList rs = baseDao.queryForRowSet("select * from (select * from product where nvl(pr_statuscode,' ')='DISABLE' and nvl(pr_sfjszy_user,' ')<>'是' and nvl(pr_sendstatus,' ')='待上传' and 1=2 order by pr_id) where rownum<=200");
|
|
|
+ SqlRowList rs = baseDao.queryForRowSet("select * from (select * from product where nvl(pr_statuscode,' ')='DISABLE' and nvl(pr_sfjszy_user,' ')<>'是' and nvl(pr_sendstatus,' ')='待上传' order by pr_id) where rownum<=200");
|
|
|
while (rs.next()){
|
|
|
Product product = setProduct(rs);
|
|
|
try {
|