select selectName ,selectValue
from workflow_selectItem
where fieldId = #{fieldId}
order by selectValue asc
select id, billId,
tableName, title, orderId
from workflow_billdetailtable
where billId = #{billId}
order by orderId asc
select a.id fieldId, a.fieldDbType, a.fieldName, a.fieldLabel,
a.detailTable
from workflow_billfield a
where a.billid = #{formId}
and a.viewType = #{viewType}
and a.detailTable = #{detailTable}
and a.FIELDHTMLTYPE = #{fieldHtmlType}
and a.type = #{type}
delete from ${tableName} where ${field} = #{value}
insert into ${tableName}
${set.name}
values
#{set.value}
insert into ${tableName}
${col}
values
#{data}
insert into ${tableName}
${col}
values
#{data}
insert into ${tableName}
${col}
#{data}
select a.id fieldId, a.fieldLabel
from workflow_billfield a
where a.fieldhtmltype = '3'
and a.type in ('1','17')
and a.billid = #{formId}
select count(id) count from (
select id from modeinfo where formid = #{formid}
union all select id from mode_customsearch where formid = #{formid}
union all select id from mode_report where formid = #{formid}
union all select id from mode_custombrowser where formid = #{formid}) t