简化实体代码
This commit is contained in:
@@ -88,7 +88,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and 1 = 0
|
||||
</otherwise>
|
||||
</choose>
|
||||
order by weight_min asc, detail_id asc
|
||||
<if test="bizDate != null">
|
||||
and effective_date <= #{bizDate}
|
||||
</if>
|
||||
order by effective_date desc, weight_min asc, detail_id asc
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user