Browse Source

vfj卡签查询修改

master
yangpeilai 4 weeks ago
parent
commit
d68b945354
17 changed files with 69 additions and 45 deletions
  1. 5
    1
      gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryCardBatch.java
  2. 3
    7
      gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryCards.java
  3. 5
    1
      gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryObuBatch.java
  4. 4
    8
      gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryObus.java
  5. 5
    1
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQryCardBatchModel.java
  6. 3
    7
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQryCardsModel.java
  7. 5
    1
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQrySmObuBatchModel.java
  8. 5
    1
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryGmobusModel.java
  9. 5
    5
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryScobusModel.java
  10. 1
    1
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryTriDesObusModel.java
  11. 2
    0
      gly-base-core/src/main/java/cn/com/taiji/core/repo/request/invw/InvwQryObusPageRequest.java
  12. 2
    0
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/dto/obu/InvwQryObusPageRequestDTO.java
  13. 6
    0
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/card/InvwQryCardBatchManagerImpl.java
  14. 6
    0
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/obu/InvwQryObuBatchManagerImpl.java
  15. 5
    5
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/card/InvwQryCardBatchExcelModel.java
  16. 2
    6
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/card/InvwQryCardsExcelModel.java
  17. 5
    1
      zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/obu/InvwQryObuBatchExcelModel.java

+ 5
- 1
gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryCardBatch.java View File



/** 批次总张数 */ /** 批次总张数 */
@Column(name = "TOTAL_COUNT") @Column(name = "TOTAL_COUNT")
private Integer totalCount;
private String totalCount;


/** 申请状态 /** 申请状态
* APP-申请中 * APP-申请中
@Column(name = "CHANEL") @Column(name = "CHANEL")
private String chanel; private String chanel;


/** 厂商*/
@Column(name = "CARD_PROVIDER")
private String cardProvider;

/** 入库时间*/ /** 入库时间*/
@Column(name = "INSERT_TIME") @Column(name = "INSERT_TIME")
private LocalDateTime insertTime=LocalDateTime.now(); private LocalDateTime insertTime=LocalDateTime.now();

+ 3
- 7
gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryCards.java View File

private String cardNo; private String cardNo;


/** 卡片厂商 */ /** 卡片厂商 */
@Column(name = "PROVIDER")
private String provider;
@Column(name = "CARD_PROVIDER")
private String cardProvider;


/** 卡片类型 */ /** 卡片类型 */
@Column(name = "CARD_TYPE") @Column(name = "CARD_TYPE")
@Column(name = "CARD_SNR") @Column(name = "CARD_SNR")
private String cardSnr; private String cardSnr;


/** 发行次数 */
@Column(name = "ISSUE_COUNT")
private Integer issueCount;

/** 渠道 */ /** 渠道 */
@Column(name = "CHANEL") @Column(name = "CHANEL")
private String chanel; private String chanel;


/** 卡片厂商代码 */ /** 卡片厂商代码 */
@Column(name = "PROVIDER_ID") @Column(name = "PROVIDER_ID")
private String providerID;
private String providerId;


/** 入库时间*/ /** 入库时间*/
@Column(name = "INSERT_TIME") @Column(name = "INSERT_TIME")

+ 5
- 1
gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryObuBatch.java View File



/** 批次总张数 */ /** 批次总张数 */
@Column(name = "TOTAL_COUNT") @Column(name = "TOTAL_COUNT")
private Integer totalCount;
private String totalCount;


/** 渠道名称 */ /** 渠道名称 */
@Column(name = "CHANEL") @Column(name = "CHANEL")
private String chanel; private String chanel;


/** 厂商 */
@Column(name = "CARD_PROVIDER")
private String cardProvider;

/** 入库时间*/ /** 入库时间*/
@Column(name = "INSERT_TIME") @Column(name = "INSERT_TIME")
private LocalDateTime insertTime=LocalDateTime.now(); private LocalDateTime insertTime=LocalDateTime.now();

+ 4
- 8
gly-base-core/src/main/java/cn/com/taiji/core/entity/invw/InvwQryObus.java View File

@Column(name = "CARD_NO") @Column(name = "CARD_NO")
private String cardNo; private String cardNo;


/** 卡片类型
* 03-应急卡
* 22-储值卡
* 23-记账卡
*/
@Column(name = "CARD_TYPE")
private String cardType;

/** 卡片厂商 */ /** 卡片厂商 */
@Column(name = "PROVIDER") @Column(name = "PROVIDER")
private String provider; private String provider;
@Column(name = "CHANEL_ID") @Column(name = "CHANEL_ID")
private String chanelId; private String chanelId;


/** 版本号 */
@Column(name = "VERSION")
private String version;

/** 加密类型 /** 加密类型
* 0-双片国密OBU * 0-双片国密OBU
* 1-单片OBU * 1-单片OBU

+ 5
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQryCardBatchModel.java View File



/** 批次总张数 */ /** 批次总张数 */
@JsonProperty(value = "TotalCount") @JsonProperty(value = "TotalCount")
private Integer totalCount;
private String totalCount;


/** 申请状态 */ /** 申请状态 */
@JsonProperty(value = "Status") @JsonProperty(value = "Status")
/** 渠道 */ /** 渠道 */
@JsonProperty(value = "Chanel") @JsonProperty(value = "Chanel")
private String chanel; private String chanel;

/** 厂商 */
@JsonProperty(value = "CardProvider")
private String cardProvider;
} }

+ 3
- 7
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQryCardsModel.java View File

private String cardNo; private String cardNo;


/** 卡片厂商 */ /** 卡片厂商 */
@JsonProperty(value = "Provider")
private String provider;
@JsonProperty(value = "CardProvider")
private String cardProvider;


/** 卡片类型 */ /** 卡片类型 */
@JsonProperty(value = "CardType") @JsonProperty(value = "CardType")
@JsonProperty(value = "CardSnr") @JsonProperty(value = "CardSnr")
private String cardSnr; private String cardSnr;


/** 发行次数 */
@JsonProperty(value = "IssueCount")
private Integer issueCount;

/** 渠道 */ /** 渠道 */
@JsonProperty(value = "Chanel") @JsonProperty(value = "Chanel")
private String chanel; private String chanel;


/** 卡片厂商代码 */ /** 卡片厂商代码 */
@JsonProperty(value = "ProviderID") @JsonProperty(value = "ProviderID")
private String providerID;
private String providerId;
} }

+ 5
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQrySmObuBatchModel.java View File



/** 批次总张数 */ /** 批次总张数 */
@JsonProperty(value = "TotalCount") @JsonProperty(value = "TotalCount")
private Integer totalCount;
private String totalCount;


/** 渠道名称 */ /** 渠道名称 */
@JsonProperty(value = "Chanel") @JsonProperty(value = "Chanel")
private String chanel; private String chanel;

/** 厂商 */
@JsonProperty(value = "CardProvider")
private String cardProvider;
} }

+ 5
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryGmobusModel.java View File



/** 卡片厂商代码 */ /** 卡片厂商代码 */
@JsonProperty(value = "ProviderID") @JsonProperty(value = "ProviderID")
private String providerID;
private String providerId;


/** 激活日期 */ /** 激活日期 */
@JsonProperty(value = "ActiveDate") @JsonProperty(value = "ActiveDate")
/** 渠道ID */ /** 渠道ID */
@JsonProperty(value = "ChanelId") @JsonProperty(value = "ChanelId")
private String chanelId; private String chanelId;

/** 版本号 */
@JsonProperty(value = "Version")
private String version;
} }

+ 5
- 5
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryScobusModel.java View File

@JsonProperty(value = "CardNo") @JsonProperty(value = "CardNo")
private String cardNo; private String cardNo;


/** 卡片类型 */
@JsonProperty(value = "CardType")
private String cardType;

/** 卡片厂商 */ /** 卡片厂商 */
@JsonProperty(value = "Provider") @JsonProperty(value = "Provider")
private String provider; private String provider;


/** 卡片厂商代码 */ /** 卡片厂商代码 */
@JsonProperty(value = "ProviderID") @JsonProperty(value = "ProviderID")
private String providerID;
private String providerId;


/** 激活日期 */ /** 激活日期 */
@JsonProperty(value = "ActiveDate") @JsonProperty(value = "ActiveDate")
/** 渠道ID */ /** 渠道ID */
@JsonProperty(value = "ChanelId") @JsonProperty(value = "ChanelId")
private String chanelId; private String chanelId;

/** 版本号 */
@JsonProperty(value = "Version")
private String version;
} }

+ 1
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/inss/vfj/model/VfjQueryTriDesObusModel.java View File



/** 卡片厂商代码 */ /** 卡片厂商代码 */
@JsonProperty(value = "ProviderID") @JsonProperty(value = "ProviderID")
private String providerID;
private String providerId;


/** 激活日期 */ /** 激活日期 */
@JsonProperty(value = "ActiveDate") @JsonProperty(value = "ActiveDate")

+ 2
- 0
gly-base-core/src/main/java/cn/com/taiji/core/repo/request/invw/InvwQryObusPageRequest.java View File

private String startSerialNo; // 起始OBU合同序列号 private String startSerialNo; // 起始OBU合同序列号
private String endSerialNo; // 结束OBU合同序列号 private String endSerialNo; // 结束OBU合同序列号
private Integer status; // 发行状态 private Integer status; // 发行状态
private String encryptType; // obu类型
// private String formatTimeStart; // 格式化日期 // private String formatTimeStart; // 格式化日期
// private String formatTimeEnd; // 格式化日期 // private String formatTimeEnd; // 格式化日期


} }
hql.append(" and status=:status", status); hql.append(" and status=:status", status);
hql.append(" and providerID=:providerID", providerID); hql.append(" and providerID=:providerID", providerID);
hql.append(" and encryptType=:encryptType", encryptType);
// if(hasText(formatTimeStart)) // if(hasText(formatTimeStart))
// hql.append(" and formatTime>=:formatTimeStart", formatTimeStart); // hql.append(" and formatTime>=:formatTimeStart", formatTimeStart);
// if(hasText(formatTimeEnd)) // if(hasText(formatTimeEnd))

+ 2
- 0
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/dto/obu/InvwQryObusPageRequestDTO.java View File

private String endSerialNo; // 结束OBU合同序列号 private String endSerialNo; // 结束OBU合同序列号
@ApiModelProperty(value = "发行状态 0-流通中 2-一发成功") @ApiModelProperty(value = "发行状态 0-流通中 2-一发成功")
private Integer status; // 发行状态 private Integer status; // 发行状态
@ApiModelProperty(value = "OBU类型")
private String encryptType;
} }

+ 6
- 0
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/card/InvwQryCardBatchManagerImpl.java View File

public Pagination page(InvwQryCardBatchPageRequestDTO request) { public Pagination page(InvwQryCardBatchPageRequestDTO request) {
InvwQryCardBatchPageRequest req = new InvwQryCardBatchPageRequest(); InvwQryCardBatchPageRequest req = new InvwQryCardBatchPageRequest();
BeanUtils.copyProperties(request, req); BeanUtils.copyProperties(request, req);
if(hasText(request.getBatchDateEnd())){
req.setBatchDateEnd(request.getBatchDateEnd() + "235959");
}
return invwQryCardBatchRepo.page(req); return invwQryCardBatchRepo.page(req);
} }


public CommExcelFileResponseDTO export(InvwQryCardBatchPageRequestDTO request) throws ManagerException { public CommExcelFileResponseDTO export(InvwQryCardBatchPageRequestDTO request) throws ManagerException {
InvwQryCardBatchPageRequest req = new InvwQryCardBatchPageRequest(); InvwQryCardBatchPageRequest req = new InvwQryCardBatchPageRequest();
BeanUtils.copyProperties(request, req); BeanUtils.copyProperties(request, req);
if(hasText(request.getBatchDateEnd())){
req.setBatchDateEnd(request.getBatchDateEnd() + "235959");
}
List<InvwQryCardBatch> list = invwQryCardBatchRepo.list(req); List<InvwQryCardBatch> list = invwQryCardBatchRepo.list(req);
if (list.size() > 10000) { if (list.size() > 10000) {
throw new ManagerException("导出数据超过10000条,请缩小范围"); throw new ManagerException("导出数据超过10000条,请缩小范围");

+ 6
- 0
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/manager/obu/InvwQryObuBatchManagerImpl.java View File

public Pagination page(InvwQryObuBatchPageRequestDTO request) { public Pagination page(InvwQryObuBatchPageRequestDTO request) {
InvwQryObuBatchPageRequest req = new InvwQryObuBatchPageRequest(); InvwQryObuBatchPageRequest req = new InvwQryObuBatchPageRequest();
BeanUtils.copyProperties(request, req); BeanUtils.copyProperties(request, req);
if(hasText(request.getApplyDateEnd())){
req.setApplyDateEnd(request.getApplyDateEnd() + "235959");
}
return invwQryObuBatchRepo.page(req); return invwQryObuBatchRepo.page(req);
} }


public CommExcelFileResponseDTO export(InvwQryObuBatchPageRequestDTO request) throws ManagerException { public CommExcelFileResponseDTO export(InvwQryObuBatchPageRequestDTO request) throws ManagerException {
InvwQryObuBatchPageRequest req = new InvwQryObuBatchPageRequest(); InvwQryObuBatchPageRequest req = new InvwQryObuBatchPageRequest();
BeanUtils.copyProperties(request, req); BeanUtils.copyProperties(request, req);
if(hasText(request.getApplyDateEnd())){
req.setApplyDateEnd(request.getApplyDateEnd() + "235959");
}
List<InvwQryObuBatch> list = invwQryObuBatchRepo.list(req); List<InvwQryObuBatch> list = invwQryObuBatchRepo.list(req);
if (list.size() > 10000) { if (list.size() > 10000) {
throw new ManagerException("导出数据超过10000条,请缩小范围"); throw new ManagerException("导出数据超过10000条,请缩小范围");

+ 5
- 5
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/card/InvwQryCardBatchExcelModel.java View File

@ExcelProperty(value = "渠道") @ExcelProperty(value = "渠道")
private String chanel; private String chanel;


@ColumnWidth(20)
@ExcelProperty(value = "厂商")
private String cardProvider;

@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty(value = "入库时间") @ExcelProperty(value = "入库时间")
private LocalDateTime insertTime; private LocalDateTime insertTime;
//申请状态 APP-申请中 ISSUEING-发行中 DONE-发行完成 PERMIT-审批完成[数据就绪] REJECT-拒绝 JUDGEING-审批中 REJNOTRDY-驳回,待修正 FAIL-失败 APPROVAL-审批通过[待预制] PRECUT-预制数据中 //申请状态 APP-申请中 ISSUEING-发行中 DONE-发行完成 PERMIT-审批完成[数据就绪] REJECT-拒绝 JUDGEING-审批中 REJNOTRDY-驳回,待修正 FAIL-失败 APPROVAL-审批通过[待预制] PRECUT-预制数据中
public String getStatus() { public String getStatus() {
if (StringTools.hasText(status)) { if (StringTools.hasText(status)) {
statusMap.forEach((k, v) -> {
if (status.equals(k)) {
status = v;
}
});
statusMap.get(status);
} }
return ""; return "";
} }

+ 2
- 6
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/card/InvwQryCardsExcelModel.java View File



@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty(value = "卡片厂商") @ExcelProperty(value = "卡片厂商")
private String provider;
private String cardProvider;


@ColumnWidth(15) @ColumnWidth(15)
@ExcelProperty(value = "卡片类型") @ExcelProperty(value = "卡片类型")
@ExcelProperty(value = "卡片SNR") @ExcelProperty(value = "卡片SNR")
private String cardSnr; private String cardSnr;


@ColumnWidth(15)
@ExcelProperty(value = "发行次数")
private Integer issueCount;

@ColumnWidth(15) @ColumnWidth(15)
@ExcelProperty(value = "渠道") @ExcelProperty(value = "渠道")
private String chanel; private String chanel;


@ColumnWidth(15) @ColumnWidth(15)
@ExcelProperty(value = "卡片厂商代码") @ExcelProperty(value = "卡片厂商代码")
private String providerID;
private String providerId;


@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty(value = "入库时间") @ExcelProperty(value = "入库时间")

+ 5
- 1
zhywpt-app-invw/src/main/java/cn/com/taiji/invw/model/obu/InvwQryObuBatchExcelModel.java View File



@ColumnWidth(15) @ColumnWidth(15)
@ExcelProperty(value = "批次总张数") @ExcelProperty(value = "批次总张数")
private String totalCount;
private Integer totalCount;


@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty(value = "渠道名称") @ExcelProperty(value = "渠道名称")
private String chanel; private String chanel;


@ColumnWidth(20)
@ExcelProperty(value = "厂商")
private String cardProvider;

@ColumnWidth(20) @ColumnWidth(20)
@ExcelProperty(value = "入库时间") @ExcelProperty(value = "入库时间")
private LocalDateTime insertTime; private LocalDateTime insertTime;

Loading…
Cancel
Save