You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

433 B

queryByCondition

select 
@pageTag(){
t.*
@}
from cms_blog t
where 1=1  
@//数据权限该sql语句功能点  
and #function("console.query")#
@if(!isEmpty(id)){
    and  t.id =#id#
@}
@if(!isEmpty(title)){
    and  t.title =#title#
@}

batchDelCmsBlogByIds

  • 批量逻辑删除

    update cms_blog set del_flag = 1 where id in( #join(ids)#)