feat: 资质申请监控

dev
zhanglei 2026-07-14 15:28:29 +08:00
parent 7176591ea0
commit 97d64aedba
2 changed files with 6 additions and 6 deletions

View File

@ -33,4 +33,7 @@ public class BasePageQuery {
@ApiModelProperty(value = "结束时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime endTime;
@ApiModelProperty(value = "keyword")
private String keyword;
}

View File

@ -63,17 +63,14 @@
select info.credit_code as creditCode, info.unit_name as unitName, filing.* from org_info as info
left join qual_filing as filing on info.id = filing.org_id
where 1=1
<if test="query.creditCode != null">
and info.credit_code = #{query.creditCode}
</if>
<if test="query.unitName != null">
and info.unit_name like concat('%',#{query.unitName},'%')
<if test="query.keyword != null">
and (info.credit_code like concat('%',#{query.keyword},'%') or info.unit_name like concat('%',#{query.keyword},'%'))
</if>
<if test="query.alertStatus != null">
and filing.alert_status = #{query.alertStatus}
</if>
<if test="query.businessScope != null">
and filing.expert_status like concat('%',#{query.unitName},'%')
and JSON_CONTAINS(filing.business_scope, CONCAT('"', #{query.businessScope}, '"'))
</if>
order by filing.id desc
</select>