Commit 130666fb by YG8999

消费记录增加查询条件

parent bbaa71f2
...@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="name != null and name != ''"> and name = #{name}</if> <if test="name != null and name != ''"> and name = #{name}</if>
<if test="consumerId != null"> and consumer_id = #{consumerId}</if> <if test="consumerId != null"> and consumer_id = #{consumerId}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectSConsumptionRecordsById" parameterType="Long" resultMap="SConsumptionRecordsResult"> <select id="selectSConsumptionRecordsById" parameterType="Long" resultMap="SConsumptionRecordsResult">
......
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