保理合同
parent
600d8469d8
commit
7089f55ca9
@ -0,0 +1,137 @@
|
||||
package com.sztzjy.block_finance.controller;
|
||||
|
||||
import com.nimbusds.jose.shaded.gson.Gson;
|
||||
import com.sztzjy.block_finance.annotation.AnonymousAccess;
|
||||
import com.sztzjy.block_finance.config.security.TokenProvider;
|
||||
import com.sztzjy.block_finance.entity.StuPracticalTrainingReport;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyScore;
|
||||
import com.sztzjy.block_finance.entity.dto.StuBlockProductWithBLOBs;
|
||||
import com.sztzjy.block_finance.mappers.StuUploadResourceInfoMapper;
|
||||
import com.sztzjy.block_finance.service.StuPublicService;
|
||||
import com.sztzjy.block_finance.util.ResultDataEntity;
|
||||
import com.sztzjy.block_finance.util.ResultEntity;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 17803
|
||||
* @date 2024-04-09 17:40
|
||||
*/
|
||||
|
||||
@Api(tags = "公共模块")
|
||||
@RestController
|
||||
@RequestMapping("/api/stu/publicModule")
|
||||
public class StuPublicModuleController {
|
||||
|
||||
@Autowired
|
||||
private StuUploadResourceInfoMapper stuUploadResourceInfoMapper;
|
||||
|
||||
@Value("${file.path}")
|
||||
private String filePath;
|
||||
|
||||
@Resource
|
||||
private com.sztzjy.block_finance.util.file.IFileUtil IFileUtil;
|
||||
|
||||
@Autowired
|
||||
private StuPublicService publicService;
|
||||
|
||||
|
||||
|
||||
@PostMapping("/errorNumber")
|
||||
@ApiOperation("6.统计错误次数")
|
||||
public ResultEntity errorNumber(int number, String userId) {
|
||||
|
||||
publicService.errorNumber(number, userId);
|
||||
return new ResultEntity<>(HttpStatus.OK);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 上传实训报告
|
||||
*
|
||||
* @param file
|
||||
* @param stuBlockProduct
|
||||
* @return
|
||||
*/
|
||||
|
||||
@PostMapping("/upload")
|
||||
@ApiOperation("7.上传实训报告")
|
||||
public ResultDataEntity<StuPracticalTrainingReport> upload(@RequestParam(required = false) @RequestPart MultipartFile file,
|
||||
@RequestParam(required = false) String stuBlockProduct) {
|
||||
|
||||
Gson gson = new Gson();
|
||||
StuBlockProductWithBLOBs stuBlockProductWithBLOBs = gson.fromJson(stuBlockProduct, StuBlockProductWithBLOBs.class);
|
||||
StuPracticalTrainingReport report = publicService.upload(file, stuBlockProductWithBLOBs);
|
||||
return new ResultDataEntity<>(HttpStatus.OK, report);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 下载实训报告
|
||||
*
|
||||
* @param userId
|
||||
* @param TOKEN
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
|
||||
@GetMapping("/download")
|
||||
@ApiOperation("8.下载实训报告")
|
||||
@AnonymousAccess
|
||||
public void download(@RequestParam String userId, String TOKEN, HttpServletResponse response) {
|
||||
TokenProvider.getJWTUser(TOKEN);
|
||||
publicService.download(userId, response);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取实训报告详情
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
|
||||
@GetMapping("/getReport")
|
||||
@ApiOperation("9.获取实训报告详情")
|
||||
public ResultDataEntity<StuPracticalTrainingReport> getReport(String userId) {
|
||||
|
||||
StuPracticalTrainingReport report = publicService.getReport(userId);
|
||||
return new ResultDataEntity<>(HttpStatus.OK, report);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 操作记录和成绩
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
|
||||
|
||||
@GetMapping("/getScore")
|
||||
@ApiOperation("5.操作记录和成绩")
|
||||
public ResultEntity<List<StuSupplyScore>> getScore(String userId) {
|
||||
|
||||
List<StuSupplyScore> info = publicService.getScore(userId);
|
||||
return new ResultEntity<List<StuSupplyScore>>(HttpStatus.OK, info);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class StuPracticalTrainingReport {
|
||||
private Integer id;
|
||||
|
||||
private String reportName;
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
private Date uploadTime;
|
||||
|
||||
private Integer size;
|
||||
|
||||
private Double rating;
|
||||
|
||||
private String module;
|
||||
|
||||
private String userid;
|
||||
|
||||
private String url;
|
||||
|
||||
private Integer socreId;
|
||||
|
||||
private String teacherComments;
|
||||
|
||||
private String schoolId;
|
||||
|
||||
private Integer status;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getReportName() {
|
||||
return reportName;
|
||||
}
|
||||
|
||||
public void setReportName(String reportName) {
|
||||
this.reportName = reportName == null ? null : reportName.trim();
|
||||
}
|
||||
|
||||
public Date getUploadTime() {
|
||||
return uploadTime;
|
||||
}
|
||||
|
||||
public void setUploadTime(Date uploadTime) {
|
||||
this.uploadTime = uploadTime;
|
||||
}
|
||||
|
||||
public Integer getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(Integer size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public Double getRating() {
|
||||
return rating;
|
||||
}
|
||||
|
||||
public void setRating(Double rating) {
|
||||
this.rating = rating;
|
||||
}
|
||||
|
||||
public String getModule() {
|
||||
return module;
|
||||
}
|
||||
|
||||
public void setModule(String module) {
|
||||
this.module = module == null ? null : module.trim();
|
||||
}
|
||||
|
||||
public String getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
public void setUserid(String userid) {
|
||||
this.userid = userid == null ? null : userid.trim();
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url == null ? null : url.trim();
|
||||
}
|
||||
|
||||
public Integer getSocreId() {
|
||||
return socreId;
|
||||
}
|
||||
|
||||
public void setSocreId(Integer socreId) {
|
||||
this.socreId = socreId;
|
||||
}
|
||||
|
||||
public String getTeacherComments() {
|
||||
return teacherComments;
|
||||
}
|
||||
|
||||
public void setTeacherComments(String teacherComments) {
|
||||
this.teacherComments = teacherComments == null ? null : teacherComments.trim();
|
||||
}
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
@ -0,0 +1,980 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class StuPracticalTrainingReportExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public StuPracticalTrainingReportExample() {
|
||||
oredCriteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(Integer value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Integer value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Integer value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Integer value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Integer> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Integer> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Integer value1, Integer value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameIsNull() {
|
||||
addCriterion("report_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameIsNotNull() {
|
||||
addCriterion("report_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameEqualTo(String value) {
|
||||
addCriterion("report_name =", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotEqualTo(String value) {
|
||||
addCriterion("report_name <>", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameGreaterThan(String value) {
|
||||
addCriterion("report_name >", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("report_name >=", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLessThan(String value) {
|
||||
addCriterion("report_name <", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("report_name <=", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameLike(String value) {
|
||||
addCriterion("report_name like", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotLike(String value) {
|
||||
addCriterion("report_name not like", value, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameIn(List<String> values) {
|
||||
addCriterion("report_name in", values, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotIn(List<String> values) {
|
||||
addCriterion("report_name not in", values, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameBetween(String value1, String value2) {
|
||||
addCriterion("report_name between", value1, value2, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReportNameNotBetween(String value1, String value2) {
|
||||
addCriterion("report_name not between", value1, value2, "reportName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeIsNull() {
|
||||
addCriterion("upload_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeIsNotNull() {
|
||||
addCriterion("upload_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeEqualTo(Date value) {
|
||||
addCriterion("upload_time =", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeNotEqualTo(Date value) {
|
||||
addCriterion("upload_time <>", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeGreaterThan(Date value) {
|
||||
addCriterion("upload_time >", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("upload_time >=", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeLessThan(Date value) {
|
||||
addCriterion("upload_time <", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("upload_time <=", value, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeIn(List<Date> values) {
|
||||
addCriterion("upload_time in", values, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeNotIn(List<Date> values) {
|
||||
addCriterion("upload_time not in", values, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("upload_time between", value1, value2, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUploadTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("upload_time not between", value1, value2, "uploadTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeIsNull() {
|
||||
addCriterion("size is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeIsNotNull() {
|
||||
addCriterion("size is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeEqualTo(Integer value) {
|
||||
addCriterion("size =", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeNotEqualTo(Integer value) {
|
||||
addCriterion("size <>", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeGreaterThan(Integer value) {
|
||||
addCriterion("size >", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("size >=", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeLessThan(Integer value) {
|
||||
addCriterion("size <", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("size <=", value, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeIn(List<Integer> values) {
|
||||
addCriterion("size in", values, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeNotIn(List<Integer> values) {
|
||||
addCriterion("size not in", values, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeBetween(Integer value1, Integer value2) {
|
||||
addCriterion("size between", value1, value2, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSizeNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("size not between", value1, value2, "size");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingIsNull() {
|
||||
addCriterion("rating is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingIsNotNull() {
|
||||
addCriterion("rating is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingEqualTo(Double value) {
|
||||
addCriterion("rating =", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingNotEqualTo(Double value) {
|
||||
addCriterion("rating <>", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingGreaterThan(Double value) {
|
||||
addCriterion("rating >", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingGreaterThanOrEqualTo(Double value) {
|
||||
addCriterion("rating >=", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingLessThan(Double value) {
|
||||
addCriterion("rating <", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingLessThanOrEqualTo(Double value) {
|
||||
addCriterion("rating <=", value, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingIn(List<Double> values) {
|
||||
addCriterion("rating in", values, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingNotIn(List<Double> values) {
|
||||
addCriterion("rating not in", values, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingBetween(Double value1, Double value2) {
|
||||
addCriterion("rating between", value1, value2, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRatingNotBetween(Double value1, Double value2) {
|
||||
addCriterion("rating not between", value1, value2, "rating");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleIsNull() {
|
||||
addCriterion("module is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleIsNotNull() {
|
||||
addCriterion("module is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleEqualTo(String value) {
|
||||
addCriterion("module =", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleNotEqualTo(String value) {
|
||||
addCriterion("module <>", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleGreaterThan(String value) {
|
||||
addCriterion("module >", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("module >=", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleLessThan(String value) {
|
||||
addCriterion("module <", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleLessThanOrEqualTo(String value) {
|
||||
addCriterion("module <=", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleLike(String value) {
|
||||
addCriterion("module like", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleNotLike(String value) {
|
||||
addCriterion("module not like", value, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleIn(List<String> values) {
|
||||
addCriterion("module in", values, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleNotIn(List<String> values) {
|
||||
addCriterion("module not in", values, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleBetween(String value1, String value2) {
|
||||
addCriterion("module between", value1, value2, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andModuleNotBetween(String value1, String value2) {
|
||||
addCriterion("module not between", value1, value2, "module");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridIsNull() {
|
||||
addCriterion("userId is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridIsNotNull() {
|
||||
addCriterion("userId is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridEqualTo(String value) {
|
||||
addCriterion("userId =", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridNotEqualTo(String value) {
|
||||
addCriterion("userId <>", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridGreaterThan(String value) {
|
||||
addCriterion("userId >", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("userId >=", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridLessThan(String value) {
|
||||
addCriterion("userId <", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridLessThanOrEqualTo(String value) {
|
||||
addCriterion("userId <=", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridLike(String value) {
|
||||
addCriterion("userId like", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridNotLike(String value) {
|
||||
addCriterion("userId not like", value, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridIn(List<String> values) {
|
||||
addCriterion("userId in", values, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridNotIn(List<String> values) {
|
||||
addCriterion("userId not in", values, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridBetween(String value1, String value2) {
|
||||
addCriterion("userId between", value1, value2, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUseridNotBetween(String value1, String value2) {
|
||||
addCriterion("userId not between", value1, value2, "userid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIsNull() {
|
||||
addCriterion("url is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIsNotNull() {
|
||||
addCriterion("url is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlEqualTo(String value) {
|
||||
addCriterion("url =", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotEqualTo(String value) {
|
||||
addCriterion("url <>", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlGreaterThan(String value) {
|
||||
addCriterion("url >", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("url >=", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLessThan(String value) {
|
||||
addCriterion("url <", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLessThanOrEqualTo(String value) {
|
||||
addCriterion("url <=", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLike(String value) {
|
||||
addCriterion("url like", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotLike(String value) {
|
||||
addCriterion("url not like", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIn(List<String> values) {
|
||||
addCriterion("url in", values, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotIn(List<String> values) {
|
||||
addCriterion("url not in", values, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlBetween(String value1, String value2) {
|
||||
addCriterion("url between", value1, value2, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotBetween(String value1, String value2) {
|
||||
addCriterion("url not between", value1, value2, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdIsNull() {
|
||||
addCriterion("socre_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdIsNotNull() {
|
||||
addCriterion("socre_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdEqualTo(Integer value) {
|
||||
addCriterion("socre_id =", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdNotEqualTo(Integer value) {
|
||||
addCriterion("socre_id <>", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdGreaterThan(Integer value) {
|
||||
addCriterion("socre_id >", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("socre_id >=", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdLessThan(Integer value) {
|
||||
addCriterion("socre_id <", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("socre_id <=", value, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdIn(List<Integer> values) {
|
||||
addCriterion("socre_id in", values, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdNotIn(List<Integer> values) {
|
||||
addCriterion("socre_id not in", values, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdBetween(Integer value1, Integer value2) {
|
||||
addCriterion("socre_id between", value1, value2, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSocreIdNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("socre_id not between", value1, value2, "socreId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsIsNull() {
|
||||
addCriterion("teacher_comments is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsIsNotNull() {
|
||||
addCriterion("teacher_comments is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsEqualTo(String value) {
|
||||
addCriterion("teacher_comments =", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsNotEqualTo(String value) {
|
||||
addCriterion("teacher_comments <>", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsGreaterThan(String value) {
|
||||
addCriterion("teacher_comments >", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("teacher_comments >=", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsLessThan(String value) {
|
||||
addCriterion("teacher_comments <", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsLessThanOrEqualTo(String value) {
|
||||
addCriterion("teacher_comments <=", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsLike(String value) {
|
||||
addCriterion("teacher_comments like", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsNotLike(String value) {
|
||||
addCriterion("teacher_comments not like", value, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsIn(List<String> values) {
|
||||
addCriterion("teacher_comments in", values, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsNotIn(List<String> values) {
|
||||
addCriterion("teacher_comments not in", values, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsBetween(String value1, String value2) {
|
||||
addCriterion("teacher_comments between", value1, value2, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeacherCommentsNotBetween(String value1, String value2) {
|
||||
addCriterion("teacher_comments not between", value1, value2, "teacherComments");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNull() {
|
||||
addCriterion("school_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNotNull() {
|
||||
addCriterion("school_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdEqualTo(String value) {
|
||||
addCriterion("school_id =", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotEqualTo(String value) {
|
||||
addCriterion("school_id <>", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThan(String value) {
|
||||
addCriterion("school_id >", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("school_id >=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThan(String value) {
|
||||
addCriterion("school_id <", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("school_id <=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLike(String value) {
|
||||
addCriterion("school_id like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotLike(String value) {
|
||||
addCriterion("school_id not like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIn(List<String> values) {
|
||||
addCriterion("school_id in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotIn(List<String> values) {
|
||||
addCriterion("school_id not in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdBetween(String value1, String value2) {
|
||||
addCriterion("school_id between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotBetween(String value1, String value2) {
|
||||
addCriterion("school_id not between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNull() {
|
||||
addCriterion("status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNotNull() {
|
||||
addCriterion("status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusEqualTo(Integer value) {
|
||||
addCriterion("status =", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotEqualTo(Integer value) {
|
||||
addCriterion("status <>", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThan(Integer value) {
|
||||
addCriterion("status >", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("status >=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThan(Integer value) {
|
||||
addCriterion("status <", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("status <=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIn(List<Integer> values) {
|
||||
addCriterion("status in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotIn(List<Integer> values) {
|
||||
addCriterion("status not in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusBetween(Integer value1, Integer value2) {
|
||||
addCriterion("status between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("status not between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class StuSupplyScore {
|
||||
private Integer id;
|
||||
|
||||
private Integer numbers;
|
||||
|
||||
private String projects;
|
||||
|
||||
private Integer projectsNumber;
|
||||
|
||||
private String scoringCriteria;
|
||||
|
||||
private Double projectsWeight;
|
||||
|
||||
private Integer projectsScore;
|
||||
|
||||
private Integer totalScore;
|
||||
|
||||
private String userId;
|
||||
|
||||
private String replenishScore;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getNumbers() {
|
||||
return numbers;
|
||||
}
|
||||
|
||||
public void setNumbers(Integer numbers) {
|
||||
this.numbers = numbers;
|
||||
}
|
||||
|
||||
public String getProjects() {
|
||||
return projects;
|
||||
}
|
||||
|
||||
public void setProjects(String projects) {
|
||||
this.projects = projects == null ? null : projects.trim();
|
||||
}
|
||||
|
||||
public Integer getProjectsNumber() {
|
||||
return projectsNumber;
|
||||
}
|
||||
|
||||
public void setProjectsNumber(Integer projectsNumber) {
|
||||
this.projectsNumber = projectsNumber;
|
||||
}
|
||||
|
||||
public String getScoringCriteria() {
|
||||
return scoringCriteria;
|
||||
}
|
||||
|
||||
public void setScoringCriteria(String scoringCriteria) {
|
||||
this.scoringCriteria = scoringCriteria == null ? null : scoringCriteria.trim();
|
||||
}
|
||||
|
||||
public Double getProjectsWeight() {
|
||||
return projectsWeight;
|
||||
}
|
||||
|
||||
public void setProjectsWeight(Double projectsWeight) {
|
||||
this.projectsWeight = projectsWeight;
|
||||
}
|
||||
|
||||
public Integer getProjectsScore() {
|
||||
return projectsScore;
|
||||
}
|
||||
|
||||
public void setProjectsScore(Integer projectsScore) {
|
||||
this.projectsScore = projectsScore;
|
||||
}
|
||||
|
||||
public Integer getTotalScore() {
|
||||
return totalScore;
|
||||
}
|
||||
|
||||
public void setTotalScore(Integer totalScore) {
|
||||
this.totalScore = totalScore;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public String getReplenishScore() {
|
||||
return replenishScore;
|
||||
}
|
||||
|
||||
public void setReplenishScore(String replenishScore) {
|
||||
this.replenishScore = replenishScore == null ? null : replenishScore.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,960 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class StuSupplyScoreExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public StuSupplyScoreExample() {
|
||||
oredCriteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(Integer value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Integer value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Integer value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Integer value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Integer> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Integer> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Integer value1, Integer value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersIsNull() {
|
||||
addCriterion("numbers is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersIsNotNull() {
|
||||
addCriterion("numbers is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersEqualTo(Integer value) {
|
||||
addCriterion("numbers =", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersNotEqualTo(Integer value) {
|
||||
addCriterion("numbers <>", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersGreaterThan(Integer value) {
|
||||
addCriterion("numbers >", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("numbers >=", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersLessThan(Integer value) {
|
||||
addCriterion("numbers <", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("numbers <=", value, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersIn(List<Integer> values) {
|
||||
addCriterion("numbers in", values, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersNotIn(List<Integer> values) {
|
||||
addCriterion("numbers not in", values, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersBetween(Integer value1, Integer value2) {
|
||||
addCriterion("numbers between", value1, value2, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andNumbersNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("numbers not between", value1, value2, "numbers");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsIsNull() {
|
||||
addCriterion("projects is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsIsNotNull() {
|
||||
addCriterion("projects is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsEqualTo(String value) {
|
||||
addCriterion("projects =", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNotEqualTo(String value) {
|
||||
addCriterion("projects <>", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsGreaterThan(String value) {
|
||||
addCriterion("projects >", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("projects >=", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsLessThan(String value) {
|
||||
addCriterion("projects <", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsLessThanOrEqualTo(String value) {
|
||||
addCriterion("projects <=", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsLike(String value) {
|
||||
addCriterion("projects like", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNotLike(String value) {
|
||||
addCriterion("projects not like", value, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsIn(List<String> values) {
|
||||
addCriterion("projects in", values, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNotIn(List<String> values) {
|
||||
addCriterion("projects not in", values, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsBetween(String value1, String value2) {
|
||||
addCriterion("projects between", value1, value2, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNotBetween(String value1, String value2) {
|
||||
addCriterion("projects not between", value1, value2, "projects");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberIsNull() {
|
||||
addCriterion("projects_number is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberIsNotNull() {
|
||||
addCriterion("projects_number is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberEqualTo(Integer value) {
|
||||
addCriterion("projects_number =", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberNotEqualTo(Integer value) {
|
||||
addCriterion("projects_number <>", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberGreaterThan(Integer value) {
|
||||
addCriterion("projects_number >", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("projects_number >=", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberLessThan(Integer value) {
|
||||
addCriterion("projects_number <", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("projects_number <=", value, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberIn(List<Integer> values) {
|
||||
addCriterion("projects_number in", values, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberNotIn(List<Integer> values) {
|
||||
addCriterion("projects_number not in", values, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberBetween(Integer value1, Integer value2) {
|
||||
addCriterion("projects_number between", value1, value2, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsNumberNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("projects_number not between", value1, value2, "projectsNumber");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaIsNull() {
|
||||
addCriterion("scoring_criteria is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaIsNotNull() {
|
||||
addCriterion("scoring_criteria is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaEqualTo(String value) {
|
||||
addCriterion("scoring_criteria =", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaNotEqualTo(String value) {
|
||||
addCriterion("scoring_criteria <>", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaGreaterThan(String value) {
|
||||
addCriterion("scoring_criteria >", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("scoring_criteria >=", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaLessThan(String value) {
|
||||
addCriterion("scoring_criteria <", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaLessThanOrEqualTo(String value) {
|
||||
addCriterion("scoring_criteria <=", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaLike(String value) {
|
||||
addCriterion("scoring_criteria like", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaNotLike(String value) {
|
||||
addCriterion("scoring_criteria not like", value, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaIn(List<String> values) {
|
||||
addCriterion("scoring_criteria in", values, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaNotIn(List<String> values) {
|
||||
addCriterion("scoring_criteria not in", values, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaBetween(String value1, String value2) {
|
||||
addCriterion("scoring_criteria between", value1, value2, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andScoringCriteriaNotBetween(String value1, String value2) {
|
||||
addCriterion("scoring_criteria not between", value1, value2, "scoringCriteria");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightIsNull() {
|
||||
addCriterion("projects_weight is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightIsNotNull() {
|
||||
addCriterion("projects_weight is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightEqualTo(Double value) {
|
||||
addCriterion("projects_weight =", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightNotEqualTo(Double value) {
|
||||
addCriterion("projects_weight <>", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightGreaterThan(Double value) {
|
||||
addCriterion("projects_weight >", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightGreaterThanOrEqualTo(Double value) {
|
||||
addCriterion("projects_weight >=", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightLessThan(Double value) {
|
||||
addCriterion("projects_weight <", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightLessThanOrEqualTo(Double value) {
|
||||
addCriterion("projects_weight <=", value, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightIn(List<Double> values) {
|
||||
addCriterion("projects_weight in", values, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightNotIn(List<Double> values) {
|
||||
addCriterion("projects_weight not in", values, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightBetween(Double value1, Double value2) {
|
||||
addCriterion("projects_weight between", value1, value2, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsWeightNotBetween(Double value1, Double value2) {
|
||||
addCriterion("projects_weight not between", value1, value2, "projectsWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreIsNull() {
|
||||
addCriterion("projects_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreIsNotNull() {
|
||||
addCriterion("projects_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreEqualTo(Integer value) {
|
||||
addCriterion("projects_score =", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreNotEqualTo(Integer value) {
|
||||
addCriterion("projects_score <>", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreGreaterThan(Integer value) {
|
||||
addCriterion("projects_score >", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("projects_score >=", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreLessThan(Integer value) {
|
||||
addCriterion("projects_score <", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("projects_score <=", value, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreIn(List<Integer> values) {
|
||||
addCriterion("projects_score in", values, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreNotIn(List<Integer> values) {
|
||||
addCriterion("projects_score not in", values, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreBetween(Integer value1, Integer value2) {
|
||||
addCriterion("projects_score between", value1, value2, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProjectsScoreNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("projects_score not between", value1, value2, "projectsScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreIsNull() {
|
||||
addCriterion("total_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreIsNotNull() {
|
||||
addCriterion("total_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreEqualTo(Integer value) {
|
||||
addCriterion("total_score =", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreNotEqualTo(Integer value) {
|
||||
addCriterion("total_score <>", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreGreaterThan(Integer value) {
|
||||
addCriterion("total_score >", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("total_score >=", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreLessThan(Integer value) {
|
||||
addCriterion("total_score <", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("total_score <=", value, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreIn(List<Integer> values) {
|
||||
addCriterion("total_score in", values, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreNotIn(List<Integer> values) {
|
||||
addCriterion("total_score not in", values, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreBetween(Integer value1, Integer value2) {
|
||||
addCriterion("total_score between", value1, value2, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTotalScoreNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("total_score not between", value1, value2, "totalScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNull() {
|
||||
addCriterion("user_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNotNull() {
|
||||
addCriterion("user_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdEqualTo(String value) {
|
||||
addCriterion("user_id =", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotEqualTo(String value) {
|
||||
addCriterion("user_id <>", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThan(String value) {
|
||||
addCriterion("user_id >", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("user_id >=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThan(String value) {
|
||||
addCriterion("user_id <", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("user_id <=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLike(String value) {
|
||||
addCriterion("user_id like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotLike(String value) {
|
||||
addCriterion("user_id not like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIn(List<String> values) {
|
||||
addCriterion("user_id in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotIn(List<String> values) {
|
||||
addCriterion("user_id not in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdBetween(String value1, String value2) {
|
||||
addCriterion("user_id between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||
addCriterion("user_id not between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreIsNull() {
|
||||
addCriterion("replenish_score is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreIsNotNull() {
|
||||
addCriterion("replenish_score is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreEqualTo(String value) {
|
||||
addCriterion("replenish_score =", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreNotEqualTo(String value) {
|
||||
addCriterion("replenish_score <>", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreGreaterThan(String value) {
|
||||
addCriterion("replenish_score >", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("replenish_score >=", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreLessThan(String value) {
|
||||
addCriterion("replenish_score <", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreLessThanOrEqualTo(String value) {
|
||||
addCriterion("replenish_score <=", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreLike(String value) {
|
||||
addCriterion("replenish_score like", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreNotLike(String value) {
|
||||
addCriterion("replenish_score not like", value, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreIn(List<String> values) {
|
||||
addCriterion("replenish_score in", values, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreNotIn(List<String> values) {
|
||||
addCriterion("replenish_score not in", values, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreBetween(String value1, String value2) {
|
||||
addCriterion("replenish_score between", value1, value2, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andReplenishScoreNotBetween(String value1, String value2) {
|
||||
addCriterion("replenish_score not between", value1, value2, "replenishScore");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNull() {
|
||||
addCriterion("update_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNotNull() {
|
||||
addCriterion("update_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||
addCriterion("update_time =", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||
addCriterion("update_time <>", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||
addCriterion("update_time >", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time >=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThan(Date value) {
|
||||
addCriterion("update_time <", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time <=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||
addCriterion("update_time in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||
addCriterion("update_time not in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,305 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class StuUser {
|
||||
private String userId;
|
||||
|
||||
private String studentId;
|
||||
|
||||
private String name;
|
||||
|
||||
private String password;
|
||||
|
||||
private Integer roleId;
|
||||
|
||||
private String classId;
|
||||
|
||||
private String className;
|
||||
|
||||
private String major;
|
||||
|
||||
private String schoolId;
|
||||
|
||||
private String schoolName;
|
||||
|
||||
private BigDecimal hashFunctionScore;
|
||||
|
||||
private BigDecimal blockchainScore;
|
||||
|
||||
private BigDecimal dataLayerScore;
|
||||
|
||||
private BigDecimal networkLayerScore;
|
||||
|
||||
private BigDecimal consensusLayerSocre;
|
||||
|
||||
private BigDecimal excitingLayerSocre;
|
||||
|
||||
private BigDecimal contractLayerSocre;
|
||||
|
||||
private BigDecimal conceptScore;
|
||||
|
||||
private Integer conceptRank;
|
||||
|
||||
private BigDecimal technologySocre;
|
||||
|
||||
private Integer technologyRank;
|
||||
|
||||
private BigDecimal digitalCurrencyScore;
|
||||
|
||||
private Integer digitalCurrencyRank;
|
||||
|
||||
private BigDecimal invoiceScore;
|
||||
|
||||
private BigDecimal supplyChainFinanceScore;
|
||||
|
||||
private BigDecimal traceabilityAndAntiCounterfeitingScore;
|
||||
|
||||
private BigDecimal ticketResultsScore;
|
||||
|
||||
private BigDecimal crossBorderPaymentResultsScore;
|
||||
|
||||
private Integer totalRank;
|
||||
|
||||
private BigDecimal totalScore;
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public String getStudentId() {
|
||||
return studentId;
|
||||
}
|
||||
|
||||
public void setStudentId(String studentId) {
|
||||
this.studentId = studentId == null ? null : studentId.trim();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password == null ? null : password.trim();
|
||||
}
|
||||
|
||||
public Integer getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Integer roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getClassId() {
|
||||
return classId;
|
||||
}
|
||||
|
||||
public void setClassId(String classId) {
|
||||
this.classId = classId == null ? null : classId.trim();
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return className;
|
||||
}
|
||||
|
||||
public void setClassName(String className) {
|
||||
this.className = className == null ? null : className.trim();
|
||||
}
|
||||
|
||||
public String getMajor() {
|
||||
return major;
|
||||
}
|
||||
|
||||
public void setMajor(String major) {
|
||||
this.major = major == null ? null : major.trim();
|
||||
}
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
|
||||
public String getSchoolName() {
|
||||
return schoolName;
|
||||
}
|
||||
|
||||
public void setSchoolName(String schoolName) {
|
||||
this.schoolName = schoolName == null ? null : schoolName.trim();
|
||||
}
|
||||
|
||||
public BigDecimal getHashFunctionScore() {
|
||||
return hashFunctionScore;
|
||||
}
|
||||
|
||||
public void setHashFunctionScore(BigDecimal hashFunctionScore) {
|
||||
this.hashFunctionScore = hashFunctionScore;
|
||||
}
|
||||
|
||||
public BigDecimal getBlockchainScore() {
|
||||
return blockchainScore;
|
||||
}
|
||||
|
||||
public void setBlockchainScore(BigDecimal blockchainScore) {
|
||||
this.blockchainScore = blockchainScore;
|
||||
}
|
||||
|
||||
public BigDecimal getDataLayerScore() {
|
||||
return dataLayerScore;
|
||||
}
|
||||
|
||||
public void setDataLayerScore(BigDecimal dataLayerScore) {
|
||||
this.dataLayerScore = dataLayerScore;
|
||||
}
|
||||
|
||||
public BigDecimal getNetworkLayerScore() {
|
||||
return networkLayerScore;
|
||||
}
|
||||
|
||||
public void setNetworkLayerScore(BigDecimal networkLayerScore) {
|
||||
this.networkLayerScore = networkLayerScore;
|
||||
}
|
||||
|
||||
public BigDecimal getConsensusLayerSocre() {
|
||||
return consensusLayerSocre;
|
||||
}
|
||||
|
||||
public void setConsensusLayerSocre(BigDecimal consensusLayerSocre) {
|
||||
this.consensusLayerSocre = consensusLayerSocre;
|
||||
}
|
||||
|
||||
public BigDecimal getExcitingLayerSocre() {
|
||||
return excitingLayerSocre;
|
||||
}
|
||||
|
||||
public void setExcitingLayerSocre(BigDecimal excitingLayerSocre) {
|
||||
this.excitingLayerSocre = excitingLayerSocre;
|
||||
}
|
||||
|
||||
public BigDecimal getContractLayerSocre() {
|
||||
return contractLayerSocre;
|
||||
}
|
||||
|
||||
public void setContractLayerSocre(BigDecimal contractLayerSocre) {
|
||||
this.contractLayerSocre = contractLayerSocre;
|
||||
}
|
||||
|
||||
public BigDecimal getConceptScore() {
|
||||
return conceptScore;
|
||||
}
|
||||
|
||||
public void setConceptScore(BigDecimal conceptScore) {
|
||||
this.conceptScore = conceptScore;
|
||||
}
|
||||
|
||||
public Integer getConceptRank() {
|
||||
return conceptRank;
|
||||
}
|
||||
|
||||
public void setConceptRank(Integer conceptRank) {
|
||||
this.conceptRank = conceptRank;
|
||||
}
|
||||
|
||||
public BigDecimal getTechnologySocre() {
|
||||
return technologySocre;
|
||||
}
|
||||
|
||||
public void setTechnologySocre(BigDecimal technologySocre) {
|
||||
this.technologySocre = technologySocre;
|
||||
}
|
||||
|
||||
public Integer getTechnologyRank() {
|
||||
return technologyRank;
|
||||
}
|
||||
|
||||
public void setTechnologyRank(Integer technologyRank) {
|
||||
this.technologyRank = technologyRank;
|
||||
}
|
||||
|
||||
public BigDecimal getDigitalCurrencyScore() {
|
||||
return digitalCurrencyScore;
|
||||
}
|
||||
|
||||
public void setDigitalCurrencyScore(BigDecimal digitalCurrencyScore) {
|
||||
this.digitalCurrencyScore = digitalCurrencyScore;
|
||||
}
|
||||
|
||||
public Integer getDigitalCurrencyRank() {
|
||||
return digitalCurrencyRank;
|
||||
}
|
||||
|
||||
public void setDigitalCurrencyRank(Integer digitalCurrencyRank) {
|
||||
this.digitalCurrencyRank = digitalCurrencyRank;
|
||||
}
|
||||
|
||||
public BigDecimal getInvoiceScore() {
|
||||
return invoiceScore;
|
||||
}
|
||||
|
||||
public void setInvoiceScore(BigDecimal invoiceScore) {
|
||||
this.invoiceScore = invoiceScore;
|
||||
}
|
||||
|
||||
public BigDecimal getSupplyChainFinanceScore() {
|
||||
return supplyChainFinanceScore;
|
||||
}
|
||||
|
||||
public void setSupplyChainFinanceScore(BigDecimal supplyChainFinanceScore) {
|
||||
this.supplyChainFinanceScore = supplyChainFinanceScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTraceabilityAndAntiCounterfeitingScore() {
|
||||
return traceabilityAndAntiCounterfeitingScore;
|
||||
}
|
||||
|
||||
public void setTraceabilityAndAntiCounterfeitingScore(BigDecimal traceabilityAndAntiCounterfeitingScore) {
|
||||
this.traceabilityAndAntiCounterfeitingScore = traceabilityAndAntiCounterfeitingScore;
|
||||
}
|
||||
|
||||
public BigDecimal getTicketResultsScore() {
|
||||
return ticketResultsScore;
|
||||
}
|
||||
|
||||
public void setTicketResultsScore(BigDecimal ticketResultsScore) {
|
||||
this.ticketResultsScore = ticketResultsScore;
|
||||
}
|
||||
|
||||
public BigDecimal getCrossBorderPaymentResultsScore() {
|
||||
return crossBorderPaymentResultsScore;
|
||||
}
|
||||
|
||||
public void setCrossBorderPaymentResultsScore(BigDecimal crossBorderPaymentResultsScore) {
|
||||
this.crossBorderPaymentResultsScore = crossBorderPaymentResultsScore;
|
||||
}
|
||||
|
||||
public Integer getTotalRank() {
|
||||
return totalRank;
|
||||
}
|
||||
|
||||
public void setTotalRank(Integer totalRank) {
|
||||
this.totalRank = totalRank;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalScore() {
|
||||
return totalScore;
|
||||
}
|
||||
|
||||
public void setTotalScore(BigDecimal totalScore) {
|
||||
this.totalScore = totalScore;
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,45 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class TchSupplyGradeWeight {
|
||||
private String id;
|
||||
|
||||
private String schoolId;
|
||||
|
||||
private BigDecimal experimentTrainWeight;
|
||||
|
||||
private BigDecimal trainingReportWeight;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id == null ? null : id.trim();
|
||||
}
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
|
||||
public BigDecimal getExperimentTrainWeight() {
|
||||
return experimentTrainWeight;
|
||||
}
|
||||
|
||||
public void setExperimentTrainWeight(BigDecimal experimentTrainWeight) {
|
||||
this.experimentTrainWeight = experimentTrainWeight;
|
||||
}
|
||||
|
||||
public BigDecimal getTrainingReportWeight() {
|
||||
return trainingReportWeight;
|
||||
}
|
||||
|
||||
public void setTrainingReportWeight(BigDecimal trainingReportWeight) {
|
||||
this.trainingReportWeight = trainingReportWeight;
|
||||
}
|
||||
}
|
@ -0,0 +1,460 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TchSupplyGradeWeightExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public TchSupplyGradeWeightExample() {
|
||||
oredCriteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(String value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(String value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(String value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(String value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLike(String value) {
|
||||
addCriterion("id like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotLike(String value) {
|
||||
addCriterion("id not like", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<String> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<String> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(String value1, String value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(String value1, String value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNull() {
|
||||
addCriterion("school_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIsNotNull() {
|
||||
addCriterion("school_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdEqualTo(String value) {
|
||||
addCriterion("school_id =", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotEqualTo(String value) {
|
||||
addCriterion("school_id <>", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThan(String value) {
|
||||
addCriterion("school_id >", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("school_id >=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThan(String value) {
|
||||
addCriterion("school_id <", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("school_id <=", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdLike(String value) {
|
||||
addCriterion("school_id like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotLike(String value) {
|
||||
addCriterion("school_id not like", value, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdIn(List<String> values) {
|
||||
addCriterion("school_id in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotIn(List<String> values) {
|
||||
addCriterion("school_id not in", values, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdBetween(String value1, String value2) {
|
||||
addCriterion("school_id between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSchoolIdNotBetween(String value1, String value2) {
|
||||
addCriterion("school_id not between", value1, value2, "schoolId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightIsNull() {
|
||||
addCriterion("experiment_train_weight is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightIsNotNull() {
|
||||
addCriterion("experiment_train_weight is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightEqualTo(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight =", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightNotEqualTo(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight <>", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightGreaterThan(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight >", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight >=", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightLessThan(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight <", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("experiment_train_weight <=", value, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightIn(List<BigDecimal> values) {
|
||||
addCriterion("experiment_train_weight in", values, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightNotIn(List<BigDecimal> values) {
|
||||
addCriterion("experiment_train_weight not in", values, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("experiment_train_weight between", value1, value2, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andExperimentTrainWeightNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("experiment_train_weight not between", value1, value2, "experimentTrainWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightIsNull() {
|
||||
addCriterion("training_report_weight is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightIsNotNull() {
|
||||
addCriterion("training_report_weight is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightEqualTo(BigDecimal value) {
|
||||
addCriterion("training_report_weight =", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightNotEqualTo(BigDecimal value) {
|
||||
addCriterion("training_report_weight <>", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightGreaterThan(BigDecimal value) {
|
||||
addCriterion("training_report_weight >", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("training_report_weight >=", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightLessThan(BigDecimal value) {
|
||||
addCriterion("training_report_weight <", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("training_report_weight <=", value, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightIn(List<BigDecimal> values) {
|
||||
addCriterion("training_report_weight in", values, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightNotIn(List<BigDecimal> values) {
|
||||
addCriterion("training_report_weight not in", values, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("training_report_weight between", value1, value2, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTrainingReportWeightNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("training_report_weight not between", value1, value2, "trainingReportWeight");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sztzjy.block_finance.entity.dto;
|
||||
|
||||
/**
|
||||
* @author 17803
|
||||
* @date 2023-10-17 11:23
|
||||
*/
|
||||
|
||||
public class StuBlockProductWithBLOBs {
|
||||
private String module;
|
||||
private String schoolId;
|
||||
private String userId;
|
||||
|
||||
|
||||
public String getSchoolId() {
|
||||
return schoolId;
|
||||
}
|
||||
|
||||
public void setSchoolId(String schoolId) {
|
||||
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||
}
|
||||
|
||||
public String getModule() {
|
||||
return module;
|
||||
}
|
||||
|
||||
public void setModule(String module) {
|
||||
this.module = module == null ? null : module.trim();
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sztzjy.block_finance.mappers;
|
||||
|
||||
import com.sztzjy.block_finance.entity.StuPracticalTrainingReport;
|
||||
import com.sztzjy.block_finance.entity.StuPracticalTrainingReportExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
|
||||
public interface StuPracticalTrainingReportMapper {
|
||||
long countByExample(StuPracticalTrainingReportExample example);
|
||||
|
||||
int deleteByExample(StuPracticalTrainingReportExample example);
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(StuPracticalTrainingReport record);
|
||||
|
||||
int insertSelective(StuPracticalTrainingReport record);
|
||||
|
||||
List<StuPracticalTrainingReport> selectByExample(StuPracticalTrainingReportExample example);
|
||||
|
||||
StuPracticalTrainingReport selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuPracticalTrainingReport record, @Param("example") StuPracticalTrainingReportExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuPracticalTrainingReport record, @Param("example") StuPracticalTrainingReportExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuPracticalTrainingReport record);
|
||||
|
||||
int updateByPrimaryKey(StuPracticalTrainingReport record);
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sztzjy.block_finance.mappers;
|
||||
|
||||
import com.sztzjy.block_finance.entity.StuSupplyScore;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyScoreExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
|
||||
public interface StuSupplyScoreMapper {
|
||||
long countByExample(StuSupplyScoreExample example);
|
||||
|
||||
int deleteByExample(StuSupplyScoreExample example);
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(StuSupplyScore record);
|
||||
|
||||
int insertSelective(StuSupplyScore record);
|
||||
|
||||
List<StuSupplyScore> selectByExample(StuSupplyScoreExample example);
|
||||
|
||||
StuSupplyScore selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuSupplyScore record, @Param("example") StuSupplyScoreExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuSupplyScore record, @Param("example") StuSupplyScoreExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuSupplyScore record);
|
||||
|
||||
int updateByPrimaryKey(StuSupplyScore record);
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sztzjy.block_finance.mappers;
|
||||
|
||||
import com.sztzjy.block_finance.entity.StuUser;
|
||||
import com.sztzjy.block_finance.entity.StuUserExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
|
||||
public interface StuUserMapper {
|
||||
long countByExample(StuUserExample example);
|
||||
|
||||
int deleteByExample(StuUserExample example);
|
||||
|
||||
int deleteByPrimaryKey(String userId);
|
||||
|
||||
int insert(StuUser record);
|
||||
|
||||
int insertSelective(StuUser record);
|
||||
|
||||
List<StuUser> selectByExample(StuUserExample example);
|
||||
|
||||
StuUser selectByPrimaryKey(String userId);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuUser record);
|
||||
|
||||
int updateByPrimaryKey(StuUser record);
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sztzjy.block_finance.mappers;
|
||||
|
||||
import com.sztzjy.block_finance.entity.TchSupplyGradeWeight;
|
||||
import com.sztzjy.block_finance.entity.TchSupplyGradeWeightExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
|
||||
public interface TchSupplyGradeWeightMapper {
|
||||
long countByExample(TchSupplyGradeWeightExample example);
|
||||
|
||||
int deleteByExample(TchSupplyGradeWeightExample example);
|
||||
|
||||
int deleteByPrimaryKey(String id);
|
||||
|
||||
int insert(TchSupplyGradeWeight record);
|
||||
|
||||
int insertSelective(TchSupplyGradeWeight record);
|
||||
|
||||
List<TchSupplyGradeWeight> selectByExample(TchSupplyGradeWeightExample example);
|
||||
|
||||
TchSupplyGradeWeight selectByPrimaryKey(String id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") TchSupplyGradeWeight record, @Param("example") TchSupplyGradeWeightExample example);
|
||||
|
||||
int updateByExample(@Param("record") TchSupplyGradeWeight record, @Param("example") TchSupplyGradeWeightExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(TchSupplyGradeWeight record);
|
||||
|
||||
int updateByPrimaryKey(TchSupplyGradeWeight record);
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.sztzjy.block_finance.service;
|
||||
|
||||
import com.sztzjy.block_finance.entity.StuPracticalTrainingReport;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyScore;
|
||||
import com.sztzjy.block_finance.entity.dto.StuBlockProductWithBLOBs;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 17803
|
||||
* @date 2024-04-10 15:46
|
||||
*/
|
||||
|
||||
public interface StuPublicService {
|
||||
|
||||
/**
|
||||
* 上传实训报告
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
*/
|
||||
StuPracticalTrainingReport upload(MultipartFile file, StuBlockProductWithBLOBs stuBlockProductWithBLOBs);
|
||||
|
||||
//下载实验报告
|
||||
void download(String userId, HttpServletResponse response);
|
||||
|
||||
|
||||
StuPracticalTrainingReport getReport(String userId);
|
||||
|
||||
//统计错误次数
|
||||
void errorNumber(int number, String userId);
|
||||
|
||||
|
||||
List<StuSupplyScore> getScore(String userId);
|
||||
}
|
@ -0,0 +1,323 @@
|
||||
<?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.sztzjy.block_finance.mappers.StuPracticalTrainingReportMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuPracticalTrainingReport">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="report_name" jdbcType="VARCHAR" property="reportName" />
|
||||
<result column="upload_time" jdbcType="TIMESTAMP" property="uploadTime" />
|
||||
<result column="size" jdbcType="INTEGER" property="size" />
|
||||
<result column="rating" jdbcType="DOUBLE" property="rating" />
|
||||
<result column="module" jdbcType="VARCHAR" property="module" />
|
||||
<result column="userId" jdbcType="VARCHAR" property="userid" />
|
||||
<result column="url" jdbcType="VARCHAR" property="url" />
|
||||
<result column="socre_id" jdbcType="INTEGER" property="socreId" />
|
||||
<result column="teacher_comments" jdbcType="VARCHAR" property="teacherComments" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
<result column="status" jdbcType="INTEGER" property="status" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
id, report_name, upload_time, size, rating, module, userId, url, socre_id, teacher_comments,
|
||||
school_id, status
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReportExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_practical_training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_practical_training_report
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from stu_practical_training_report
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReportExample">
|
||||
delete from stu_practical_training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReport">
|
||||
insert into stu_practical_training_report (id, report_name, upload_time,
|
||||
size, rating, module,
|
||||
userId, url, socre_id,
|
||||
teacher_comments, school_id, status
|
||||
)
|
||||
values (#{id,jdbcType=INTEGER}, #{reportName,jdbcType=VARCHAR}, #{uploadTime,jdbcType=TIMESTAMP},
|
||||
#{size,jdbcType=INTEGER}, #{rating,jdbcType=DOUBLE}, #{module,jdbcType=VARCHAR},
|
||||
#{userid,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{socreId,jdbcType=INTEGER},
|
||||
#{teacherComments,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReport">
|
||||
insert into stu_practical_training_report
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
report_name,
|
||||
</if>
|
||||
<if test="uploadTime != null">
|
||||
upload_time,
|
||||
</if>
|
||||
<if test="size != null">
|
||||
size,
|
||||
</if>
|
||||
<if test="rating != null">
|
||||
rating,
|
||||
</if>
|
||||
<if test="module != null">
|
||||
module,
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
userId,
|
||||
</if>
|
||||
<if test="url != null">
|
||||
url,
|
||||
</if>
|
||||
<if test="socreId != null">
|
||||
socre_id,
|
||||
</if>
|
||||
<if test="teacherComments != null">
|
||||
teacher_comments,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
<if test="status != null">
|
||||
status,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="reportName != null">
|
||||
#{reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="uploadTime != null">
|
||||
#{uploadTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="size != null">
|
||||
#{size,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="rating != null">
|
||||
#{rating,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="module != null">
|
||||
#{module,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
#{userid,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="url != null">
|
||||
#{url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="socreId != null">
|
||||
#{socreId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="teacherComments != null">
|
||||
#{teacherComments,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
#{status,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReportExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_practical_training_report
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_practical_training_report
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.reportName != null">
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.uploadTime != null">
|
||||
upload_time = #{record.uploadTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.size != null">
|
||||
size = #{record.size,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.rating != null">
|
||||
rating = #{record.rating,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="record.module != null">
|
||||
module = #{record.module,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userid != null">
|
||||
userId = #{record.userid,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.url != null">
|
||||
url = #{record.url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.socreId != null">
|
||||
socre_id = #{record.socreId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.teacherComments != null">
|
||||
teacher_comments = #{record.teacherComments,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status = #{record.status,jdbcType=INTEGER},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_practical_training_report
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
report_name = #{record.reportName,jdbcType=VARCHAR},
|
||||
upload_time = #{record.uploadTime,jdbcType=TIMESTAMP},
|
||||
size = #{record.size,jdbcType=INTEGER},
|
||||
rating = #{record.rating,jdbcType=DOUBLE},
|
||||
module = #{record.module,jdbcType=VARCHAR},
|
||||
userId = #{record.userid,jdbcType=VARCHAR},
|
||||
url = #{record.url,jdbcType=VARCHAR},
|
||||
socre_id = #{record.socreId,jdbcType=INTEGER},
|
||||
teacher_comments = #{record.teacherComments,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
status = #{record.status,jdbcType=INTEGER}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReport">
|
||||
update stu_practical_training_report
|
||||
<set>
|
||||
<if test="reportName != null">
|
||||
report_name = #{reportName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="uploadTime != null">
|
||||
upload_time = #{uploadTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="size != null">
|
||||
size = #{size,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="rating != null">
|
||||
rating = #{rating,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="module != null">
|
||||
module = #{module,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
userId = #{userid,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="url != null">
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="socreId != null">
|
||||
socre_id = #{socreId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="teacherComments != null">
|
||||
teacher_comments = #{teacherComments,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
status = #{status,jdbcType=INTEGER},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.StuPracticalTrainingReport">
|
||||
update stu_practical_training_report
|
||||
set report_name = #{reportName,jdbcType=VARCHAR},
|
||||
upload_time = #{uploadTime,jdbcType=TIMESTAMP},
|
||||
size = #{size,jdbcType=INTEGER},
|
||||
rating = #{rating,jdbcType=DOUBLE},
|
||||
module = #{module,jdbcType=VARCHAR},
|
||||
userId = #{userid,jdbcType=VARCHAR},
|
||||
url = #{url,jdbcType=VARCHAR},
|
||||
socre_id = #{socreId,jdbcType=INTEGER},
|
||||
teacher_comments = #{teacherComments,jdbcType=VARCHAR},
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
status = #{status,jdbcType=INTEGER}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,323 @@
|
||||
<?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.sztzjy.block_finance.mappers.StuSupplyScoreMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuSupplyScore">
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="numbers" jdbcType="INTEGER" property="numbers" />
|
||||
<result column="projects" jdbcType="VARCHAR" property="projects" />
|
||||
<result column="projects_number" jdbcType="INTEGER" property="projectsNumber" />
|
||||
<result column="scoring_criteria" jdbcType="VARCHAR" property="scoringCriteria" />
|
||||
<result column="projects_weight" jdbcType="DOUBLE" property="projectsWeight" />
|
||||
<result column="projects_score" jdbcType="INTEGER" property="projectsScore" />
|
||||
<result column="total_score" jdbcType="INTEGER" property="totalScore" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="replenish_score" jdbcType="VARCHAR" property="replenishScore" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
id, numbers, projects, projects_number, scoring_criteria, projects_weight, projects_score,
|
||||
total_score, user_id, replenish_score, create_time, update_time
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuSupplyScoreExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_supply_score
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_supply_score
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from stu_supply_score
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuSupplyScoreExample">
|
||||
delete from stu_supply_score
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuSupplyScore">
|
||||
insert into stu_supply_score (id, numbers, projects,
|
||||
projects_number, scoring_criteria, projects_weight,
|
||||
projects_score, total_score, user_id,
|
||||
replenish_score, create_time, update_time
|
||||
)
|
||||
values (#{id,jdbcType=INTEGER}, #{numbers,jdbcType=INTEGER}, #{projects,jdbcType=VARCHAR},
|
||||
#{projectsNumber,jdbcType=INTEGER}, #{scoringCriteria,jdbcType=VARCHAR}, #{projectsWeight,jdbcType=DOUBLE},
|
||||
#{projectsScore,jdbcType=INTEGER}, #{totalScore,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR},
|
||||
#{replenishScore,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuSupplyScore">
|
||||
insert into stu_supply_score
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="numbers != null">
|
||||
numbers,
|
||||
</if>
|
||||
<if test="projects != null">
|
||||
projects,
|
||||
</if>
|
||||
<if test="projectsNumber != null">
|
||||
projects_number,
|
||||
</if>
|
||||
<if test="scoringCriteria != null">
|
||||
scoring_criteria,
|
||||
</if>
|
||||
<if test="projectsWeight != null">
|
||||
projects_weight,
|
||||
</if>
|
||||
<if test="projectsScore != null">
|
||||
projects_score,
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
total_score,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="replenishScore != null">
|
||||
replenish_score,
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="numbers != null">
|
||||
#{numbers,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="projects != null">
|
||||
#{projects,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectsNumber != null">
|
||||
#{projectsNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="scoringCriteria != null">
|
||||
#{scoringCriteria,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectsWeight != null">
|
||||
#{projectsWeight,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="projectsScore != null">
|
||||
#{projectsScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
#{totalScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="replenishScore != null">
|
||||
#{replenishScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
#{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuSupplyScoreExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_supply_score
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_supply_score
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.numbers != null">
|
||||
numbers = #{record.numbers,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.projects != null">
|
||||
projects = #{record.projects,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.projectsNumber != null">
|
||||
projects_number = #{record.projectsNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.scoringCriteria != null">
|
||||
scoring_criteria = #{record.scoringCriteria,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.projectsWeight != null">
|
||||
projects_weight = #{record.projectsWeight,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="record.projectsScore != null">
|
||||
projects_score = #{record.projectsScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.totalScore != null">
|
||||
total_score = #{record.totalScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.replenishScore != null">
|
||||
replenish_score = #{record.replenishScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_supply_score
|
||||
set id = #{record.id,jdbcType=INTEGER},
|
||||
numbers = #{record.numbers,jdbcType=INTEGER},
|
||||
projects = #{record.projects,jdbcType=VARCHAR},
|
||||
projects_number = #{record.projectsNumber,jdbcType=INTEGER},
|
||||
scoring_criteria = #{record.scoringCriteria,jdbcType=VARCHAR},
|
||||
projects_weight = #{record.projectsWeight,jdbcType=DOUBLE},
|
||||
projects_score = #{record.projectsScore,jdbcType=INTEGER},
|
||||
total_score = #{record.totalScore,jdbcType=INTEGER},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
replenish_score = #{record.replenishScore,jdbcType=VARCHAR},
|
||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.StuSupplyScore">
|
||||
update stu_supply_score
|
||||
<set>
|
||||
<if test="numbers != null">
|
||||
numbers = #{numbers,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="projects != null">
|
||||
projects = #{projects,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectsNumber != null">
|
||||
projects_number = #{projectsNumber,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="scoringCriteria != null">
|
||||
scoring_criteria = #{scoringCriteria,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="projectsWeight != null">
|
||||
projects_weight = #{projectsWeight,jdbcType=DOUBLE},
|
||||
</if>
|
||||
<if test="projectsScore != null">
|
||||
projects_score = #{projectsScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
total_score = #{totalScore,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="replenishScore != null">
|
||||
replenish_score = #{replenishScore,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null">
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updateTime != null">
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.StuSupplyScore">
|
||||
update stu_supply_score
|
||||
set numbers = #{numbers,jdbcType=INTEGER},
|
||||
projects = #{projects,jdbcType=VARCHAR},
|
||||
projects_number = #{projectsNumber,jdbcType=INTEGER},
|
||||
scoring_criteria = #{scoringCriteria,jdbcType=VARCHAR},
|
||||
projects_weight = #{projectsWeight,jdbcType=DOUBLE},
|
||||
projects_score = #{projectsScore,jdbcType=INTEGER},
|
||||
total_score = #{totalScore,jdbcType=INTEGER},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
replenish_score = #{replenishScore,jdbcType=VARCHAR},
|
||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,611 @@
|
||||
<?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.sztzjy.block_finance.mappers.StuUserMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuUser">
|
||||
<id column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="student_id" jdbcType="VARCHAR" property="studentId" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="password" jdbcType="VARCHAR" property="password" />
|
||||
<result column="role_id" jdbcType="INTEGER" property="roleId" />
|
||||
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
||||
<result column="class_name" jdbcType="VARCHAR" property="className" />
|
||||
<result column="major" jdbcType="VARCHAR" property="major" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
<result column="school_name" jdbcType="VARCHAR" property="schoolName" />
|
||||
<result column="hash_function_score" jdbcType="DECIMAL" property="hashFunctionScore" />
|
||||
<result column="blockchain_score" jdbcType="DECIMAL" property="blockchainScore" />
|
||||
<result column="data_layer_score" jdbcType="DECIMAL" property="dataLayerScore" />
|
||||
<result column="network_layer_score" jdbcType="DECIMAL" property="networkLayerScore" />
|
||||
<result column="consensus_layer_socre" jdbcType="DECIMAL" property="consensusLayerSocre" />
|
||||
<result column="exciting_layer_socre" jdbcType="DECIMAL" property="excitingLayerSocre" />
|
||||
<result column="contract_layer_socre" jdbcType="DECIMAL" property="contractLayerSocre" />
|
||||
<result column="concept_score" jdbcType="DECIMAL" property="conceptScore" />
|
||||
<result column="concept_rank" jdbcType="INTEGER" property="conceptRank" />
|
||||
<result column="technology_socre" jdbcType="DECIMAL" property="technologySocre" />
|
||||
<result column="technology_rank" jdbcType="INTEGER" property="technologyRank" />
|
||||
<result column="digital_currency_score" jdbcType="DECIMAL" property="digitalCurrencyScore" />
|
||||
<result column="digital_currency_rank" jdbcType="INTEGER" property="digitalCurrencyRank" />
|
||||
<result column="invoice_score" jdbcType="DECIMAL" property="invoiceScore" />
|
||||
<result column="supply_chain_finance_score" jdbcType="DECIMAL" property="supplyChainFinanceScore" />
|
||||
<result column="traceability_and_anti_counterfeiting_score" jdbcType="DECIMAL" property="traceabilityAndAntiCounterfeitingScore" />
|
||||
<result column="ticket_results_score" jdbcType="DECIMAL" property="ticketResultsScore" />
|
||||
<result column="cross_border_payment_results_score" jdbcType="DECIMAL" property="crossBorderPaymentResultsScore" />
|
||||
<result column="total_rank" jdbcType="INTEGER" property="totalRank" />
|
||||
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
user_id, student_id, name, password, role_id, class_id, class_name, major, school_id,
|
||||
school_name, hash_function_score, blockchain_score, data_layer_score, network_layer_score,
|
||||
consensus_layer_socre, exciting_layer_socre, contract_layer_socre, concept_score,
|
||||
concept_rank, technology_socre, technology_rank, digital_currency_score, digital_currency_rank,
|
||||
invoice_score, supply_chain_finance_score, traceability_and_anti_counterfeiting_score,
|
||||
ticket_results_score, cross_border_payment_results_score, total_rank, total_score
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuUserExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_user
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from stu_user
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuUserExample">
|
||||
delete from stu_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuUser">
|
||||
insert into stu_user (user_id, student_id, name,
|
||||
password, role_id, class_id,
|
||||
class_name, major, school_id,
|
||||
school_name, hash_function_score, blockchain_score,
|
||||
data_layer_score, network_layer_score, consensus_layer_socre,
|
||||
exciting_layer_socre, contract_layer_socre,
|
||||
concept_score, concept_rank, technology_socre,
|
||||
technology_rank, digital_currency_score, digital_currency_rank,
|
||||
invoice_score, supply_chain_finance_score,
|
||||
traceability_and_anti_counterfeiting_score, ticket_results_score,
|
||||
cross_border_payment_results_score, total_rank,
|
||||
total_score)
|
||||
values (#{userId,jdbcType=VARCHAR}, #{studentId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||
#{password,jdbcType=VARCHAR}, #{roleId,jdbcType=INTEGER}, #{classId,jdbcType=VARCHAR},
|
||||
#{className,jdbcType=VARCHAR}, #{major,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
||||
#{schoolName,jdbcType=VARCHAR}, #{hashFunctionScore,jdbcType=DECIMAL}, #{blockchainScore,jdbcType=DECIMAL},
|
||||
#{dataLayerScore,jdbcType=DECIMAL}, #{networkLayerScore,jdbcType=DECIMAL}, #{consensusLayerSocre,jdbcType=DECIMAL},
|
||||
#{excitingLayerSocre,jdbcType=DECIMAL}, #{contractLayerSocre,jdbcType=DECIMAL},
|
||||
#{conceptScore,jdbcType=DECIMAL}, #{conceptRank,jdbcType=INTEGER}, #{technologySocre,jdbcType=DECIMAL},
|
||||
#{technologyRank,jdbcType=INTEGER}, #{digitalCurrencyScore,jdbcType=DECIMAL}, #{digitalCurrencyRank,jdbcType=INTEGER},
|
||||
#{invoiceScore,jdbcType=DECIMAL}, #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
#{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL}, #{ticketResultsScore,jdbcType=DECIMAL},
|
||||
#{crossBorderPaymentResultsScore,jdbcType=DECIMAL}, #{totalRank,jdbcType=INTEGER},
|
||||
#{totalScore,jdbcType=DECIMAL})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuUser">
|
||||
insert into stu_user
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="studentId != null">
|
||||
student_id,
|
||||
</if>
|
||||
<if test="name != null">
|
||||
name,
|
||||
</if>
|
||||
<if test="password != null">
|
||||
password,
|
||||
</if>
|
||||
<if test="roleId != null">
|
||||
role_id,
|
||||
</if>
|
||||
<if test="classId != null">
|
||||
class_id,
|
||||
</if>
|
||||
<if test="className != null">
|
||||
class_name,
|
||||
</if>
|
||||
<if test="major != null">
|
||||
major,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
<if test="schoolName != null">
|
||||
school_name,
|
||||
</if>
|
||||
<if test="hashFunctionScore != null">
|
||||
hash_function_score,
|
||||
</if>
|
||||
<if test="blockchainScore != null">
|
||||
blockchain_score,
|
||||
</if>
|
||||
<if test="dataLayerScore != null">
|
||||
data_layer_score,
|
||||
</if>
|
||||
<if test="networkLayerScore != null">
|
||||
network_layer_score,
|
||||
</if>
|
||||
<if test="consensusLayerSocre != null">
|
||||
consensus_layer_socre,
|
||||
</if>
|
||||
<if test="excitingLayerSocre != null">
|
||||
exciting_layer_socre,
|
||||
</if>
|
||||
<if test="contractLayerSocre != null">
|
||||
contract_layer_socre,
|
||||
</if>
|
||||
<if test="conceptScore != null">
|
||||
concept_score,
|
||||
</if>
|
||||
<if test="conceptRank != null">
|
||||
concept_rank,
|
||||
</if>
|
||||
<if test="technologySocre != null">
|
||||
technology_socre,
|
||||
</if>
|
||||
<if test="technologyRank != null">
|
||||
technology_rank,
|
||||
</if>
|
||||
<if test="digitalCurrencyScore != null">
|
||||
digital_currency_score,
|
||||
</if>
|
||||
<if test="digitalCurrencyRank != null">
|
||||
digital_currency_rank,
|
||||
</if>
|
||||
<if test="invoiceScore != null">
|
||||
invoice_score,
|
||||
</if>
|
||||
<if test="supplyChainFinanceScore != null">
|
||||
supply_chain_finance_score,
|
||||
</if>
|
||||
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
||||
traceability_and_anti_counterfeiting_score,
|
||||
</if>
|
||||
<if test="ticketResultsScore != null">
|
||||
ticket_results_score,
|
||||
</if>
|
||||
<if test="crossBorderPaymentResultsScore != null">
|
||||
cross_border_payment_results_score,
|
||||
</if>
|
||||
<if test="totalRank != null">
|
||||
total_rank,
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
total_score,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="studentId != null">
|
||||
#{studentId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="name != null">
|
||||
#{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="password != null">
|
||||
#{password,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="roleId != null">
|
||||
#{roleId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="classId != null">
|
||||
#{classId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="className != null">
|
||||
#{className,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="major != null">
|
||||
#{major,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolName != null">
|
||||
#{schoolName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="hashFunctionScore != null">
|
||||
#{hashFunctionScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="blockchainScore != null">
|
||||
#{blockchainScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="dataLayerScore != null">
|
||||
#{dataLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="networkLayerScore != null">
|
||||
#{networkLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="consensusLayerSocre != null">
|
||||
#{consensusLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="excitingLayerSocre != null">
|
||||
#{excitingLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="contractLayerSocre != null">
|
||||
#{contractLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="conceptScore != null">
|
||||
#{conceptScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="conceptRank != null">
|
||||
#{conceptRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="technologySocre != null">
|
||||
#{technologySocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="technologyRank != null">
|
||||
#{technologyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="digitalCurrencyScore != null">
|
||||
#{digitalCurrencyScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="digitalCurrencyRank != null">
|
||||
#{digitalCurrencyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="invoiceScore != null">
|
||||
#{invoiceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="supplyChainFinanceScore != null">
|
||||
#{supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
||||
#{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="ticketResultsScore != null">
|
||||
#{ticketResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="crossBorderPaymentResultsScore != null">
|
||||
#{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="totalRank != null">
|
||||
#{totalRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
#{totalScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuUserExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_user
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_user
|
||||
<set>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.studentId != null">
|
||||
student_id = #{record.studentId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.name != null">
|
||||
name = #{record.name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.password != null">
|
||||
password = #{record.password,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.roleId != null">
|
||||
role_id = #{record.roleId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.classId != null">
|
||||
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.className != null">
|
||||
class_name = #{record.className,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.major != null">
|
||||
major = #{record.major,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolName != null">
|
||||
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.hashFunctionScore != null">
|
||||
hash_function_score = #{record.hashFunctionScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.blockchainScore != null">
|
||||
blockchain_score = #{record.blockchainScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.dataLayerScore != null">
|
||||
data_layer_score = #{record.dataLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.networkLayerScore != null">
|
||||
network_layer_score = #{record.networkLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.consensusLayerSocre != null">
|
||||
consensus_layer_socre = #{record.consensusLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.excitingLayerSocre != null">
|
||||
exciting_layer_socre = #{record.excitingLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.contractLayerSocre != null">
|
||||
contract_layer_socre = #{record.contractLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.conceptScore != null">
|
||||
concept_score = #{record.conceptScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.conceptRank != null">
|
||||
concept_rank = #{record.conceptRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.technologySocre != null">
|
||||
technology_socre = #{record.technologySocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.technologyRank != null">
|
||||
technology_rank = #{record.technologyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.digitalCurrencyScore != null">
|
||||
digital_currency_score = #{record.digitalCurrencyScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.digitalCurrencyRank != null">
|
||||
digital_currency_rank = #{record.digitalCurrencyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.invoiceScore != null">
|
||||
invoice_score = #{record.invoiceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.supplyChainFinanceScore != null">
|
||||
supply_chain_finance_score = #{record.supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.traceabilityAndAntiCounterfeitingScore != null">
|
||||
traceability_and_anti_counterfeiting_score = #{record.traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.ticketResultsScore != null">
|
||||
ticket_results_score = #{record.ticketResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.crossBorderPaymentResultsScore != null">
|
||||
cross_border_payment_results_score = #{record.crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.totalRank != null">
|
||||
total_rank = #{record.totalRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="record.totalScore != null">
|
||||
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update stu_user
|
||||
set user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
student_id = #{record.studentId,jdbcType=VARCHAR},
|
||||
name = #{record.name,jdbcType=VARCHAR},
|
||||
password = #{record.password,jdbcType=VARCHAR},
|
||||
role_id = #{record.roleId,jdbcType=INTEGER},
|
||||
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||
class_name = #{record.className,jdbcType=VARCHAR},
|
||||
major = #{record.major,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
||||
hash_function_score = #{record.hashFunctionScore,jdbcType=DECIMAL},
|
||||
blockchain_score = #{record.blockchainScore,jdbcType=DECIMAL},
|
||||
data_layer_score = #{record.dataLayerScore,jdbcType=DECIMAL},
|
||||
network_layer_score = #{record.networkLayerScore,jdbcType=DECIMAL},
|
||||
consensus_layer_socre = #{record.consensusLayerSocre,jdbcType=DECIMAL},
|
||||
exciting_layer_socre = #{record.excitingLayerSocre,jdbcType=DECIMAL},
|
||||
contract_layer_socre = #{record.contractLayerSocre,jdbcType=DECIMAL},
|
||||
concept_score = #{record.conceptScore,jdbcType=DECIMAL},
|
||||
concept_rank = #{record.conceptRank,jdbcType=INTEGER},
|
||||
technology_socre = #{record.technologySocre,jdbcType=DECIMAL},
|
||||
technology_rank = #{record.technologyRank,jdbcType=INTEGER},
|
||||
digital_currency_score = #{record.digitalCurrencyScore,jdbcType=DECIMAL},
|
||||
digital_currency_rank = #{record.digitalCurrencyRank,jdbcType=INTEGER},
|
||||
invoice_score = #{record.invoiceScore,jdbcType=DECIMAL},
|
||||
supply_chain_finance_score = #{record.supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
traceability_and_anti_counterfeiting_score = #{record.traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
||||
ticket_results_score = #{record.ticketResultsScore,jdbcType=DECIMAL},
|
||||
cross_border_payment_results_score = #{record.crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
||||
total_rank = #{record.totalRank,jdbcType=INTEGER},
|
||||
total_score = #{record.totalScore,jdbcType=DECIMAL}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.StuUser">
|
||||
update stu_user
|
||||
<set>
|
||||
<if test="studentId != null">
|
||||
student_id = #{studentId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="name != null">
|
||||
name = #{name,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="password != null">
|
||||
password = #{password,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="roleId != null">
|
||||
role_id = #{roleId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="classId != null">
|
||||
class_id = #{classId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="className != null">
|
||||
class_name = #{className,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="major != null">
|
||||
major = #{major,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolName != null">
|
||||
school_name = #{schoolName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="hashFunctionScore != null">
|
||||
hash_function_score = #{hashFunctionScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="blockchainScore != null">
|
||||
blockchain_score = #{blockchainScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="dataLayerScore != null">
|
||||
data_layer_score = #{dataLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="networkLayerScore != null">
|
||||
network_layer_score = #{networkLayerScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="consensusLayerSocre != null">
|
||||
consensus_layer_socre = #{consensusLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="excitingLayerSocre != null">
|
||||
exciting_layer_socre = #{excitingLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="contractLayerSocre != null">
|
||||
contract_layer_socre = #{contractLayerSocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="conceptScore != null">
|
||||
concept_score = #{conceptScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="conceptRank != null">
|
||||
concept_rank = #{conceptRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="technologySocre != null">
|
||||
technology_socre = #{technologySocre,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="technologyRank != null">
|
||||
technology_rank = #{technologyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="digitalCurrencyScore != null">
|
||||
digital_currency_score = #{digitalCurrencyScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="digitalCurrencyRank != null">
|
||||
digital_currency_rank = #{digitalCurrencyRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="invoiceScore != null">
|
||||
invoice_score = #{invoiceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="supplyChainFinanceScore != null">
|
||||
supply_chain_finance_score = #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
||||
traceability_and_anti_counterfeiting_score = #{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="ticketResultsScore != null">
|
||||
ticket_results_score = #{ticketResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="crossBorderPaymentResultsScore != null">
|
||||
cross_border_payment_results_score = #{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="totalRank != null">
|
||||
total_rank = #{totalRank,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="totalScore != null">
|
||||
total_score = #{totalScore,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</set>
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.StuUser">
|
||||
update stu_user
|
||||
set student_id = #{studentId,jdbcType=VARCHAR},
|
||||
name = #{name,jdbcType=VARCHAR},
|
||||
password = #{password,jdbcType=VARCHAR},
|
||||
role_id = #{roleId,jdbcType=INTEGER},
|
||||
class_id = #{classId,jdbcType=VARCHAR},
|
||||
class_name = #{className,jdbcType=VARCHAR},
|
||||
major = #{major,jdbcType=VARCHAR},
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
school_name = #{schoolName,jdbcType=VARCHAR},
|
||||
hash_function_score = #{hashFunctionScore,jdbcType=DECIMAL},
|
||||
blockchain_score = #{blockchainScore,jdbcType=DECIMAL},
|
||||
data_layer_score = #{dataLayerScore,jdbcType=DECIMAL},
|
||||
network_layer_score = #{networkLayerScore,jdbcType=DECIMAL},
|
||||
consensus_layer_socre = #{consensusLayerSocre,jdbcType=DECIMAL},
|
||||
exciting_layer_socre = #{excitingLayerSocre,jdbcType=DECIMAL},
|
||||
contract_layer_socre = #{contractLayerSocre,jdbcType=DECIMAL},
|
||||
concept_score = #{conceptScore,jdbcType=DECIMAL},
|
||||
concept_rank = #{conceptRank,jdbcType=INTEGER},
|
||||
technology_socre = #{technologySocre,jdbcType=DECIMAL},
|
||||
technology_rank = #{technologyRank,jdbcType=INTEGER},
|
||||
digital_currency_score = #{digitalCurrencyScore,jdbcType=DECIMAL},
|
||||
digital_currency_rank = #{digitalCurrencyRank,jdbcType=INTEGER},
|
||||
invoice_score = #{invoiceScore,jdbcType=DECIMAL},
|
||||
supply_chain_finance_score = #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
||||
traceability_and_anti_counterfeiting_score = #{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
||||
ticket_results_score = #{ticketResultsScore,jdbcType=DECIMAL},
|
||||
cross_border_payment_results_score = #{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
||||
total_rank = #{totalRank,jdbcType=INTEGER},
|
||||
total_score = #{totalScore,jdbcType=DECIMAL}
|
||||
where user_id = #{userId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
@ -0,0 +1,196 @@
|
||||
<?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.sztzjy.block_finance.mappers.TchSupplyGradeWeightMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.TchSupplyGradeWeight">
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||
<result column="experiment_train_weight" jdbcType="DECIMAL" property="experimentTrainWeight" />
|
||||
<result column="training_report_weight" jdbcType="DECIMAL" property="trainingReportWeight" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
id, school_id, experiment_train_weight, training_report_weight
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeightExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from tch_supply_grade_weight
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from tch_supply_grade_weight
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from tch_supply_grade_weight
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeightExample">
|
||||
delete from tch_supply_grade_weight
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeight">
|
||||
insert into tch_supply_grade_weight (id, school_id, experiment_train_weight,
|
||||
training_report_weight)
|
||||
values (#{id,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR}, #{experimentTrainWeight,jdbcType=DECIMAL},
|
||||
#{trainingReportWeight,jdbcType=DECIMAL})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeight">
|
||||
insert into tch_supply_grade_weight
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
school_id,
|
||||
</if>
|
||||
<if test="experimentTrainWeight != null">
|
||||
experiment_train_weight,
|
||||
</if>
|
||||
<if test="trainingReportWeight != null">
|
||||
training_report_weight,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="schoolId != null">
|
||||
#{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="experimentTrainWeight != null">
|
||||
#{experimentTrainWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="trainingReportWeight != null">
|
||||
#{trainingReportWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeightExample" resultType="java.lang.Long">
|
||||
select count(*) from tch_supply_grade_weight
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update tch_supply_grade_weight
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.schoolId != null">
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.experimentTrainWeight != null">
|
||||
experiment_train_weight = #{record.experimentTrainWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.trainingReportWeight != null">
|
||||
training_report_weight = #{record.trainingReportWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update tch_supply_grade_weight
|
||||
set id = #{record.id,jdbcType=VARCHAR},
|
||||
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||
experiment_train_weight = #{record.experimentTrainWeight,jdbcType=DECIMAL},
|
||||
training_report_weight = #{record.trainingReportWeight,jdbcType=DECIMAL}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeight">
|
||||
update tch_supply_grade_weight
|
||||
<set>
|
||||
<if test="schoolId != null">
|
||||
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="experimentTrainWeight != null">
|
||||
experiment_train_weight = #{experimentTrainWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="trainingReportWeight != null">
|
||||
training_report_weight = #{trainingReportWeight,jdbcType=DECIMAL},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.TchSupplyGradeWeight">
|
||||
update tch_supply_grade_weight
|
||||
set school_id = #{schoolId,jdbcType=VARCHAR},
|
||||
experiment_train_weight = #{experimentTrainWeight,jdbcType=DECIMAL},
|
||||
training_report_weight = #{trainingReportWeight,jdbcType=DECIMAL}
|
||||
where id = #{id,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue