提交代码

yy_dev
胡锐 1 year ago
parent 5cccc62dd2
commit 8ad7ce5822
  1. 1
      bweb/src/main/java/com/bweb/controller/BsTradeOrderController.java
  2. 4
      bweb/src/main/java/com/bweb/excel/model/ExportTradeOrderModel.java
  3. 1
      cweb/src/main/java/com/cweb/controller/LoginController.java
  4. 3
      cweb/src/main/java/com/cweb/controller/TestController.java
  5. 1
      open-api/src/main/java/com/api/controller/v1/TradeController.java
  6. 59
      service/src/main/java/com/hfkj/channel/lakala/LaKaLaTradeService.java
  7. 26
      service/src/main/java/com/hfkj/dao/BsTradeOrderMapper.java
  8. 14
      service/src/main/java/com/hfkj/dao/BsTradeOrderSqlProvider.java
  9. 16
      service/src/main/java/com/hfkj/entity/BsTradeOrder.java
  10. 70
      service/src/main/java/com/hfkj/entity/BsTradeOrderExample.java
  11. 3
      service/src/main/java/com/hfkj/openapi/v1/model/request/RequestTradePreorderModel.java

@ -222,6 +222,7 @@ public class BsTradeOrderController {
data.setPayTime(tradeOrder.getPayTime()); data.setPayTime(tradeOrder.getPayTime());
data.setPlatformMerNo(tradeOrder.getPlatformMerNo()); data.setPlatformMerNo(tradeOrder.getPlatformMerNo());
data.setSalesmanName(tradeOrder.getSalesmanName()); data.setSalesmanName(tradeOrder.getSalesmanName());
data.setSpecialField(tradeOrder.getSpecialField());
dataList.add(data); dataList.add(data);
} }

@ -67,4 +67,8 @@ public class ExportTradeOrderModel {
@ExcelProperty(value = "业务员") @ExcelProperty(value = "业务员")
private String salesmanName; private String salesmanName;
@ColumnWidth(25)
@ExcelProperty(value = "特殊字段")
private String specialField;
} }

@ -292,4 +292,5 @@ public class LoginController {
return ResponseMsgUtil.exception(e); return ResponseMsgUtil.exception(e);
} }
} }
} }

@ -260,7 +260,8 @@ public class TestController {
//return ResponseMsgUtil.success(saasMerService.merchantInfo("123364703")); //return ResponseMsgUtil.success(saasMerService.merchantInfo("123364703"));
// return ResponseMsgUtil.success(saasCommon.getCategory(null)); // return ResponseMsgUtil.success(saasCommon.getCategory(null));
// return ResponseMsgUtil.success(laKaLaLedgerService.queryLedgerMer(code)); // return ResponseMsgUtil.success(laKaLaLedgerService.queryLedgerMer(code));
return ResponseMsgUtil.success(laKaLaTradeService.queryTrans(code)); // return ResponseMsgUtil.success(laKaLaTradeService.queryTrans(code));
return ResponseMsgUtil.success(laKaLaTradeService.queryTrade(code));
// return ResponseMsgUtil.success(""); // return ResponseMsgUtil.success("");
// 1200 // 1200
// return ResponseMsgUtil.success(saasCommon.fileUpload(new HashMap<>())); // return ResponseMsgUtil.success(saasCommon.fileUpload(new HashMap<>()));

@ -106,6 +106,7 @@ public class TradeController {
tradeOrder.setSubject(body.getSubject()); tradeOrder.setSubject(body.getSubject());
tradeOrder.setRefundPrice(new BigDecimal("0")); tradeOrder.setRefundPrice(new BigDecimal("0"));
tradeOrder.setAttach(body.getAttach()); tradeOrder.setAttach(body.getAttach());
tradeOrder.setSpecialField(body.getSpecialField());
// 创建交易订单 // 创建交易订单
Map<String, Object> returnParam = openApiTradeOrderService.createOrder(tradeOrder); Map<String, Object> returnParam = openApiTradeOrderService.createOrder(tradeOrder);

@ -281,6 +281,63 @@ public class LaKaLaTradeService {
return returnMap; return returnMap;
} }
/**
* 查询交易
* @param tradeNo 订单号
*/
public JSONObject queryTrade(String tradeNo) {
log.info("========= Start 交易查询 Start ===========");
try {
// 查询交易订单
BsTradeOrder order = tradeOrderService.getOrderByOutTradeNo(tradeNo);
if (order == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到交易订单");
}
// 查询商户号
BsMerPlatformNo platformNo = merPlatformNoService.getPlatformNo(order.getMerId(), PlatformTypeEnum.type1);
if (platformNo == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到商户号");
}
// 查询终端号
BsMerPlatformTerm merPlatformTerm = merPlatformTermService.getMerPlatformTerm(platformNo.getId(), "WECHAT_PAY");
if (merPlatformTerm == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未找到商户终端号");
}
Map<String, Object> commonParam = new HashMap<>();
commonParam.put("req_time", DateUtil.format(new Date(), "yyyyMMddHHmmss"));
commonParam.put("version", "3.0");
commonParam.put("out_org_code", CommonSysConst.getSysConfig().getLkl_v3_appid());
Map<String, Object> map = new HashMap<>();
map.put("merchant_no", order.getPlatformMerNo());
map.put("term_no", merPlatformTerm.getTermNo());
map.put("out_trade_no", order.getOutTradeNo());
commonParam.put("req_data", map);
Map<String, Object> reqParam = LaKaLaConfig.generateSignParamsV3(JSONObject.parseObject(JSONObject.toJSONString(commonParam)));
// 头部参数
Map<String, Object> heard = new HashMap<>();
heard.put("Authorization", reqParam.get("Authorization"));
// 请求记录
// 请求拉卡拉接口
JSONObject responseBody = HttpsUtils.doPost(CommonSysConst.getSysConfig().getLkl_request_url() + "/api/v3/labs/query/tradequery", commonParam, heard);
log.info("请求参数:"+ JSONObject.toJSONString(commonParam));
log.info("响应参数:"+ JSONObject.toJSONString(responseBody));
System.out.println("请求参数:"+ JSONObject.toJSONString(commonParam));
System.out.println("响应参数:"+ JSONObject.toJSONString(responseBody));
if (!responseBody.getString("code").equals("BBS00000")) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, responseBody.getString("msg"));
}
return responseBody.getJSONObject("resp_data");
} catch (Exception e) {
return null;
} finally {
log.info("========= END 交易查询 END ===========");
}
}
/** /**
* 商户计费查询 * 商户计费查询
@ -340,7 +397,6 @@ public class LaKaLaTradeService {
} }
} }
/** /**
* 退款 * 退款
* @param refundNo 订单号 * @param refundNo 订单号
@ -451,7 +507,6 @@ public class LaKaLaTradeService {
return returnMap; return returnMap;
} }
/** /**
* 关单 * 关单
* @param tradeNo 订单号 * @param tradeNo 订单号

@ -68,10 +68,11 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
"profit_sharing_status, pay_time, ", "profit_sharing_status, pay_time, ",
"timeout_express, subject, ", "timeout_express, subject, ",
"pay_notify_url, attach, ", "pay_notify_url, attach, ",
"refund_type, refund_price, ", "special_field, refund_type, ",
"create_type, create_time, ", "refund_price, create_type, ",
"cancel_time, update_time, ", "create_time, cancel_time, ",
"ext_1, ext_2, ext_3)", "update_time, ext_1, ",
"ext_2, ext_3)",
"values (#{companyId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ", "values (#{companyId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ",
"#{salesmanId,jdbcType=BIGINT}, #{salesmanName,jdbcType=VARCHAR}, ", "#{salesmanId,jdbcType=BIGINT}, #{salesmanName,jdbcType=VARCHAR}, ",
"#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merNo,jdbcType=VARCHAR}, ", "#{merId,jdbcType=BIGINT}, #{merName,jdbcType=VARCHAR}, #{merNo,jdbcType=VARCHAR}, ",
@ -101,10 +102,11 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
"#{profitSharingStatus,jdbcType=BIT}, #{payTime,jdbcType=TIMESTAMP}, ", "#{profitSharingStatus,jdbcType=BIT}, #{payTime,jdbcType=TIMESTAMP}, ",
"#{timeoutExpress,jdbcType=INTEGER}, #{subject,jdbcType=VARCHAR}, ", "#{timeoutExpress,jdbcType=INTEGER}, #{subject,jdbcType=VARCHAR}, ",
"#{payNotifyUrl,jdbcType=VARCHAR}, #{attach,jdbcType=VARCHAR}, ", "#{payNotifyUrl,jdbcType=VARCHAR}, #{attach,jdbcType=VARCHAR}, ",
"#{refundType,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", "#{specialField,jdbcType=VARCHAR}, #{refundType,jdbcType=INTEGER}, ",
"#{createType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", "#{refundPrice,jdbcType=DECIMAL}, #{createType,jdbcType=INTEGER}, ",
"#{cancelTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{createTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ",
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
int insert(BsTradeOrder record); int insert(BsTradeOrder record);
@ -175,6 +177,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), @Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), @Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), @Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR),
@Result(column="special_field", property="specialField", jdbcType=JdbcType.VARCHAR),
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), @Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER),
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), @Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), @Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER),
@ -200,8 +203,9 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
"user_discount_actual_price, trade_actual_amount, income_amount, acc_trade_no, ", "user_discount_actual_price, trade_actual_amount, income_amount, acc_trade_no, ",
"acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, settle_amount, ", "acc_mdiscount_amount, acc_discount_amount, shd_fee_amt, fee_rate, settle_amount, ",
"settle_date, acc_payment_code, card_type, `status`, profit_sharing_status, pay_time, ", "settle_date, acc_payment_code, card_type, `status`, profit_sharing_status, pay_time, ",
"timeout_express, subject, pay_notify_url, attach, refund_type, refund_price, ", "timeout_express, subject, pay_notify_url, attach, special_field, refund_type, ",
"create_type, create_time, cancel_time, update_time, ext_1, ext_2, ext_3", "refund_price, create_type, create_time, cancel_time, update_time, ext_1, ext_2, ",
"ext_3",
"from bs_trade_order", "from bs_trade_order",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@ -266,6 +270,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
@Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR), @Result(column="subject", property="subject", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR), @Result(column="pay_notify_url", property="payNotifyUrl", jdbcType=JdbcType.VARCHAR),
@Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR), @Result(column="attach", property="attach", jdbcType=JdbcType.VARCHAR),
@Result(column="special_field", property="specialField", jdbcType=JdbcType.VARCHAR),
@Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER), @Result(column="refund_type", property="refundType", jdbcType=JdbcType.INTEGER),
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), @Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER), @Result(column="create_type", property="createType", jdbcType=JdbcType.INTEGER),
@ -348,6 +353,7 @@ public interface BsTradeOrderMapper extends BsTradeOrderMapperExt {
"subject = #{subject,jdbcType=VARCHAR},", "subject = #{subject,jdbcType=VARCHAR},",
"pay_notify_url = #{payNotifyUrl,jdbcType=VARCHAR},", "pay_notify_url = #{payNotifyUrl,jdbcType=VARCHAR},",
"attach = #{attach,jdbcType=VARCHAR},", "attach = #{attach,jdbcType=VARCHAR},",
"special_field = #{specialField,jdbcType=VARCHAR},",
"refund_type = #{refundType,jdbcType=INTEGER},", "refund_type = #{refundType,jdbcType=INTEGER},",
"refund_price = #{refundPrice,jdbcType=DECIMAL},", "refund_price = #{refundPrice,jdbcType=DECIMAL},",
"create_type = #{createType,jdbcType=INTEGER},", "create_type = #{createType,jdbcType=INTEGER},",

@ -264,6 +264,10 @@ public class BsTradeOrderSqlProvider {
sql.VALUES("attach", "#{attach,jdbcType=VARCHAR}"); sql.VALUES("attach", "#{attach,jdbcType=VARCHAR}");
} }
if (record.getSpecialField() != null) {
sql.VALUES("special_field", "#{specialField,jdbcType=VARCHAR}");
}
if (record.getRefundType() != null) { if (record.getRefundType() != null) {
sql.VALUES("refund_type", "#{refundType,jdbcType=INTEGER}"); sql.VALUES("refund_type", "#{refundType,jdbcType=INTEGER}");
} }
@ -369,6 +373,7 @@ public class BsTradeOrderSqlProvider {
sql.SELECT("subject"); sql.SELECT("subject");
sql.SELECT("pay_notify_url"); sql.SELECT("pay_notify_url");
sql.SELECT("attach"); sql.SELECT("attach");
sql.SELECT("special_field");
sql.SELECT("refund_type"); sql.SELECT("refund_type");
sql.SELECT("refund_price"); sql.SELECT("refund_price");
sql.SELECT("create_type"); sql.SELECT("create_type");
@ -635,6 +640,10 @@ public class BsTradeOrderSqlProvider {
sql.SET("attach = #{record.attach,jdbcType=VARCHAR}"); sql.SET("attach = #{record.attach,jdbcType=VARCHAR}");
} }
if (record.getSpecialField() != null) {
sql.SET("special_field = #{record.specialField,jdbcType=VARCHAR}");
}
if (record.getRefundType() != null) { if (record.getRefundType() != null) {
sql.SET("refund_type = #{record.refundType,jdbcType=INTEGER}"); sql.SET("refund_type = #{record.refundType,jdbcType=INTEGER}");
} }
@ -739,6 +748,7 @@ public class BsTradeOrderSqlProvider {
sql.SET("subject = #{record.subject,jdbcType=VARCHAR}"); sql.SET("subject = #{record.subject,jdbcType=VARCHAR}");
sql.SET("pay_notify_url = #{record.payNotifyUrl,jdbcType=VARCHAR}"); sql.SET("pay_notify_url = #{record.payNotifyUrl,jdbcType=VARCHAR}");
sql.SET("attach = #{record.attach,jdbcType=VARCHAR}"); sql.SET("attach = #{record.attach,jdbcType=VARCHAR}");
sql.SET("special_field = #{record.specialField,jdbcType=VARCHAR}");
sql.SET("refund_type = #{record.refundType,jdbcType=INTEGER}"); sql.SET("refund_type = #{record.refundType,jdbcType=INTEGER}");
sql.SET("refund_price = #{record.refundPrice,jdbcType=DECIMAL}"); sql.SET("refund_price = #{record.refundPrice,jdbcType=DECIMAL}");
sql.SET("create_type = #{record.createType,jdbcType=INTEGER}"); sql.SET("create_type = #{record.createType,jdbcType=INTEGER}");
@ -994,6 +1004,10 @@ public class BsTradeOrderSqlProvider {
sql.SET("attach = #{attach,jdbcType=VARCHAR}"); sql.SET("attach = #{attach,jdbcType=VARCHAR}");
} }
if (record.getSpecialField() != null) {
sql.SET("special_field = #{specialField,jdbcType=VARCHAR}");
}
if (record.getRefundType() != null) { if (record.getRefundType() != null) {
sql.SET("refund_type = #{refundType,jdbcType=INTEGER}"); sql.SET("refund_type = #{refundType,jdbcType=INTEGER}");
} }

@ -318,6 +318,11 @@ public class BsTradeOrder implements Serializable {
*/ */
private String attach; private String attach;
/**
* 特殊字段
*/
private String specialField;
/** /**
* 退款类型 1全额退款 2部分退款 * 退款类型 1全额退款 2部分退款
*/ */
@ -836,6 +841,14 @@ public class BsTradeOrder implements Serializable {
this.attach = attach; this.attach = attach;
} }
public String getSpecialField() {
return specialField;
}
public void setSpecialField(String specialField) {
this.specialField = specialField;
}
public Integer getRefundType() { public Integer getRefundType() {
return refundType; return refundType;
} }
@ -980,6 +993,7 @@ public class BsTradeOrder implements Serializable {
&& (this.getSubject() == null ? other.getSubject() == null : this.getSubject().equals(other.getSubject())) && (this.getSubject() == null ? other.getSubject() == null : this.getSubject().equals(other.getSubject()))
&& (this.getPayNotifyUrl() == null ? other.getPayNotifyUrl() == null : this.getPayNotifyUrl().equals(other.getPayNotifyUrl())) && (this.getPayNotifyUrl() == null ? other.getPayNotifyUrl() == null : this.getPayNotifyUrl().equals(other.getPayNotifyUrl()))
&& (this.getAttach() == null ? other.getAttach() == null : this.getAttach().equals(other.getAttach())) && (this.getAttach() == null ? other.getAttach() == null : this.getAttach().equals(other.getAttach()))
&& (this.getSpecialField() == null ? other.getSpecialField() == null : this.getSpecialField().equals(other.getSpecialField()))
&& (this.getRefundType() == null ? other.getRefundType() == null : this.getRefundType().equals(other.getRefundType())) && (this.getRefundType() == null ? other.getRefundType() == null : this.getRefundType().equals(other.getRefundType()))
&& (this.getRefundPrice() == null ? other.getRefundPrice() == null : this.getRefundPrice().equals(other.getRefundPrice())) && (this.getRefundPrice() == null ? other.getRefundPrice() == null : this.getRefundPrice().equals(other.getRefundPrice()))
&& (this.getCreateType() == null ? other.getCreateType() == null : this.getCreateType().equals(other.getCreateType())) && (this.getCreateType() == null ? other.getCreateType() == null : this.getCreateType().equals(other.getCreateType()))
@ -1055,6 +1069,7 @@ public class BsTradeOrder implements Serializable {
result = prime * result + ((getSubject() == null) ? 0 : getSubject().hashCode()); result = prime * result + ((getSubject() == null) ? 0 : getSubject().hashCode());
result = prime * result + ((getPayNotifyUrl() == null) ? 0 : getPayNotifyUrl().hashCode()); result = prime * result + ((getPayNotifyUrl() == null) ? 0 : getPayNotifyUrl().hashCode());
result = prime * result + ((getAttach() == null) ? 0 : getAttach().hashCode()); result = prime * result + ((getAttach() == null) ? 0 : getAttach().hashCode());
result = prime * result + ((getSpecialField() == null) ? 0 : getSpecialField().hashCode());
result = prime * result + ((getRefundType() == null) ? 0 : getRefundType().hashCode()); result = prime * result + ((getRefundType() == null) ? 0 : getRefundType().hashCode());
result = prime * result + ((getRefundPrice() == null) ? 0 : getRefundPrice().hashCode()); result = prime * result + ((getRefundPrice() == null) ? 0 : getRefundPrice().hashCode());
result = prime * result + ((getCreateType() == null) ? 0 : getCreateType().hashCode()); result = prime * result + ((getCreateType() == null) ? 0 : getCreateType().hashCode());
@ -1133,6 +1148,7 @@ public class BsTradeOrder implements Serializable {
sb.append(", subject=").append(subject); sb.append(", subject=").append(subject);
sb.append(", payNotifyUrl=").append(payNotifyUrl); sb.append(", payNotifyUrl=").append(payNotifyUrl);
sb.append(", attach=").append(attach); sb.append(", attach=").append(attach);
sb.append(", specialField=").append(specialField);
sb.append(", refundType=").append(refundType); sb.append(", refundType=").append(refundType);
sb.append(", refundPrice=").append(refundPrice); sb.append(", refundPrice=").append(refundPrice);
sb.append(", createType=").append(createType); sb.append(", createType=").append(createType);

@ -3983,6 +3983,76 @@ public class BsTradeOrderExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSpecialFieldIsNull() {
addCriterion("special_field is null");
return (Criteria) this;
}
public Criteria andSpecialFieldIsNotNull() {
addCriterion("special_field is not null");
return (Criteria) this;
}
public Criteria andSpecialFieldEqualTo(String value) {
addCriterion("special_field =", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldNotEqualTo(String value) {
addCriterion("special_field <>", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldGreaterThan(String value) {
addCriterion("special_field >", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldGreaterThanOrEqualTo(String value) {
addCriterion("special_field >=", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldLessThan(String value) {
addCriterion("special_field <", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldLessThanOrEqualTo(String value) {
addCriterion("special_field <=", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldLike(String value) {
addCriterion("special_field like", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldNotLike(String value) {
addCriterion("special_field not like", value, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldIn(List<String> values) {
addCriterion("special_field in", values, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldNotIn(List<String> values) {
addCriterion("special_field not in", values, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldBetween(String value1, String value2) {
addCriterion("special_field between", value1, value2, "specialField");
return (Criteria) this;
}
public Criteria andSpecialFieldNotBetween(String value1, String value2) {
addCriterion("special_field not between", value1, value2, "specialField");
return (Criteria) this;
}
public Criteria andRefundTypeIsNull() { public Criteria andRefundTypeIsNull() {
addCriterion("refund_type is null"); addCriterion("refund_type is null");
return (Criteria) this; return (Criteria) this;

@ -84,6 +84,9 @@ public class RequestTradePreorderModel {
@Length(max = 128, message = "附加域限制在128位字符以内") @Length(max = 128, message = "附加域限制在128位字符以内")
private String attach; private String attach;
@Length(max = 20, message = "特殊字段限制20位字符以内")
private String specialField;
/** /**
* 分账 0不分账 1需分账 * 分账 0不分账 1需分账
*/ */

Loading…
Cancel
Save