黄海 10 months ago
commit 2f28ff79eb

File diff suppressed because one or more lines are too long

@ -144,7 +144,7 @@
} else { } else {
layer.msg(result.msg, { layer.msg(result.msg, {
icon: 2, icon: 2,
time: 1000 time: 2000
}); });
} }
} }

@ -2,13 +2,16 @@
#namespace("Base") #namespace("Base")
#sql("listScheme") #sql("listScheme")
select * from t_resource_scheme where b_use=1 select t1.*,t2.subject_name,t3.stage_name from t_resource_scheme as t1
inner join t_dm_subject as t2 on t1.subject_id=t2.subject_id
inner join t_dm_stage as t3 on t1.stage_id=t3.stage_id
where t1.b_use=1
#if(stage_id) #if(stage_id)
and stage_id=#para(stage_id) and t1.stage_id=#para(stage_id)
#end #end
#if(subject_id) #if(subject_id)
and subject_id=#para(subject_id) and t1.subject_id=#para(subject_id)
#end #end
order by stage_id,sort_id order by t1.stage_id,t1.sort_id
#end #end
#end #end
Loading…
Cancel
Save