药品问题

Lhxyy
qiuyt 4 months ago
parent b612cc5526
commit 03d520c497

@ -373,6 +373,12 @@ public class HlfyyyClient extends CommonHttpClient {
return products;
}).collect(Collectors.toList());
}
thrProductsDao.batchInsert(thrProductsEntityList);
for (ThrProductsEntity entity : thrProductsEntityList) {
entity.setId(null);
entity.setRemark(entity.getCode());
entity.setCode(entity.getYbbm());
}
PageSimpleResponse<ThrProductsEntity> pageSimpleResponse = new PageSimpleResponse<>();
pageSimpleResponse.setTotal(page.getTotal());
pageSimpleResponse.setList(thrProductsEntityList);

Loading…
Cancel
Save