u.*,p.id
as
pid,p.user_id,p.name,p.icon,p.vsersion,p.tags,p.description,p.create_time
as bcreate_time,p.update_time as bupdate_time,p.del_flag from t_user u
LEFT
JOIN t_plugin p ON u.id=p.user_id and u.del_flag=0 and
p.del_flag=0 WHERe
u.user_name LIKE CONCAt('%',#{name},'%') OR
u.nick_name LIKE
CONCAt('%',#{name},'%')
select
from t_pcache_template
and template_id = #{templateId}
and template_name = #{templateName}
and template_type = #{templateType}
and create_user = #{createUser}
and create_time = #{createTime,jdbcType=TIMESTAMP}
order by create_time desc