|
@ -46,7 +46,7 @@ public interface ConsumeMapper { |
|
|
"inner join user on detail.jwcode= user.jwcode ", |
|
|
"inner join user on detail.jwcode= user.jwcode ", |
|
|
"inner join product on detail.product_id= product.product_id ", |
|
|
"inner join product on detail.product_id= product.product_id ", |
|
|
"<where>", |
|
|
"<where>", |
|
|
"`detail_flag`=1 AND update_type = '消费'", |
|
|
|
|
|
|
|
|
"`detail_flag`=1 AND update_type = '1'", |
|
|
"<if test='jwcode!=null'>and detail.jwcode =#{jwcode}</if>", |
|
|
"<if test='jwcode!=null'>and detail.jwcode =#{jwcode}</if>", |
|
|
"<if test='productName!=null'>and product.name like concat('%',#{productName},'%')</if>", |
|
|
"<if test='productName!=null'>and product.name like concat('%',#{productName},'%')</if>", |
|
|
"<if test='consumePlatform!=null'>and detail.consume_platform like concat('%',#{consumePlatform},'%')</if>", |
|
|
"<if test='consumePlatform!=null'>and detail.consume_platform like concat('%',#{consumePlatform},'%')</if>", |
|
@ -63,7 +63,7 @@ public interface ConsumeMapper { |
|
|
@Select({ |
|
|
@Select({ |
|
|
"select * ,product.name as productName from detail " , |
|
|
"select * ,product.name as productName from detail " , |
|
|
"inner join product on detail.product_id= product.product_id ", |
|
|
"inner join product on detail.product_id= product.product_id ", |
|
|
"where `detail_flag`=1 AND update_type = '消费' and jwcode=#{jwcode} AND refund_flag=1" |
|
|
|
|
|
|
|
|
"where `detail_flag`=1 AND update_type = '1' and jwcode=#{jwcode} AND refund_flag=1" |
|
|
}) |
|
|
}) |
|
|
List<Detail> getDeatil(Integer jwcode); |
|
|
List<Detail> getDeatil(Integer jwcode); |
|
|
|
|
|
|
|
|