1、swagger接口文档
parent
22826be87b
commit
c320eac5ad
@ -0,0 +1,47 @@
|
|||||||
|
findById
|
||||||
|
===
|
||||||
|
select * from logo_info where id = #id#
|
||||||
|
|
||||||
|
findByApplicationId
|
||||||
|
===
|
||||||
|
select * from logo_info where application_id = #applicationId# and school_id is null
|
||||||
|
|
||||||
|
findBySchoolIdAndApplicationId
|
||||||
|
===
|
||||||
|
select * from logo_info where application_id = #applicationId# and school_id = #schoolId#
|
||||||
|
|
||||||
|
|
||||||
|
queryByCondition
|
||||||
|
===
|
||||||
|
select
|
||||||
|
@pageTag(){
|
||||||
|
l.*
|
||||||
|
@}
|
||||||
|
from logo_info l
|
||||||
|
left join universities_colleges u on l.school_id = u.universities_colleges_id
|
||||||
|
where 1=1
|
||||||
|
@if(!isEmpty(applicationName)){
|
||||||
|
and l.application_name like #"%"+applicationName+"%"#
|
||||||
|
@}
|
||||||
|
@if(!isEmpty(schoolName)){
|
||||||
|
and u.universities_colleges_name like #"%"+schoolName+"%"#
|
||||||
|
@}
|
||||||
|
@pageIgnoreTag(){
|
||||||
|
order by l.add_time desc
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
getValuesByQueryNotWithPermission
|
||||||
|
===
|
||||||
|
select
|
||||||
|
l.*
|
||||||
|
from logo_info l
|
||||||
|
left join universities_colleges u on l.school_id = u.universities_colleges_id
|
||||||
|
where 1=1
|
||||||
|
@if(!isEmpty(applicationName)){
|
||||||
|
and l.application_name like #"%"+applicationName+"%"#
|
||||||
|
@}
|
||||||
|
@if(!isEmpty(schoolName)){
|
||||||
|
and u.universities_colleges_name like #"%"+schoolName+"%"#
|
||||||
|
@}
|
||||||
|
|
Loading…
Reference in New Issue