insert into cus_fielddata(scope, scopeid, id)
values ('HrmCustomFieldByInfoType', #{scopeId}, #{id})
update hrmresource set JOBTITLE = #{jobTitle} where id in
#{id}
update cus_fielddata
field100008=#{field100008},
field100006=#{field100006},
field100007=#{field100007},
field100005=#{field100005},
field100010=#{field100010},
field100009=#{field100009},
where scope = 'HrmCustomFieldByInfoType'
and id = #{id}
and scopeid = #{scopeId}
select multilanguage, (select id from syslanguage where language='简体中文' or language='中文') as cnLanguageId
from license
select id, language
from syslanguage
where activable = 1
select id, name
from HrmEducationLevel
select id, name
from HrmJobCall
select id, locationname
from HrmLocations
where countryid = 1
select id, name
from HrmUseKind
select subcompanyname
from hrmsubcompany
where id = #{companyId}
select departmentname
from hrmdepartment
where id = #{departmentId}
select lastname
from hrmresource
where id = #{managerId}
select *
from ${tableName}
where id = #{id}
select *
from ${tableName}
where uuid = #{uuid}
select *
from hrmjobtitles
where jobtitlename = #{name}
select id
from hrmresource
where departmentid = #{departmentId}
And jobTitle = #{jobTitle}
select b.labelname as fieldlable,
a.fieldid,
a.fieldname,
a.ismand,
a.fieldhtmltype,
a.type,
'hrmresource' as tablename
from hrm_formfield a
inner join htmllabelinfo b on a.fieldlabel = b.indexid and b.languageid = 7
where a.fielddbtype != '6'
order by groupid, fieldorder
select b.labelname as fieldlable,
a.fieldid,
a.hrm_fieldlable as fieldname,
a.ismand,
c.fieldhtmltype,
c.type,
a.dmlurl,
'cus_fielddata' as tablename
from cus_formfield a
inner join htmllabelinfo b on a.fieldlable = b.indexid and b.languageid = 7
inner join cus_formdict c on a.fieldid = c.id and c.fieldhtmltype != '6'
order by groupid, fieldorder
select fieldid, selectvalue, selectname
from ${tableName} and fieldid = #{fieldId}
select b.labelname as fieldlable,
a.fieldid,
a.fieldname,
a.ismand,
a.fieldhtmltype,
a.type,
'hrmresource' as tablename
from hrm_formfield a
inner join htmllabelinfo b on a.fieldlabel = b.indexid and b.languageid = 7
where a.fielddbtype != '6'
and a.fieldname in
#{field}
order by groupid ,fieldorder
select *
from cus_fielddata
where scope = 'HrmCustomFieldByInfoType'
and scopeid = #{scopeId}
and id = #{id}