记得上下班打卡 | git大法好,push需谨慎

Commit b7ec05e7 authored by jiangxiulong's avatar jiangxiulong

#48:admin

parent f08f6f63
...@@ -21,6 +21,8 @@ public class GoblinNftOrderListParam { ...@@ -21,6 +21,8 @@ public class GoblinNftOrderListParam {
@ApiModelProperty(value = "藏品名称") @ApiModelProperty(value = "藏品名称")
private String name; private String name;
@ApiModelProperty(value = "用户ID")
private String userId;
@ApiModelProperty(value = "短订单编号") @ApiModelProperty(value = "短订单编号")
private String shortOrderCode; private String shortOrderCode;
@ApiModelProperty(value = "订单编号") @ApiModelProperty(value = "订单编号")
......
...@@ -21,6 +21,8 @@ public class GoblinNftOrderRefundListParam { ...@@ -21,6 +21,8 @@ public class GoblinNftOrderRefundListParam {
@ApiModelProperty(value = "藏品名称") @ApiModelProperty(value = "藏品名称")
private String name; private String name;
@ApiModelProperty(value = "用户ID")
private String userId;
@ApiModelProperty(value = "短订单编号") @ApiModelProperty(value = "短订单编号")
private String shortOrderCode; private String shortOrderCode;
@ApiModelProperty(value = "订单编号") @ApiModelProperty(value = "订单编号")
......
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
<if test="name!=''"> <if test="name!=''">
and b.name like concat('%', #{name}, '%') and b.name like concat('%', #{name}, '%')
</if> </if>
<if test="userId!=''">
and a.user_id = #{userId}
</if>
<if test="shortOrderCode!=''"> <if test="shortOrderCode!=''">
and a.order_code like concat('%', #{shortOrderCode}, '%') and a.order_code like concat('%', #{shortOrderCode}, '%')
</if> </if>
...@@ -41,6 +44,7 @@ ...@@ -41,6 +44,7 @@
and a.pay_time <![CDATA[<=]]> #{payTimeEnd} and a.pay_time <![CDATA[<=]]> #{payTimeEnd}
</if> </if>
</where> </where>
group by a.order_id
order by a.created_at desc order by a.created_at desc
</select> </select>
</mapper> </mapper>
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
<if test="name!=''"> <if test="name!=''">
and b.name like concat('%', #{name}, '%') and b.name like concat('%', #{name}, '%')
</if> </if>
<if test="userId!=''">
and a.user_id = #{userId}
</if>
<if test="shortOrderCode!=''"> <if test="shortOrderCode!=''">
and a.order_code like concat('%', #{shortOrderCode}, '%') and a.order_code like concat('%', #{shortOrderCode}, '%')
</if> </if>
...@@ -35,6 +38,7 @@ ...@@ -35,6 +38,7 @@
and d.status = #{status} and d.status = #{status}
</if> </if>
</where> </where>
group by a.order_id
order by d.created_at desc order by d.created_at desc
</select> </select>
</mapper> </mapper>
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