郑永安
2023-06-19 c8188c0fc9edf6ea3feda5b6f11dcb014af2a89e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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.ruoyi.system.mapper.enterpriseManage.EnterpriseManageTechnologyTypeRepository" >
    <resultMap id="BaseResultMap" type="com.ruoyi.system.entity.EnterpriseManageTechnologyType">
        <id     property="id"     column="id"     />
        <result property="technologyName"   column="technology_name"   />
        <result property="createTime"  column="create_time"   />
        <result property="createBy"   column="create_by"   />
        <result property="updateTime"   column="update_time"   />
        <result property="updateBy"     column="update_by"      />
        <result property="isDelete"      column="is_delete"       />
    </resultMap>
    <select id="selectTechnologyTypeByPage" resultType="com.ruoyi.system.entity.TechnologyTypeSelectByPageDO">
        select
               *
        from
             enterprise_manage_technology_type
        where
              is_delete = #{deleteStatus}
    </select>
 
    <select id="getEnterpriseManageTechnologyType"
            resultType="com.ruoyi.system.entity.EnterpriseManageTechnologyType">
        select * from enterprise_manage_technology_type
        where
            id = #{id} and is_delete = 0
    </select>
    <select id="getEnterpriseManageTechnologyTypeList"
            resultType="com.ruoyi.system.entity.EnterpriseManageTechnologyType" useCache="false" flushCache="true">
        select * from enterprise_manage_technology_type
        where is_delete = 0
    </select>
    <select id="getValidTechnologyTypeByName"
            resultType="com.ruoyi.system.entity.EnterpriseManageTechnologyType">
        select * from enterprise_manage_technology_type
        where
            technology_name = #{technologyName} and is_delete = 0
    </select>
</mapper>