Merge branch 'dev_1.0.0' into ocr_branch

topo_dev
xueqingkun 7 months ago
commit 6020b53325

@ -38,6 +38,9 @@ public class ModelCaseVO {
@Schema(description = "当事人")
private String lawParty;
@Schema(description = "排序类型")
private String orderType = "DESC";
@Schema(description = "删除状态,默认查询未删除数据")
private Boolean isDelete = false;

@ -47,7 +47,12 @@
<if test="modelCase.updateEndTime != null">
and DATE_FORMAT(update_time, '%Y-%m-%d') &lt;= DATE_FORMAT(#{modelCase.updateEndTime}, '%Y-%m-%d')
</if>
order by index_num,update_time desc
<if test="modelCase.orderType == 'DESC'">
order by total_score desc
</if>
<if test="modelCase.orderType == 'ASC'">
order by total_score asc
</if>
</select>
<select id="selectMaxIndex" resultType="java.lang.Integer">
select ifnull(max(index_num), 0)

Loading…
Cancel
Save