2024-08-05 09:02:26 +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.aqgqj.app.dao.SelectAppDao">
|
|
|
|
|
<select id="getToolsSelect" resultType="com.bonus.aqgqj.app.entity.SamplesManageAppVo">
|
|
|
|
|
select
|
|
|
|
|
id,
|
|
|
|
|
dict_name as name
|
|
|
|
|
from
|
|
|
|
|
sys_distinct
|
|
|
|
|
where
|
|
|
|
|
p_id = 92
|
|
|
|
|
and del_flag = 0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="getTestTeamSelected" resultType="com.bonus.aqgqj.app.entity.SamplesManageAppVo">
|
|
|
|
|
SELECT
|
|
|
|
|
id,
|
|
|
|
|
team_name AS name
|
|
|
|
|
FROM
|
|
|
|
|
tb_team
|
|
|
|
|
WHERE
|
|
|
|
|
del_flag = 0
|
|
|
|
|
AND team_type_code =2
|
|
|
|
|
</select>
|
2024-08-05 16:16:11 +08:00
|
|
|
<select id="getCustomNameSelected" resultType="com.bonus.aqgqj.app.entity.SamplesManageAppVo">
|
|
|
|
|
SELECT id,
|
|
|
|
|
custom_name AS name
|
|
|
|
|
FROM tb_custom
|
|
|
|
|
WHERE del_flag = 0
|
|
|
|
|
and custom_status = 0
|
|
|
|
|
and dept_id = 0
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getDeptSelectedById" resultType="com.bonus.aqgqj.app.entity.SamplesManageAppVo">
|
|
|
|
|
SELECT id,
|
|
|
|
|
custom_name as name
|
|
|
|
|
FROM tb_custom
|
|
|
|
|
WHERE p_id = #{customId}
|
|
|
|
|
and del_flag = 0
|
|
|
|
|
and custom_status = 0
|
|
|
|
|
and dept_id = 1
|
|
|
|
|
</select>
|
2024-08-05 09:02:26 +08:00
|
|
|
</mapper>
|