fix:修复

yxfydrug
chenhc 3 months ago
parent a81850662f
commit 159239f201

@ -317,10 +317,12 @@ public class CtqyyClient extends CommonHttpClient {
.collect(Collectors.toList());
}
for (ThrProductsEntity entity : listNew) {
entity.setId(null);
entity.setRemark(entity.getCode());
entity.setCode(entity.getYbbm());
if (CollUtil.isNotEmpty(listNew)){
for (ThrProductsEntity entity : listNew) {
entity.setId(null);
entity.setRemark(entity.getCode());
entity.setCode(entity.getYbbm());
}
}
PageSimpleResponse<ThrProductsEntity> pageSimpleResponse = new PageSimpleResponse<>();
pageSimpleResponse.setTotal(page.getTotal());

Loading…
Cancel
Save