2024-02-27 09:02:44 +08:00
|
|
|
<?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.bonus.leader.performance.manager.select.dao.ProjectManagerDao">
|
|
|
|
|
<select id="getBranchName" resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id,
|
|
|
|
|
org_name as name
|
|
|
|
|
from sys_organization
|
|
|
|
|
where `level` = '1'
|
|
|
|
|
and is_enable = '1'
|
|
|
|
|
and is_active = '1'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getVoltageLevel" resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id,
|
|
|
|
|
dict_key as name
|
|
|
|
|
from sys_data_dict
|
|
|
|
|
where parent_id = '4'
|
|
|
|
|
and is_active = '1'
|
|
|
|
|
and is_enable = '1'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getProjectName" resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id,
|
|
|
|
|
org_name as name
|
|
|
|
|
from sys_organization
|
2024-04-26 10:12:40 +08:00
|
|
|
where `level` = '1'
|
2024-02-27 09:02:44 +08:00
|
|
|
and is_enable = '1'
|
|
|
|
|
and is_active = '1'
|
|
|
|
|
</select>
|
2024-04-26 10:12:40 +08:00
|
|
|
<select id="getProjectType" resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id,
|
|
|
|
|
dict_key as name
|
|
|
|
|
from sys_data_dict
|
|
|
|
|
where parent_id = '13'
|
|
|
|
|
and is_active = '1'
|
|
|
|
|
and is_enable = '1'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getPushNotification"
|
|
|
|
|
resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id as id,
|
|
|
|
|
real_name as name
|
|
|
|
|
from bm_project
|
|
|
|
|
where is_active = '1'
|
|
|
|
|
and pro_from = '1'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getFound" resultType="com.bonus.leader.performance.manager.select.entity.SelectBean">
|
|
|
|
|
select id as id,
|
|
|
|
|
pro_name as name
|
|
|
|
|
from bm_project
|
|
|
|
|
where is_active = '1'
|
|
|
|
|
and pro_from = '2'
|
|
|
|
|
</select>
|
2024-02-27 09:02:44 +08:00
|
|
|
</mapper>
|