@@ -1,12 +1,14 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQryCardBatchRequest extends AbstractSignTypeRequest<VfjQryCardBatchResponse> { | |||
public VfjQryCardBatchRequest() { | |||
super(InssServiceCmd.QRYCARDBATCH); | |||
@@ -39,4 +41,5 @@ public class VfjQryCardBatchRequest extends AbstractSignTypeRequest<VfjQryCardBa | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
} |
@@ -1,58 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQryCardBatchModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQryCardBatchResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 批次申请日期 */ | |||
@JsonProperty(value = "BatchDate") | |||
private String batchDate; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 卡片起始号 */ | |||
@JsonProperty(value = "StartNum") | |||
private String startNum; | |||
/** 卡片结束号 */ | |||
@JsonProperty(value = "EndNum") | |||
private String endNum; | |||
/** 批次总张数 */ | |||
@JsonProperty(value = "TotalCount") | |||
private String totalCount; | |||
/** 申请状态 */ | |||
@JsonProperty(value = "Status") | |||
private String status; | |||
/** 卡片版本号 */ | |||
@JsonProperty(value = "CardVersion") | |||
private Integer cardVersion; | |||
/** 设备类型 */ | |||
@JsonProperty(value = "SeType") | |||
private String seType; | |||
/** 发行方代码 */ | |||
@JsonProperty(value = "OrgId") | |||
private String orgId; | |||
private List<VfjQryCardBatchModel> datas; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
} |
@@ -1,16 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQryCardsRequest extends AbstractSignTypeRequest<VfjQryCardsResponse> { | |||
public VfjQryCardsRequest() { | |||
super(InssServiceCmd.QRYCARDS); | |||
} | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
@@ -54,4 +57,5 @@ public class VfjQryCardsRequest extends AbstractSignTypeRequest<VfjQryCardsRespo | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
} |
@@ -1,62 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQryCardsModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQryCardsResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 卡号 */ | |||
@JsonProperty(value = "CardNo") | |||
private String cardNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** 卡片SNR */ | |||
@JsonProperty(value = "CardSnr") | |||
private String cardSnr; | |||
/** 发行次数 */ | |||
@JsonProperty(value = "IssueCount") | |||
private Integer issueCount; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
private List<VfjQryCardsModel> datas; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
} |
@@ -1,16 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQrySmObuBatchRequest extends AbstractSignTypeRequest<VfjQrySmObuBatchResponse> { | |||
public VfjQrySmObuBatchRequest() { | |||
super(InssServiceCmd.QRYSMOBUBATCH); | |||
} | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
@@ -42,4 +45,5 @@ public class VfjQrySmObuBatchRequest extends AbstractSignTypeRequest<VfjQrySmObu | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
} |
@@ -1,50 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQrySmObuBatchModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQrySmObuBatchResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 批次申请日期 */ | |||
@JsonProperty(value = "ApplyDate") | |||
private String applyDate; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "ObuType") | |||
private String obuType; | |||
/** OBU起始号 */ | |||
@JsonProperty(value = "StartNum") | |||
private String startNum; | |||
/** OBU结束号 */ | |||
@JsonProperty(value = "EndNum") | |||
private String endNum; | |||
/** 卡片起始号 */ | |||
@JsonProperty(value = "StartCardNum") | |||
private String startCardNum; | |||
/** 卡片结束号 */ | |||
@JsonProperty(value = "EndCardNum") | |||
private String endCardNum; | |||
/** 批次总张数 */ | |||
@JsonProperty(value = "TotalCount") | |||
private String totalCount; | |||
private List<VfjQrySmObuBatchModel> datas; | |||
/** 渠道名称 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
} |
@@ -1,16 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQueryGmobusRequest extends AbstractSignTypeRequest<VfjQueryGmobusResponse> { | |||
public VfjQueryGmobusRequest() { | |||
super(InssServiceCmd.QUERYGMOBUS); | |||
} | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
@@ -46,4 +49,5 @@ public class VfjQueryGmobusRequest extends AbstractSignTypeRequest<VfjQueryGmobu | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
} |
@@ -1,58 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryGmobusModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQueryGmobusResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
private List<VfjQueryGmobusModel> datas; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -1,16 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQueryScobusRequest extends AbstractSignTypeRequest<VfjQueryScobusResponse> { | |||
public VfjQueryScobusRequest() { | |||
super(InssServiceCmd.QUERYSCOBUS); | |||
} | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
@@ -46,4 +49,5 @@ public class VfjQueryScobusRequest extends AbstractSignTypeRequest<VfjQueryScobu | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
} |
@@ -1,70 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryScobusModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQueryScobusResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡号 */ | |||
@JsonProperty(value = "CardNo") | |||
private String cardNo; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 卡片SNR */ | |||
@JsonProperty(value = "CardSnr") | |||
private String cardSnr; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
private List<VfjQueryScobusModel> datas; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -1,16 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import com.fasterxml.jackson.annotation.JsonInclude; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
@JsonInclude(JsonInclude.Include.NON_NULL) | |||
public class VfjQueryTriDesObusRequest extends AbstractSignTypeRequest<VfjQueryTriDesObusResponse> { | |||
public VfjQueryTriDesObusRequest() { | |||
super(InssServiceCmd.QUERYTRIDESOBUS); | |||
} | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
@@ -46,4 +49,5 @@ public class VfjQueryTriDesObusRequest extends AbstractSignTypeRequest<VfjQueryT | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
} |
@@ -1,58 +1,19 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryTriDesObusModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import java.util.List; | |||
@Getter | |||
@Setter | |||
public class VfjQueryTriDesObusResponse extends AbstractSignTypeResponse { | |||
/** 单号数据的结果集 */ | |||
@JsonProperty(value = "Datas") | |||
private String datas; | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
private List<VfjQueryTriDesObusModel> datas; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -0,0 +1,55 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQryCardBatchModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 批次申请日期 */ | |||
@JsonProperty(value = "BatchDate") | |||
private String batchDate; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 卡片起始号 */ | |||
@JsonProperty(value = "StartNum") | |||
private String startNum; | |||
/** 卡片结束号 */ | |||
@JsonProperty(value = "EndNum") | |||
private String endNum; | |||
/** 批次总张数 */ | |||
@JsonProperty(value = "TotalCount") | |||
private Integer totalCount; | |||
/** 申请状态 */ | |||
@JsonProperty(value = "Status") | |||
private String status; | |||
/** 卡片版本号 */ | |||
@JsonProperty(value = "CardVersion") | |||
private Integer cardVersion; | |||
/** 设备类型 */ | |||
@JsonProperty(value = "SeType") | |||
private String seType; | |||
/** 发行方代码 */ | |||
@JsonProperty(value = "OrgId") | |||
private String orgId; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
} |
@@ -0,0 +1,59 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQryCardsModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 卡号 */ | |||
@JsonProperty(value = "CardNo") | |||
private String cardNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** 卡片SNR */ | |||
@JsonProperty(value = "CardSnr") | |||
private String cardSnr; | |||
/** 发行次数 */ | |||
@JsonProperty(value = "IssueCount") | |||
private Integer issueCount; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
} |
@@ -0,0 +1,47 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQrySmObuBatchModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 批次申请日期 */ | |||
@JsonProperty(value = "ApplyDate") | |||
private String applyDate; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "ObuType") | |||
private String obuType; | |||
/** OBU起始号 */ | |||
@JsonProperty(value = "StartNum") | |||
private String startNum; | |||
/** OBU结束号 */ | |||
@JsonProperty(value = "EndNum") | |||
private String endNum; | |||
/** 卡片起始号 */ | |||
@JsonProperty(value = "StartCardNum") | |||
private String startCardNum; | |||
/** 卡片结束号 */ | |||
@JsonProperty(value = "EndCardNum") | |||
private String endCardNum; | |||
/** 批次总张数 */ | |||
@JsonProperty(value = "TotalCount") | |||
private String totalCount; | |||
/** 渠道名称 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
} |
@@ -0,0 +1,55 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQueryGmobusModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -0,0 +1,67 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQueryScobusModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡号 */ | |||
@JsonProperty(value = "CardNo") | |||
private String cardNo; | |||
/** 卡片类型 */ | |||
@JsonProperty(value = "CardType") | |||
private String cardType; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 卡片SNR */ | |||
@JsonProperty(value = "CardSnr") | |||
private String cardSnr; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -0,0 +1,55 @@ | |||
package cn.com.taiji.core.model.comm.protocol.inss.model; | |||
import cn.com.taiji.common.model.BaseModel; | |||
import com.fasterxml.jackson.annotation.JsonProperty; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
@Getter | |||
@Setter | |||
public class VfjQueryTriDesObusModel extends BaseModel { | |||
/** 批次号 */ | |||
@JsonProperty(value = "BatchNo") | |||
private String batchNo; | |||
/** 合同序列号号 */ | |||
@JsonProperty(value = "SerialNo") | |||
private String serialNo; | |||
/** 卡片厂商 */ | |||
@JsonProperty(value = "Provider") | |||
private String provider; | |||
/** 卡片厂商代码 */ | |||
@JsonProperty(value = "ProviderID") | |||
private String providerID; | |||
/** 激活日期 */ | |||
@JsonProperty(value = "ActiveDate") | |||
private String activeDate; | |||
/** 发行状态 */ | |||
@JsonProperty(value = "Status") | |||
private Integer status; | |||
/** 格式化日期 */ | |||
@JsonProperty(value = "FormatTime") | |||
private String formatTime; | |||
/** 最后修改日期 */ | |||
@JsonProperty(value = "LastUpdateTime") | |||
private String lastUpdateTime; | |||
/** OBU 物理号 */ | |||
@JsonProperty(value = "ObuMac") | |||
private String obuMac; | |||
/** 渠道 */ | |||
@JsonProperty(value = "Chanel") | |||
private String chanel; | |||
/** 渠道ID */ | |||
@JsonProperty(value = "ChanelId") | |||
private String chanelId; | |||
} |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryCardBatch; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQryCardBatchRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQryCardBatchResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQryCardBatchModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryCardBatchRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQryCardBatchManagerImpl extends AbstractCommManager implements VfjQryCardBatchManager { | |||
@@ -27,9 +31,29 @@ public class VfjQryCardBatchManagerImpl extends AbstractCommManager implements V | |||
logger.info("--卡片发行批次列表查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryCardBatch entity = new InvwQryCardBatch(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryCardBatch> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQryCardBatchModel model = response.getDatas().get(i); | |||
InvwQryCardBatch entity = new InvwQryCardBatch(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--卡片发行批次列表查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--卡片发行批次列表查询失败:", e); |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryCards; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQryCardsRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQryCardsResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQryCardsModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryCardsRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQryCardsManagerImpl extends AbstractCommManager implements VfjQryCardsManager { | |||
@@ -27,9 +31,29 @@ public class VfjQryCardsManagerImpl extends AbstractCommManager implements VfjQr | |||
logger.info("--卡片发行批次列查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryCards entity = new InvwQryCards(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryCards> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQryCardsModel model = response.getDatas().get(i); | |||
InvwQryCards entity = new InvwQryCards(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--卡片发行批次列查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--卡片发行批次列查询失败:", e); |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryObuBatch; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQrySmObuBatchRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQrySmObuBatchResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQrySmObuBatchModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryObuBatchRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQrySmObuBatchManagerImpl extends AbstractCommManager implements VfjQrySmObuBatchManager { | |||
@@ -27,9 +31,29 @@ public class VfjQrySmObuBatchManagerImpl extends AbstractCommManager implements | |||
logger.info("--OBU发行批次列表查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryObuBatch entity = new InvwQryObuBatch(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryObuBatch> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQrySmObuBatchModel model = response.getDatas().get(i); | |||
InvwQryObuBatch entity = new InvwQryObuBatch(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--OBU发行批次列表查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--OBU发行批次列表查询失败:", e); |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryObus; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryGmobusRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryGmobusResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryGmobusModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryObusRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQueryGmobusManagerImpl extends AbstractCommManager implements VfjQueryGmobusManager { | |||
@@ -27,9 +31,29 @@ public class VfjQueryGmobusManagerImpl extends AbstractCommManager implements Vf | |||
logger.info("--双片国密OBU发行批次列表查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryObus> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQueryGmobusModel model = response.getDatas().get(i); | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--双片国密OBU发行批次列表查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--双片国密OBU发行批次列表查询失败:", e); |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryObus; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryScobusRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryScobusResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryScobusModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryObusRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQueryScobusManagerImpl extends AbstractCommManager implements VfjQueryScobusManager { | |||
@@ -27,9 +31,29 @@ public class VfjQueryScobusManagerImpl extends AbstractCommManager implements Vf | |||
logger.info("--双片国密OBU发行批次列表查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryObus> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQueryScobusModel model = response.getDatas().get(i); | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--双片国密OBU发行批次列表查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--双片国密OBU发行批次列表查询失败:", e); |
@@ -4,12 +4,16 @@ import cn.com.taiji.common.manager.ManagerException; | |||
import cn.com.taiji.core.entity.invw.InvwQryObus; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryTriDesObusRequest; | |||
import cn.com.taiji.core.model.comm.protocol.inss.VfjQueryTriDesObusResponse; | |||
import cn.com.taiji.core.model.comm.protocol.inss.model.VfjQueryTriDesObusModel; | |||
import cn.com.taiji.core.repo.jpa.invw.InvwQryObusRepo; | |||
import cn.com.taiji.iasq.manager.AbstractCommManager; | |||
import org.springframework.beans.BeanUtils; | |||
import org.springframework.beans.factory.annotation.Autowired; | |||
import org.springframework.stereotype.Service; | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
@Service | |||
public class VfjQueryTriDesObusManagerImpl extends AbstractCommManager implements VfjQueryTriDesObusManager { | |||
@@ -27,9 +31,29 @@ public class VfjQueryTriDesObusManagerImpl extends AbstractCommManager implement | |||
logger.info("--DESOBU发行批次列表查询返回空响应--"); | |||
return; | |||
} | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(response, entity); | |||
repo.save(entity); | |||
// 1000条存一次 | |||
int batchSize = 1000; | |||
List<InvwQryObus> batchList = new ArrayList<>(batchSize); | |||
for (int i = 0; i < response.getDatas().size(); i++) { | |||
VfjQueryTriDesObusModel model = response.getDatas().get(i); | |||
InvwQryObus entity = new InvwQryObus(); | |||
BeanUtils.copyProperties(model, entity); | |||
batchList.add(entity); | |||
// 当批次达到指定大小时,保存并清空批次列表 | |||
if (batchList.size() >= batchSize) { | |||
repo.saveAll(batchList); | |||
batchList.clear(); | |||
} | |||
} | |||
// 保存剩余的 | |||
if (!batchList.isEmpty()) { | |||
repo.saveAll(batchList); | |||
} | |||
logger.info("--DESOBU发行批次列表查询结束--"); | |||
} catch (ManagerException e) { | |||
logger.error("--DESOBU发行批次列表查询失败:", e); |