Commit 66f294fd authored by Quxl's avatar Quxl

x

parent c316bf7c
......@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RestController;
import com.egolm.common.FileUtil;
import com.egolm.common.bean.Rjx;
import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.common.jdbc.Page;
import com.egolm.shop.schedules.AbstractSolrApi;
import io.swagger.annotations.Api;
......@@ -102,7 +103,7 @@ public class GoodsCollectTask extends AbstractSolrApi{
for(Map<String, Object> orgMap : orgList) {
String sOrgNO = (String)orgMap.get("sOrgNO");
this.deleteByQuery("sOrgNO:" + sOrgNO);
this.update(jdbcTemplate.queryForList(createIndexQuerySql, sOrgNO));
this.update(jdbcTemplate.limitAll(createIndexQuerySql, new Page(1L, 1000L, "sOrgNO", "sAgentContractNO", "sGoodsNO"), sOrgNO));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment