租车套餐设置调整
This commit is contained in:
@ -67,6 +67,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="isJoinInvite != null "> and is_join_invite = #{isJoinInvite}</if>
|
||||
<if test="mealChannel != null "> and meal_channel = #{mealChannel}</if>
|
||||
<if test="buyLimitType != null "> and buy_limit_type = #{buyLimitType}</if>
|
||||
<if test="queryDurationType != null and queryDurationType != '' and queryDurationType == 2">
|
||||
AND duration_type = 1
|
||||
AND duration = 1
|
||||
</if>
|
||||
<if test="queryDurationType != null and queryDurationType != '' and queryDurationType == 3">
|
||||
AND (duration_type = 2 OR (duration_type = 1 AND duration <![CDATA[ > ]]> 1))
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@ -74,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectZcRentBatteyRuleVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
<select id="selectZcRentBatteyRuleByIds" resultType="com.ruoyi.operation.domain.ZcRentBatteyRule">
|
||||
<select id="selectZcRentBatteyRuleByIds" resultMap="ZcRentBatteyRuleResult">
|
||||
select * from zc_rent_battey_rule where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
|
||||
Reference in New Issue
Block a user