feat: 代码提交

zhairh
chenhc 6 months ago
parent eac98ace7f
commit e97d05479b

@ -23,7 +23,7 @@ public class ChsYbDrugService extends ServiceImpl<YbDrugMapper, YbDrug> {
public void updateDrugList(){
Integer pageNum = 148;
Integer pageNum = 1;
Integer pageSize = 200;
//1、获取数据
@ -33,7 +33,7 @@ public class ChsYbDrugService extends ServiceImpl<YbDrugMapper, YbDrug> {
processUpdates(ybDrugResponse);
//处理后续数据
if (total>pageNum){
for (int i = 149; i <= total ; i++) {
for (int i = 2; i <= total ; i++) {
System.out.println("更新数据库的YbDrug列表数据"+ i);
processUpdates(ybChsHttpClient.getYbDrugList(i, pageSize,null));
}

Loading…
Cancel
Save