使用注解减少实体代码量,优化可维护性
This commit is contained in:
@@ -132,4 +132,10 @@ public class DataController {
|
|||||||
userque.setAnswer(new BigInteger(CodingUtil.encryptSHA(userque.getAnswer().getBytes())).toString(32));
|
userque.setAnswer(new BigInteger(CodingUtil.encryptSHA(userque.getAnswer().getBytes())).toString(32));
|
||||||
return userService.addUserQue(userque);
|
return userService.addUserQue(userque);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*@GetMapping("/finduserque")
|
||||||
|
public TbUserque findUserQue(){
|
||||||
|
TbUserque userque = userService;
|
||||||
|
|
||||||
|
}*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "tb_homework")
|
@Table(name = "tb_homework")
|
||||||
|
@Data
|
||||||
public class Homework {
|
public class Homework {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "workid")
|
@Column(name = "workid")
|
||||||
@@ -27,60 +30,4 @@ public class Homework {
|
|||||||
|
|
||||||
@Column(name = "workremark")
|
@Column(name = "workremark")
|
||||||
private String Remark;
|
private String Remark;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return Id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
Id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return Name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(String name) {
|
|
||||||
Name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTime() {
|
|
||||||
return Time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTime(String time) {
|
|
||||||
Time = time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getFileid() {
|
|
||||||
return fileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFileid(Integer fileid) {
|
|
||||||
this.fileid = fileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getFolder() {
|
|
||||||
return Folder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFolder(String folder) {
|
|
||||||
Folder = folder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getCourseNo() {
|
|
||||||
return courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseNo(Integer courseNo) {
|
|
||||||
this.courseNo = courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getRemark() {
|
|
||||||
return Remark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRemark(String remark) {
|
|
||||||
Remark = remark;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,34 +1,13 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Http请求返回的最外层对象
|
* Http请求返回的最外层对象
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
public class Result<T> {
|
public class Result<T> {
|
||||||
private Integer code;
|
private Integer code;
|
||||||
private String message;
|
private String message;
|
||||||
private T data;
|
private T data;
|
||||||
|
|
||||||
public Integer getCode() {
|
|
||||||
return code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
|
||||||
this.code = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getMessage() {
|
|
||||||
return message;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
|
||||||
this.message = message;
|
|
||||||
}
|
|
||||||
|
|
||||||
public T getData() {
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setData(T data) {
|
|
||||||
this.data = data;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,15 @@ package com.fjy.spring.domain;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbAdmin {
|
public class TbAdmin {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@@ -16,28 +19,4 @@ public class TbAdmin {
|
|||||||
@Column(name = "coluserid")
|
@Column(name = "coluserid")
|
||||||
private Integer userid;
|
private Integer userid;
|
||||||
private String coltime;
|
private String coltime;
|
||||||
|
|
||||||
public Integer getAdminid() {
|
|
||||||
return adminid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAdminid(Integer adminid) {
|
|
||||||
this.adminid = adminid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserid(Integer userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
@@ -7,6 +9,7 @@ import javax.persistence.Id;
|
|||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbCourse {
|
public class TbCourse {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "courseno")
|
@Column(name = "courseno")
|
||||||
@@ -20,36 +23,4 @@ public class TbCourse {
|
|||||||
private Timestamp courseTime;
|
private Timestamp courseTime;
|
||||||
|
|
||||||
private Integer teacherid;
|
private Integer teacherid;
|
||||||
|
|
||||||
public Integer getCourseNo() {
|
|
||||||
return courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseNo(Integer courseNo) {
|
|
||||||
this.courseNo = courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseName() {
|
|
||||||
return courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseName(String courseName) {
|
|
||||||
this.courseName = courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Timestamp getCourseTime() {
|
|
||||||
return courseTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseTime(Timestamp courseTime) {
|
|
||||||
this.courseTime = courseTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getTeacherid() {
|
|
||||||
return teacherid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTeacherid(Integer teacherid) {
|
|
||||||
this.teacherid = teacherid;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "tb_feedback")
|
@Table(name = "tb_feedback")
|
||||||
|
@Data
|
||||||
public class TbFeedBack {
|
public class TbFeedBack {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "feedbackid")
|
@Column(name = "feedbackid")
|
||||||
@@ -18,36 +21,4 @@ public class TbFeedBack {
|
|||||||
|
|
||||||
@Column(name = "issuetime")
|
@Column(name = "issuetime")
|
||||||
private String time;
|
private String time;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserid(Integer userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getContent() {
|
|
||||||
return content;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setContent(String content) {
|
|
||||||
this.content = content;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTime() {
|
|
||||||
return time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTime(String time) {
|
|
||||||
this.time = time;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbFile {
|
public class TbFile {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@@ -28,95 +31,4 @@ public class TbFile {
|
|||||||
private String courseName;
|
private String courseName;
|
||||||
@Column(name = "workfolder")
|
@Column(name = "workfolder")
|
||||||
private String workFolder;
|
private String workFolder;
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "TbFile{" +
|
|
||||||
"colip='" + colip + '\'' +
|
|
||||||
", colrealname='" + colrealname + '\'' +
|
|
||||||
", colfilename='" + colfilename + '\'' +
|
|
||||||
", colfilesize='" + colfilesize + '\'' +
|
|
||||||
", colfilepath='" + colfilepath + '\'' +
|
|
||||||
'}';
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseName() {
|
|
||||||
return courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseName(String courseName) {
|
|
||||||
this.courseName = courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorkFolder() {
|
|
||||||
return workFolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkFolder(String workFolder) {
|
|
||||||
this.workFolder = workFolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getColfileid() {
|
|
||||||
return colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfileid(int colfileid) {
|
|
||||||
this.colfileid = colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getColuserid() {
|
|
||||||
return coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColuserid(int coluserid) {
|
|
||||||
this.coluserid = coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColip() {
|
|
||||||
return colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColip(String colip) {
|
|
||||||
this.colip = colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColrealname() {
|
|
||||||
return colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColrealname(String colrealname) {
|
|
||||||
this.colrealname = colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilename() {
|
|
||||||
return colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilename(String colfilename) {
|
|
||||||
this.colfilename = colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilesize() {
|
|
||||||
return colfilesize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilesize(String colfilesize) {
|
|
||||||
this.colfilesize = colfilesize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilepath() {
|
|
||||||
return colfilepath;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilepath(String colfilepath) {
|
|
||||||
this.colfilepath = colfilepath;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbLog {
|
public class TbLog {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@@ -17,43 +20,4 @@ public class TbLog {
|
|||||||
|
|
||||||
private String colheader;
|
private String colheader;
|
||||||
|
|
||||||
public Integer getLogid() {
|
|
||||||
return logid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLogid(Integer logid) {
|
|
||||||
this.logid = logid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserid(Integer userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColip() {
|
|
||||||
return colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColip(String colip) {
|
|
||||||
this.colip = colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColheader() {
|
|
||||||
return colheader;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColheader(String colheader) {
|
|
||||||
this.colheader = colheader;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,15 @@ package com.fjy.spring.domain;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbStudent {
|
public class TbStudent {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@@ -17,27 +20,4 @@ public class TbStudent {
|
|||||||
private Integer userid;
|
private Integer userid;
|
||||||
private String coltime;
|
private String coltime;
|
||||||
|
|
||||||
public Integer getStudentid() {
|
|
||||||
return studentid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStudentid(Integer studentid) {
|
|
||||||
this.studentid = studentid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserid(Integer userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbStudentlist {
|
public class TbStudentlist {
|
||||||
@Id
|
@Id
|
||||||
private Integer listid;
|
private Integer listid;
|
||||||
@@ -14,35 +17,4 @@ public class TbStudentlist {
|
|||||||
|
|
||||||
private String sex;
|
private String sex;
|
||||||
|
|
||||||
public Integer getListid() {
|
|
||||||
return listid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setListid(Integer listid) {
|
|
||||||
this.listid = listid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColstudentno() {
|
|
||||||
return colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColstudentno(String colstudentno) {
|
|
||||||
this.colstudentno = colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColrealname() {
|
|
||||||
return colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColrealname(String colrealname) {
|
|
||||||
this.colrealname = colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getSex() {
|
|
||||||
return sex;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSex(String sex) {
|
|
||||||
this.sex = sex;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,39 +2,18 @@ package com.fjy.spring.domain;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbTeacher {
|
public class TbTeacher {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
private Integer teacherid;
|
private Integer teacherid;
|
||||||
private Integer coluserid;
|
private Integer coluserid;
|
||||||
private String coltime;
|
private String coltime;
|
||||||
|
|
||||||
public Integer getTeacherid() {
|
|
||||||
return teacherid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTeacherid(Integer teacherid) {
|
|
||||||
this.teacherid = teacherid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getColuserid() {
|
|
||||||
return coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColuserid(Integer coluserid) {
|
|
||||||
this.coluserid = coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
@@ -6,6 +8,7 @@ import javax.persistence.Id;
|
|||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Data
|
||||||
public class TbUser {
|
public class TbUser {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@@ -21,64 +24,4 @@ public class TbUser {
|
|||||||
private String colstudentno;
|
private String colstudentno;
|
||||||
@NotNull(message = "真实姓名必填")
|
@NotNull(message = "真实姓名必填")
|
||||||
private String colrealname;
|
private String colrealname;
|
||||||
|
|
||||||
public Integer getColuserid() {
|
|
||||||
return coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColuserid(Integer coluserid) {
|
|
||||||
this.coluserid = coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColname() {
|
|
||||||
return colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColname(String colname) {
|
|
||||||
this.colname = colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColpassword() {
|
|
||||||
return colpassword;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColpassword(String colpassword) {
|
|
||||||
this.colpassword = colpassword;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColemail() {
|
|
||||||
return colemail;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColemail(String colemail) {
|
|
||||||
this.colemail = colemail;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColstudentno() {
|
|
||||||
return colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColstudentno(String colstudentno) {
|
|
||||||
this.colstudentno = colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColrealname() {
|
|
||||||
return colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColrealname(String colrealname) {
|
|
||||||
this.colrealname = colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "TbUser{" +
|
|
||||||
"coluserid=" + coluserid +
|
|
||||||
", colname='" + colname + '\'' +
|
|
||||||
", colpassword='" + colpassword + '\'' +
|
|
||||||
", colemail='" + colemail + '\'' +
|
|
||||||
", colstudentno='" + colstudentno + '\'' +
|
|
||||||
", colrealname='" + colrealname + '\'' +
|
|
||||||
'}';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -12,6 +13,7 @@ import java.sql.Timestamp;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_course")
|
@Subselect("SELECT * FROM v_course")
|
||||||
|
@Data
|
||||||
public class VCourse {
|
public class VCourse {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "courseno")
|
@Column(name = "courseno")
|
||||||
@@ -29,43 +31,4 @@ public class VCourse {
|
|||||||
@Column(name = "colname")
|
@Column(name = "colname")
|
||||||
private String teacherrealname;
|
private String teacherrealname;
|
||||||
|
|
||||||
public Integer getCourseNo() {
|
|
||||||
return courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseNo(Integer courseNo) {
|
|
||||||
this.courseNo = courseNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseName() {
|
|
||||||
return courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseName(String courseName) {
|
|
||||||
this.courseName = courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseTime() {
|
|
||||||
return courseTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseTime(String courseTime) {
|
|
||||||
this.courseTime = courseTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTeacherusername() {
|
|
||||||
return teacherusername;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTeacherusername(String teacherusername) {
|
|
||||||
this.teacherusername = teacherusername;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTeacherrealname() {
|
|
||||||
return teacherrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTeacherrealname(String teacherrealname) {
|
|
||||||
this.teacherrealname = teacherrealname;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -8,6 +9,7 @@ import javax.persistence.*;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_feedback")
|
@Subselect("SELECT * FROM v_feedback")
|
||||||
|
@Data
|
||||||
public class VFeedBack {
|
public class VFeedBack {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "feedbackid")
|
@Column(name = "feedbackid")
|
||||||
@@ -22,35 +24,4 @@ public class VFeedBack {
|
|||||||
@Column(name = "issuetime")
|
@Column(name = "issuetime")
|
||||||
private String time;
|
private String time;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getUsername() {
|
|
||||||
return username;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
|
||||||
this.username = username;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getContent() {
|
|
||||||
return content;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setContent(String content) {
|
|
||||||
this.content = content;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTime() {
|
|
||||||
return time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTime(String time) {
|
|
||||||
this.time = time;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -8,6 +9,7 @@ import javax.persistence.*;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_homework")
|
@Subselect("SELECT * FROM v_homework")
|
||||||
|
@Data
|
||||||
public class VHomework {
|
public class VHomework {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "workid")
|
@Column(name = "workid")
|
||||||
@@ -31,59 +33,4 @@ public class VHomework {
|
|||||||
@Column(name = "workremark")
|
@Column(name = "workremark")
|
||||||
private String Remark;
|
private String Remark;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return Id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
Id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return Name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(String name) {
|
|
||||||
Name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTime() {
|
|
||||||
return Time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTime(String time) {
|
|
||||||
Time = time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getFileid() {
|
|
||||||
return fileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFileid(Integer fileid) {
|
|
||||||
this.fileid = fileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getFolder() {
|
|
||||||
return Folder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFolder(String folder) {
|
|
||||||
Folder = folder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseName() {
|
|
||||||
return courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseName(String courseName) {
|
|
||||||
this.courseName = courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getRemark() {
|
|
||||||
return Remark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setRemark(String remark) {
|
|
||||||
Remark = remark;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -8,6 +9,7 @@ import javax.persistence.*;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_log ORDER BY coltime DESC LIMIT 0, 20")
|
@Subselect("SELECT * FROM v_log ORDER BY coltime DESC LIMIT 0, 20")
|
||||||
|
@Data
|
||||||
public class VLog {
|
public class VLog {
|
||||||
@Id
|
@Id
|
||||||
private Integer logid;
|
private Integer logid;
|
||||||
@@ -19,44 +21,4 @@ public class VLog {
|
|||||||
private String colip;
|
private String colip;
|
||||||
|
|
||||||
private String colheader;
|
private String colheader;
|
||||||
|
|
||||||
public Integer getLogid() {
|
|
||||||
return logid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLogid(Integer logid) {
|
|
||||||
this.logid = logid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColname() {
|
|
||||||
return colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColname(String colname) {
|
|
||||||
this.colname = colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColip() {
|
|
||||||
return colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColip(String colip) {
|
|
||||||
this.colip = colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColheader() {
|
|
||||||
return colheader;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColheader(String colheader) {
|
|
||||||
this.colheader = colheader;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -10,6 +11,7 @@ import javax.persistence.Id;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_userfile")
|
@Subselect("SELECT * FROM v_userfile")
|
||||||
|
@Data
|
||||||
public class VUserfile {
|
public class VUserfile {
|
||||||
@Id
|
@Id
|
||||||
private int colfileid;
|
private int colfileid;
|
||||||
@@ -31,96 +33,4 @@ public class VUserfile {
|
|||||||
private String courseName;
|
private String courseName;
|
||||||
@Column(name = "workfolder")
|
@Column(name = "workfolder")
|
||||||
private String workFolder;
|
private String workFolder;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "TbFile{" +
|
|
||||||
"colip='" + colip + '\'' +
|
|
||||||
", colrealname='" + colrealname + '\'' +
|
|
||||||
", colfilename='" + colfilename + '\'' +
|
|
||||||
", colfilesize='" + colfilesize + '\'' +
|
|
||||||
", colfilepath='" + colfilepath + '\'' +
|
|
||||||
'}';
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCourseName() {
|
|
||||||
return courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCourseName(String courseName) {
|
|
||||||
this.courseName = courseName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorkFolder() {
|
|
||||||
return workFolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkFolder(String workFolder) {
|
|
||||||
this.workFolder = workFolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColtime() {
|
|
||||||
return coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColtime(String coltime) {
|
|
||||||
this.coltime = coltime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getColfileid() {
|
|
||||||
return colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfileid(int colfileid) {
|
|
||||||
this.colfileid = colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColstudentno() {
|
|
||||||
return colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColstudentno(String colstudentno) {
|
|
||||||
this.colstudentno = colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColip() {
|
|
||||||
return colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColip(String colip) {
|
|
||||||
this.colip = colip;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColrealname() {
|
|
||||||
return colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColrealname(String colrealname) {
|
|
||||||
this.colrealname = colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilename() {
|
|
||||||
return colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilename(String colfilename) {
|
|
||||||
this.colfilename = colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilesize() {
|
|
||||||
return colfilesize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilesize(String colfilesize) {
|
|
||||||
this.colfilesize = colfilesize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilepath() {
|
|
||||||
return colfilepath;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilepath(String colfilepath) {
|
|
||||||
this.colfilepath = colfilepath;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -8,6 +9,7 @@ import javax.persistence.Id;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_userinfo")
|
@Subselect("SELECT * FROM v_userinfo")
|
||||||
|
@Data
|
||||||
public class VUserinfo {
|
public class VUserinfo {
|
||||||
@Id
|
@Id
|
||||||
private Integer coluserid;
|
private Integer coluserid;
|
||||||
@@ -19,56 +21,4 @@ public class VUserinfo {
|
|||||||
private String colstudentno;
|
private String colstudentno;
|
||||||
|
|
||||||
private String colrealname;
|
private String colrealname;
|
||||||
|
|
||||||
public Integer getColuserid() {
|
|
||||||
return coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColuserid(Integer coluserid) {
|
|
||||||
this.coluserid = coluserid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColname() {
|
|
||||||
return colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColname(String colname) {
|
|
||||||
this.colname = colname;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public String getColemail() {
|
|
||||||
return colemail;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColemail(String colemail) {
|
|
||||||
this.colemail = colemail;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColstudentno() {
|
|
||||||
return colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColstudentno(String colstudentno) {
|
|
||||||
this.colstudentno = colstudentno;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColrealname() {
|
|
||||||
return colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColrealname(String colrealname) {
|
|
||||||
this.colrealname = colrealname;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "VUserinfo{" +
|
|
||||||
"coluserid=" + coluserid +
|
|
||||||
", colname='" + colname + '\'' +
|
|
||||||
", colemail='" + colemail + '\'' +
|
|
||||||
", colstudentno='" + colstudentno + '\'' +
|
|
||||||
", colrealname='" + colrealname + '\'' +
|
|
||||||
'}';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
import org.hibernate.annotations.Immutable;
|
import org.hibernate.annotations.Immutable;
|
||||||
import org.hibernate.annotations.Subselect;
|
import org.hibernate.annotations.Subselect;
|
||||||
|
|
||||||
@@ -12,6 +13,7 @@ import javax.persistence.Id;
|
|||||||
@Entity
|
@Entity
|
||||||
@Immutable
|
@Immutable
|
||||||
@Subselect("SELECT * FROM v_workdetail")
|
@Subselect("SELECT * FROM v_workdetail")
|
||||||
|
@Data
|
||||||
public class VWorkDetail {
|
public class VWorkDetail {
|
||||||
@Id
|
@Id
|
||||||
private Integer workid;
|
private Integer workid;
|
||||||
@@ -22,68 +24,4 @@ public class VWorkDetail {
|
|||||||
private String coursename;
|
private String coursename;
|
||||||
private String workremark;
|
private String workremark;
|
||||||
private String workfolder;
|
private String workfolder;
|
||||||
|
|
||||||
public Integer getWorkid() {
|
|
||||||
return workid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkid(Integer workid) {
|
|
||||||
this.workid = workid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getColfileid() {
|
|
||||||
return colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfileid(Integer colfileid) {
|
|
||||||
this.colfileid = colfileid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorkname() {
|
|
||||||
return workname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkname(String workname) {
|
|
||||||
this.workname = workname;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorktime() {
|
|
||||||
return worktime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorktime(String worktime) {
|
|
||||||
this.worktime = worktime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getColfilename() {
|
|
||||||
return colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColfilename(String colfilename) {
|
|
||||||
this.colfilename = colfilename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCoursename() {
|
|
||||||
return coursename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCoursename(String coursename) {
|
|
||||||
this.coursename = coursename;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorkremark() {
|
|
||||||
return workremark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkremark(String workremark) {
|
|
||||||
this.workremark = workremark;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getWorkfolder() {
|
|
||||||
return workfolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkfolder(String workfolder) {
|
|
||||||
this.workfolder = workfolder;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
package com.fjy.spring.domain;
|
package com.fjy.spring.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "tb_workstatus")
|
@Table(name = "tb_workstatus")
|
||||||
|
@Data
|
||||||
public class Workstatus {
|
public class Workstatus {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@@ -16,36 +19,4 @@ public class Workstatus {
|
|||||||
private Integer workId;
|
private Integer workId;
|
||||||
|
|
||||||
private Integer colstatus;
|
private Integer colstatus;
|
||||||
|
|
||||||
public Integer getStatusid() {
|
|
||||||
return statusid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStatusid(Integer statusid) {
|
|
||||||
this.statusid = statusid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserid(Integer userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getWorkId() {
|
|
||||||
return workId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWorkId(Integer workId) {
|
|
||||||
this.workId = workId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getColstatus() {
|
|
||||||
return colstatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setColstatus(Integer colstatus) {
|
|
||||||
this.colstatus = colstatus;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ import org.springframework.data.jpa.repository.JpaRepository;
|
|||||||
|
|
||||||
|
|
||||||
public interface TbUserqueRepository extends JpaRepository<TbUserque,Integer> {
|
public interface TbUserqueRepository extends JpaRepository<TbUserque,Integer> {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,4 +78,8 @@ public class UserService {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*public TbUserque findUserQue(String question){
|
||||||
|
return userqueRepository
|
||||||
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user