应用中心
parent
264e7d4ec8
commit
f1317e58b1
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.academic.controller;
|
||||||
|
|
||||||
|
public class AcademicController {
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.zhiyun.zhiyun03.academic.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "academic")
|
||||||
|
@ApiModel("学术中心")
|
||||||
|
public class Academic {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学术名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "academic_name")
|
||||||
|
private String academicName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学术简介
|
||||||
|
*/
|
||||||
|
@TableField(value = "academic_biref")
|
||||||
|
private String academicBiref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学术链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "academic_url")
|
||||||
|
private String academicUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学术图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "academic_img")
|
||||||
|
private String academicImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "academic_addtime")
|
||||||
|
private Date academicAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "academic_updatetime")
|
||||||
|
private Date academicUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.academic.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.academic.entity.Academic;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface AcademicMapper extends BaseMapper<Academic> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.academic.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.academic.entity.Academic;
|
||||||
|
|
||||||
|
public interface AcademicService extends IService<Academic> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.academic.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.academic.entity.Academic;
|
||||||
|
import com.zhiyun.zhiyun03.academic.mapper.AcademicMapper;
|
||||||
|
import com.zhiyun.zhiyun03.academic.service.AcademicService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class AcademicServiceImpl extends ServiceImpl<AcademicMapper, Academic> implements AcademicService {
|
||||||
|
}
|
@ -1,21 +1,42 @@
|
|||||||
package com.zhiyun.zhiyun03.application.entity;
|
package com.zhiyun.zhiyun03.application.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.time.LocalTime;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
@TableName(value = "directory")
|
@TableName(value = "directory")
|
||||||
@Data
|
@Data
|
||||||
public class Directory {
|
public class Directory {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
@TableId(value ="id")
|
@TableId(value ="id")
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录名称
|
||||||
|
*/
|
||||||
@TableField(value = "dir_name")
|
@TableField(value = "dir_name")
|
||||||
private String dirName;
|
private String dirName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录图片
|
||||||
|
*/
|
||||||
@TableField(value = "dir_img")
|
@TableField(value = "dir_img")
|
||||||
private String dirImg;
|
private String dirImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_addtime")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
private Date dirAddtime;
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.download.controller;
|
||||||
|
|
||||||
|
public class DownloadController {
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.zhiyun.zhiyun03.download.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "download")
|
||||||
|
@ApiModel("下载中心")
|
||||||
|
public class Download {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "download_name")
|
||||||
|
private String downloadName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载简介
|
||||||
|
*/
|
||||||
|
@TableField(value = "download_biref")
|
||||||
|
private String downloadBiref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "download_url")
|
||||||
|
private String downloadUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "download_img")
|
||||||
|
private String downloadImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "download_addtime")
|
||||||
|
private Date downloadAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "download_updatetime")
|
||||||
|
private Date downloadUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.download.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.download.entity.Download;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface DownloadMapper extends BaseMapper<Download> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.download.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.download.entity.Download;
|
||||||
|
|
||||||
|
public interface DownloadService extends IService<Download> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.download.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.download.entity.Download;
|
||||||
|
import com.zhiyun.zhiyun03.download.mapper.DownloadMapper;
|
||||||
|
import com.zhiyun.zhiyun03.download.service.DownloadService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class DownloadServiceImpl extends ServiceImpl<DownloadMapper, Download> implements DownloadService {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.game.controller;
|
||||||
|
|
||||||
|
public class GameController {
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.zhiyun.zhiyun03.game.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "game")
|
||||||
|
@ApiModel("大赛中心")
|
||||||
|
public class Game {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 大赛名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "game_name")
|
||||||
|
private String gameName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 大赛简介
|
||||||
|
*/
|
||||||
|
@TableField(value = "game_biref")
|
||||||
|
private String gameBiref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 大赛链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "game_url")
|
||||||
|
private String gameUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 大赛图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "game_img")
|
||||||
|
private String gameImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "game_addtime")
|
||||||
|
private Date gameAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "game_updatetime")
|
||||||
|
private Date gameUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.game.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.game.entity.Game;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface GameMapper extends BaseMapper<Game> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.game.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.game.entity.Game;
|
||||||
|
|
||||||
|
public interface GameService extends IService<Game> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.game.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.game.entity.Game;
|
||||||
|
import com.zhiyun.zhiyun03.game.mapper.GameMapper;
|
||||||
|
import com.zhiyun.zhiyun03.game.service.GameService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class GameServiceImpl extends ServiceImpl<GameMapper, Game> implements GameService {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.invite.controller;
|
||||||
|
|
||||||
|
public class InviteController {
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.zhiyun.zhiyun03.invite.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "invite")
|
||||||
|
@ApiModel("就业中心")
|
||||||
|
public class Invite {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "invite_name")
|
||||||
|
private String inviteName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘简介
|
||||||
|
*/
|
||||||
|
@TableField(value = "invite_biref")
|
||||||
|
private String inviteBiref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "invite_url")
|
||||||
|
private String inviteUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 招聘图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "invite_img")
|
||||||
|
private String inviteImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "invite_addtime")
|
||||||
|
private Date inviteAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "invite_updatetime")
|
||||||
|
private Date inviteUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.invite.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.invite.entity.Invite;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface InviteMapper extends BaseMapper<Invite> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.invite.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.invite.entity.Invite;
|
||||||
|
|
||||||
|
public interface InviteService extends IService<Invite> {
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package com.zhiyun.zhiyun03.invite.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.invite.entity.Invite;
|
||||||
|
import com.zhiyun.zhiyun03.invite.mapper.InviteMapper;
|
||||||
|
import com.zhiyun.zhiyun03.invite.service.InviteService;
|
||||||
|
import com.zhiyun.zhiyun03.serve.mapper.ServeMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class InviteServieImpl extends ServiceImpl<InviteMapper, Invite> implements InviteService {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.knowledge.controller;
|
||||||
|
|
||||||
|
public class KnowledgeController {
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
package com.zhiyun.zhiyun03.knowledge.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "knowledge")
|
||||||
|
@ApiModel("知识分享")
|
||||||
|
public class Knowledge {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "knowledge_name")
|
||||||
|
private String knowledgeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "knowledge_url")
|
||||||
|
private String knowledgeUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 知识图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "knowledge_img")
|
||||||
|
private String knowledgeImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "knowledge_addtime")
|
||||||
|
private Date knowledgeAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "knowledge_updatetime")
|
||||||
|
private Date knowledgeUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.knowledge.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.knowledge.entity.Knowledge;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface KnowledgeMapper extends BaseMapper<Knowledge> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.knowledge.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.knowledge.entity.Knowledge;
|
||||||
|
|
||||||
|
public interface KnowledgeService extends IService<Knowledge> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.knowledge.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.knowledge.entity.Knowledge;
|
||||||
|
import com.zhiyun.zhiyun03.knowledge.mapper.KnowledgeMapper;
|
||||||
|
import com.zhiyun.zhiyun03.knowledge.service.KnowledgeService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class KnowledgeServiceImpl extends ServiceImpl<KnowledgeMapper,Knowledge> implements KnowledgeService {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.serve.controller;
|
||||||
|
|
||||||
|
public class ServeController {
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.zhiyun.zhiyun03.serve.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "serve")
|
||||||
|
@ApiModel("服务相关")
|
||||||
|
public class Serve {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 服务名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "serve_name")
|
||||||
|
private String serveName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 服务简介
|
||||||
|
*/
|
||||||
|
@TableField(value = "serve_biref")
|
||||||
|
private String serveBiref;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 服务链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "serve_url")
|
||||||
|
private String serveUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 服务图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "serve_img")
|
||||||
|
private String serveImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "serve_addtime")
|
||||||
|
private Date serveAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "serve_updatetime")
|
||||||
|
private Date serveUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.serve.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.serve.entity.Serve;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface ServeMapper extends BaseMapper<Serve> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.serve.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.serve.entity.Serve;
|
||||||
|
|
||||||
|
public interface ServeService extends IService<Serve> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.serve.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.serve.entity.Serve;
|
||||||
|
import com.zhiyun.zhiyun03.serve.mapper.ServeMapper;
|
||||||
|
import com.zhiyun.zhiyun03.serve.service.ServeService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class ServeServiceImpl extends ServiceImpl<ServeMapper, Serve> implements ServeService {
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
package com.zhiyun.zhiyun03.textual.controller;
|
||||||
|
|
||||||
|
public class TextualController {
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
package com.zhiyun.zhiyun03.textual.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName(value = "textual")
|
||||||
|
@ApiModel("考证中心")
|
||||||
|
public class Textual {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(value = "id",type = IdType.AUTO)
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考证名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "textual_name")
|
||||||
|
private String textualName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考证链接
|
||||||
|
*/
|
||||||
|
@TableField(value = "textual_url")
|
||||||
|
private String textualUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录id
|
||||||
|
*/
|
||||||
|
@TableField(value = "dir_id")
|
||||||
|
private int dirId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考证图片
|
||||||
|
*/
|
||||||
|
@TableField(value = "textual_img")
|
||||||
|
private String textualImg;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "textual_addtime")
|
||||||
|
private Date textualAddtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||||
|
@TableField(value = "textual_updatetime")
|
||||||
|
private Date textualUpdatetime;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.zhiyun.zhiyun03.textual.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.zhiyun.zhiyun03.textual.entity.Textual;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface TextualMapper extends BaseMapper<Textual> {
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package com.zhiyun.zhiyun03.textual.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.zhiyun.zhiyun03.textual.entity.Textual;
|
||||||
|
|
||||||
|
public interface TextualService extends IService<Textual> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.zhiyun.zhiyun03.textual.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.zhiyun.zhiyun03.textual.entity.Textual;
|
||||||
|
import com.zhiyun.zhiyun03.textual.mapper.TextualMapper;
|
||||||
|
import com.zhiyun.zhiyun03.textual.service.TextualService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class TextualServiceImpl extends ServiceImpl<TextualMapper, Textual> implements TextualService {
|
||||||
|
}
|
Loading…
Reference in New Issue