|
|
|
@ -298,6 +298,57 @@ getValuesByQuery
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
getValuesByQueryNotWithPermission
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据不为空的参数进行查询
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from university_faculty t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(universityFacultyId)){
|
|
|
|
|
and t.university_faculty_id =#universityFacultyId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyIdPlural)){
|
|
|
|
|
and find_in_set(t.university_faculty_id,#universityFacultyIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyName)){
|
|
|
|
|
and t.university_faculty_name =#universityFacultyName#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyContact)){
|
|
|
|
|
and t.university_faculty_contact =#universityFacultyContact#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyContactTel)){
|
|
|
|
|
and t.university_faculty_contact_tel =#universityFacultyContactTel#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyContactAddress)){
|
|
|
|
|
and t.university_faculty_contact_address =#universityFacultyContactAddress#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universitiesCollegesId)){
|
|
|
|
|
and t.universities_colleges_id =#universitiesCollegesId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universitiesCollegesIdPlural)){
|
|
|
|
|
and find_in_set(t.universities_colleges_id,#universitiesCollegesIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyStatus)){
|
|
|
|
|
and t.university_faculty_status =#universityFacultyStatus#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(universityFacultyAddTime)){
|
|
|
|
|
and t.university_faculty_add_time =#universityFacultyAddTime#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|