You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
392 B
13 lines
392 B
7 months ago
|
#namespace("Demo")
|
||
|
#sql("getDemoList")
|
||
|
select id,demo_name, created_date, created_by, last_updated_by, last_updated_date, b_use from t_base_demo where 1=1
|
||
|
#if(demo_name)
|
||
|
and demo_name like '%#(demoName)%'
|
||
|
#end
|
||
|
and b_use=#(b_use)
|
||
|
#end
|
||
|
|
||
|
#sql("deleteDemoById")
|
||
|
update t_base_demo set b_use= 0 where demo_id =#(demoId)
|
||
|
#end
|
||
|
#end
|