|
|
|
@ -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);
|
|
|
|
|