<?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>
|