parent
aebaa0ff26
commit
f01b573e9f
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper.train;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.train.TdTrain;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【td_train(培训教育表)】的数据库操作Mapper
|
||||||
|
* @createDate 2025-05-15 15:15:33
|
||||||
|
* @Entity generator.domain.TdTrain
|
||||||
|
*/
|
||||||
|
public interface TdTrainMapper extends BaseMapper<TdTrain> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ruoyi.system.service.train;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.train.TdTrain;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【td_train(培训教育表)】的数据库操作Service
|
||||||
|
* @createDate 2025-05-15 15:15:33
|
||||||
|
*/
|
||||||
|
public interface TdTrainService extends IService<TdTrain> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.system.service.train.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.train.TdTrain;
|
||||||
|
import com.ruoyi.system.mapper.train.TdTrainMapper;
|
||||||
|
import com.ruoyi.system.service.train.TdTrainService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【td_train(培训教育表)】的数据库操作Service实现
|
||||||
|
* @createDate 2025-05-15 15:15:33
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class TdTrainServiceImpl extends ServiceImpl<TdTrainMapper, TdTrain>
|
||||||
|
implements TdTrainService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
<?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.train.TdTrainMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.train.TdTrain">
|
||||||
|
<id property="trainId" column="train_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="trainName" column="train_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createId" column="create_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deptId" column="dept_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="deptName" column="dept_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="trainPost" column="train_post" jdbcType="VARCHAR"/>
|
||||||
|
<result property="trainAddress" column="train_address" jdbcType="VARCHAR"/>
|
||||||
|
<result property="organizeDept" column="organize_dept" jdbcType="VARCHAR"/>
|
||||||
|
<result property="eductTime" column="educt_time" jdbcType="VARCHAR"/>
|
||||||
|
<result property="eductContent" column="educt_content" jdbcType="VARCHAR"/>
|
||||||
|
<result property="organizeMsg" column="organize_msg" jdbcType="VARCHAR"/>
|
||||||
|
<result property="applyId" column="apply_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="trainTime" column="train_time" jdbcType="TIMESTAMP"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
train_id,train_name,create_id,
|
||||||
|
create_by,create_time,update_by,
|
||||||
|
update_time,remark,dept_id,
|
||||||
|
dept_name,train_post,train_address,
|
||||||
|
organize_dept,educt_time,educt_content,
|
||||||
|
organize_msg,apply_id,train_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
Loading…
Reference in new issue