完成贷款案例

master
whb 11 months ago
parent 4c011cd060
commit b1f35c7232

@ -0,0 +1,52 @@
package com.sztzjy.digital_credit.controller;
import com.sztzjy.digital_credit.annotation.AnonymousAccess;
import com.sztzjy.digital_credit.entity.StuMachineLearning;
import com.sztzjy.digital_credit.service.StuExperimentTrainByCreditService;
import com.sztzjy.digital_credit.util.ResultEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @author 17803
* @date 2024-04-23 9:38
*/
@RestController
@RequestMapping("api/stu/digitalCreditTrain")
@Api(tags = "数字征信实验实训")
public class StuExperimentTrainByCreditController {
@Autowired
private StuExperimentTrainByCreditService experimentTrainByCreditService;
@ApiOperation("前端校验数据(自动保存接口)")
@AnonymousAccess
@PostMapping("/trainByPublicSave")
public ResultEntity trainByPublicSave(@RequestBody StuMachineLearning learning){
return experimentTrainByCreditService.trainByPublicSave(learning);
}
}

@ -80,9 +80,6 @@ public class StuExportToExcelController {
@ApiOperation("财务指标")
@GetMapping("/financialIndexExport")
@AnonymousAccess
@ -209,23 +206,10 @@ public class StuExportToExcelController {
}
}
}
}
@AnonymousAccess
@GetMapping("/generalViewExport")
@ApiOperation("资产负债表")
@ -425,6 +409,15 @@ public class StuExportToExcelController {
@ApiOperation("学历与违约:导出Excel")
@GetMapping("/getExcelByEducation")
@AnonymousAccess
public void getExcelByEducation(HttpServletResponse response, @RequestParam("userId") String userId) {
iFileUtil.download(response,"/excel/学历与违约.xls");
}

@ -0,0 +1,439 @@
package com.sztzjy.digital_credit.entity;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* stu_machine_learning
*/
public class StuMachineLearning {
@ApiModelProperty("id")
private Integer id;
@ApiModelProperty("步骤一 a")
private String stepOneA;
@ApiModelProperty("步骤一 b")
private String stepOneB;
@ApiModelProperty("步骤一 c")
private String stepOneC;
@ApiModelProperty("步骤一 d")
private String stepOneD;
@ApiModelProperty("4")
private String stepTwoA;
@ApiModelProperty("5")
private String stepTwoB;
@ApiModelProperty("6")
private String stepTwoC;
@ApiModelProperty("7")
private String stepThreeA;
@ApiModelProperty("8")
private String stepThreeB;
@ApiModelProperty("9")
private String stepThreeC;
@ApiModelProperty("10")
private String stepThreeD;
@ApiModelProperty("11")
private String stepFourA;
@ApiModelProperty("12")
private String stepFourB;
@ApiModelProperty("13")
private String stepFourC;
@ApiModelProperty("14")
private String stepFourD;
@ApiModelProperty("15")
private String stepFiveA;
@ApiModelProperty("16")
private String stepFiveB;
@ApiModelProperty("17")
private String stepFiveC;
@ApiModelProperty("18")
private String stepFiveD;
@ApiModelProperty("19")
private String stepSixA;
@ApiModelProperty("20")
private String stepSixB;
@ApiModelProperty("21")
private String stepSixC;
@ApiModelProperty("22")
private String stepSixD;
@ApiModelProperty("23")
private String stepSevenA;
@ApiModelProperty("24")
private String stepSevenB;
@ApiModelProperty("25")
private String stepSevenC;
@ApiModelProperty("26")
private String stepSevenD;
@ApiModelProperty("27")
private String stepEightA;
@ApiModelProperty("28")
private String stepEightB;
@ApiModelProperty("29")
private String stepEightC;
@ApiModelProperty("30")
private String stepEightD;
@ApiModelProperty("31")
private String stepNineA;
@ApiModelProperty("32")
private String stepNineB;
@ApiModelProperty("33")
private String stepNineC;
@ApiModelProperty("34")
private String stepNineD;
@ApiModelProperty("用户ID")
private String userId;
@ApiModelProperty("提交状态")
private Integer subState;
@ApiModelProperty("归属模块(小模块)")
private String module;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getStepOneA() {
return stepOneA;
}
public void setStepOneA(String stepOneA) {
this.stepOneA = stepOneA == null ? null : stepOneA.trim();
}
public String getStepOneB() {
return stepOneB;
}
public void setStepOneB(String stepOneB) {
this.stepOneB = stepOneB == null ? null : stepOneB.trim();
}
public String getStepOneC() {
return stepOneC;
}
public void setStepOneC(String stepOneC) {
this.stepOneC = stepOneC == null ? null : stepOneC.trim();
}
public String getStepOneD() {
return stepOneD;
}
public void setStepOneD(String stepOneD) {
this.stepOneD = stepOneD == null ? null : stepOneD.trim();
}
public String getStepTwoA() {
return stepTwoA;
}
public void setStepTwoA(String stepTwoA) {
this.stepTwoA = stepTwoA == null ? null : stepTwoA.trim();
}
public String getStepTwoB() {
return stepTwoB;
}
public void setStepTwoB(String stepTwoB) {
this.stepTwoB = stepTwoB == null ? null : stepTwoB.trim();
}
public String getStepTwoC() {
return stepTwoC;
}
public void setStepTwoC(String stepTwoC) {
this.stepTwoC = stepTwoC == null ? null : stepTwoC.trim();
}
public String getStepThreeA() {
return stepThreeA;
}
public void setStepThreeA(String stepThreeA) {
this.stepThreeA = stepThreeA == null ? null : stepThreeA.trim();
}
public String getStepThreeB() {
return stepThreeB;
}
public void setStepThreeB(String stepThreeB) {
this.stepThreeB = stepThreeB == null ? null : stepThreeB.trim();
}
public String getStepThreeC() {
return stepThreeC;
}
public void setStepThreeC(String stepThreeC) {
this.stepThreeC = stepThreeC == null ? null : stepThreeC.trim();
}
public String getStepThreeD() {
return stepThreeD;
}
public void setStepThreeD(String stepThreeD) {
this.stepThreeD = stepThreeD == null ? null : stepThreeD.trim();
}
public String getStepFourA() {
return stepFourA;
}
public void setStepFourA(String stepFourA) {
this.stepFourA = stepFourA == null ? null : stepFourA.trim();
}
public String getStepFourB() {
return stepFourB;
}
public void setStepFourB(String stepFourB) {
this.stepFourB = stepFourB == null ? null : stepFourB.trim();
}
public String getStepFourC() {
return stepFourC;
}
public void setStepFourC(String stepFourC) {
this.stepFourC = stepFourC == null ? null : stepFourC.trim();
}
public String getStepFourD() {
return stepFourD;
}
public void setStepFourD(String stepFourD) {
this.stepFourD = stepFourD == null ? null : stepFourD.trim();
}
public String getStepFiveA() {
return stepFiveA;
}
public void setStepFiveA(String stepFiveA) {
this.stepFiveA = stepFiveA == null ? null : stepFiveA.trim();
}
public String getStepFiveB() {
return stepFiveB;
}
public void setStepFiveB(String stepFiveB) {
this.stepFiveB = stepFiveB == null ? null : stepFiveB.trim();
}
public String getStepFiveC() {
return stepFiveC;
}
public void setStepFiveC(String stepFiveC) {
this.stepFiveC = stepFiveC == null ? null : stepFiveC.trim();
}
public String getStepFiveD() {
return stepFiveD;
}
public void setStepFiveD(String stepFiveD) {
this.stepFiveD = stepFiveD == null ? null : stepFiveD.trim();
}
public String getStepSixA() {
return stepSixA;
}
public void setStepSixA(String stepSixA) {
this.stepSixA = stepSixA == null ? null : stepSixA.trim();
}
public String getStepSixB() {
return stepSixB;
}
public void setStepSixB(String stepSixB) {
this.stepSixB = stepSixB == null ? null : stepSixB.trim();
}
public String getStepSixC() {
return stepSixC;
}
public void setStepSixC(String stepSixC) {
this.stepSixC = stepSixC == null ? null : stepSixC.trim();
}
public String getStepSixD() {
return stepSixD;
}
public void setStepSixD(String stepSixD) {
this.stepSixD = stepSixD == null ? null : stepSixD.trim();
}
public String getStepSevenA() {
return stepSevenA;
}
public void setStepSevenA(String stepSevenA) {
this.stepSevenA = stepSevenA == null ? null : stepSevenA.trim();
}
public String getStepSevenB() {
return stepSevenB;
}
public void setStepSevenB(String stepSevenB) {
this.stepSevenB = stepSevenB == null ? null : stepSevenB.trim();
}
public String getStepSevenC() {
return stepSevenC;
}
public void setStepSevenC(String stepSevenC) {
this.stepSevenC = stepSevenC == null ? null : stepSevenC.trim();
}
public String getStepSevenD() {
return stepSevenD;
}
public void setStepSevenD(String stepSevenD) {
this.stepSevenD = stepSevenD == null ? null : stepSevenD.trim();
}
public String getStepEightA() {
return stepEightA;
}
public void setStepEightA(String stepEightA) {
this.stepEightA = stepEightA == null ? null : stepEightA.trim();
}
public String getStepEightB() {
return stepEightB;
}
public void setStepEightB(String stepEightB) {
this.stepEightB = stepEightB == null ? null : stepEightB.trim();
}
public String getStepEightC() {
return stepEightC;
}
public void setStepEightC(String stepEightC) {
this.stepEightC = stepEightC == null ? null : stepEightC.trim();
}
public String getStepEightD() {
return stepEightD;
}
public void setStepEightD(String stepEightD) {
this.stepEightD = stepEightD == null ? null : stepEightD.trim();
}
public String getStepNineA() {
return stepNineA;
}
public void setStepNineA(String stepNineA) {
this.stepNineA = stepNineA == null ? null : stepNineA.trim();
}
public String getStepNineB() {
return stepNineB;
}
public void setStepNineB(String stepNineB) {
this.stepNineB = stepNineB == null ? null : stepNineB.trim();
}
public String getStepNineC() {
return stepNineC;
}
public void setStepNineC(String stepNineC) {
this.stepNineC = stepNineC == null ? null : stepNineC.trim();
}
public String getStepNineD() {
return stepNineD;
}
public void setStepNineD(String stepNineD) {
this.stepNineD = stepNineD == null ? null : stepNineD.trim();
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public Integer getSubState() {
return subState;
}
public void setSubState(Integer subState) {
this.subState = subState;
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
}

@ -0,0 +1,439 @@
package com.sztzjy.digital_credit.entity;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* stu_user_portrait
*/
public class StuUserPortrait {
@ApiModelProperty("id")
private Integer id;
@ApiModelProperty("步骤一 a")
private String stepOneA;
@ApiModelProperty("步骤一 b")
private String stepOneB;
@ApiModelProperty("步骤一 c")
private String stepOneC;
@ApiModelProperty("步骤一 d")
private String stepOneD;
@ApiModelProperty("4")
private String stepTwoA;
@ApiModelProperty("5")
private String stepTwoB;
@ApiModelProperty("6")
private String stepTwoC;
@ApiModelProperty("7")
private String stepThreeA;
@ApiModelProperty("8")
private String stepThreeB;
@ApiModelProperty("9")
private String stepThreeC;
@ApiModelProperty("10")
private String stepThreeD;
@ApiModelProperty("11")
private String stepFourA;
@ApiModelProperty("12")
private String stepFourB;
@ApiModelProperty("13")
private String stepFourC;
@ApiModelProperty("14")
private String stepFourD;
@ApiModelProperty("15")
private String stepFiveA;
@ApiModelProperty("16")
private String stepFiveB;
@ApiModelProperty("17")
private String stepFiveC;
@ApiModelProperty("18")
private String stepFiveD;
@ApiModelProperty("19")
private String stepSixA;
@ApiModelProperty("20")
private String stepSixB;
@ApiModelProperty("21")
private String stepSixC;
@ApiModelProperty("22")
private String stepSixD;
@ApiModelProperty("23")
private String stepSevenA;
@ApiModelProperty("24")
private String stepSevenB;
@ApiModelProperty("25")
private String stepSevenC;
@ApiModelProperty("26")
private String stepSevenD;
@ApiModelProperty("27")
private String stepEightA;
@ApiModelProperty("28")
private String stepEightB;
@ApiModelProperty("29")
private String stepEightC;
@ApiModelProperty("30")
private String stepEightD;
@ApiModelProperty("31")
private String stepNineA;
@ApiModelProperty("32")
private String stepNineB;
@ApiModelProperty("33")
private String stepNineC;
@ApiModelProperty("34")
private String stepNineD;
@ApiModelProperty("用户ID")
private String userId;
@ApiModelProperty("提交状态")
private Integer subState;
@ApiModelProperty("归属模块(小模块)")
private String module;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getStepOneA() {
return stepOneA;
}
public void setStepOneA(String stepOneA) {
this.stepOneA = stepOneA == null ? null : stepOneA.trim();
}
public String getStepOneB() {
return stepOneB;
}
public void setStepOneB(String stepOneB) {
this.stepOneB = stepOneB == null ? null : stepOneB.trim();
}
public String getStepOneC() {
return stepOneC;
}
public void setStepOneC(String stepOneC) {
this.stepOneC = stepOneC == null ? null : stepOneC.trim();
}
public String getStepOneD() {
return stepOneD;
}
public void setStepOneD(String stepOneD) {
this.stepOneD = stepOneD == null ? null : stepOneD.trim();
}
public String getStepTwoA() {
return stepTwoA;
}
public void setStepTwoA(String stepTwoA) {
this.stepTwoA = stepTwoA == null ? null : stepTwoA.trim();
}
public String getStepTwoB() {
return stepTwoB;
}
public void setStepTwoB(String stepTwoB) {
this.stepTwoB = stepTwoB == null ? null : stepTwoB.trim();
}
public String getStepTwoC() {
return stepTwoC;
}
public void setStepTwoC(String stepTwoC) {
this.stepTwoC = stepTwoC == null ? null : stepTwoC.trim();
}
public String getStepThreeA() {
return stepThreeA;
}
public void setStepThreeA(String stepThreeA) {
this.stepThreeA = stepThreeA == null ? null : stepThreeA.trim();
}
public String getStepThreeB() {
return stepThreeB;
}
public void setStepThreeB(String stepThreeB) {
this.stepThreeB = stepThreeB == null ? null : stepThreeB.trim();
}
public String getStepThreeC() {
return stepThreeC;
}
public void setStepThreeC(String stepThreeC) {
this.stepThreeC = stepThreeC == null ? null : stepThreeC.trim();
}
public String getStepThreeD() {
return stepThreeD;
}
public void setStepThreeD(String stepThreeD) {
this.stepThreeD = stepThreeD == null ? null : stepThreeD.trim();
}
public String getStepFourA() {
return stepFourA;
}
public void setStepFourA(String stepFourA) {
this.stepFourA = stepFourA == null ? null : stepFourA.trim();
}
public String getStepFourB() {
return stepFourB;
}
public void setStepFourB(String stepFourB) {
this.stepFourB = stepFourB == null ? null : stepFourB.trim();
}
public String getStepFourC() {
return stepFourC;
}
public void setStepFourC(String stepFourC) {
this.stepFourC = stepFourC == null ? null : stepFourC.trim();
}
public String getStepFourD() {
return stepFourD;
}
public void setStepFourD(String stepFourD) {
this.stepFourD = stepFourD == null ? null : stepFourD.trim();
}
public String getStepFiveA() {
return stepFiveA;
}
public void setStepFiveA(String stepFiveA) {
this.stepFiveA = stepFiveA == null ? null : stepFiveA.trim();
}
public String getStepFiveB() {
return stepFiveB;
}
public void setStepFiveB(String stepFiveB) {
this.stepFiveB = stepFiveB == null ? null : stepFiveB.trim();
}
public String getStepFiveC() {
return stepFiveC;
}
public void setStepFiveC(String stepFiveC) {
this.stepFiveC = stepFiveC == null ? null : stepFiveC.trim();
}
public String getStepFiveD() {
return stepFiveD;
}
public void setStepFiveD(String stepFiveD) {
this.stepFiveD = stepFiveD == null ? null : stepFiveD.trim();
}
public String getStepSixA() {
return stepSixA;
}
public void setStepSixA(String stepSixA) {
this.stepSixA = stepSixA == null ? null : stepSixA.trim();
}
public String getStepSixB() {
return stepSixB;
}
public void setStepSixB(String stepSixB) {
this.stepSixB = stepSixB == null ? null : stepSixB.trim();
}
public String getStepSixC() {
return stepSixC;
}
public void setStepSixC(String stepSixC) {
this.stepSixC = stepSixC == null ? null : stepSixC.trim();
}
public String getStepSixD() {
return stepSixD;
}
public void setStepSixD(String stepSixD) {
this.stepSixD = stepSixD == null ? null : stepSixD.trim();
}
public String getStepSevenA() {
return stepSevenA;
}
public void setStepSevenA(String stepSevenA) {
this.stepSevenA = stepSevenA == null ? null : stepSevenA.trim();
}
public String getStepSevenB() {
return stepSevenB;
}
public void setStepSevenB(String stepSevenB) {
this.stepSevenB = stepSevenB == null ? null : stepSevenB.trim();
}
public String getStepSevenC() {
return stepSevenC;
}
public void setStepSevenC(String stepSevenC) {
this.stepSevenC = stepSevenC == null ? null : stepSevenC.trim();
}
public String getStepSevenD() {
return stepSevenD;
}
public void setStepSevenD(String stepSevenD) {
this.stepSevenD = stepSevenD == null ? null : stepSevenD.trim();
}
public String getStepEightA() {
return stepEightA;
}
public void setStepEightA(String stepEightA) {
this.stepEightA = stepEightA == null ? null : stepEightA.trim();
}
public String getStepEightB() {
return stepEightB;
}
public void setStepEightB(String stepEightB) {
this.stepEightB = stepEightB == null ? null : stepEightB.trim();
}
public String getStepEightC() {
return stepEightC;
}
public void setStepEightC(String stepEightC) {
this.stepEightC = stepEightC == null ? null : stepEightC.trim();
}
public String getStepEightD() {
return stepEightD;
}
public void setStepEightD(String stepEightD) {
this.stepEightD = stepEightD == null ? null : stepEightD.trim();
}
public String getStepNineA() {
return stepNineA;
}
public void setStepNineA(String stepNineA) {
this.stepNineA = stepNineA == null ? null : stepNineA.trim();
}
public String getStepNineB() {
return stepNineB;
}
public void setStepNineB(String stepNineB) {
this.stepNineB = stepNineB == null ? null : stepNineB.trim();
}
public String getStepNineC() {
return stepNineC;
}
public void setStepNineC(String stepNineC) {
this.stepNineC = stepNineC == null ? null : stepNineC.trim();
}
public String getStepNineD() {
return stepNineD;
}
public void setStepNineD(String stepNineD) {
this.stepNineD = stepNineD == null ? null : stepNineD.trim();
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public Integer getSubState() {
return subState;
}
public void setSubState(Integer subState) {
this.subState = subState;
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
}

@ -0,0 +1,30 @@
package com.sztzjy.digital_credit.mapper;
import com.sztzjy.digital_credit.entity.StuMachineLearning;
import com.sztzjy.digital_credit.entity.StuMachineLearningExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface StuMachineLearningMapper {
long countByExample(StuMachineLearningExample example);
int deleteByExample(StuMachineLearningExample example);
int deleteByPrimaryKey(Integer id);
int insert(StuMachineLearning record);
int insertSelective(StuMachineLearning record);
List<StuMachineLearning> selectByExample(StuMachineLearningExample example);
StuMachineLearning selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") StuMachineLearning record, @Param("example") StuMachineLearningExample example);
int updateByExample(@Param("record") StuMachineLearning record, @Param("example") StuMachineLearningExample example);
int updateByPrimaryKeySelective(StuMachineLearning record);
int updateByPrimaryKey(StuMachineLearning record);
}

@ -0,0 +1,30 @@
package com.sztzjy.digital_credit.mapper;
import com.sztzjy.digital_credit.entity.StuUserPortrait;
import com.sztzjy.digital_credit.entity.StuUserPortraitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface StuUserPortraitMapper {
long countByExample(StuUserPortraitExample example);
int deleteByExample(StuUserPortraitExample example);
int deleteByPrimaryKey(Integer id);
int insert(StuUserPortrait record);
int insertSelective(StuUserPortrait record);
List<StuUserPortrait> selectByExample(StuUserPortraitExample example);
StuUserPortrait selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") StuUserPortrait record, @Param("example") StuUserPortraitExample example);
int updateByExample(@Param("record") StuUserPortrait record, @Param("example") StuUserPortraitExample example);
int updateByPrimaryKeySelective(StuUserPortrait record);
int updateByPrimaryKey(StuUserPortrait record);
}

@ -0,0 +1,18 @@
package com.sztzjy.digital_credit.service;
import com.sztzjy.digital_credit.entity.StuMachineLearning;
import com.sztzjy.digital_credit.util.ResultEntity;
/**
* @author 17803
* @date 2024-04-23 9:44
*/
public interface StuExperimentTrainByCreditService {
/**
*
* @param learning
* @return
*/
ResultEntity trainByPublicSave(StuMachineLearning learning);
}

@ -0,0 +1,66 @@
package com.sztzjy.digital_credit.service.impl;/**
* @author 17803
* @date 2024-04-23 9:44
*/
import cn.hutool.core.util.IdUtil;
import com.sztzjy.digital_credit.entity.StuMachineLearning;
import com.sztzjy.digital_credit.entity.StuMachineLearningExample;
import com.sztzjy.digital_credit.mapper.StuMachineLearningMapper;
import com.sztzjy.digital_credit.service.StuExperimentTrainByCreditService;
import com.sztzjy.digital_credit.util.ResultEntity;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class StuExperimentTrainByCreditServiceImpl implements StuExperimentTrainByCreditService {
@Autowired
private StuMachineLearningMapper machineLearningMapper;
/**
*
* @param learning
* @return
*/
@Override
public ResultEntity trainByPublicSave(StuMachineLearning learning) {
StuMachineLearningExample machineLearningExample = new StuMachineLearningExample();
machineLearningExample.createCriteria().andUserIdEqualTo(learning.getUserId()).andModuleEqualTo(learning.getModule());
List<StuMachineLearning> machineLearningList = machineLearningMapper.selectByExample(machineLearningExample);
if (!machineLearningList.isEmpty()) {
//已经有数据
StuMachineLearning machineLearning = machineLearningList.get(0);
Integer id = machineLearning.getId();
BeanUtils.copyProperties(learning,machineLearning);
machineLearning.setId(id);
machineLearningMapper.updateByPrimaryKeySelective(machineLearning);
return new ResultEntity<>(HttpStatus.OK,"保存成功!");
}else {
//第一次保存
learning.setId((int) IdUtil.getSnowflakeNextId());
machineLearningMapper.insertSelective(learning);
return new ResultEntity<>(HttpStatus.OK,"保存成功!");
}
}
}

@ -0,0 +1,750 @@
<?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.digital_credit.mapper.StuMachineLearningMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuMachineLearning">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="step_one_a" jdbcType="VARCHAR" property="stepOneA" />
<result column="step_one_b" jdbcType="VARCHAR" property="stepOneB" />
<result column="step_one_c" jdbcType="VARCHAR" property="stepOneC" />
<result column="step_one_d" jdbcType="VARCHAR" property="stepOneD" />
<result column="step_two_a" jdbcType="VARCHAR" property="stepTwoA" />
<result column="step_two_b" jdbcType="VARCHAR" property="stepTwoB" />
<result column="step_two_c" jdbcType="VARCHAR" property="stepTwoC" />
<result column="step_three_a" jdbcType="VARCHAR" property="stepThreeA" />
<result column="step_three_b" jdbcType="VARCHAR" property="stepThreeB" />
<result column="step_three_c" jdbcType="VARCHAR" property="stepThreeC" />
<result column="step_three_d" jdbcType="VARCHAR" property="stepThreeD" />
<result column="step_four_a" jdbcType="VARCHAR" property="stepFourA" />
<result column="step_four_b" jdbcType="VARCHAR" property="stepFourB" />
<result column="step_four_c" jdbcType="VARCHAR" property="stepFourC" />
<result column="step_four_d" jdbcType="VARCHAR" property="stepFourD" />
<result column="step_five_a" jdbcType="VARCHAR" property="stepFiveA" />
<result column="step_five_b" jdbcType="VARCHAR" property="stepFiveB" />
<result column="step_five_c" jdbcType="VARCHAR" property="stepFiveC" />
<result column="step_five_d" jdbcType="VARCHAR" property="stepFiveD" />
<result column="step_six_a" jdbcType="VARCHAR" property="stepSixA" />
<result column="step_six_b" jdbcType="VARCHAR" property="stepSixB" />
<result column="step_six_c" jdbcType="VARCHAR" property="stepSixC" />
<result column="step_six_d" jdbcType="VARCHAR" property="stepSixD" />
<result column="step_seven_a" jdbcType="VARCHAR" property="stepSevenA" />
<result column="step_seven_b" jdbcType="VARCHAR" property="stepSevenB" />
<result column="step_seven_c" jdbcType="VARCHAR" property="stepSevenC" />
<result column="step_seven_d" jdbcType="VARCHAR" property="stepSevenD" />
<result column="step_eight_a" jdbcType="VARCHAR" property="stepEightA" />
<result column="step_eight_b" jdbcType="VARCHAR" property="stepEightB" />
<result column="step_eight_c" jdbcType="VARCHAR" property="stepEightC" />
<result column="step_eight_d" jdbcType="VARCHAR" property="stepEightD" />
<result column="step_nine_a" jdbcType="VARCHAR" property="stepNineA" />
<result column="step_nine_b" jdbcType="VARCHAR" property="stepNineB" />
<result column="step_nine_c" jdbcType="VARCHAR" property="stepNineC" />
<result column="step_nine_d" jdbcType="VARCHAR" property="stepNineD" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="sub_state" jdbcType="INTEGER" property="subState" />
<result column="module" jdbcType="VARCHAR" property="module" />
</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, step_one_a, step_one_b, step_one_c, step_one_d, step_two_a, step_two_b, step_two_c,
step_three_a, step_three_b, step_three_c, step_three_d, step_four_a, step_four_b,
step_four_c, step_four_d, step_five_a, step_five_b, step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d, step_seven_a, step_seven_b, step_seven_c, step_seven_d,
step_eight_a, step_eight_b, step_eight_c, step_eight_d, step_nine_a, step_nine_b,
step_nine_c, step_nine_d, user_id, sub_state, module
</sql>
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearningExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from stu_machine_learning
<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_machine_learning
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from stu_machine_learning
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearningExample">
delete from stu_machine_learning
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearning">
insert into stu_machine_learning (id, step_one_a, step_one_b,
step_one_c, step_one_d, step_two_a,
step_two_b, step_two_c, step_three_a,
step_three_b, step_three_c, step_three_d,
step_four_a, step_four_b, step_four_c,
step_four_d, step_five_a, step_five_b,
step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d,
step_seven_a, step_seven_b, step_seven_c,
step_seven_d, step_eight_a, step_eight_b,
step_eight_c, step_eight_d, step_nine_a,
step_nine_b, step_nine_c, step_nine_d,
user_id, sub_state, module
)
values (#{id,jdbcType=INTEGER}, #{stepOneA,jdbcType=VARCHAR}, #{stepOneB,jdbcType=VARCHAR},
#{stepOneC,jdbcType=VARCHAR}, #{stepOneD,jdbcType=VARCHAR}, #{stepTwoA,jdbcType=VARCHAR},
#{stepTwoB,jdbcType=VARCHAR}, #{stepTwoC,jdbcType=VARCHAR}, #{stepThreeA,jdbcType=VARCHAR},
#{stepThreeB,jdbcType=VARCHAR}, #{stepThreeC,jdbcType=VARCHAR}, #{stepThreeD,jdbcType=VARCHAR},
#{stepFourA,jdbcType=VARCHAR}, #{stepFourB,jdbcType=VARCHAR}, #{stepFourC,jdbcType=VARCHAR},
#{stepFourD,jdbcType=VARCHAR}, #{stepFiveA,jdbcType=VARCHAR}, #{stepFiveB,jdbcType=VARCHAR},
#{stepFiveC,jdbcType=VARCHAR}, #{stepFiveD,jdbcType=VARCHAR}, #{stepSixA,jdbcType=VARCHAR},
#{stepSixB,jdbcType=VARCHAR}, #{stepSixC,jdbcType=VARCHAR}, #{stepSixD,jdbcType=VARCHAR},
#{stepSevenA,jdbcType=VARCHAR}, #{stepSevenB,jdbcType=VARCHAR}, #{stepSevenC,jdbcType=VARCHAR},
#{stepSevenD,jdbcType=VARCHAR}, #{stepEightA,jdbcType=VARCHAR}, #{stepEightB,jdbcType=VARCHAR},
#{stepEightC,jdbcType=VARCHAR}, #{stepEightD,jdbcType=VARCHAR}, #{stepNineA,jdbcType=VARCHAR},
#{stepNineB,jdbcType=VARCHAR}, #{stepNineC,jdbcType=VARCHAR}, #{stepNineD,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER}, #{module,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearning">
insert into stu_machine_learning
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="stepOneA != null">
step_one_a,
</if>
<if test="stepOneB != null">
step_one_b,
</if>
<if test="stepOneC != null">
step_one_c,
</if>
<if test="stepOneD != null">
step_one_d,
</if>
<if test="stepTwoA != null">
step_two_a,
</if>
<if test="stepTwoB != null">
step_two_b,
</if>
<if test="stepTwoC != null">
step_two_c,
</if>
<if test="stepThreeA != null">
step_three_a,
</if>
<if test="stepThreeB != null">
step_three_b,
</if>
<if test="stepThreeC != null">
step_three_c,
</if>
<if test="stepThreeD != null">
step_three_d,
</if>
<if test="stepFourA != null">
step_four_a,
</if>
<if test="stepFourB != null">
step_four_b,
</if>
<if test="stepFourC != null">
step_four_c,
</if>
<if test="stepFourD != null">
step_four_d,
</if>
<if test="stepFiveA != null">
step_five_a,
</if>
<if test="stepFiveB != null">
step_five_b,
</if>
<if test="stepFiveC != null">
step_five_c,
</if>
<if test="stepFiveD != null">
step_five_d,
</if>
<if test="stepSixA != null">
step_six_a,
</if>
<if test="stepSixB != null">
step_six_b,
</if>
<if test="stepSixC != null">
step_six_c,
</if>
<if test="stepSixD != null">
step_six_d,
</if>
<if test="stepSevenA != null">
step_seven_a,
</if>
<if test="stepSevenB != null">
step_seven_b,
</if>
<if test="stepSevenC != null">
step_seven_c,
</if>
<if test="stepSevenD != null">
step_seven_d,
</if>
<if test="stepEightA != null">
step_eight_a,
</if>
<if test="stepEightB != null">
step_eight_b,
</if>
<if test="stepEightC != null">
step_eight_c,
</if>
<if test="stepEightD != null">
step_eight_d,
</if>
<if test="stepNineA != null">
step_nine_a,
</if>
<if test="stepNineB != null">
step_nine_b,
</if>
<if test="stepNineC != null">
step_nine_c,
</if>
<if test="stepNineD != null">
step_nine_d,
</if>
<if test="userId != null">
user_id,
</if>
<if test="subState != null">
sub_state,
</if>
<if test="module != null">
module,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=INTEGER},
</if>
<if test="stepOneA != null">
#{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
#{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
#{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
#{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
#{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
#{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
#{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
#{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
#{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
#{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
#{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
#{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
#{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
#{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
#{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
#{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
#{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
#{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
#{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
#{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
#{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
#{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
#{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
#{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
#{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
#{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
#{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
#{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
#{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
#{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
#{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
#{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
#{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
#{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
#{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
#{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearningExample" resultType="java.lang.Long">
select count(*) from stu_machine_learning
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update stu_machine_learning
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.stepOneA != null">
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
</if>
<if test="record.stepOneB != null">
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
</if>
<if test="record.stepOneC != null">
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
</if>
<if test="record.stepOneD != null">
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoA != null">
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoB != null">
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoC != null">
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeA != null">
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeB != null">
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeC != null">
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeD != null">
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
</if>
<if test="record.stepFourA != null">
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
</if>
<if test="record.stepFourB != null">
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
</if>
<if test="record.stepFourC != null">
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
</if>
<if test="record.stepFourD != null">
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveA != null">
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveB != null">
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveC != null">
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveD != null">
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
</if>
<if test="record.stepSixA != null">
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
</if>
<if test="record.stepSixB != null">
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
</if>
<if test="record.stepSixC != null">
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
</if>
<if test="record.stepSixD != null">
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenA != null">
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenB != null">
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenC != null">
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenD != null">
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
</if>
<if test="record.stepEightA != null">
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
</if>
<if test="record.stepEightB != null">
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
</if>
<if test="record.stepEightC != null">
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
</if>
<if test="record.stepEightD != null">
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
</if>
<if test="record.stepNineA != null">
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
</if>
<if test="record.stepNineB != null">
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
</if>
<if test="record.stepNineC != null">
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
</if>
<if test="record.stepNineD != null">
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.subState != null">
sub_state = #{record.subState,jdbcType=INTEGER},
</if>
<if test="record.module != null">
module = #{record.module,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update stu_machine_learning
set id = #{record.id,jdbcType=INTEGER},
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
sub_state = #{record.subState,jdbcType=INTEGER},
module = #{record.module,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearning">
update stu_machine_learning
<set>
<if test="stepOneA != null">
step_one_a = #{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
step_one_b = #{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
step_one_c = #{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
step_one_d = #{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
step_four_a = #{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
step_four_b = #{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
step_four_c = #{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
step_four_d = #{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
step_six_a = #{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
step_six_b = #{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
step_six_c = #{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
step_six_d = #{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
sub_state = #{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
module = #{module,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuMachineLearning">
update stu_machine_learning
set step_one_a = #{stepOneA,jdbcType=VARCHAR},
step_one_b = #{stepOneB,jdbcType=VARCHAR},
step_one_c = #{stepOneC,jdbcType=VARCHAR},
step_one_d = #{stepOneD,jdbcType=VARCHAR},
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
step_four_a = #{stepFourA,jdbcType=VARCHAR},
step_four_b = #{stepFourB,jdbcType=VARCHAR},
step_four_c = #{stepFourC,jdbcType=VARCHAR},
step_four_d = #{stepFourD,jdbcType=VARCHAR},
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
step_six_a = #{stepSixA,jdbcType=VARCHAR},
step_six_b = #{stepSixB,jdbcType=VARCHAR},
step_six_c = #{stepSixC,jdbcType=VARCHAR},
step_six_d = #{stepSixD,jdbcType=VARCHAR},
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
sub_state = #{subState,jdbcType=INTEGER},
module = #{module,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>

@ -0,0 +1,750 @@
<?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.digital_credit.mapper.StuUserPortraitMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuUserPortrait">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="step_one_a" jdbcType="VARCHAR" property="stepOneA" />
<result column="step_one_b" jdbcType="VARCHAR" property="stepOneB" />
<result column="step_one_c" jdbcType="VARCHAR" property="stepOneC" />
<result column="step_one_d" jdbcType="VARCHAR" property="stepOneD" />
<result column="step_two_a" jdbcType="VARCHAR" property="stepTwoA" />
<result column="step_two_b" jdbcType="VARCHAR" property="stepTwoB" />
<result column="step_two_c" jdbcType="VARCHAR" property="stepTwoC" />
<result column="step_three_a" jdbcType="VARCHAR" property="stepThreeA" />
<result column="step_three_b" jdbcType="VARCHAR" property="stepThreeB" />
<result column="step_three_c" jdbcType="VARCHAR" property="stepThreeC" />
<result column="step_three_d" jdbcType="VARCHAR" property="stepThreeD" />
<result column="step_four_a" jdbcType="VARCHAR" property="stepFourA" />
<result column="step_four_b" jdbcType="VARCHAR" property="stepFourB" />
<result column="step_four_c" jdbcType="VARCHAR" property="stepFourC" />
<result column="step_four_d" jdbcType="VARCHAR" property="stepFourD" />
<result column="step_five_a" jdbcType="VARCHAR" property="stepFiveA" />
<result column="step_five_b" jdbcType="VARCHAR" property="stepFiveB" />
<result column="step_five_c" jdbcType="VARCHAR" property="stepFiveC" />
<result column="step_five_d" jdbcType="VARCHAR" property="stepFiveD" />
<result column="step_six_a" jdbcType="VARCHAR" property="stepSixA" />
<result column="step_six_b" jdbcType="VARCHAR" property="stepSixB" />
<result column="step_six_c" jdbcType="VARCHAR" property="stepSixC" />
<result column="step_six_d" jdbcType="VARCHAR" property="stepSixD" />
<result column="step_seven_a" jdbcType="VARCHAR" property="stepSevenA" />
<result column="step_seven_b" jdbcType="VARCHAR" property="stepSevenB" />
<result column="step_seven_c" jdbcType="VARCHAR" property="stepSevenC" />
<result column="step_seven_d" jdbcType="VARCHAR" property="stepSevenD" />
<result column="step_eight_a" jdbcType="VARCHAR" property="stepEightA" />
<result column="step_eight_b" jdbcType="VARCHAR" property="stepEightB" />
<result column="step_eight_c" jdbcType="VARCHAR" property="stepEightC" />
<result column="step_eight_d" jdbcType="VARCHAR" property="stepEightD" />
<result column="step_nine_a" jdbcType="VARCHAR" property="stepNineA" />
<result column="step_nine_b" jdbcType="VARCHAR" property="stepNineB" />
<result column="step_nine_c" jdbcType="VARCHAR" property="stepNineC" />
<result column="step_nine_d" jdbcType="VARCHAR" property="stepNineD" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="sub_state" jdbcType="INTEGER" property="subState" />
<result column="module" jdbcType="VARCHAR" property="module" />
</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, step_one_a, step_one_b, step_one_c, step_one_d, step_two_a, step_two_b, step_two_c,
step_three_a, step_three_b, step_three_c, step_three_d, step_four_a, step_four_b,
step_four_c, step_four_d, step_five_a, step_five_b, step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d, step_seven_a, step_seven_b, step_seven_c, step_seven_d,
step_eight_a, step_eight_b, step_eight_c, step_eight_d, step_nine_a, step_nine_b,
step_nine_c, step_nine_d, user_id, sub_state, module
</sql>
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from stu_user_portrait
<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_user_portrait
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from stu_user_portrait
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample">
delete from stu_user_portrait
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
insert into stu_user_portrait (id, step_one_a, step_one_b,
step_one_c, step_one_d, step_two_a,
step_two_b, step_two_c, step_three_a,
step_three_b, step_three_c, step_three_d,
step_four_a, step_four_b, step_four_c,
step_four_d, step_five_a, step_five_b,
step_five_c, step_five_d, step_six_a,
step_six_b, step_six_c, step_six_d,
step_seven_a, step_seven_b, step_seven_c,
step_seven_d, step_eight_a, step_eight_b,
step_eight_c, step_eight_d, step_nine_a,
step_nine_b, step_nine_c, step_nine_d,
user_id, sub_state, module
)
values (#{id,jdbcType=INTEGER}, #{stepOneA,jdbcType=VARCHAR}, #{stepOneB,jdbcType=VARCHAR},
#{stepOneC,jdbcType=VARCHAR}, #{stepOneD,jdbcType=VARCHAR}, #{stepTwoA,jdbcType=VARCHAR},
#{stepTwoB,jdbcType=VARCHAR}, #{stepTwoC,jdbcType=VARCHAR}, #{stepThreeA,jdbcType=VARCHAR},
#{stepThreeB,jdbcType=VARCHAR}, #{stepThreeC,jdbcType=VARCHAR}, #{stepThreeD,jdbcType=VARCHAR},
#{stepFourA,jdbcType=VARCHAR}, #{stepFourB,jdbcType=VARCHAR}, #{stepFourC,jdbcType=VARCHAR},
#{stepFourD,jdbcType=VARCHAR}, #{stepFiveA,jdbcType=VARCHAR}, #{stepFiveB,jdbcType=VARCHAR},
#{stepFiveC,jdbcType=VARCHAR}, #{stepFiveD,jdbcType=VARCHAR}, #{stepSixA,jdbcType=VARCHAR},
#{stepSixB,jdbcType=VARCHAR}, #{stepSixC,jdbcType=VARCHAR}, #{stepSixD,jdbcType=VARCHAR},
#{stepSevenA,jdbcType=VARCHAR}, #{stepSevenB,jdbcType=VARCHAR}, #{stepSevenC,jdbcType=VARCHAR},
#{stepSevenD,jdbcType=VARCHAR}, #{stepEightA,jdbcType=VARCHAR}, #{stepEightB,jdbcType=VARCHAR},
#{stepEightC,jdbcType=VARCHAR}, #{stepEightD,jdbcType=VARCHAR}, #{stepNineA,jdbcType=VARCHAR},
#{stepNineB,jdbcType=VARCHAR}, #{stepNineC,jdbcType=VARCHAR}, #{stepNineD,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER}, #{module,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
insert into stu_user_portrait
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="stepOneA != null">
step_one_a,
</if>
<if test="stepOneB != null">
step_one_b,
</if>
<if test="stepOneC != null">
step_one_c,
</if>
<if test="stepOneD != null">
step_one_d,
</if>
<if test="stepTwoA != null">
step_two_a,
</if>
<if test="stepTwoB != null">
step_two_b,
</if>
<if test="stepTwoC != null">
step_two_c,
</if>
<if test="stepThreeA != null">
step_three_a,
</if>
<if test="stepThreeB != null">
step_three_b,
</if>
<if test="stepThreeC != null">
step_three_c,
</if>
<if test="stepThreeD != null">
step_three_d,
</if>
<if test="stepFourA != null">
step_four_a,
</if>
<if test="stepFourB != null">
step_four_b,
</if>
<if test="stepFourC != null">
step_four_c,
</if>
<if test="stepFourD != null">
step_four_d,
</if>
<if test="stepFiveA != null">
step_five_a,
</if>
<if test="stepFiveB != null">
step_five_b,
</if>
<if test="stepFiveC != null">
step_five_c,
</if>
<if test="stepFiveD != null">
step_five_d,
</if>
<if test="stepSixA != null">
step_six_a,
</if>
<if test="stepSixB != null">
step_six_b,
</if>
<if test="stepSixC != null">
step_six_c,
</if>
<if test="stepSixD != null">
step_six_d,
</if>
<if test="stepSevenA != null">
step_seven_a,
</if>
<if test="stepSevenB != null">
step_seven_b,
</if>
<if test="stepSevenC != null">
step_seven_c,
</if>
<if test="stepSevenD != null">
step_seven_d,
</if>
<if test="stepEightA != null">
step_eight_a,
</if>
<if test="stepEightB != null">
step_eight_b,
</if>
<if test="stepEightC != null">
step_eight_c,
</if>
<if test="stepEightD != null">
step_eight_d,
</if>
<if test="stepNineA != null">
step_nine_a,
</if>
<if test="stepNineB != null">
step_nine_b,
</if>
<if test="stepNineC != null">
step_nine_c,
</if>
<if test="stepNineD != null">
step_nine_d,
</if>
<if test="userId != null">
user_id,
</if>
<if test="subState != null">
sub_state,
</if>
<if test="module != null">
module,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=INTEGER},
</if>
<if test="stepOneA != null">
#{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
#{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
#{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
#{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
#{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
#{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
#{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
#{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
#{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
#{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
#{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
#{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
#{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
#{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
#{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
#{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
#{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
#{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
#{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
#{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
#{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
#{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
#{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
#{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
#{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
#{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
#{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
#{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
#{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
#{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
#{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
#{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
#{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
#{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
#{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
#{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserPortraitExample" resultType="java.lang.Long">
select count(*) from stu_user_portrait
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update stu_user_portrait
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.stepOneA != null">
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
</if>
<if test="record.stepOneB != null">
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
</if>
<if test="record.stepOneC != null">
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
</if>
<if test="record.stepOneD != null">
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoA != null">
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoB != null">
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
</if>
<if test="record.stepTwoC != null">
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeA != null">
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeB != null">
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeC != null">
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
</if>
<if test="record.stepThreeD != null">
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
</if>
<if test="record.stepFourA != null">
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
</if>
<if test="record.stepFourB != null">
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
</if>
<if test="record.stepFourC != null">
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
</if>
<if test="record.stepFourD != null">
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveA != null">
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveB != null">
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveC != null">
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
</if>
<if test="record.stepFiveD != null">
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
</if>
<if test="record.stepSixA != null">
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
</if>
<if test="record.stepSixB != null">
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
</if>
<if test="record.stepSixC != null">
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
</if>
<if test="record.stepSixD != null">
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenA != null">
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenB != null">
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenC != null">
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
</if>
<if test="record.stepSevenD != null">
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
</if>
<if test="record.stepEightA != null">
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
</if>
<if test="record.stepEightB != null">
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
</if>
<if test="record.stepEightC != null">
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
</if>
<if test="record.stepEightD != null">
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
</if>
<if test="record.stepNineA != null">
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
</if>
<if test="record.stepNineB != null">
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
</if>
<if test="record.stepNineC != null">
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
</if>
<if test="record.stepNineD != null">
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.subState != null">
sub_state = #{record.subState,jdbcType=INTEGER},
</if>
<if test="record.module != null">
module = #{record.module,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update stu_user_portrait
set id = #{record.id,jdbcType=INTEGER},
step_one_a = #{record.stepOneA,jdbcType=VARCHAR},
step_one_b = #{record.stepOneB,jdbcType=VARCHAR},
step_one_c = #{record.stepOneC,jdbcType=VARCHAR},
step_one_d = #{record.stepOneD,jdbcType=VARCHAR},
step_two_a = #{record.stepTwoA,jdbcType=VARCHAR},
step_two_b = #{record.stepTwoB,jdbcType=VARCHAR},
step_two_c = #{record.stepTwoC,jdbcType=VARCHAR},
step_three_a = #{record.stepThreeA,jdbcType=VARCHAR},
step_three_b = #{record.stepThreeB,jdbcType=VARCHAR},
step_three_c = #{record.stepThreeC,jdbcType=VARCHAR},
step_three_d = #{record.stepThreeD,jdbcType=VARCHAR},
step_four_a = #{record.stepFourA,jdbcType=VARCHAR},
step_four_b = #{record.stepFourB,jdbcType=VARCHAR},
step_four_c = #{record.stepFourC,jdbcType=VARCHAR},
step_four_d = #{record.stepFourD,jdbcType=VARCHAR},
step_five_a = #{record.stepFiveA,jdbcType=VARCHAR},
step_five_b = #{record.stepFiveB,jdbcType=VARCHAR},
step_five_c = #{record.stepFiveC,jdbcType=VARCHAR},
step_five_d = #{record.stepFiveD,jdbcType=VARCHAR},
step_six_a = #{record.stepSixA,jdbcType=VARCHAR},
step_six_b = #{record.stepSixB,jdbcType=VARCHAR},
step_six_c = #{record.stepSixC,jdbcType=VARCHAR},
step_six_d = #{record.stepSixD,jdbcType=VARCHAR},
step_seven_a = #{record.stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{record.stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{record.stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{record.stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{record.stepEightA,jdbcType=VARCHAR},
step_eight_b = #{record.stepEightB,jdbcType=VARCHAR},
step_eight_c = #{record.stepEightC,jdbcType=VARCHAR},
step_eight_d = #{record.stepEightD,jdbcType=VARCHAR},
step_nine_a = #{record.stepNineA,jdbcType=VARCHAR},
step_nine_b = #{record.stepNineB,jdbcType=VARCHAR},
step_nine_c = #{record.stepNineC,jdbcType=VARCHAR},
step_nine_d = #{record.stepNineD,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
sub_state = #{record.subState,jdbcType=INTEGER},
module = #{record.module,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
update stu_user_portrait
<set>
<if test="stepOneA != null">
step_one_a = #{stepOneA,jdbcType=VARCHAR},
</if>
<if test="stepOneB != null">
step_one_b = #{stepOneB,jdbcType=VARCHAR},
</if>
<if test="stepOneC != null">
step_one_c = #{stepOneC,jdbcType=VARCHAR},
</if>
<if test="stepOneD != null">
step_one_d = #{stepOneD,jdbcType=VARCHAR},
</if>
<if test="stepTwoA != null">
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
</if>
<if test="stepTwoB != null">
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
</if>
<if test="stepTwoC != null">
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
</if>
<if test="stepThreeA != null">
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
</if>
<if test="stepThreeB != null">
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
</if>
<if test="stepThreeC != null">
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
</if>
<if test="stepThreeD != null">
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
</if>
<if test="stepFourA != null">
step_four_a = #{stepFourA,jdbcType=VARCHAR},
</if>
<if test="stepFourB != null">
step_four_b = #{stepFourB,jdbcType=VARCHAR},
</if>
<if test="stepFourC != null">
step_four_c = #{stepFourC,jdbcType=VARCHAR},
</if>
<if test="stepFourD != null">
step_four_d = #{stepFourD,jdbcType=VARCHAR},
</if>
<if test="stepFiveA != null">
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
</if>
<if test="stepFiveB != null">
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
</if>
<if test="stepFiveC != null">
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
</if>
<if test="stepFiveD != null">
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
</if>
<if test="stepSixA != null">
step_six_a = #{stepSixA,jdbcType=VARCHAR},
</if>
<if test="stepSixB != null">
step_six_b = #{stepSixB,jdbcType=VARCHAR},
</if>
<if test="stepSixC != null">
step_six_c = #{stepSixC,jdbcType=VARCHAR},
</if>
<if test="stepSixD != null">
step_six_d = #{stepSixD,jdbcType=VARCHAR},
</if>
<if test="stepSevenA != null">
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
</if>
<if test="stepSevenB != null">
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
</if>
<if test="stepSevenC != null">
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
</if>
<if test="stepSevenD != null">
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
</if>
<if test="stepEightA != null">
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
</if>
<if test="stepEightB != null">
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
</if>
<if test="stepEightC != null">
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
</if>
<if test="stepEightD != null">
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
</if>
<if test="stepNineA != null">
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
</if>
<if test="stepNineB != null">
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
</if>
<if test="stepNineC != null">
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
</if>
<if test="stepNineD != null">
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
</if>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
sub_state = #{subState,jdbcType=INTEGER},
</if>
<if test="module != null">
module = #{module,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuUserPortrait">
update stu_user_portrait
set step_one_a = #{stepOneA,jdbcType=VARCHAR},
step_one_b = #{stepOneB,jdbcType=VARCHAR},
step_one_c = #{stepOneC,jdbcType=VARCHAR},
step_one_d = #{stepOneD,jdbcType=VARCHAR},
step_two_a = #{stepTwoA,jdbcType=VARCHAR},
step_two_b = #{stepTwoB,jdbcType=VARCHAR},
step_two_c = #{stepTwoC,jdbcType=VARCHAR},
step_three_a = #{stepThreeA,jdbcType=VARCHAR},
step_three_b = #{stepThreeB,jdbcType=VARCHAR},
step_three_c = #{stepThreeC,jdbcType=VARCHAR},
step_three_d = #{stepThreeD,jdbcType=VARCHAR},
step_four_a = #{stepFourA,jdbcType=VARCHAR},
step_four_b = #{stepFourB,jdbcType=VARCHAR},
step_four_c = #{stepFourC,jdbcType=VARCHAR},
step_four_d = #{stepFourD,jdbcType=VARCHAR},
step_five_a = #{stepFiveA,jdbcType=VARCHAR},
step_five_b = #{stepFiveB,jdbcType=VARCHAR},
step_five_c = #{stepFiveC,jdbcType=VARCHAR},
step_five_d = #{stepFiveD,jdbcType=VARCHAR},
step_six_a = #{stepSixA,jdbcType=VARCHAR},
step_six_b = #{stepSixB,jdbcType=VARCHAR},
step_six_c = #{stepSixC,jdbcType=VARCHAR},
step_six_d = #{stepSixD,jdbcType=VARCHAR},
step_seven_a = #{stepSevenA,jdbcType=VARCHAR},
step_seven_b = #{stepSevenB,jdbcType=VARCHAR},
step_seven_c = #{stepSevenC,jdbcType=VARCHAR},
step_seven_d = #{stepSevenD,jdbcType=VARCHAR},
step_eight_a = #{stepEightA,jdbcType=VARCHAR},
step_eight_b = #{stepEightB,jdbcType=VARCHAR},
step_eight_c = #{stepEightC,jdbcType=VARCHAR},
step_eight_d = #{stepEightD,jdbcType=VARCHAR},
step_nine_a = #{stepNineA,jdbcType=VARCHAR},
step_nine_b = #{stepNineB,jdbcType=VARCHAR},
step_nine_c = #{stepNineC,jdbcType=VARCHAR},
step_nine_d = #{stepNineD,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
sub_state = #{subState,jdbcType=INTEGER},
module = #{module,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
Loading…
Cancel
Save