|
|
|
@ -2,109 +2,115 @@ queryByCondition
|
|
|
|
|
===
|
|
|
|
|
* 根据不为空的参数进行分页查询
|
|
|
|
|
|
|
|
|
|
select
|
|
|
|
|
@pageTag(){
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@//数据权限,该sql语句功能点,如果不考虑数据权限,可以删除此行
|
|
|
|
|
and #function("teacherMergeApplication.query")#
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select
|
|
|
|
|
@pageTag(){
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@//数据权限,该sql语句功能点,如果不考虑数据权限,可以删除此行
|
|
|
|
|
and #function("teacherMergeApplication.query")#
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orderIndex)){
|
|
|
|
|
and t.order_index =#orderIndex#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queryByConditionQuery
|
|
|
|
|
===
|
|
|
|
|
* 根据不为空的参数进行分页查询(无权限)
|
|
|
|
|
|
|
|
|
|
select
|
|
|
|
|
@pageTag(){
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select
|
|
|
|
|
@pageTag(){
|
|
|
|
|
t.*
|
|
|
|
|
@}
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orderIndex)){
|
|
|
|
|
and t.order_index =#orderIndex#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteTeacherMergeApplicationByIds
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 批量删除
|
|
|
|
|
|
|
|
|
|
delete from teacher_merge_application where find_in_set(teacher_merge_application_id,#ids#)
|
|
|
|
|
|
|
|
|
|
delete from teacher_merge_application where find_in_set(teacher_merge_application_id,#ids#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getByIds
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
select * from teacher_merge_application where find_in_set(teacher_merge_application_id,#ids#)
|
|
|
|
|
select * from teacher_merge_application where find_in_set(teacher_merge_application_id,#ids#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateGivenByIds
|
|
|
|
@ -112,117 +118,176 @@ updateGivenByIds
|
|
|
|
|
|
|
|
|
|
* 批量更新指定字段,无论此字段是否有值
|
|
|
|
|
|
|
|
|
|
update teacher_merge_application
|
|
|
|
|
set
|
|
|
|
|
@if(contain("teacherId",_given)){
|
|
|
|
|
@if(isEmpty(teacherId)){
|
|
|
|
|
teacher_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
teacher_id = #teacherId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("applicationId",_given)){
|
|
|
|
|
@if(isEmpty(applicationId)){
|
|
|
|
|
application_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
application_id = #applicationId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("orgId",_given)){
|
|
|
|
|
@if(isEmpty(orgId)){
|
|
|
|
|
org_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
org_id = #orgId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("userId",_given)){
|
|
|
|
|
@if(isEmpty(userId)){
|
|
|
|
|
user_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
user_id = #userId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("createTime",_given)){
|
|
|
|
|
@if(isEmpty(createTime)){
|
|
|
|
|
create_time = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
create_time = #createTime# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
teacher_merge_application_id = teacher_merge_application_id
|
|
|
|
|
where find_in_set(teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update teacher_merge_application
|
|
|
|
|
set
|
|
|
|
|
@if(contain("teacherId",_given)){
|
|
|
|
|
@if(isEmpty(teacherId)){
|
|
|
|
|
teacher_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
teacher_id = #teacherId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("applicationId",_given)){
|
|
|
|
|
@if(isEmpty(applicationId)){
|
|
|
|
|
application_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
application_id = #applicationId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("orderIndex",_given)){
|
|
|
|
|
@if(isEmpty(orderIndex)){
|
|
|
|
|
order_index = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
order_index = #orderIndex# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("orgId",_given)){
|
|
|
|
|
@if(isEmpty(orgId)){
|
|
|
|
|
org_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
org_id = #orgId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("userId",_given)){
|
|
|
|
|
@if(isEmpty(userId)){
|
|
|
|
|
user_id = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
user_id = #userId# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
@if(contain("createTime",_given)){
|
|
|
|
|
@if(isEmpty(createTime)){
|
|
|
|
|
create_time = null ,
|
|
|
|
|
@}else{
|
|
|
|
|
create_time = #createTime# ,
|
|
|
|
|
@}
|
|
|
|
|
@}
|
|
|
|
|
teacher_merge_application_id = teacher_merge_application_id
|
|
|
|
|
where find_in_set(teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getTeacherMergeApplicationValues
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据不为空的参数进行查询
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orderIndex)){
|
|
|
|
|
and t.order_index =#orderIndex#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getValuesByQuery
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据不为空的参数进行查询
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1 and #function("teacherMergeApplication.query")#
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1 and #function("teacherMergeApplication.query")#
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orderIndex)){
|
|
|
|
|
and t.order_index =#orderIndex#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getValuesByQueryNotWithPermission
|
|
|
|
|
===
|
|
|
|
|
|
|
|
|
|
* 根据不为空的参数进行查询(不包含权限)
|
|
|
|
|
|
|
|
|
|
select t.*
|
|
|
|
|
from teacher_merge_application t
|
|
|
|
|
where 1=1
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationId)){
|
|
|
|
|
and t.teacher_merge_application_id =#teacherMergeApplicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherMergeApplicationIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_merge_application_id,#teacherMergeApplicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherId)){
|
|
|
|
|
and t.teacher_id =#teacherId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(teacherIdPlural)){
|
|
|
|
|
and find_in_set(t.teacher_id,#teacherIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationId)){
|
|
|
|
|
and t.application_id =#applicationId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(applicationIdPlural)){
|
|
|
|
|
and find_in_set(t.application_id,#applicationIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orderIndex)){
|
|
|
|
|
and t.order_index =#orderIndex#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgId)){
|
|
|
|
|
and t.org_id =#orgId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(orgIdPlural)){
|
|
|
|
|
and find_in_set(t.org_id,#orgIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userId)){
|
|
|
|
|
and t.user_id =#userId#
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(userIdPlural)){
|
|
|
|
|
and find_in_set(t.user_id,#userIdPlural#)
|
|
|
|
|
@}
|
|
|
|
|
@if(!isEmpty(createTime)){
|
|
|
|
|
and t.create_time =#createTime#
|
|
|
|
|
@}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|