Commit 7f41b02c authored by 胡建龙's avatar 胡建龙

20220426 完成所有接口的基础开发

parent 2a8569d7
......@@ -371,6 +371,15 @@
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources/profiles/${profile.env}</directory>
<filtering>true</filtering>
......@@ -427,7 +436,6 @@
<artifactId>core-db</artifactId>
<version>1.0-RELEASE</version>
</dependency>
</dependencies>
<executions>
<execution>
......@@ -508,6 +516,7 @@
</webAppConfig>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
......
package com.hand.app.cmb.dto;
import com.hand.hap.mybatis.annotation.ExtensionAttribute;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "HLS_EBANK_CMB_TRANSQRY")
@ExtensionAttribute(disable = true)
public class HlsEbankCmbTransqry {
@Id
@GeneratedValue
private Long transqryId;
private String transqryNumber;
private Long transactionId;
private String merId;
private String version;
private String returnCode;
private String orderId;
private String cmbOrderId;
private String respCode;
private String errDescription;
private Long txnAmt;
private Long dscAmt;
private String currencyCode;
private String payType;
private String openId;
private String payBank;
private String thirdOrderId;
private String buyerLogonId;
private String tradeState;
private String txnTime;
private String endDate;
private String endTime;
private String errCode;
private String respMsg;
private Date creationDate;
private Long createdBy;
private Date lastUpdateDate;
private Long lastUpdatedBy;
public Long getTransqryId() {
return transqryId;
}
public void setTransqryId(Long transqryId) {
this.transqryId = transqryId;
}
public String getTransqryNumber() {
return transqryNumber;
}
public void setTransqryNumber(String transqryNumber) {
this.transqryNumber = transqryNumber;
}
public Long getTransactionId() {
return transactionId;
}
public void setTransactionId(Long transactionId) {
this.transactionId = transactionId;
}
public String getMerId() {
return merId;
}
public void setMerId(String merId) {
this.merId = merId;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getCmbOrderId() {
return cmbOrderId;
}
public void setCmbOrderId(String cmbOrderId) {
this.cmbOrderId = cmbOrderId;
}
public String getRespCode() {
return respCode;
}
public void setRespCode(String respCode) {
this.respCode = respCode;
}
public String getErrDescription() {
return errDescription;
}
public void setErrDescription(String errDescription) {
this.errDescription = errDescription;
}
public Long getTxnAmt() {
return txnAmt;
}
public void setTxnAmt(Long txnAmt) {
this.txnAmt = txnAmt;
}
public Long getDscAmt() {
return dscAmt;
}
public void setDscAmt(Long dscAmt) {
this.dscAmt = dscAmt;
}
public String getCurrencyCode() {
return currencyCode;
}
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
public String getPayType() {
return payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getPayBank() {
return payBank;
}
public void setPayBank(String payBank) {
this.payBank = payBank;
}
public String getThirdOrderId() {
return thirdOrderId;
}
public void setThirdOrderId(String thirdOrderId) {
this.thirdOrderId = thirdOrderId;
}
public String getBuyerLogonId() {
return buyerLogonId;
}
public void setBuyerLogonId(String buyerLogonId) {
this.buyerLogonId = buyerLogonId;
}
public String getTradeState() {
return tradeState;
}
public void setTradeState(String tradeState) {
this.tradeState = tradeState;
}
public String getTxnTime() {
return txnTime;
}
public void setTxnTime(String txnTime) {
this.txnTime = txnTime;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getErrCode() {
return errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getRespMsg() {
return respMsg;
}
public void setRespMsg(String respMsg) {
this.respMsg = respMsg;
}
public Date getCreationDate() {
return creationDate;
}
public void setCreationDate(Date creationDate) {
this.creationDate = creationDate;
}
public Long getCreatedBy() {
return createdBy;
}
public void setCreatedBy(Long createdBy) {
this.createdBy = createdBy;
}
public Date getLastUpdateDate() {
return lastUpdateDate;
}
public void setLastUpdateDate(Date lastUpdateDate) {
this.lastUpdateDate = lastUpdateDate;
}
public Long getLastUpdatedBy() {
return lastUpdatedBy;
}
public void setLastUpdatedBy(Long lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
}
package com.hand.app.cmb.mapper;
import com.hand.app.cmb.dto.HlsEbankCmbTransqry;
import com.hand.hap.mybatis.common.Mapper;
public interface HlsEbankCmbTransqryMapper extends Mapper<HlsEbankCmbTransqry> {
}
......@@ -45,7 +45,7 @@ public class SM2Util {
byte[] sign = signAsn12Raw(decodeBase64(rawSign));
return BCUtil.verifySm3WithSm2(content.getBytes(),USER_ID.getBytes(),sign,bcecPublicKey);
return BCUtil.verifySm3WithSm2(content.getBytes("utf-8"),USER_ID.getBytes(),sign,bcecPublicKey);
}catch (Exception ex){
ex.printStackTrace();
......
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hand.app.cmb.mapper.HlsEbankCmbTransqryMapper">
<resultMap id="baseMap" type="com.hand.app.cmb.dto.HlsEbankCmbTransqry">
<result column="TRANSQRY_ID" property="transqryId" jdbcType="NUMBER"/>
<result column="TRANSQRY_NUMBER" property="transqryNumber" jdbcType="VARCHAR"/>
<result column="TRANSACTION_ID" property="transactionId" jdbcType="NUMBER"/>
<result column="MER_ID" property="merId" jdbcType="VARCHAR"/>
<result column="VERSION" property="version" jdbcType="VARCHAR"/>
<result column="RETURN_CODE" property="returnCode" jdbcType="VARCHAR"/>
<result column="ORDER_ID" property="orderId" jdbcType="VARCHAR"/>
<result column="CMB_ORDER_ID" property="cmbOrderId" jdbcType="VARCHAR"/>
<result column="RESP_CODE" property="respCode" jdbcType="VARCHAR"/>
<result column="ERR_DESCRIPTION" property="errDescription" jdbcType="VARCHAR"/>
<result column="TXN_AMT" property="txnAmt" jdbcType="NUMBER"/>
<result column="DSC_AMT" property="dscAmt" jdbcType="NUMBER"/>
<result column="CURRENCY_CODE" property="currencyCode" jdbcType="VARCHAR"/>
<result column="PAY_TYPE" property="payType" jdbcType="VARCHAR"/>
<result column="OPEN_ID" property="openId" jdbcType="VARCHAR"/>
<result column="PAY_BANK" property="payBank" jdbcType="VARCHAR"/>
<result column="THIRD_ORDER_ID" property="thirdOrderId" jdbcType="VARCHAR"/>
<result column="BUYER_LOGON_ID" property="buyerLogonId" jdbcType="VARCHAR"/>
<result column="TRADE_STATE" property="tradeState" jdbcType="VARCHAR"/>
<result column="TXN_TIME" property="txnTime" jdbcType="VARCHAR"/>
<result column="END_DATE" property="endDate" jdbcType="VARCHAR"/>
<result column="END_TIME" property="endTime" jdbcType="VARCHAR"/>
<result column="ERR_CODE" property="errCode" jdbcType="VARCHAR"/>
<result column="RESP_MSG" property="respMsg" jdbcType="VARCHAR"/>
<result column="CREATION_DATE" property="creationDate" jdbcType="DATE"/>
<result column="CREATED_BY" property="createdBy" jdbcType="NUMBER"/>
<result column="LAST_UPDATE_DATE" property="lastUpdateDate" jdbcType="DATE"/>
<result column="LAST_UPDATED_BY" property="lastUpdatedBy" jdbcType="NUMBER"/>
</resultMap>
</mapper>
#Generated by Apache Maven
#Mon Apr 18 16:47:05 CST 2022
#Mon Apr 25 13:45:22 CST 2022
version=1.0-RELEASE
groupId=com.hand.hls
artifactId=core
......@@ -67,6 +67,9 @@
<url>http://nexus.saas.hand-china.com/content/repositories/thirdparty</url>
</pluginRepository>
</pluginRepositories>
<modules>
<module>core</module>
<module>core-db</module>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment