You've already forked FrameTour-BE
添加筛选条件
This commit is contained in:
@ -7,4 +7,5 @@ public class PriceConfigListReq {
|
|||||||
private Long scenicId;
|
private Long scenicId;
|
||||||
private Integer type;
|
private Integer type;
|
||||||
private Long goodsId;
|
private Long goodsId;
|
||||||
|
private Integer status;
|
||||||
}
|
}
|
@ -52,6 +52,9 @@
|
|||||||
<if test="req.goodsId != null">
|
<if test="req.goodsId != null">
|
||||||
and p.goods_ids like concat('%', #{req.goodsId}, '%')
|
and p.goods_ids like concat('%', #{req.goodsId}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="req.status != null">
|
||||||
|
and p.status = #{req.status}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
<select id="getPriceByScenicTypeGoods" resultType="com.ycwl.basic.model.pc.price.entity.PriceConfigEntity">
|
<select id="getPriceByScenicTypeGoods" resultType="com.ycwl.basic.model.pc.price.entity.PriceConfigEntity">
|
||||||
|
Reference in New Issue
Block a user