新增:选择支付方式接口(无需权限)

This commit is contained in:
gxwebsoft
2024-06-03 10:59:47 +08:00
parent aadc703bb3
commit 410c149120
3 changed files with 11 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ public class Payment implements Serializable {
@ApiModelProperty(value = "支付方式") @ApiModelProperty(value = "支付方式")
private String name; private String name;
@ApiModelProperty(value = "类型")
private Integer type;
@ApiModelProperty(value = "标识") @ApiModelProperty(value = "标识")
private String code; private String code;

View File

@@ -13,6 +13,9 @@
<if test="param.name != null"> <if test="param.name != null">
AND a.name LIKE CONCAT('%', #{param.name}, '%') AND a.name LIKE CONCAT('%', #{param.name}, '%')
</if> </if>
<if test="param.type != null">
AND a.type = #{param.type}
</if>
<if test="param.code != null"> <if test="param.code != null">
AND a.code = #{param.code} AND a.code = #{param.code}
</if> </if>

View File

@@ -29,9 +29,13 @@ public class PaymentParam extends BaseParam {
@ApiModelProperty(value = "支付方式") @ApiModelProperty(value = "支付方式")
private String name; private String name;
@ApiModelProperty(value = "类型")
@QueryField(type = QueryType.EQ)
private Integer type;
@ApiModelProperty(value = "标识") @ApiModelProperty(value = "标识")
@QueryField(type = QueryType.EQ) @QueryField(type = QueryType.EQ)
private Integer code; private String code;
@ApiModelProperty(value = "微信商户号类型 1普通商户2子商户") @ApiModelProperty(value = "微信商户号类型 1普通商户2子商户")
@QueryField(type = QueryType.EQ) @QueryField(type = QueryType.EQ)