master
chenjinghao 6 months ago
parent e8b488e943
commit b79c281394
  1. 9
      src/main/java/com/teaching/mapper/KnowMapper.java
  2. 48
      src/main/java/com/teaching/model/entity/Know.java
  3. 10
      src/main/java/com/teaching/service/IknowService.java
  4. 12
      src/main/java/com/teaching/service/impl/IknowServiceimpl.java

@ -0,0 +1,9 @@
package com.teaching.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teaching.model.entity.Know;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface KnowMapper extends BaseMapper<Know> {
}

@ -0,0 +1,48 @@
package com.teaching.model.entity;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class Know {
//内部编号
private Long id ;
//知识点名称
private String name;
//知识点代码
private String code;
//简介
private String info;
//定义
private String miaoshu;
//添加人真实姓名
private String inrealname;
//创建人
private String createBy;
//创建时间
private LocalDateTime createTime;
//修改人
private String updateBy;
//修改时间
private LocalDateTime updateTime;
//所属部门
private String sysOrgCode;
}

@ -0,0 +1,10 @@
package com.teaching.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teaching.model.entity.Know;
import org.springframework.stereotype.Service;
public interface IknowService extends IService<Know> {
}

@ -0,0 +1,12 @@
package com.teaching.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.teaching.mapper.KnowMapper;
import com.teaching.model.entity.Know;
import com.teaching.service.IknowService;
import org.springframework.stereotype.Service;
@Service
public class IknowServiceimpl extends ServiceImpl<KnowMapper,Know> implements IknowService {
}
Loading…
Cancel
Save