首营资质同步问题

version1
anthonywj 2 years ago
parent fd36b2050c
commit 95415b77d3

@ -0,0 +1,25 @@
package com.glxp.sale.admin.entity.sync;
import cn.hutool.core.util.StrUtil;
import lombok.Data;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
@Data
public class SupCertSetEntity {
private Integer id;
private String name;
private boolean need;
private Integer foreign;
private String cplx;
private String hchzsb;
private String flbm;
private Integer imports;
private String remark;
private Date updateTime;
private Integer type;
private boolean isPass;
}

@ -50,6 +50,7 @@ public class SpsSyncDataResponse {
List<SupManufacturerEntity> supManufacturerEntities; List<SupManufacturerEntity> supManufacturerEntities;
List<SupProductEntity> supProductEntities; List<SupProductEntity> supProductEntities;
List<SupCertEntity> supCertEntities; List<SupCertEntity> supCertEntities;
List<SupCertSetEntity> supCertSetEntities;
@Override @Override
public String toString() { public String toString() {
@ -125,6 +126,11 @@ public class SpsSyncDataResponse {
if (CollUtil.isNotEmpty(supCertEntities)) { if (CollUtil.isNotEmpty(supCertEntities)) {
remark.append("相关证书总数:").append(supCertEntities.size()).append(" 条\n"); remark.append("相关证书总数:").append(supCertEntities.size()).append(" 条\n");
} }
if (CollUtil.isNotEmpty(supCertSetEntities)) {
remark.append("证书设置:").append(supCertSetEntities.size()).append(" 条\n");
}
return remark.toString(); return remark.toString();
} }
} }

@ -81,7 +81,13 @@ public class DlAllDataService {
|| CollUtil.isNotEmpty(syncOrderResponse.getUdiInfoEntities()) || CollUtil.isNotEmpty(syncOrderResponse.getUdiInfoEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getUdiRelevanceEntities()) || CollUtil.isNotEmpty(syncOrderResponse.getUdiRelevanceEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getAuthAdminList()) || CollUtil.isNotEmpty(syncOrderResponse.getAuthAdminList())
|| CollUtil.isNotEmpty(syncOrderResponse.getDeptEntityList())) || CollUtil.isNotEmpty(syncOrderResponse.getDeptEntityList())
|| CollUtil.isNotEmpty(syncOrderResponse.getSupCompanyEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getSupManufacturerEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getSupProductEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getSupCertEntities())
|| CollUtil.isNotEmpty(syncOrderResponse.getSupCertSetEntities()))
) { ) {
String key = gennerOrderUtils.getAllProducts(); String key = gennerOrderUtils.getAllProducts();

Loading…
Cancel
Save