fix:培训人员

ln_ry20250512
wangxy 3 weeks ago
parent aebaa0ff26
commit f01b573e9f

@ -0,0 +1,85 @@
package com.ruoyi.system.domain.train;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @author 13560
*
* @TableName td_train
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TdTrain extends BaseEntity {
/**
*
*/
@TableId
private String trainId;
/**
*
*/
private String trainName;
/**
* id
*/
private Long createId;
/**
* id
*/
private Long deptId;
/**
*
*/
private String deptName;
/**
*
*/
private String trainPost;
/**
*
*/
private String trainAddress;
/**
*
*/
private String organizeDept;
/**
*
*/
private String eductTime;
/**
*
*/
private String eductContent;
/**
*
*/
private String organizeMsg;
/**
* id
*/
private String applyId;
/**
*
*/
private Date trainTime;
}

@ -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…
Cancel
Save