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.
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
|
<mapper namespace="com.engine.organization.mapper.hrmresource.SystemDataMapper">
|
|
|
|
|
|
|
|
<select id="getSysLanguageByLicense" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select multilanguage, (select id from syslanguage where language='简体中文' or language='中文') as cnLanguageId
|
|
|
|
from license
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getSysLanguageByActivable" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select id, language
|
|
|
|
from syslanguage
|
|
|
|
where activable = 1
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getHrmEducationLevelData" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select id, name
|
|
|
|
from HrmEducationLevel
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getHrmJobCallData" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select id, name
|
|
|
|
from HrmJobCall
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getHrmLocationsByCountryId" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select id, locationname
|
|
|
|
from HrmLocations
|
|
|
|
where countryid = 1
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getHrmUseKindData" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
select id, name
|
|
|
|
from HrmUseKind
|
|
|
|
</select>
|
|
|
|
<select id="getScCompanyNameById" resultType="java.lang.String">
|
|
|
|
select subcompanyname
|
|
|
|
from hrmsubcompany
|
|
|
|
where id = #{companyId}
|
|
|
|
</select>
|
|
|
|
<select id="getScDepartmentNameById" resultType="java.lang.String">
|
|
|
|
select departmentname
|
|
|
|
from hrmdepartment
|
|
|
|
where id = #{departmentId}
|
|
|
|
</select>
|
|
|
|
<select id="getScHrmResourceNameById" resultType="java.lang.String">
|
|
|
|
select lastname
|
|
|
|
from hrmresource
|
|
|
|
where id = #{managerId}
|
|
|
|
</select>
|
|
|
|
</mapper>
|