|
@@ -156,6 +156,7 @@
|
|
|
from mall2_points_rules mpr
|
|
|
left join mall2_points_rules_detil mprs on mpr.mpr_id = mprs.father_id
|
|
|
where mprs.id is not null and mpr.is_valid = 0 and mpr.points_begin_time <= #{nowTime} and mpr.points_end_time >= #{nowTime}
|
|
|
+ order by mpr.points_type desc
|
|
|
</select>
|
|
|
|
|
|
<insert id="saveMall2PointsRulesDetil" parameterType="com.kmall.admin.dto.Mall2RulesDto">
|