完成产品结构规划全部接口

bugfix/ai-assessment-evidence-rescore
whb 2 years ago
parent 419fbc62f9
commit 0c741b6765

@ -0,0 +1,213 @@
package com.sztzjy.linkCommerce.controller.stu;
import cn.hutool.core.util.IdUtil;
import com.sztzjy.linkCommerce.annotation.AnonymousAccess;
import com.sztzjy.linkCommerce.config.Constant;
import com.sztzjy.linkCommerce.entity.*;
import com.sztzjy.linkCommerce.mapper.*;
import com.sztzjy.linkCommerce.service.ScoreService;
import com.sztzjy.linkCommerce.util.CompareListsUtil;
import com.sztzjy.linkCommerce.util.ResultEntity;
import com.sztzjy.linkCommerce.util.file.IFileUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.UUID;
/**
* @author 17803
* @date 2025-04-28 14:14
*/
@Api(tags = "产品投放")
@RequestMapping("api/cptf")
@RestController
public class CptfController {
@Autowired
private FbqdAnswerMapper fbqdAnswerMapper;
@Autowired
private FbqdStuAnswerMapper fbqdStuAnswerMapper;
@Autowired
StuGradeMapper stuGradeMapper;
@Autowired
CompareListsUtil compareListsUtil;
@Autowired
ScoreService scoreService;
@Value("${file.url}")
public String url;
@PostMapping("/commitCpdjAnswer")
@ApiOperation("发布渠道-提交")
@AnonymousAccess
public ResultEntity commitFbqdAnswer(@RequestBody FbqdStuAnswer stuAnswer) {
//先查询是否提交过
StuGradeExample stuGradeExample = new StuGradeExample();
stuGradeExample.createCriteria().andUserIdEqualTo(stuAnswer.getUserId()).andProjectEqualTo(Constant.PRO_CPGH).andModuleEqualTo(Constant.MODULE_CPDJ);
List<StuGrade> stuGradeList = stuGradeMapper.selectByExampleWithBLOBs(stuGradeExample);
if(CollectionUtils.isEmpty(stuGradeList)){
FbqdAnswer answer = fbqdAnswerMapper.selectByExampleWithBLOBs(new FbqdAnswerExample()).get(0);
int count = 0;
//1.数据标准化结果
String stuExposureData = stuAnswer.getExposureData();
String exposureData = answer.getExposureData();
//数据标准化结果 校验
//错误次数
int monthlyDataErrorCount =compareListsUtil.compareErrorCount(stuExposureData, exposureData).getErrorCount();
count = count + monthlyDataErrorCount;
//2.渠道中的比重
String stuAnswerClickData = stuAnswer.getClickData();
String clickData = answer.getClickData();
//错误次数
int cheapSumCount =compareListsUtil.compareErrorCount(stuAnswerClickData, clickData).getErrorCount();
count = count + cheapSumCount;
//3.信息滴
String stuAnswerAdCost = stuAnswer.getAdCost();
String adCost = answer.getAdCost();
//错误次数
int cheapPercentageCount =compareListsUtil.compareErrorCount(stuAnswerAdCost, adCost).getErrorCount();
count = count + cheapPercentageCount;
//每个指标的权重
String stuAnswerOrderAmount = stuAnswer.getOrderAmount();
String orderAmount = answer.getOrderAmount();
//错误次数
int costEffectiveSumCount =compareListsUtil.compareErrorCount(stuAnswerOrderAmount, orderAmount).getErrorCount();
count = count + costEffectiveSumCount;
//综合评分
String stuAnswerKeywords = stuAnswer.getKeywords();
String keywords = answer.getKeywords();
//错误次数
int costEffectivePercentageCount =compareListsUtil.compareErrorCount(stuAnswerKeywords, keywords).getErrorCount();
count = count + costEffectivePercentageCount;
//主观题
int i = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getScenePromotion());
count = count + i;
stuAnswer.setId(IdUtil.simpleUUID());
fbqdStuAnswerMapper.insertSelective(stuAnswer);
Boolean aBoolean = scoreService.insertScore(stuAnswer.getUserId(), Constant.PRO_CPTFCS, Constant.MODULE_FBQDPG, BigDecimal.valueOf(100 - count), stuAnswer.getScenePromotion());
if(aBoolean){
return new ResultEntity<>(HttpStatus.OK, "提交成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "提交失败");
}
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "已提交过");
}
}
@ApiOperation("发布渠道-回显接口")
@GetMapping("/selectByCpdjUserId")
@AnonymousAccess
public ResultEntity selectByCpdjUserId(@ApiParam("用户ID") String userId) {
FbqdStuAnswerExample cpdjStuAnswerExample = new FbqdStuAnswerExample();
cpdjStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
List<FbqdStuAnswer> stuAnswerList = fbqdStuAnswerMapper.selectByExampleWithBLOBs(cpdjStuAnswerExample);
if (CollectionUtils.isEmpty(stuAnswerList)) {
return new ResultEntity<>(HttpStatus.OK);
} else {
return new ResultEntity<>(HttpStatus.OK, stuAnswerList.get(0));
}
}
@GetMapping("/restartTraining")
@ApiOperation("产品投放-重新实训")
@AnonymousAccess
public ResultEntity restartTraining(@RequestParam String userId,@ApiParam("重新实训的模块名") String module) {
if (Constant.MODULE_FBQDPG.equals(module)) {
Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPTFCS,module);
if(b){
FbqdStuAnswerExample cpdjStuAnswerExample = new FbqdStuAnswerExample();
cpdjStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
fbqdStuAnswerMapper.deleteByExample(cpdjStuAnswerExample);
return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
}
// if (Constant.MODULE_CPCYHDW.equals(module)) {
// Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
// if(b){
// CpcyhdwStuAnswerExample cpcyhdwStuAnswerExample = new CpcyhdwStuAnswerExample();
// cpcyhdwStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
// cpcyhdwStuAnswerMapper.deleteByExample(cpcyhdwStuAnswerExample);
// return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
// }else {
// return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
// }
// }
//
// if (Constant.MODULE_CPJGGH.equals(module)) {
// Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
// if(b){
// CpjgghStuAnswerExample cpjgghStuAnswerExample = new CpjgghStuAnswerExample();
// cpjgghStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
// cpjgghStuAnswerMapper.deleteByExample(cpjgghStuAnswerExample);
// return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
// }else {
// return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
// }
// }
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
}

@ -1,26 +1,32 @@
package com.sztzjy.linkCommerce.controller.stu;
import cn.hutool.core.util.IdUtil;
import com.alibaba.fastjson.JSONObject;
import com.sztzjy.linkCommerce.annotation.AnonymousAccess;
import com.sztzjy.linkCommerce.config.Constant;
import com.sztzjy.linkCommerce.entity.*;
import com.sztzjy.linkCommerce.mapper.CpdjAnswerMapper;
import com.sztzjy.linkCommerce.mapper.CpdjStuAnswerMapper;
import com.sztzjy.linkCommerce.mapper.StuGradeMapper;
import com.sztzjy.linkCommerce.mapper.*;
import com.sztzjy.linkCommerce.service.ScoreService;
import com.sztzjy.linkCommerce.util.CompareListsUtil;
import com.sztzjy.linkCommerce.util.FileHashUtil;
import com.sztzjy.linkCommerce.util.ResultEntity;
import com.sztzjy.linkCommerce.util.file.IFileUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.UUID;
/**
* @author 17803
@ -38,6 +44,8 @@ public class ProductPlanningController {
@Autowired
private CpdjStuAnswerMapper cpdjStuAnswerMapper;
@Autowired
StuGradeMapper stuGradeMapper;
@Autowired
@ -45,6 +53,13 @@ public class ProductPlanningController {
@Autowired
ScoreService scoreService;
@Value("${file.url}")
public String url;
@Autowired
private CpdjStuAnswerMapper stuAnswerMapper;
@Autowired
private CpcyhdwStuAnswerMapper cpcyhdwStuAnswerMapper;
@PostMapping("/commitCpdjAnswer")
@ApiOperation("产品定价-提交")
@AnonymousAccess
@ -52,9 +67,9 @@ public class ProductPlanningController {
//先查询是否提交过
StuGradeExample stuGradeExample = new StuGradeExample();
stuGradeExample.createCriteria().andUserIdEqualTo(userId).andProjectEqualTo(Constant.PRO_CPGH).andModuleEqualTo(Constant.MODULE_CPDJ);
List<StuGrade> stuGradeList = stuGradeMapper.selectByExample(stuGradeExample);
List<StuGrade> stuGradeList = stuGradeMapper.selectByExampleWithBLOBs(stuGradeExample);
if(CollectionUtils.isEmpty(stuGradeList)){
CpdjAnswer answer = cpdjAnswerMapper.selectByExample(new CpdjAnswerExample()).get(0);
CpdjAnswer answer = cpdjAnswerMapper.selectByExampleWithBLOBs(new CpdjAnswerExample()).get(0);
int count = 0;
//学生最优价格点
@ -156,7 +171,9 @@ public class ProductPlanningController {
//主观题
int i = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getContext());
count = count + i;
stuAnswer.setId(IdUtil.simpleUUID());
stuAnswer.setUserId(userId);
stuAnswerMapper.insertSelective(stuAnswer);
Boolean aBoolean = scoreService.insertScore(userId, Constant.PRO_CPGH, Constant.MODULE_CPDJ, BigDecimal.valueOf(100 - count), stuAnswer.getContext());
if(aBoolean){
@ -169,6 +186,8 @@ public class ProductPlanningController {
}
}
@ApiOperation("产品定价-回显接口")
@GetMapping("/selectByCpdjUserId")
@AnonymousAccess
@ -177,7 +196,7 @@ public class ProductPlanningController {
CpdjStuAnswerExample cpdjStuAnswerExample = new CpdjStuAnswerExample();
cpdjStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
List<CpdjStuAnswer> stuAnswerList = cpdjStuAnswerMapper.selectByExample(cpdjStuAnswerExample);
List<CpdjStuAnswer> stuAnswerList = cpdjStuAnswerMapper.selectByExampleWithBLOBs(cpdjStuAnswerExample);
if (CollectionUtils.isEmpty(stuAnswerList)) {
return new ResultEntity<>(HttpStatus.OK);
@ -186,23 +205,219 @@ public class ProductPlanningController {
}
}
@PostMapping("/restartTraining")
@GetMapping("/restartTraining")
@ApiOperation("产品定价-重新实训")
@AnonymousAccess
public ResultEntity restartTraining(@RequestParam String userId,@ApiParam("重新实训的模块名") String module) {
Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
if(b){
CpdjStuAnswerExample cpdjStuAnswerExample = new CpdjStuAnswerExample();
cpdjStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
cpdjStuAnswerMapper.deleteByExample(cpdjStuAnswerExample);
return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
if (Constant.MODULE_CPDJ.equals(module)) {
Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
if(b){
CpdjStuAnswerExample cpdjStuAnswerExample = new CpdjStuAnswerExample();
cpdjStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
cpdjStuAnswerMapper.deleteByExample(cpdjStuAnswerExample);
return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
}
if (Constant.MODULE_CPCYHDW.equals(module)) {
Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
if(b){
CpcyhdwStuAnswerExample cpcyhdwStuAnswerExample = new CpcyhdwStuAnswerExample();
cpcyhdwStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
cpcyhdwStuAnswerMapper.deleteByExample(cpcyhdwStuAnswerExample);
return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
}
if (Constant.MODULE_CPJGGH.equals(module)) {
Boolean b=scoreService.deleteScore(userId,Constant.PRO_CPGH,module);
if(b){
CpjgghStuAnswerExample cpjgghStuAnswerExample = new CpjgghStuAnswerExample();
cpjgghStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
cpjgghStuAnswerMapper.deleteByExample(cpjgghStuAnswerExample);
return new ResultEntity<>(HttpStatus.OK, "重新实训成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
}
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
}
@PostMapping("/commitCpcyhdwAnswer")
@ApiOperation("产品差异化定位-提交")
@AnonymousAccess
public ResultEntity commitCpcyhdwAnswer(@RequestBody CpcyhdwStuAnswer stuAnswer, @RequestParam String userId) {
//先查询是否提交过
StuGradeExample stuGradeExample = new StuGradeExample();
stuGradeExample.createCriteria().andUserIdEqualTo(userId).andProjectEqualTo(Constant.PRO_CPGH).andModuleEqualTo(Constant.MODULE_CPCYHDW);
List<StuGrade> stuGradeList = stuGradeMapper.selectByExampleWithBLOBs(stuGradeExample);
if(CollectionUtils.isEmpty(stuGradeList)){
//主观题 扣分
int count = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getContext());
//插入数据
stuAnswer.setId(IdUtil.randomUUID());
stuAnswer.setUserId(userId);
cpcyhdwStuAnswerMapper.insertSelective(stuAnswer);
Boolean aBoolean = scoreService.insertScore(userId, Constant.PRO_CPGH, Constant.MODULE_CPCYHDW, BigDecimal.valueOf(100 - count), stuAnswer.getContext());
if(aBoolean){
return new ResultEntity<>(HttpStatus.OK, "提交成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "提交失败");
}
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "已提交过");
}
}
@ApiOperation("产品差异化定位-回显接口")
@GetMapping("/selectByCpcyhdwUserId")
@AnonymousAccess
public ResultEntity selectByCpcyhdwUserId(@ApiParam("用户ID") String userId) {
CpcyhdwStuAnswerExample cpcyhdwStuAnswerExample = new CpcyhdwStuAnswerExample();
cpcyhdwStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
List<CpcyhdwStuAnswer> stuAnswerList = cpcyhdwStuAnswerMapper.selectByExampleWithBLOBs(cpcyhdwStuAnswerExample);
if (CollectionUtils.isEmpty(stuAnswerList)) {
return new ResultEntity<>(HttpStatus.OK);
} else {
return new ResultEntity<>(HttpStatus.OK, stuAnswerList.get(0));
}
}
@Autowired
private CpjgghStuAnswerMapper cpjgghStuAnswerMapper;
@PostMapping("/commitCpjgghAnswer")
@ApiOperation("产品结构规划-提交")
@AnonymousAccess
public ResultEntity commitCpjgghAnswer(@RequestBody CpjgghStuAnswer stuAnswer, @RequestParam String userId) {
//先查询是否提交过
StuGradeExample stuGradeExample = new StuGradeExample();
stuGradeExample.createCriteria().andUserIdEqualTo(userId).andProjectEqualTo(Constant.PRO_CPGH).andModuleEqualTo(Constant.MODULE_CPJGGH);
List<StuGrade> stuGradeList = stuGradeMapper.selectByExampleWithBLOBs(stuGradeExample);
if(CollectionUtils.isEmpty(stuGradeList)){
//主观题 扣分
int count1 = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getRationality());
//主观题 扣分
int count2 = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getOptimizationSuggestions());
//主观题 扣分
int count3 = compareListsUtil.calculateLengthPenaltyEnhanced(stuAnswer.getContext());
//插入数据
stuAnswer.setId(IdUtil.randomUUID());
stuAnswer.setUserId(userId);
cpjgghStuAnswerMapper.insertSelective(stuAnswer);
Boolean aBoolean = scoreService.insertScore(userId, Constant.PRO_CPGH, Constant.MODULE_CPJGGH, BigDecimal.valueOf(100 - ( count1 + count2 + count3)), stuAnswer.getContext());
if(aBoolean){
return new ResultEntity<>(HttpStatus.OK, "提交成功");
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "提交失败");
}
}else {
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "重新实训失败");
return new ResultEntity<>(HttpStatus.BAD_REQUEST, "已提交过");
}
}
@ApiOperation("产品结构规划-回显接口")
@GetMapping("/selectByCpjgghUserId")
@AnonymousAccess
public ResultEntity selectByCpjgghUserId(@ApiParam("用户ID") String userId) {
CpjgghStuAnswerExample cpjgghStuAnswerExample = new CpjgghStuAnswerExample();
cpjgghStuAnswerExample.createCriteria().andUserIdEqualTo(userId);
List<CpjgghStuAnswer> stuAnswerList = cpjgghStuAnswerMapper.selectByExampleWithBLOBs(cpjgghStuAnswerExample);
if (CollectionUtils.isEmpty(stuAnswerList)) {
return new ResultEntity<>(HttpStatus.OK);
} else {
return new ResultEntity<>(HttpStatus.OK, stuAnswerList.get(0));
}
}
@Resource
IFileUtil iFileUtil;
@Resource
private StuUploadExpermentMapper stuUploadExpermentMapper;
@ApiOperation("实训文件上传接口")
@PostMapping("/upload")
@AnonymousAccess
public ResultEntity upload(@RequestPart MultipartFile file, @ApiParam("实训名称")String module, String userId, @ApiParam("例如:身份证明文件/其他主要证明文件") String name) {
if (file.isEmpty())
{
return new ResultEntity<>(HttpStatus.BAD_REQUEST,"文件不能为空");
}
//保存文件路径
String filePath = iFileUtil.upload(file);
name = file.getOriginalFilename();
StuUploadExpermentExample uploadExpermentExample = new StuUploadExpermentExample();
uploadExpermentExample.createCriteria()
.andUserIdEqualTo(userId)
.andModuleEqualTo(module)
.andFileNameEqualTo(name);
List<StuUploadExperment> stuUploadExpermentList = stuUploadExpermentMapper.selectByExample(uploadExpermentExample);
if (stuUploadExpermentList.isEmpty()) {
StuUploadExperment uploadExperment = new StuUploadExperment();
int id = UUID.randomUUID().hashCode() > 0 ? UUID.randomUUID().hashCode() : -UUID.randomUUID().hashCode();
uploadExperment.setId(id);
uploadExperment.setFileName(name);
uploadExperment.setFilePath(filePath);
uploadExperment.setCreateTime(new Date());
uploadExperment.setModule(module);
uploadExperment.setUserId(userId);
stuUploadExpermentMapper.insertSelective(uploadExperment);
return new ResultEntity<>(HttpStatus.OK, "上传成功!", url + filePath);
} else {
StuUploadExperment uploadExperment = stuUploadExpermentList.get(0);
uploadExperment.setUpdateTime(new Date());
uploadExperment.setFilePath(filePath);
stuUploadExpermentMapper.updateByPrimaryKeySelective(uploadExperment);
return new ResultEntity<>(HttpStatus.OK, "上传成功!", url + filePath);
}
}
}

@ -1,27 +1,39 @@
package com.sztzjy.linkCommerce.entity;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
* 产品差异化定位评分结果表(双维度评估体系)
* 产品差异化定位答案表
*
* @author whb
* cpcyhdw_answer
*/
public class CpcyhdwAnswer {
@ApiModelProperty(notes = "主键(格式:CPCYHDWA_时间戳_哈希值,例:CPCYHDWA_2023110614_9d7b6c5e)")
@ApiModelProperty(notes = "主键")
private String id;
@ApiModelProperty(notes = "竞争地位评分(范围0.00-100.00)")
private BigDecimal competitivePositionScore;
@ApiModelProperty(notes = "竞争地位评分")
private Double competitivePositionScore;
@ApiModelProperty(notes = "市场吸引力评分(范围0.00-100.00)")
private BigDecimal marketAttractivenessScore;
@ApiModelProperty(notes = "市场吸引力评分")
private Double marketAttractivenessScore;
@ApiModelProperty(notes = "用户ID")
private String userId;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "竞争地位")
private String competitivePosition;
@ApiModelProperty(notes = "市场吸引力")
private String marketAttractive;
@ApiModelProperty(notes = "主观题")
private String context;
public String getId() {
return id;
}
@ -30,19 +42,19 @@ public class CpcyhdwAnswer {
this.id = id == null ? null : id.trim();
}
public BigDecimal getCompetitivePositionScore() {
public Double getCompetitivePositionScore() {
return competitivePositionScore;
}
public void setCompetitivePositionScore(BigDecimal competitivePositionScore) {
public void setCompetitivePositionScore(Double competitivePositionScore) {
this.competitivePositionScore = competitivePositionScore;
}
public BigDecimal getMarketAttractivenessScore() {
public Double getMarketAttractivenessScore() {
return marketAttractivenessScore;
}
public void setMarketAttractivenessScore(BigDecimal marketAttractivenessScore) {
public void setMarketAttractivenessScore(Double marketAttractivenessScore) {
this.marketAttractivenessScore = marketAttractivenessScore;
}
@ -53,4 +65,36 @@ public class CpcyhdwAnswer {
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getCompetitivePosition() {
return competitivePosition;
}
public void setCompetitivePosition(String competitivePosition) {
this.competitivePosition = competitivePosition == null ? null : competitivePosition.trim();
}
public String getMarketAttractive() {
return marketAttractive;
}
public void setMarketAttractive(String marketAttractive) {
this.marketAttractive = marketAttractive == null ? null : marketAttractive.trim();
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context == null ? null : context.trim();
}
}

@ -1,7 +1,7 @@
package com.sztzjy.linkCommerce.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CpcyhdwAnswerExample {
@ -185,52 +185,52 @@ public class CpcyhdwAnswerExample {
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreEqualTo(BigDecimal value) {
public Criteria andCompetitivePositionScoreEqualTo(Double value) {
addCriterion("competitive_position_score =", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreNotEqualTo(BigDecimal value) {
public Criteria andCompetitivePositionScoreNotEqualTo(Double value) {
addCriterion("competitive_position_score <>", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreGreaterThan(BigDecimal value) {
public Criteria andCompetitivePositionScoreGreaterThan(Double value) {
addCriterion("competitive_position_score >", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreGreaterThanOrEqualTo(BigDecimal value) {
public Criteria andCompetitivePositionScoreGreaterThanOrEqualTo(Double value) {
addCriterion("competitive_position_score >=", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreLessThan(BigDecimal value) {
public Criteria andCompetitivePositionScoreLessThan(Double value) {
addCriterion("competitive_position_score <", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreLessThanOrEqualTo(BigDecimal value) {
public Criteria andCompetitivePositionScoreLessThanOrEqualTo(Double value) {
addCriterion("competitive_position_score <=", value, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreIn(List<BigDecimal> values) {
public Criteria andCompetitivePositionScoreIn(List<Double> values) {
addCriterion("competitive_position_score in", values, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreNotIn(List<BigDecimal> values) {
public Criteria andCompetitivePositionScoreNotIn(List<Double> values) {
addCriterion("competitive_position_score not in", values, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreBetween(BigDecimal value1, BigDecimal value2) {
public Criteria andCompetitivePositionScoreBetween(Double value1, Double value2) {
addCriterion("competitive_position_score between", value1, value2, "competitivePositionScore");
return (Criteria) this;
}
public Criteria andCompetitivePositionScoreNotBetween(BigDecimal value1, BigDecimal value2) {
public Criteria andCompetitivePositionScoreNotBetween(Double value1, Double value2) {
addCriterion("competitive_position_score not between", value1, value2, "competitivePositionScore");
return (Criteria) this;
}
@ -245,52 +245,52 @@ public class CpcyhdwAnswerExample {
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreEqualTo(BigDecimal value) {
public Criteria andMarketAttractivenessScoreEqualTo(Double value) {
addCriterion("market_attractiveness_score =", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreNotEqualTo(BigDecimal value) {
public Criteria andMarketAttractivenessScoreNotEqualTo(Double value) {
addCriterion("market_attractiveness_score <>", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreGreaterThan(BigDecimal value) {
public Criteria andMarketAttractivenessScoreGreaterThan(Double value) {
addCriterion("market_attractiveness_score >", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreGreaterThanOrEqualTo(BigDecimal value) {
public Criteria andMarketAttractivenessScoreGreaterThanOrEqualTo(Double value) {
addCriterion("market_attractiveness_score >=", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreLessThan(BigDecimal value) {
public Criteria andMarketAttractivenessScoreLessThan(Double value) {
addCriterion("market_attractiveness_score <", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreLessThanOrEqualTo(BigDecimal value) {
public Criteria andMarketAttractivenessScoreLessThanOrEqualTo(Double value) {
addCriterion("market_attractiveness_score <=", value, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreIn(List<BigDecimal> values) {
public Criteria andMarketAttractivenessScoreIn(List<Double> values) {
addCriterion("market_attractiveness_score in", values, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreNotIn(List<BigDecimal> values) {
public Criteria andMarketAttractivenessScoreNotIn(List<Double> values) {
addCriterion("market_attractiveness_score not in", values, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreBetween(BigDecimal value1, BigDecimal value2) {
public Criteria andMarketAttractivenessScoreBetween(Double value1, Double value2) {
addCriterion("market_attractiveness_score between", value1, value2, "marketAttractivenessScore");
return (Criteria) this;
}
public Criteria andMarketAttractivenessScoreNotBetween(BigDecimal value1, BigDecimal value2) {
public Criteria andMarketAttractivenessScoreNotBetween(Double value1, Double value2) {
addCriterion("market_attractiveness_score not between", value1, value2, "marketAttractivenessScore");
return (Criteria) this;
}
@ -364,6 +364,66 @@ public class CpcyhdwAnswerExample {
addCriterion("user_id not between", value1, value2, "userId");
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 static class Criteria extends GeneratedCriteria {

@ -1,6 +1,7 @@
package com.sztzjy.linkCommerce.entity;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
@ -22,6 +23,18 @@ public class CpcyhdwStuAnswer {
@ApiModelProperty(notes = "用户ID(关联userinfo表)")
private String userId;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "竞争地位")
private String competitivePosition;
@ApiModelProperty(notes = "市场吸引力")
private String marketAttractive;
@ApiModelProperty(notes = "主观题")
private String context;
public String getId() {
return id;
}
@ -53,4 +66,36 @@ public class CpcyhdwStuAnswer {
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getCompetitivePosition() {
return competitivePosition;
}
public void setCompetitivePosition(String competitivePosition) {
this.competitivePosition = competitivePosition == null ? null : competitivePosition.trim();
}
public String getMarketAttractive() {
return marketAttractive;
}
public void setMarketAttractive(String marketAttractive) {
this.marketAttractive = marketAttractive == null ? null : marketAttractive.trim();
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context == null ? null : context.trim();
}
}

@ -2,6 +2,7 @@ package com.sztzjy.linkCommerce.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CpcyhdwStuAnswerExample {
@ -364,6 +365,66 @@ public class CpcyhdwStuAnswerExample {
addCriterion("user_id not between", value1, value2, "userId");
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 static class Criteria extends GeneratedCriteria {

@ -28,6 +28,9 @@ public class CpdjStuAnswer {
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "0隐藏 : 1 展示")
private Integer displayStatus;
@ApiModelProperty(notes = "便宜-累计总和(答案通过逗号隔开,没写就给空)")
private String cheapSum;
@ -103,6 +106,14 @@ public class CpdjStuAnswer {
this.createTime = createTime;
}
public Integer getDisplayStatus() {
return displayStatus;
}
public void setDisplayStatus(Integer displayStatus) {
this.displayStatus = displayStatus;
}
public String getCheapSum() {
return cheapSum;
}

@ -514,6 +514,66 @@ public class CpdjStuAnswerExample {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andDisplayStatusIsNull() {
addCriterion("display_status is null");
return (Criteria) this;
}
public Criteria andDisplayStatusIsNotNull() {
addCriterion("display_status is not null");
return (Criteria) this;
}
public Criteria andDisplayStatusEqualTo(Integer value) {
addCriterion("display_status =", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusNotEqualTo(Integer value) {
addCriterion("display_status <>", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusGreaterThan(Integer value) {
addCriterion("display_status >", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusGreaterThanOrEqualTo(Integer value) {
addCriterion("display_status >=", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusLessThan(Integer value) {
addCriterion("display_status <", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusLessThanOrEqualTo(Integer value) {
addCriterion("display_status <=", value, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusIn(List<Integer> values) {
addCriterion("display_status in", values, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusNotIn(List<Integer> values) {
addCriterion("display_status not in", values, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusBetween(Integer value1, Integer value2) {
addCriterion("display_status between", value1, value2, "displayStatus");
return (Criteria) this;
}
public Criteria andDisplayStatusNotBetween(Integer value1, Integer value2) {
addCriterion("display_status not between", value1, value2, "displayStatus");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {

@ -47,15 +47,48 @@ public class CpjgghStuAnswer {
@ApiModelProperty(notes = "用户ID(关联userinfo表)")
private String userId;
@ApiModelProperty(notes = "产品分类列表(JSON数组格式,如")
@ApiModelProperty(notes = "图片1")
private String imgOne;
@ApiModelProperty(notes = "图片2")
private String imgTwo;
@ApiModelProperty(notes = "图片3")
private String imgThree;
@ApiModelProperty(notes = "图片4")
private String imgFour;
@ApiModelProperty(notes = "图片5")
private String imgFive;
@ApiModelProperty(notes = "图片6")
private String imgSix;
@ApiModelProperty(notes = "图片7")
private String imgSeven;
@ApiModelProperty(notes = "图片8")
private String imgEight;
@ApiModelProperty(notes = "图片9")
private String imgNine;
@ApiModelProperty(notes = "图片10")
private String imgTen;
@ApiModelProperty(notes = "产品分类列表(JSON数组格式)")
private String productCategories;
@ApiModelProperty(notes = "结构合理性分析(500字以内文字说明)")
@ApiModelProperty(notes = "结构合理性分析(500字以内文字说明)主观题")
private String rationality;
@ApiModelProperty(notes = "优化建议(500字以内文字说明)")
@ApiModelProperty(notes = "组合优化建议(500字以内文字说明)主观题")
private String optimizationSuggestions;
@ApiModelProperty(notes = "优化建议(最后 )主观题")
private String context;
public String getId() {
return id;
}
@ -160,6 +193,86 @@ public class CpjgghStuAnswer {
this.userId = userId == null ? null : userId.trim();
}
public String getImgOne() {
return imgOne;
}
public void setImgOne(String imgOne) {
this.imgOne = imgOne == null ? null : imgOne.trim();
}
public String getImgTwo() {
return imgTwo;
}
public void setImgTwo(String imgTwo) {
this.imgTwo = imgTwo == null ? null : imgTwo.trim();
}
public String getImgThree() {
return imgThree;
}
public void setImgThree(String imgThree) {
this.imgThree = imgThree == null ? null : imgThree.trim();
}
public String getImgFour() {
return imgFour;
}
public void setImgFour(String imgFour) {
this.imgFour = imgFour == null ? null : imgFour.trim();
}
public String getImgFive() {
return imgFive;
}
public void setImgFive(String imgFive) {
this.imgFive = imgFive == null ? null : imgFive.trim();
}
public String getImgSix() {
return imgSix;
}
public void setImgSix(String imgSix) {
this.imgSix = imgSix == null ? null : imgSix.trim();
}
public String getImgSeven() {
return imgSeven;
}
public void setImgSeven(String imgSeven) {
this.imgSeven = imgSeven == null ? null : imgSeven.trim();
}
public String getImgEight() {
return imgEight;
}
public void setImgEight(String imgEight) {
this.imgEight = imgEight == null ? null : imgEight.trim();
}
public String getImgNine() {
return imgNine;
}
public void setImgNine(String imgNine) {
this.imgNine = imgNine == null ? null : imgNine.trim();
}
public String getImgTen() {
return imgTen;
}
public void setImgTen(String imgTen) {
this.imgTen = imgTen == null ? null : imgTen.trim();
}
public String getProductCategories() {
return productCategories;
}
@ -183,4 +296,12 @@ public class CpjgghStuAnswer {
public void setOptimizationSuggestions(String optimizationSuggestions) {
this.optimizationSuggestions = optimizationSuggestions == null ? null : optimizationSuggestions.trim();
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context == null ? null : context.trim();
}
}

@ -1013,6 +1013,706 @@ public class CpjgghStuAnswerExample {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andImgOneIsNull() {
addCriterion("img_one is null");
return (Criteria) this;
}
public Criteria andImgOneIsNotNull() {
addCriterion("img_one is not null");
return (Criteria) this;
}
public Criteria andImgOneEqualTo(String value) {
addCriterion("img_one =", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneNotEqualTo(String value) {
addCriterion("img_one <>", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneGreaterThan(String value) {
addCriterion("img_one >", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneGreaterThanOrEqualTo(String value) {
addCriterion("img_one >=", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneLessThan(String value) {
addCriterion("img_one <", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneLessThanOrEqualTo(String value) {
addCriterion("img_one <=", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneLike(String value) {
addCriterion("img_one like", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneNotLike(String value) {
addCriterion("img_one not like", value, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneIn(List<String> values) {
addCriterion("img_one in", values, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneNotIn(List<String> values) {
addCriterion("img_one not in", values, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneBetween(String value1, String value2) {
addCriterion("img_one between", value1, value2, "imgOne");
return (Criteria) this;
}
public Criteria andImgOneNotBetween(String value1, String value2) {
addCriterion("img_one not between", value1, value2, "imgOne");
return (Criteria) this;
}
public Criteria andImgTwoIsNull() {
addCriterion("img_two is null");
return (Criteria) this;
}
public Criteria andImgTwoIsNotNull() {
addCriterion("img_two is not null");
return (Criteria) this;
}
public Criteria andImgTwoEqualTo(String value) {
addCriterion("img_two =", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoNotEqualTo(String value) {
addCriterion("img_two <>", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoGreaterThan(String value) {
addCriterion("img_two >", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoGreaterThanOrEqualTo(String value) {
addCriterion("img_two >=", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoLessThan(String value) {
addCriterion("img_two <", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoLessThanOrEqualTo(String value) {
addCriterion("img_two <=", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoLike(String value) {
addCriterion("img_two like", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoNotLike(String value) {
addCriterion("img_two not like", value, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoIn(List<String> values) {
addCriterion("img_two in", values, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoNotIn(List<String> values) {
addCriterion("img_two not in", values, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoBetween(String value1, String value2) {
addCriterion("img_two between", value1, value2, "imgTwo");
return (Criteria) this;
}
public Criteria andImgTwoNotBetween(String value1, String value2) {
addCriterion("img_two not between", value1, value2, "imgTwo");
return (Criteria) this;
}
public Criteria andImgThreeIsNull() {
addCriterion("img_three is null");
return (Criteria) this;
}
public Criteria andImgThreeIsNotNull() {
addCriterion("img_three is not null");
return (Criteria) this;
}
public Criteria andImgThreeEqualTo(String value) {
addCriterion("img_three =", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeNotEqualTo(String value) {
addCriterion("img_three <>", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeGreaterThan(String value) {
addCriterion("img_three >", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeGreaterThanOrEqualTo(String value) {
addCriterion("img_three >=", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeLessThan(String value) {
addCriterion("img_three <", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeLessThanOrEqualTo(String value) {
addCriterion("img_three <=", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeLike(String value) {
addCriterion("img_three like", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeNotLike(String value) {
addCriterion("img_three not like", value, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeIn(List<String> values) {
addCriterion("img_three in", values, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeNotIn(List<String> values) {
addCriterion("img_three not in", values, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeBetween(String value1, String value2) {
addCriterion("img_three between", value1, value2, "imgThree");
return (Criteria) this;
}
public Criteria andImgThreeNotBetween(String value1, String value2) {
addCriterion("img_three not between", value1, value2, "imgThree");
return (Criteria) this;
}
public Criteria andImgFourIsNull() {
addCriterion("img_four is null");
return (Criteria) this;
}
public Criteria andImgFourIsNotNull() {
addCriterion("img_four is not null");
return (Criteria) this;
}
public Criteria andImgFourEqualTo(String value) {
addCriterion("img_four =", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourNotEqualTo(String value) {
addCriterion("img_four <>", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourGreaterThan(String value) {
addCriterion("img_four >", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourGreaterThanOrEqualTo(String value) {
addCriterion("img_four >=", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourLessThan(String value) {
addCriterion("img_four <", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourLessThanOrEqualTo(String value) {
addCriterion("img_four <=", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourLike(String value) {
addCriterion("img_four like", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourNotLike(String value) {
addCriterion("img_four not like", value, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourIn(List<String> values) {
addCriterion("img_four in", values, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourNotIn(List<String> values) {
addCriterion("img_four not in", values, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourBetween(String value1, String value2) {
addCriterion("img_four between", value1, value2, "imgFour");
return (Criteria) this;
}
public Criteria andImgFourNotBetween(String value1, String value2) {
addCriterion("img_four not between", value1, value2, "imgFour");
return (Criteria) this;
}
public Criteria andImgFiveIsNull() {
addCriterion("img_five is null");
return (Criteria) this;
}
public Criteria andImgFiveIsNotNull() {
addCriterion("img_five is not null");
return (Criteria) this;
}
public Criteria andImgFiveEqualTo(String value) {
addCriterion("img_five =", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveNotEqualTo(String value) {
addCriterion("img_five <>", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveGreaterThan(String value) {
addCriterion("img_five >", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveGreaterThanOrEqualTo(String value) {
addCriterion("img_five >=", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveLessThan(String value) {
addCriterion("img_five <", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveLessThanOrEqualTo(String value) {
addCriterion("img_five <=", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveLike(String value) {
addCriterion("img_five like", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveNotLike(String value) {
addCriterion("img_five not like", value, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveIn(List<String> values) {
addCriterion("img_five in", values, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveNotIn(List<String> values) {
addCriterion("img_five not in", values, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveBetween(String value1, String value2) {
addCriterion("img_five between", value1, value2, "imgFive");
return (Criteria) this;
}
public Criteria andImgFiveNotBetween(String value1, String value2) {
addCriterion("img_five not between", value1, value2, "imgFive");
return (Criteria) this;
}
public Criteria andImgSixIsNull() {
addCriterion("img_six is null");
return (Criteria) this;
}
public Criteria andImgSixIsNotNull() {
addCriterion("img_six is not null");
return (Criteria) this;
}
public Criteria andImgSixEqualTo(String value) {
addCriterion("img_six =", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixNotEqualTo(String value) {
addCriterion("img_six <>", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixGreaterThan(String value) {
addCriterion("img_six >", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixGreaterThanOrEqualTo(String value) {
addCriterion("img_six >=", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixLessThan(String value) {
addCriterion("img_six <", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixLessThanOrEqualTo(String value) {
addCriterion("img_six <=", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixLike(String value) {
addCriterion("img_six like", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixNotLike(String value) {
addCriterion("img_six not like", value, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixIn(List<String> values) {
addCriterion("img_six in", values, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixNotIn(List<String> values) {
addCriterion("img_six not in", values, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixBetween(String value1, String value2) {
addCriterion("img_six between", value1, value2, "imgSix");
return (Criteria) this;
}
public Criteria andImgSixNotBetween(String value1, String value2) {
addCriterion("img_six not between", value1, value2, "imgSix");
return (Criteria) this;
}
public Criteria andImgSevenIsNull() {
addCriterion("img_seven is null");
return (Criteria) this;
}
public Criteria andImgSevenIsNotNull() {
addCriterion("img_seven is not null");
return (Criteria) this;
}
public Criteria andImgSevenEqualTo(String value) {
addCriterion("img_seven =", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenNotEqualTo(String value) {
addCriterion("img_seven <>", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenGreaterThan(String value) {
addCriterion("img_seven >", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenGreaterThanOrEqualTo(String value) {
addCriterion("img_seven >=", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenLessThan(String value) {
addCriterion("img_seven <", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenLessThanOrEqualTo(String value) {
addCriterion("img_seven <=", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenLike(String value) {
addCriterion("img_seven like", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenNotLike(String value) {
addCriterion("img_seven not like", value, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenIn(List<String> values) {
addCriterion("img_seven in", values, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenNotIn(List<String> values) {
addCriterion("img_seven not in", values, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenBetween(String value1, String value2) {
addCriterion("img_seven between", value1, value2, "imgSeven");
return (Criteria) this;
}
public Criteria andImgSevenNotBetween(String value1, String value2) {
addCriterion("img_seven not between", value1, value2, "imgSeven");
return (Criteria) this;
}
public Criteria andImgEightIsNull() {
addCriterion("img_eight is null");
return (Criteria) this;
}
public Criteria andImgEightIsNotNull() {
addCriterion("img_eight is not null");
return (Criteria) this;
}
public Criteria andImgEightEqualTo(String value) {
addCriterion("img_eight =", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightNotEqualTo(String value) {
addCriterion("img_eight <>", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightGreaterThan(String value) {
addCriterion("img_eight >", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightGreaterThanOrEqualTo(String value) {
addCriterion("img_eight >=", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightLessThan(String value) {
addCriterion("img_eight <", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightLessThanOrEqualTo(String value) {
addCriterion("img_eight <=", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightLike(String value) {
addCriterion("img_eight like", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightNotLike(String value) {
addCriterion("img_eight not like", value, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightIn(List<String> values) {
addCriterion("img_eight in", values, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightNotIn(List<String> values) {
addCriterion("img_eight not in", values, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightBetween(String value1, String value2) {
addCriterion("img_eight between", value1, value2, "imgEight");
return (Criteria) this;
}
public Criteria andImgEightNotBetween(String value1, String value2) {
addCriterion("img_eight not between", value1, value2, "imgEight");
return (Criteria) this;
}
public Criteria andImgNineIsNull() {
addCriterion("img_nine is null");
return (Criteria) this;
}
public Criteria andImgNineIsNotNull() {
addCriterion("img_nine is not null");
return (Criteria) this;
}
public Criteria andImgNineEqualTo(String value) {
addCriterion("img_nine =", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineNotEqualTo(String value) {
addCriterion("img_nine <>", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineGreaterThan(String value) {
addCriterion("img_nine >", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineGreaterThanOrEqualTo(String value) {
addCriterion("img_nine >=", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineLessThan(String value) {
addCriterion("img_nine <", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineLessThanOrEqualTo(String value) {
addCriterion("img_nine <=", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineLike(String value) {
addCriterion("img_nine like", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineNotLike(String value) {
addCriterion("img_nine not like", value, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineIn(List<String> values) {
addCriterion("img_nine in", values, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineNotIn(List<String> values) {
addCriterion("img_nine not in", values, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineBetween(String value1, String value2) {
addCriterion("img_nine between", value1, value2, "imgNine");
return (Criteria) this;
}
public Criteria andImgNineNotBetween(String value1, String value2) {
addCriterion("img_nine not between", value1, value2, "imgNine");
return (Criteria) this;
}
public Criteria andImgTenIsNull() {
addCriterion("img_ten is null");
return (Criteria) this;
}
public Criteria andImgTenIsNotNull() {
addCriterion("img_ten is not null");
return (Criteria) this;
}
public Criteria andImgTenEqualTo(String value) {
addCriterion("img_ten =", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenNotEqualTo(String value) {
addCriterion("img_ten <>", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenGreaterThan(String value) {
addCriterion("img_ten >", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenGreaterThanOrEqualTo(String value) {
addCriterion("img_ten >=", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenLessThan(String value) {
addCriterion("img_ten <", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenLessThanOrEqualTo(String value) {
addCriterion("img_ten <=", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenLike(String value) {
addCriterion("img_ten like", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenNotLike(String value) {
addCriterion("img_ten not like", value, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenIn(List<String> values) {
addCriterion("img_ten in", values, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenNotIn(List<String> values) {
addCriterion("img_ten not in", values, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenBetween(String value1, String value2) {
addCriterion("img_ten between", value1, value2, "imgTen");
return (Criteria) this;
}
public Criteria andImgTenNotBetween(String value1, String value2) {
addCriterion("img_ten not between", value1, value2, "imgTen");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {

@ -11,28 +11,28 @@ public class FbqdAnswer {
@ApiModelProperty(notes = "主键(格式:FBQDA_时间戳_哈希值,例:FBQDA_2023110614_9d7b6c5e)")
private String id;
@ApiModelProperty(notes = "分析模块(数据标准化结果/渠道中的比重/信息熵/指标的权重/综合评分)")
@ApiModelProperty(notes = "分析模块")
private String module;
@ApiModelProperty(notes = "用户ID(关联userinfo表)")
private String userId;
@ApiModelProperty(notes = "曝光量数据(JSON数组格式,如[1200,1500,1800])")
@ApiModelProperty(notes = "1.数据标准化结果(以逗号隔开,没做就为空)")
private String exposureData;
@ApiModelProperty(notes = "点击量数据(JSON数组格式,如[300,350,400])")
@ApiModelProperty(notes = "2.每个渠道中的比重(以逗号隔开,没做就为空)")
private String clickData;
@ApiModelProperty(notes = "广告费用数据(JSON数组格式,单位:元)")
@ApiModelProperty(notes = "3.每个指标的信息熵(以逗号隔开,没做就为空)")
private String adCost;
@ApiModelProperty(notes = "订单金额数据(JSON数组格式,单位:元)")
@ApiModelProperty(notes = "4.计算每个指标的权重(以逗号隔开,没做就为空)")
private String orderAmount;
@ApiModelProperty(notes = "核心关键词(多个关键词用逗号分隔)")
@ApiModelProperty(notes = "5.综合评分(以逗号隔开,没做就为空)")
private String keywords;
@ApiModelProperty(notes = "场景推广方案(500字以内)")
@ApiModelProperty(notes = "主观题")
private String scenePromotion;
@ApiModelProperty(notes = "人群推广方案(500字以内)")

@ -1,49 +1,41 @@
package com.sztzjy.linkCommerce.entity;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
* 学生发布渠道分析答案表(含投放效果数据)
* 发布渠道分析结果表(含多维度投放数据)
*
* @author whb
* fbqd_stu_answer
*/
public class FbqdStuAnswer {
@ApiModelProperty(notes = "主键(格式:FBQDSA_时间戳_哈希值,例:FBQDSA_2023110614_9d7b6c5e)")
@ApiModelProperty(notes = "主键(格式:FBQDA_时间戳_哈希值,例:FBQDA_2023110614_9d7b6c5e)")
private String id;
@ApiModelProperty(notes = "分析模块(数据标准化结果/渠道中的比重/信息熵/指标的权重/综合评分)")
@ApiModelProperty(notes = "分析模块")
private String module;
@ApiModelProperty(notes = "用户ID(关联userinfo表)")
private String userId;
@ApiModelProperty(notes = "提交时间")
private Date submitTime;
@ApiModelProperty(notes = "状态(0-未提交,1-已提交,2-已批改)")
private Byte status;
@ApiModelProperty(notes = "曝光量数据(JSON数组格式,如[1200,1500,1800],单位:次)")
@ApiModelProperty(notes = "1.数据标准化结果(以逗号隔开,没做就为空)")
private String exposureData;
@ApiModelProperty(notes = "点击量数据(JSON数组格式,如[300,350,400],单位:次)")
@ApiModelProperty(notes = "2.每个渠道中的比重(以逗号隔开,没做就为空)")
private String clickData;
@ApiModelProperty(notes = "广告费用数据(JSON数组格式,如[5000,6000,7000],单位:元)")
@ApiModelProperty(notes = "3.每个指标的信息熵(以逗号隔开,没做就为空)")
private String adCost;
@ApiModelProperty(notes = "订单金额数据(JSON数组格式,如[12000,15000,18000],单位:元)")
@ApiModelProperty(notes = "4.计算每个指标的权重(以逗号隔开,没做就为空)")
private String orderAmount;
@ApiModelProperty(notes = "核心关键词(多个用逗号分隔,")
@ApiModelProperty(notes = "5.综合评分(以逗号隔开,没做就为空)")
private String keywords;
@ApiModelProperty(notes = "场景推广方案(500字以内描述)")
@ApiModelProperty(notes = "主观题")
private String scenePromotion;
@ApiModelProperty(notes = "人群推广方案(500字以内描述)")
@ApiModelProperty(notes = "人群推广方案(500字以内)")
private String crowdPromotion;
public String getId() {
@ -70,22 +62,6 @@ public class FbqdStuAnswer {
this.userId = userId == null ? null : userId.trim();
}
public Date getSubmitTime() {
return submitTime;
}
public void setSubmitTime(Date submitTime) {
this.submitTime = submitTime;
}
public Byte getStatus() {
return status;
}
public void setStatus(Byte status) {
this.status = status;
}
public String getExposureData() {
return exposureData;
}

@ -1,7 +1,6 @@
package com.sztzjy.linkCommerce.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class FbqdStuAnswerExample {
@ -314,126 +313,6 @@ public class FbqdStuAnswerExample {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andSubmitTimeIsNull() {
addCriterion("submit_time is null");
return (Criteria) this;
}
public Criteria andSubmitTimeIsNotNull() {
addCriterion("submit_time is not null");
return (Criteria) this;
}
public Criteria andSubmitTimeEqualTo(Date value) {
addCriterion("submit_time =", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeNotEqualTo(Date value) {
addCriterion("submit_time <>", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeGreaterThan(Date value) {
addCriterion("submit_time >", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeGreaterThanOrEqualTo(Date value) {
addCriterion("submit_time >=", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeLessThan(Date value) {
addCriterion("submit_time <", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeLessThanOrEqualTo(Date value) {
addCriterion("submit_time <=", value, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeIn(List<Date> values) {
addCriterion("submit_time in", values, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeNotIn(List<Date> values) {
addCriterion("submit_time not in", values, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeBetween(Date value1, Date value2) {
addCriterion("submit_time between", value1, value2, "submitTime");
return (Criteria) this;
}
public Criteria andSubmitTimeNotBetween(Date value1, Date value2) {
addCriterion("submit_time not between", value1, value2, "submitTime");
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(Byte value) {
addCriterion("status =", value, "status");
return (Criteria) this;
}
public Criteria andStatusNotEqualTo(Byte value) {
addCriterion("status <>", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThan(Byte value) {
addCriterion("status >", value, "status");
return (Criteria) this;
}
public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("status >=", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThan(Byte value) {
addCriterion("status <", value, "status");
return (Criteria) this;
}
public Criteria andStatusLessThanOrEqualTo(Byte value) {
addCriterion("status <=", value, "status");
return (Criteria) this;
}
public Criteria andStatusIn(List<Byte> values) {
addCriterion("status in", values, "status");
return (Criteria) this;
}
public Criteria andStatusNotIn(List<Byte> values) {
addCriterion("status not in", values, "status");
return (Criteria) this;
}
public Criteria andStatusBetween(Byte value1, Byte value2) {
addCriterion("status between", value1, value2, "status");
return (Criteria) this;
}
public Criteria andStatusNotBetween(Byte value1, Byte value2) {
addCriterion("status not between", value1, value2, "status");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {

@ -0,0 +1,110 @@
package com.sztzjy.linkCommerce.entity;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
/**
* 学生端AI文件上传记录
*
* @author whb
* stu_upload_experment
*/
public class StuUploadExperment {
private Integer id;
@ApiModelProperty(notes = "用户id")
private String userId;
@ApiModelProperty(notes = "图片路径")
private String filePath;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "文件大小")
private Double fileSize;
@ApiModelProperty(notes = "文件名")
private String fileName;
@ApiModelProperty(notes = "模块名")
private String module;
@ApiModelProperty(notes = "更新时间")
private Date updateTime;
@ApiModelProperty(notes = "文件后缀")
private String sufxx;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath == null ? null : filePath.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Double getFileSize() {
return fileSize;
}
public void setFileSize(Double fileSize) {
this.fileSize = fileSize;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName == null ? null : fileName.trim();
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getSufxx() {
return sufxx;
}
public void setSufxx(String sufxx) {
this.sufxx = sufxx == null ? null : sufxx.trim();
}
}

@ -0,0 +1,790 @@
package com.sztzjy.linkCommerce.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class StuUploadExpermentExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public StuUploadExpermentExample() {
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 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 andFilePathIsNull() {
addCriterion("file_path is null");
return (Criteria) this;
}
public Criteria andFilePathIsNotNull() {
addCriterion("file_path is not null");
return (Criteria) this;
}
public Criteria andFilePathEqualTo(String value) {
addCriterion("file_path =", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathNotEqualTo(String value) {
addCriterion("file_path <>", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathGreaterThan(String value) {
addCriterion("file_path >", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathGreaterThanOrEqualTo(String value) {
addCriterion("file_path >=", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathLessThan(String value) {
addCriterion("file_path <", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathLessThanOrEqualTo(String value) {
addCriterion("file_path <=", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathLike(String value) {
addCriterion("file_path like", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathNotLike(String value) {
addCriterion("file_path not like", value, "filePath");
return (Criteria) this;
}
public Criteria andFilePathIn(List<String> values) {
addCriterion("file_path in", values, "filePath");
return (Criteria) this;
}
public Criteria andFilePathNotIn(List<String> values) {
addCriterion("file_path not in", values, "filePath");
return (Criteria) this;
}
public Criteria andFilePathBetween(String value1, String value2) {
addCriterion("file_path between", value1, value2, "filePath");
return (Criteria) this;
}
public Criteria andFilePathNotBetween(String value1, String value2) {
addCriterion("file_path not between", value1, value2, "filePath");
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 andFileSizeIsNull() {
addCriterion("file_size is null");
return (Criteria) this;
}
public Criteria andFileSizeIsNotNull() {
addCriterion("file_size is not null");
return (Criteria) this;
}
public Criteria andFileSizeEqualTo(Double value) {
addCriterion("file_size =", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeNotEqualTo(Double value) {
addCriterion("file_size <>", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeGreaterThan(Double value) {
addCriterion("file_size >", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeGreaterThanOrEqualTo(Double value) {
addCriterion("file_size >=", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeLessThan(Double value) {
addCriterion("file_size <", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeLessThanOrEqualTo(Double value) {
addCriterion("file_size <=", value, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeIn(List<Double> values) {
addCriterion("file_size in", values, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeNotIn(List<Double> values) {
addCriterion("file_size not in", values, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeBetween(Double value1, Double value2) {
addCriterion("file_size between", value1, value2, "fileSize");
return (Criteria) this;
}
public Criteria andFileSizeNotBetween(Double value1, Double value2) {
addCriterion("file_size not between", value1, value2, "fileSize");
return (Criteria) this;
}
public Criteria andFileNameIsNull() {
addCriterion("file_name is null");
return (Criteria) this;
}
public Criteria andFileNameIsNotNull() {
addCriterion("file_name is not null");
return (Criteria) this;
}
public Criteria andFileNameEqualTo(String value) {
addCriterion("file_name =", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotEqualTo(String value) {
addCriterion("file_name <>", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameGreaterThan(String value) {
addCriterion("file_name >", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameGreaterThanOrEqualTo(String value) {
addCriterion("file_name >=", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLessThan(String value) {
addCriterion("file_name <", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLessThanOrEqualTo(String value) {
addCriterion("file_name <=", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLike(String value) {
addCriterion("file_name like", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotLike(String value) {
addCriterion("file_name not like", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameIn(List<String> values) {
addCriterion("file_name in", values, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotIn(List<String> values) {
addCriterion("file_name not in", values, "fileName");
return (Criteria) this;
}
public Criteria andFileNameBetween(String value1, String value2) {
addCriterion("file_name between", value1, value2, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotBetween(String value1, String value2) {
addCriterion("file_name not between", value1, value2, "fileName");
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 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 Criteria andSufxxIsNull() {
addCriterion("sufxx is null");
return (Criteria) this;
}
public Criteria andSufxxIsNotNull() {
addCriterion("sufxx is not null");
return (Criteria) this;
}
public Criteria andSufxxEqualTo(String value) {
addCriterion("sufxx =", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxNotEqualTo(String value) {
addCriterion("sufxx <>", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxGreaterThan(String value) {
addCriterion("sufxx >", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxGreaterThanOrEqualTo(String value) {
addCriterion("sufxx >=", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxLessThan(String value) {
addCriterion("sufxx <", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxLessThanOrEqualTo(String value) {
addCriterion("sufxx <=", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxLike(String value) {
addCriterion("sufxx like", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxNotLike(String value) {
addCriterion("sufxx not like", value, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxIn(List<String> values) {
addCriterion("sufxx in", values, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxNotIn(List<String> values) {
addCriterion("sufxx not in", values, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxBetween(String value1, String value2) {
addCriterion("sufxx between", value1, value2, "sufxx");
return (Criteria) this;
}
public Criteria andSufxxNotBetween(String value1, String value2) {
addCriterion("sufxx not between", value1, value2, "sufxx");
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);
}
}
}

@ -16,15 +16,21 @@ public interface CpcyhdwAnswerMapper {
int insertSelective(CpcyhdwAnswer record);
List<CpcyhdwAnswer> selectByExampleWithBLOBs(CpcyhdwAnswerExample example);
List<CpcyhdwAnswer> selectByExample(CpcyhdwAnswerExample example);
CpcyhdwAnswer selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") CpcyhdwAnswer record, @Param("example") CpcyhdwAnswerExample example);
int updateByExampleWithBLOBs(@Param("record") CpcyhdwAnswer record, @Param("example") CpcyhdwAnswerExample example);
int updateByExample(@Param("record") CpcyhdwAnswer record, @Param("example") CpcyhdwAnswerExample example);
int updateByPrimaryKeySelective(CpcyhdwAnswer record);
int updateByPrimaryKeyWithBLOBs(CpcyhdwAnswer record);
int updateByPrimaryKey(CpcyhdwAnswer record);
}

@ -16,15 +16,21 @@ public interface CpcyhdwStuAnswerMapper {
int insertSelective(CpcyhdwStuAnswer record);
List<CpcyhdwStuAnswer> selectByExampleWithBLOBs(CpcyhdwStuAnswerExample example);
List<CpcyhdwStuAnswer> selectByExample(CpcyhdwStuAnswerExample example);
CpcyhdwStuAnswer selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") CpcyhdwStuAnswer record, @Param("example") CpcyhdwStuAnswerExample example);
int updateByExampleWithBLOBs(@Param("record") CpcyhdwStuAnswer record, @Param("example") CpcyhdwStuAnswerExample example);
int updateByExample(@Param("record") CpcyhdwStuAnswer record, @Param("example") CpcyhdwStuAnswerExample example);
int updateByPrimaryKeySelective(CpcyhdwStuAnswer record);
int updateByPrimaryKeyWithBLOBs(CpcyhdwStuAnswer record);
int updateByPrimaryKey(CpcyhdwStuAnswer record);
}

@ -0,0 +1,35 @@
package com.sztzjy.linkCommerce.mapper;
import com.sztzjy.linkCommerce.entity.StuUploadExperment;
import com.sztzjy.linkCommerce.entity.StuUploadExpermentExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface StuUploadExpermentMapper {
long countByExample(StuUploadExpermentExample example);
int deleteByExample(StuUploadExpermentExample example);
int deleteByPrimaryKey(Integer id);
int insert(StuUploadExperment record);
int insertSelective(StuUploadExperment record);
List<StuUploadExperment> selectByExample(StuUploadExpermentExample example);
StuUploadExperment selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") StuUploadExperment record, @Param("example") StuUploadExpermentExample example);
int updateByExample(@Param("record") StuUploadExperment record, @Param("example") StuUploadExpermentExample example);
int updateByPrimaryKeySelective(StuUploadExperment record);
int updateByPrimaryKey(StuUploadExperment record);
//批量删除学生上传的附件作业
void deleteList(@Param("ids") List<Integer> ids);
}

@ -11,14 +11,14 @@ spring:
# 文件存储
file:
type: local
path: /usr/local/tianzeProject/link_commerce/uploadFile
# path: D:/tianzeProject/digitalTrade/
# url: "https://szmy.sztzjy.com:218/file"
#path: /usr/local/tianzeProject/link_commerce/uploadFile
path: D:/tianzeProject/linkCommerce/
url: "http://192.168.2.8:330/file"
item:
name: trade
name: linkCommerce

@ -50,42 +50,43 @@
<!-- 需要生成的表 -->
<table tableName="cgcpdw_answer" domainObjectName="CgcpdwAnswer" />
<table tableName="cgcpdw_stu_answer" domainObjectName="CgcpdwStuAnswer" />
<table tableName="cgxqyc_answer" domainObjectName="CgxqycAnswer" />
<table tableName="cgxqyc_stu_answer" domainObjectName="CgxqycStuAnswer" />
<table tableName="cpbxfx_answer" domainObjectName="CpbxfxAnswer" />
<table tableName="cpbxfx_stu_answer" domainObjectName="CpbxfxStuAnswer" />
<table tableName="cpcyhdw_answer" domainObjectName="CpcyhdwAnswer" />
<table tableName="cpcyhdw_stu_answer" domainObjectName="CpcyhdwStuAnswer" />
<table tableName="cpcyhdw_stu_data" domainObjectName="CpcyhdwStuData" />
<!-- <table tableName="cgcpdw_answer" domainObjectName="CgcpdwAnswer" />-->
<!-- <table tableName="cgcpdw_stu_answer" domainObjectName="CgcpdwStuAnswer" />-->
<!-- <table tableName="cgxqyc_answer" domainObjectName="CgxqycAnswer" />-->
<!-- <table tableName="cgxqyc_stu_answer" domainObjectName="CgxqycStuAnswer" />-->
<!-- <table tableName="cpbxfx_answer" domainObjectName="CpbxfxAnswer" />-->
<!-- <table tableName="cpbxfx_stu_answer" domainObjectName="CpbxfxStuAnswer" />-->
<!-- <table tableName="cpcyhdw_answer" domainObjectName="CpcyhdwAnswer" />-->
<!-- <table tableName="cpcyhdw_stu_answer" domainObjectName="CpcyhdwStuAnswer" />-->
<!-- <table tableName="cpcyhdw_stu_data" domainObjectName="CpcyhdwStuData" />-->
<table tableName="cpjggh_stu_answer" domainObjectName="CpjgghStuAnswer" />
<table tableName="cptgcs_answer" domainObjectName="CptgcsAnswer" />
<table tableName="cptgcs_stu_answer" domainObjectName="CptgcsStuAnswer" />
<table tableName="cpwtzd_answer" domainObjectName="CpwtzdAnswer" />
<table tableName="cpwtzd_stu_answer" domainObjectName="CpwtzdStuAnswer" />
<table tableName="cpyxdw_stu_answer" domainObjectName="CpyxdwStuAnswer" />
<table tableName="fbqd_answer" domainObjectName="FbqdAnswer" />
<table tableName="fbqd_stu_answer" domainObjectName="FbqdStuAnswer" />
<table tableName="gyspgyxz_stu_answer" domainObjectName="GyspgyxzStuAnswer" />
<table tableName="hyxqfx_answer" domainObjectName="HyxqfxAnswer" />
<table tableName="hyxqfx_data" domainObjectName="HyxqfxData" />
<table tableName="hyxqfx_stu_answer" domainObjectName="HyxqfxStuAnswer" />
<table tableName="jzhyfx_answer" domainObjectName="JzhyfxAnswer" />
<table tableName="jzhyfx_data" domainObjectName="JzhyfxData" />
<table tableName="jzhyfx_stu_answer" domainObjectName="JzhyfxStuAnswer" />
<table tableName="school" domainObjectName="School" />
<table tableName="school_class" domainObjectName="SchoolClass" />
<table tableName="school_faculty" domainObjectName="SchoolFaculty" />
<table tableName="school_major" domainObjectName="SchoolMajor" />
<table tableName="stu_grade" domainObjectName="StuGrade" />
<table tableName="stu_rank" domainObjectName="StuRank" />
<table tableName="stu_spending_level" domainObjectName="StuSpendingLevel" />
<table tableName="stu_study_time" domainObjectName="StuStudyTime" />
<table tableName="subjective_questions" domainObjectName="SubjectiveQuestions" />
<table tableName="weight" domainObjectName="Weight" />
<table tableName="userinfo" domainObjectName="Userinfo" />
<!-- <table tableName="cptgcs_answer" domainObjectName="CptgcsAnswer" />-->
<!-- <table tableName="cptgcs_stu_answer" domainObjectName="CptgcsStuAnswer" />-->
<!-- <table tableName="cpwtzd_answer" domainObjectName="CpwtzdAnswer" />-->
<!-- <table tableName="cpwtzd_stu_answer" domainObjectName="CpwtzdStuAnswer" />-->
<!-- <table tableName="cpyxdw_stu_answer" domainObjectName="CpyxdwStuAnswer" />-->
<!-- <table tableName="fbqd_answer" domainObjectName="FbqdAnswer" />-->
<!-- <table tableName="fbqd_stu_answer" domainObjectName="FbqdStuAnswer" />-->
<!-- <table tableName="gyspgyxz_stu_answer" domainObjectName="GyspgyxzStuAnswer" />-->
<!-- <table tableName="hyxqfx_answer" domainObjectName="HyxqfxAnswer" />-->
<!-- <table tableName="hyxqfx_data" domainObjectName="HyxqfxData" />-->
<!-- <table tableName="hyxqfx_stu_answer" domainObjectName="HyxqfxStuAnswer" />-->
<!-- <table tableName="jzhyfx_answer" domainObjectName="JzhyfxAnswer" />-->
<!-- <table tableName="jzhyfx_data" domainObjectName="JzhyfxData" />-->
<!-- <table tableName="jzhyfx_stu_answer" domainObjectName="JzhyfxStuAnswer" />-->
<!-- <table tableName="school" domainObjectName="School" />-->
<!-- <table tableName="school_class" domainObjectName="SchoolClass" />-->
<!-- <table tableName="school_faculty" domainObjectName="SchoolFaculty" />-->
<!-- <table tableName="school_major" domainObjectName="SchoolMajor" />-->
<!-- <table tableName="stu_grade" domainObjectName="StuGrade" />-->
<!-- <table tableName="stu_rank" domainObjectName="StuRank" />-->
<!-- <table tableName="stu_spending_level" domainObjectName="StuSpendingLevel" />-->
<!-- <table tableName="stu_study_time" domainObjectName="StuStudyTime" />-->
<!-- <table tableName="subjective_questions" domainObjectName="SubjectiveQuestions" />-->
<!-- <table tableName="weight" domainObjectName="Weight" />-->
<!-- <table tableName="cpcyhdw_answer" domainObjectName="CpcyhdwAnswer" />-->
<!-- <table tableName="cpdj_stu_answer" domainObjectName="CpdjStuAnswer" />-->
<!-- cpjggh_stu_answer-->
</context>

@ -3,9 +3,15 @@
<mapper namespace="com.sztzjy.linkCommerce.mapper.CpcyhdwAnswerMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="competitive_position_score" jdbcType="DECIMAL" property="competitivePositionScore" />
<result column="market_attractiveness_score" jdbcType="DECIMAL" property="marketAttractivenessScore" />
<result column="competitive_position_score" jdbcType="DOUBLE" property="competitivePositionScore" />
<result column="market_attractiveness_score" jdbcType="DOUBLE" property="marketAttractivenessScore" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
<result column="competitive_position" jdbcType="LONGVARCHAR" property="competitivePosition" />
<result column="market_attractive" jdbcType="LONGVARCHAR" property="marketAttractive" />
<result column="context" jdbcType="LONGVARCHAR" property="context" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
@ -66,8 +72,27 @@
</where>
</sql>
<sql id="Base_Column_List">
id, competitive_position_score, market_attractiveness_score, user_id
id, competitive_position_score, market_attractiveness_score, user_id, create_time
</sql>
<sql id="Blob_Column_List">
competitive_position, market_attractive, context
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswerExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from cpcyhdw_answer
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswerExample" resultMap="BaseResultMap">
select
<if test="distinct">
@ -82,9 +107,11 @@
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from cpcyhdw_answer
where id = #{id,jdbcType=VARCHAR}
</select>
@ -100,9 +127,11 @@
</delete>
<insert id="insert" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
insert into cpcyhdw_answer (id, competitive_position_score, market_attractiveness_score,
user_id)
values (#{id,jdbcType=VARCHAR}, #{competitivePositionScore,jdbcType=DECIMAL}, #{marketAttractivenessScore,jdbcType=DECIMAL},
#{userId,jdbcType=VARCHAR})
user_id, create_time, competitive_position,
market_attractive, context)
values (#{id,jdbcType=VARCHAR}, #{competitivePositionScore,jdbcType=DOUBLE}, #{marketAttractivenessScore,jdbcType=DOUBLE},
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{competitivePosition,jdbcType=LONGVARCHAR},
#{marketAttractive,jdbcType=LONGVARCHAR}, #{context,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
insert into cpcyhdw_answer
@ -119,20 +148,44 @@
<if test="userId != null">
user_id,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="competitivePosition != null">
competitive_position,
</if>
<if test="marketAttractive != null">
market_attractive,
</if>
<if test="context != null">
context,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=VARCHAR},
</if>
<if test="competitivePositionScore != null">
#{competitivePositionScore,jdbcType=DECIMAL},
#{competitivePositionScore,jdbcType=DOUBLE},
</if>
<if test="marketAttractivenessScore != null">
#{marketAttractivenessScore,jdbcType=DECIMAL},
#{marketAttractivenessScore,jdbcType=DOUBLE},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="competitivePosition != null">
#{competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="marketAttractive != null">
#{marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
#{context,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswerExample" resultType="java.lang.Long">
@ -148,25 +201,52 @@
id = #{record.id,jdbcType=VARCHAR},
</if>
<if test="record.competitivePositionScore != null">
competitive_position_score = #{record.competitivePositionScore,jdbcType=DECIMAL},
competitive_position_score = #{record.competitivePositionScore,jdbcType=DOUBLE},
</if>
<if test="record.marketAttractivenessScore != null">
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DECIMAL},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DOUBLE},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.competitivePosition != null">
competitive_position = #{record.competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="record.marketAttractive != null">
market_attractive = #{record.marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="record.context != null">
context = #{record.context,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update cpcyhdw_answer
set id = #{record.id,jdbcType=VARCHAR},
competitive_position_score = #{record.competitivePositionScore,jdbcType=DOUBLE},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DOUBLE},
user_id = #{record.userId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
competitive_position = #{record.competitivePosition,jdbcType=LONGVARCHAR},
market_attractive = #{record.marketAttractive,jdbcType=LONGVARCHAR},
context = #{record.context,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update cpcyhdw_answer
set id = #{record.id,jdbcType=VARCHAR},
competitive_position_score = #{record.competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{record.userId,jdbcType=VARCHAR}
competitive_position_score = #{record.competitivePositionScore,jdbcType=DOUBLE},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DOUBLE},
user_id = #{record.userId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -175,22 +255,46 @@
update cpcyhdw_answer
<set>
<if test="competitivePositionScore != null">
competitive_position_score = #{competitivePositionScore,jdbcType=DECIMAL},
competitive_position_score = #{competitivePositionScore,jdbcType=DOUBLE},
</if>
<if test="marketAttractivenessScore != null">
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DECIMAL},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DOUBLE},
</if>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="competitivePosition != null">
competitive_position = #{competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="marketAttractive != null">
market_attractive = #{marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
context = #{context,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
update cpcyhdw_answer
set competitive_position_score = #{competitivePositionScore,jdbcType=DOUBLE},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DOUBLE},
user_id = #{userId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
competitive_position = #{competitivePosition,jdbcType=LONGVARCHAR},
market_attractive = #{marketAttractive,jdbcType=LONGVARCHAR},
context = #{context,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwAnswer">
update cpcyhdw_answer
set competitive_position_score = #{competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{userId,jdbcType=VARCHAR}
set competitive_position_score = #{competitivePositionScore,jdbcType=DOUBLE},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DOUBLE},
user_id = #{userId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -6,6 +6,12 @@
<result column="competitive_position_score" jdbcType="DECIMAL" property="competitivePositionScore" />
<result column="market_attractiveness_score" jdbcType="DECIMAL" property="marketAttractivenessScore" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswer">
<result column="competitive_position" jdbcType="LONGVARCHAR" property="competitivePosition" />
<result column="market_attractive" jdbcType="LONGVARCHAR" property="marketAttractive" />
<result column="context" jdbcType="LONGVARCHAR" property="context" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
@ -66,8 +72,27 @@
</where>
</sql>
<sql id="Base_Column_List">
id, competitive_position_score, market_attractiveness_score, user_id
id, competitive_position_score, market_attractiveness_score, user_id, create_time
</sql>
<sql id="Blob_Column_List">
competitive_position, market_attractive, context
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswerExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from cpcyhdw_stu_answer
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswerExample" resultMap="BaseResultMap">
select
<if test="distinct">
@ -82,9 +107,11 @@
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from cpcyhdw_stu_answer
where id = #{id,jdbcType=VARCHAR}
</select>
@ -100,9 +127,11 @@
</delete>
<insert id="insert" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswer">
insert into cpcyhdw_stu_answer (id, competitive_position_score, market_attractiveness_score,
user_id)
user_id, create_time, competitive_position,
market_attractive, context)
values (#{id,jdbcType=VARCHAR}, #{competitivePositionScore,jdbcType=DECIMAL}, #{marketAttractivenessScore,jdbcType=DECIMAL},
#{userId,jdbcType=VARCHAR})
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{competitivePosition,jdbcType=LONGVARCHAR},
#{marketAttractive,jdbcType=LONGVARCHAR}, #{context,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswer">
insert into cpcyhdw_stu_answer
@ -119,6 +148,18 @@
<if test="userId != null">
user_id,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="competitivePosition != null">
competitive_position,
</if>
<if test="marketAttractive != null">
market_attractive,
</if>
<if test="context != null">
context,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
@ -133,6 +174,18 @@
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="competitivePosition != null">
#{competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="marketAttractive != null">
#{marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
#{context,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswerExample" resultType="java.lang.Long">
@ -156,17 +209,44 @@
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.competitivePosition != null">
competitive_position = #{record.competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="record.marketAttractive != null">
market_attractive = #{record.marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="record.context != null">
context = #{record.context,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update cpcyhdw_stu_answer
set id = #{record.id,jdbcType=VARCHAR},
competitive_position_score = #{record.competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{record.userId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
competitive_position = #{record.competitivePosition,jdbcType=LONGVARCHAR},
market_attractive = #{record.marketAttractive,jdbcType=LONGVARCHAR},
context = #{record.context,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update cpcyhdw_stu_answer
set id = #{record.id,jdbcType=VARCHAR},
competitive_position_score = #{record.competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{record.marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{record.userId,jdbcType=VARCHAR}
user_id = #{record.userId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -183,14 +263,38 @@
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="competitivePosition != null">
competitive_position = #{competitivePosition,jdbcType=LONGVARCHAR},
</if>
<if test="marketAttractive != null">
market_attractive = #{marketAttractive,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
context = #{context,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswer">
update cpcyhdw_stu_answer
set competitive_position_score = #{competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{userId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
competitive_position = #{competitivePosition,jdbcType=LONGVARCHAR},
market_attractive = #{marketAttractive,jdbcType=LONGVARCHAR},
context = #{context,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.CpcyhdwStuAnswer">
update cpcyhdw_stu_answer
set competitive_position_score = #{competitivePositionScore,jdbcType=DECIMAL},
market_attractiveness_score = #{marketAttractivenessScore,jdbcType=DECIMAL},
user_id = #{userId,jdbcType=VARCHAR}
user_id = #{userId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -8,6 +8,7 @@
<result column="acceptable_price" jdbcType="VARCHAR" property="acceptablePrice" />
<result column="acceptable_price_range" jdbcType="VARCHAR" property="acceptablePriceRange" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="display_status" jdbcType="INTEGER" property="displayStatus" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpdjStuAnswer">
<result column="cheap_sum" jdbcType="LONGVARCHAR" property="cheapSum" />
@ -79,7 +80,8 @@
</where>
</sql>
<sql id="Base_Column_List">
id, user_id, optimal_price, acceptable_price, acceptable_price_range, create_time
id, user_id, optimal_price, acceptable_price, acceptable_price_range, create_time,
display_status
</sql>
<sql id="Blob_Column_List">
cheap_sum, cheap_percentage, cost_effective_sum, cost_effective_percentage, expensive_sum,
@ -136,17 +138,17 @@
<insert id="insert" parameterType="com.sztzjy.linkCommerce.entity.CpdjStuAnswer">
insert into cpdj_stu_answer (id, user_id, optimal_price,
acceptable_price, acceptable_price_range,
create_time, cheap_sum, cheap_percentage,
cost_effective_sum, cost_effective_percentage,
expensive_sum, expensive_percentage,
context, too_expensive_percentage,
create_time, display_status, cheap_sum,
cheap_percentage, cost_effective_sum,
cost_effective_percentage, expensive_sum,
expensive_percentage, context, too_expensive_percentage,
price_range)
values (#{id,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{optimalPrice,jdbcType=VARCHAR},
#{acceptablePrice,jdbcType=VARCHAR}, #{acceptablePriceRange,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{cheapSum,jdbcType=LONGVARCHAR}, #{cheapPercentage,jdbcType=LONGVARCHAR},
#{costEffectiveSum,jdbcType=LONGVARCHAR}, #{costEffectivePercentage,jdbcType=LONGVARCHAR},
#{expensiveSum,jdbcType=LONGVARCHAR}, #{expensivePercentage,jdbcType=LONGVARCHAR},
#{context,jdbcType=LONGVARCHAR}, #{tooExpensivePercentage,jdbcType=LONGVARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{displayStatus,jdbcType=INTEGER}, #{cheapSum,jdbcType=LONGVARCHAR},
#{cheapPercentage,jdbcType=LONGVARCHAR}, #{costEffectiveSum,jdbcType=LONGVARCHAR},
#{costEffectivePercentage,jdbcType=LONGVARCHAR}, #{expensiveSum,jdbcType=LONGVARCHAR},
#{expensivePercentage,jdbcType=LONGVARCHAR}, #{context,jdbcType=LONGVARCHAR}, #{tooExpensivePercentage,jdbcType=LONGVARCHAR},
#{priceRange,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpdjStuAnswer">
@ -170,6 +172,9 @@
<if test="createTime != null">
create_time,
</if>
<if test="displayStatus != null">
display_status,
</if>
<if test="cheapSum != null">
cheap_sum,
</if>
@ -217,6 +222,9 @@
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="displayStatus != null">
#{displayStatus,jdbcType=INTEGER},
</if>
<if test="cheapSum != null">
#{cheapSum,jdbcType=LONGVARCHAR},
</if>
@ -273,6 +281,9 @@
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.displayStatus != null">
display_status = #{record.displayStatus,jdbcType=INTEGER},
</if>
<if test="record.cheapSum != null">
cheap_sum = #{record.cheapSum,jdbcType=LONGVARCHAR},
</if>
@ -313,6 +324,7 @@
acceptable_price = #{record.acceptablePrice,jdbcType=VARCHAR},
acceptable_price_range = #{record.acceptablePriceRange,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
display_status = #{record.displayStatus,jdbcType=INTEGER},
cheap_sum = #{record.cheapSum,jdbcType=LONGVARCHAR},
cheap_percentage = #{record.cheapPercentage,jdbcType=LONGVARCHAR},
cost_effective_sum = #{record.costEffectiveSum,jdbcType=LONGVARCHAR},
@ -333,7 +345,8 @@
optimal_price = #{record.optimalPrice,jdbcType=VARCHAR},
acceptable_price = #{record.acceptablePrice,jdbcType=VARCHAR},
acceptable_price_range = #{record.acceptablePriceRange,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
create_time = #{record.createTime,jdbcType=TIMESTAMP},
display_status = #{record.displayStatus,jdbcType=INTEGER}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -356,6 +369,9 @@
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="displayStatus != null">
display_status = #{displayStatus,jdbcType=INTEGER},
</if>
<if test="cheapSum != null">
cheap_sum = #{cheapSum,jdbcType=LONGVARCHAR},
</if>
@ -393,6 +409,7 @@
acceptable_price = #{acceptablePrice,jdbcType=VARCHAR},
acceptable_price_range = #{acceptablePriceRange,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
display_status = #{displayStatus,jdbcType=INTEGER},
cheap_sum = #{cheapSum,jdbcType=LONGVARCHAR},
cheap_percentage = #{cheapPercentage,jdbcType=LONGVARCHAR},
cost_effective_sum = #{costEffectiveSum,jdbcType=LONGVARCHAR},
@ -410,7 +427,8 @@
optimal_price = #{optimalPrice,jdbcType=VARCHAR},
acceptable_price = #{acceptablePrice,jdbcType=VARCHAR},
acceptable_price_range = #{acceptablePriceRange,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
create_time = #{createTime,jdbcType=TIMESTAMP},
display_status = #{displayStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -15,11 +15,22 @@
<result column="profit_product" jdbcType="VARCHAR" property="profitProduct" />
<result column="flagship_product" jdbcType="VARCHAR" property="flagshipProduct" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="img_one" jdbcType="VARCHAR" property="imgOne" />
<result column="img_two" jdbcType="VARCHAR" property="imgTwo" />
<result column="img_three" jdbcType="VARCHAR" property="imgThree" />
<result column="img_four" jdbcType="VARCHAR" property="imgFour" />
<result column="img_five" jdbcType="VARCHAR" property="imgFive" />
<result column="img_six" jdbcType="VARCHAR" property="imgSix" />
<result column="img_seven" jdbcType="VARCHAR" property="imgSeven" />
<result column="img_eight" jdbcType="VARCHAR" property="imgEight" />
<result column="img_nine" jdbcType="VARCHAR" property="imgNine" />
<result column="img_ten" jdbcType="VARCHAR" property="imgTen" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
<result column="product_categories" jdbcType="LONGVARCHAR" property="productCategories" />
<result column="rationality" jdbcType="LONGVARCHAR" property="rationality" />
<result column="optimization_suggestions" jdbcType="LONGVARCHAR" property="optimizationSuggestions" />
<result column="context" jdbcType="LONGVARCHAR" property="context" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
@ -82,10 +93,11 @@
<sql id="Base_Column_List">
id, taobao_url, image_product, popular_product1, popular_product2, popular_product3,
main_product, traffic_product, daily_product, event_product, profit_product, flagship_product,
user_id
user_id, img_one, img_two, img_three, img_four, img_five, img_six, img_seven, img_eight,
img_nine, img_ten
</sql>
<sql id="Blob_Column_List">
product_categories, rationality, optimization_suggestions
product_categories, rationality, optimization_suggestions, context
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultMap="ResultMapWithBLOBs">
select
@ -140,14 +152,22 @@
popular_product1, popular_product2, popular_product3,
main_product, traffic_product, daily_product,
event_product, profit_product, flagship_product,
user_id, product_categories, rationality,
optimization_suggestions)
user_id, img_one, img_two,
img_three, img_four, img_five,
img_six, img_seven, img_eight,
img_nine, img_ten, product_categories,
rationality, optimization_suggestions,
context)
values (#{id,jdbcType=VARCHAR}, #{taobaoUrl,jdbcType=VARCHAR}, #{imageProduct,jdbcType=VARCHAR},
#{popularProduct1,jdbcType=VARCHAR}, #{popularProduct2,jdbcType=VARCHAR}, #{popularProduct3,jdbcType=VARCHAR},
#{mainProduct,jdbcType=VARCHAR}, #{trafficProduct,jdbcType=VARCHAR}, #{dailyProduct,jdbcType=VARCHAR},
#{eventProduct,jdbcType=VARCHAR}, #{profitProduct,jdbcType=VARCHAR}, #{flagshipProduct,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR}, #{productCategories,jdbcType=LONGVARCHAR}, #{rationality,jdbcType=LONGVARCHAR},
#{optimizationSuggestions,jdbcType=LONGVARCHAR})
#{userId,jdbcType=VARCHAR}, #{imgOne,jdbcType=VARCHAR}, #{imgTwo,jdbcType=VARCHAR},
#{imgThree,jdbcType=VARCHAR}, #{imgFour,jdbcType=VARCHAR}, #{imgFive,jdbcType=VARCHAR},
#{imgSix,jdbcType=VARCHAR}, #{imgSeven,jdbcType=VARCHAR}, #{imgEight,jdbcType=VARCHAR},
#{imgNine,jdbcType=VARCHAR}, #{imgTen,jdbcType=VARCHAR}, #{productCategories,jdbcType=LONGVARCHAR},
#{rationality,jdbcType=LONGVARCHAR}, #{optimizationSuggestions,jdbcType=LONGVARCHAR},
#{context,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
insert into cpjggh_stu_answer
@ -191,6 +211,36 @@
<if test="userId != null">
user_id,
</if>
<if test="imgOne != null">
img_one,
</if>
<if test="imgTwo != null">
img_two,
</if>
<if test="imgThree != null">
img_three,
</if>
<if test="imgFour != null">
img_four,
</if>
<if test="imgFive != null">
img_five,
</if>
<if test="imgSix != null">
img_six,
</if>
<if test="imgSeven != null">
img_seven,
</if>
<if test="imgEight != null">
img_eight,
</if>
<if test="imgNine != null">
img_nine,
</if>
<if test="imgTen != null">
img_ten,
</if>
<if test="productCategories != null">
product_categories,
</if>
@ -200,6 +250,9 @@
<if test="optimizationSuggestions != null">
optimization_suggestions,
</if>
<if test="context != null">
context,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
@ -241,6 +294,36 @@
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="imgOne != null">
#{imgOne,jdbcType=VARCHAR},
</if>
<if test="imgTwo != null">
#{imgTwo,jdbcType=VARCHAR},
</if>
<if test="imgThree != null">
#{imgThree,jdbcType=VARCHAR},
</if>
<if test="imgFour != null">
#{imgFour,jdbcType=VARCHAR},
</if>
<if test="imgFive != null">
#{imgFive,jdbcType=VARCHAR},
</if>
<if test="imgSix != null">
#{imgSix,jdbcType=VARCHAR},
</if>
<if test="imgSeven != null">
#{imgSeven,jdbcType=VARCHAR},
</if>
<if test="imgEight != null">
#{imgEight,jdbcType=VARCHAR},
</if>
<if test="imgNine != null">
#{imgNine,jdbcType=VARCHAR},
</if>
<if test="imgTen != null">
#{imgTen,jdbcType=VARCHAR},
</if>
<if test="productCategories != null">
#{productCategories,jdbcType=LONGVARCHAR},
</if>
@ -250,6 +333,9 @@
<if test="optimizationSuggestions != null">
#{optimizationSuggestions,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
#{context,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswerExample" resultType="java.lang.Long">
@ -300,6 +386,36 @@
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.imgOne != null">
img_one = #{record.imgOne,jdbcType=VARCHAR},
</if>
<if test="record.imgTwo != null">
img_two = #{record.imgTwo,jdbcType=VARCHAR},
</if>
<if test="record.imgThree != null">
img_three = #{record.imgThree,jdbcType=VARCHAR},
</if>
<if test="record.imgFour != null">
img_four = #{record.imgFour,jdbcType=VARCHAR},
</if>
<if test="record.imgFive != null">
img_five = #{record.imgFive,jdbcType=VARCHAR},
</if>
<if test="record.imgSix != null">
img_six = #{record.imgSix,jdbcType=VARCHAR},
</if>
<if test="record.imgSeven != null">
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
</if>
<if test="record.imgEight != null">
img_eight = #{record.imgEight,jdbcType=VARCHAR},
</if>
<if test="record.imgNine != null">
img_nine = #{record.imgNine,jdbcType=VARCHAR},
</if>
<if test="record.imgTen != null">
img_ten = #{record.imgTen,jdbcType=VARCHAR},
</if>
<if test="record.productCategories != null">
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
</if>
@ -309,6 +425,9 @@
<if test="record.optimizationSuggestions != null">
optimization_suggestions = #{record.optimizationSuggestions,jdbcType=LONGVARCHAR},
</if>
<if test="record.context != null">
context = #{record.context,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@ -329,9 +448,20 @@
profit_product = #{record.profitProduct,jdbcType=VARCHAR},
flagship_product = #{record.flagshipProduct,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
img_one = #{record.imgOne,jdbcType=VARCHAR},
img_two = #{record.imgTwo,jdbcType=VARCHAR},
img_three = #{record.imgThree,jdbcType=VARCHAR},
img_four = #{record.imgFour,jdbcType=VARCHAR},
img_five = #{record.imgFive,jdbcType=VARCHAR},
img_six = #{record.imgSix,jdbcType=VARCHAR},
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
img_eight = #{record.imgEight,jdbcType=VARCHAR},
img_nine = #{record.imgNine,jdbcType=VARCHAR},
img_ten = #{record.imgTen,jdbcType=VARCHAR},
product_categories = #{record.productCategories,jdbcType=LONGVARCHAR},
rationality = #{record.rationality,jdbcType=LONGVARCHAR},
optimization_suggestions = #{record.optimizationSuggestions,jdbcType=LONGVARCHAR}
optimization_suggestions = #{record.optimizationSuggestions,jdbcType=LONGVARCHAR},
context = #{record.context,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -350,7 +480,17 @@
event_product = #{record.eventProduct,jdbcType=VARCHAR},
profit_product = #{record.profitProduct,jdbcType=VARCHAR},
flagship_product = #{record.flagshipProduct,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR}
user_id = #{record.userId,jdbcType=VARCHAR},
img_one = #{record.imgOne,jdbcType=VARCHAR},
img_two = #{record.imgTwo,jdbcType=VARCHAR},
img_three = #{record.imgThree,jdbcType=VARCHAR},
img_four = #{record.imgFour,jdbcType=VARCHAR},
img_five = #{record.imgFive,jdbcType=VARCHAR},
img_six = #{record.imgSix,jdbcType=VARCHAR},
img_seven = #{record.imgSeven,jdbcType=VARCHAR},
img_eight = #{record.imgEight,jdbcType=VARCHAR},
img_nine = #{record.imgNine,jdbcType=VARCHAR},
img_ten = #{record.imgTen,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -394,6 +534,36 @@
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="imgOne != null">
img_one = #{imgOne,jdbcType=VARCHAR},
</if>
<if test="imgTwo != null">
img_two = #{imgTwo,jdbcType=VARCHAR},
</if>
<if test="imgThree != null">
img_three = #{imgThree,jdbcType=VARCHAR},
</if>
<if test="imgFour != null">
img_four = #{imgFour,jdbcType=VARCHAR},
</if>
<if test="imgFive != null">
img_five = #{imgFive,jdbcType=VARCHAR},
</if>
<if test="imgSix != null">
img_six = #{imgSix,jdbcType=VARCHAR},
</if>
<if test="imgSeven != null">
img_seven = #{imgSeven,jdbcType=VARCHAR},
</if>
<if test="imgEight != null">
img_eight = #{imgEight,jdbcType=VARCHAR},
</if>
<if test="imgNine != null">
img_nine = #{imgNine,jdbcType=VARCHAR},
</if>
<if test="imgTen != null">
img_ten = #{imgTen,jdbcType=VARCHAR},
</if>
<if test="productCategories != null">
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
</if>
@ -403,6 +573,9 @@
<if test="optimizationSuggestions != null">
optimization_suggestions = #{optimizationSuggestions,jdbcType=LONGVARCHAR},
</if>
<if test="context != null">
context = #{context,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
@ -420,9 +593,20 @@
profit_product = #{profitProduct,jdbcType=VARCHAR},
flagship_product = #{flagshipProduct,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
img_one = #{imgOne,jdbcType=VARCHAR},
img_two = #{imgTwo,jdbcType=VARCHAR},
img_three = #{imgThree,jdbcType=VARCHAR},
img_four = #{imgFour,jdbcType=VARCHAR},
img_five = #{imgFive,jdbcType=VARCHAR},
img_six = #{imgSix,jdbcType=VARCHAR},
img_seven = #{imgSeven,jdbcType=VARCHAR},
img_eight = #{imgEight,jdbcType=VARCHAR},
img_nine = #{imgNine,jdbcType=VARCHAR},
img_ten = #{imgTen,jdbcType=VARCHAR},
product_categories = #{productCategories,jdbcType=LONGVARCHAR},
rationality = #{rationality,jdbcType=LONGVARCHAR},
optimization_suggestions = #{optimizationSuggestions,jdbcType=LONGVARCHAR}
optimization_suggestions = #{optimizationSuggestions,jdbcType=LONGVARCHAR},
context = #{context,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.CpjgghStuAnswer">
@ -438,7 +622,17 @@
event_product = #{eventProduct,jdbcType=VARCHAR},
profit_product = #{profitProduct,jdbcType=VARCHAR},
flagship_product = #{flagshipProduct,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR}
user_id = #{userId,jdbcType=VARCHAR},
img_one = #{imgOne,jdbcType=VARCHAR},
img_two = #{imgTwo,jdbcType=VARCHAR},
img_three = #{imgThree,jdbcType=VARCHAR},
img_four = #{imgFour,jdbcType=VARCHAR},
img_five = #{imgFive,jdbcType=VARCHAR},
img_six = #{imgSix,jdbcType=VARCHAR},
img_seven = #{imgSeven,jdbcType=VARCHAR},
img_eight = #{imgEight,jdbcType=VARCHAR},
img_nine = #{imgNine,jdbcType=VARCHAR},
img_ten = #{imgTen,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -0,0 +1,281 @@
<?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.linkCommerce.mapper.StuUploadExpermentMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.linkCommerce.entity.StuUploadExperment">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="file_size" jdbcType="DOUBLE" property="fileSize" />
<result column="file_name" jdbcType="VARCHAR" property="fileName" />
<result column="module" jdbcType="VARCHAR" property="module" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="sufxx" jdbcType="VARCHAR" property="sufxx" />
</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, user_id, file_path, create_time, file_size, file_name, module, update_time, sufxx
</sql>
<select id="selectByExample" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExpermentExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from stu_upload_experment
<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_upload_experment
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from stu_upload_experment
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExpermentExample">
delete from stu_upload_experment
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExperment">
insert into stu_upload_experment (id, user_id, file_path,
create_time, file_size, file_name,
module, update_time, sufxx
)
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{fileSize,jdbcType=DOUBLE}, #{fileName,jdbcType=VARCHAR},
#{module,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{sufxx,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExperment">
insert into stu_upload_experment
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="userId != null">
user_id,
</if>
<if test="filePath != null">
file_path,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="fileSize != null">
file_size,
</if>
<if test="fileName != null">
file_name,
</if>
<if test="module != null">
module,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="sufxx != null">
sufxx,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=INTEGER},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="filePath != null">
#{filePath,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="fileSize != null">
#{fileSize,jdbcType=DOUBLE},
</if>
<if test="fileName != null">
#{fileName,jdbcType=VARCHAR},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="sufxx != null">
#{sufxx,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExpermentExample" resultType="java.lang.Long">
select count(*) from stu_upload_experment
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update stu_upload_experment
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.filePath != null">
file_path = #{record.filePath,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.fileSize != null">
file_size = #{record.fileSize,jdbcType=DOUBLE},
</if>
<if test="record.fileName != null">
file_name = #{record.fileName,jdbcType=VARCHAR},
</if>
<if test="record.module != null">
module = #{record.module,jdbcType=VARCHAR},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.sufxx != null">
sufxx = #{record.sufxx,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update stu_upload_experment
set id = #{record.id,jdbcType=INTEGER},
user_id = #{record.userId,jdbcType=VARCHAR},
file_path = #{record.filePath,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
file_size = #{record.fileSize,jdbcType=DOUBLE},
file_name = #{record.fileName,jdbcType=VARCHAR},
module = #{record.module,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
sufxx = #{record.sufxx,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExperment">
update stu_upload_experment
<set>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="filePath != null">
file_path = #{filePath,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="fileSize != null">
file_size = #{fileSize,jdbcType=DOUBLE},
</if>
<if test="fileName != null">
file_name = #{fileName,jdbcType=VARCHAR},
</if>
<if test="module != null">
module = #{module,jdbcType=VARCHAR},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="sufxx != null">
sufxx = #{sufxx,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.linkCommerce.entity.StuUploadExperment">
update stu_upload_experment
set user_id = #{userId,jdbcType=VARCHAR},
file_path = #{filePath,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
file_size = #{fileSize,jdbcType=DOUBLE},
file_name = #{fileName,jdbcType=VARCHAR},
module = #{module,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
sufxx = #{sufxx,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
<delete id="deleteList" parameterType="java.lang.Integer">
delete from stu_upload_experment where id in
<foreach item="id" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
Loading…
Cancel
Save