添加技能字典表

This commit is contained in:
sh
2025-10-30 19:58:11 +08:00
parent 871308d017
commit 1f989bc945
6 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<?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.cms.mapper.BussinessDictJobCategoryMapper">
<!-- 可根据自己的需求,是否要使用 -->
<resultMap type="bussinessDictJobCategory" id="bussinessDictJobCategoryResult">
<result property="id" column="id"/>
<result property="labd" column="labd"/>
<result property="labz" column="labz"/>
<result property="labx" column="labx"/>
<result property="name" column="name"/>
<result property="createBy" column="create_by"/>
<result property="delFlag" column="del_flag"/>
</resultMap>
<sql id="selectBussinessDictJobCategoryVo">
select id, labd, labz, labx, name, create_by, del_flag from bussiness_dict_job_category
</sql>
<sql id="findPage_where">
<where> del_flag='0'
<if test="id!=null and id!='' ">
and id=#{id}
</if>
<if test="labd!=null and labd!='' ">
and labd=#{labd}
</if>
<if test="labz!=null and labz!='' ">
and labz=#{labz}
</if>
<if test="labx!=null and labx!='' ">
and labx=#{labx}
</if>
<if test="name!=null and name!='' ">
and name like concat('%', CAST(#{name} AS VARCHAR), '%')
</if>
</where>
</sql>
<select id="getList" resultMap="bussinessDictJobCategoryResult" parameterType="bussinessDictJobCategory">
<include refid="selectBussinessDictJobCategoryVo"/>
<include refid="findPage_where" />
</select>
</mapper>