Merge remote-tracking branch 'origin/master'
commit
d5c551164a
@ -0,0 +1,86 @@
|
||||
package com.sztzjy.block_finance.controller;
|
||||
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import com.sztzjy.block_finance.annotation.AnonymousAccess;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyNewBussiness;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyNewBussinessExample;
|
||||
import com.sztzjy.block_finance.mappers.StuSupplyNewBussinessMapper;
|
||||
import com.sztzjy.block_finance.util.ResultEntity;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 17803
|
||||
* @date 2024-05-17 16:37
|
||||
*/
|
||||
|
||||
@RestController
|
||||
@RequestMapping("api/stu/newBussinessAdd")
|
||||
@Api(tags = "新增业务")
|
||||
public class StuNewBussinessAddController {
|
||||
|
||||
|
||||
@Autowired
|
||||
private StuSupplyNewBussinessMapper stuSupplyNewBussinessMapper;
|
||||
|
||||
|
||||
|
||||
@PostMapping("/newBussinessBySave")
|
||||
@AnonymousAccess
|
||||
@ApiOperation("采购订单数据保存")
|
||||
public ResultEntity newBussinessBySave(@RequestBody StuSupplyNewBussiness supplyNewBussiness){
|
||||
StuSupplyNewBussinessExample example = new StuSupplyNewBussinessExample();
|
||||
example.createCriteria().andUserIdEqualTo(supplyNewBussiness.getUserId());
|
||||
List<StuSupplyNewBussiness> supplyNewBussinessList = stuSupplyNewBussinessMapper.selectByExample(example);
|
||||
if (supplyNewBussinessList.isEmpty())
|
||||
{
|
||||
supplyNewBussiness.setId((int) IdUtil.getSnowflakeNextId());
|
||||
|
||||
stuSupplyNewBussinessMapper.insertSelective(supplyNewBussiness);
|
||||
|
||||
}else {
|
||||
//已经存在数据
|
||||
StuSupplyNewBussiness stuSupplyNewBussiness = supplyNewBussinessList.get(0);
|
||||
Integer id = stuSupplyNewBussiness.getId();
|
||||
|
||||
BeanUtils.copyProperties(supplyNewBussiness,stuSupplyNewBussiness);
|
||||
stuSupplyNewBussiness.setId(id);
|
||||
|
||||
stuSupplyNewBussinessMapper.updateByPrimaryKeySelective(stuSupplyNewBussiness);
|
||||
|
||||
}
|
||||
|
||||
return new ResultEntity(HttpStatus.OK,"保存成功");
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ApiOperation("查询数据")
|
||||
@GetMapping("/getBaseInfoByNewBussiness")
|
||||
@AnonymousAccess
|
||||
public ResultEntity getBaseInfoByNewBussiness(@RequestParam String userId){
|
||||
StuSupplyNewBussinessExample example = new StuSupplyNewBussinessExample();
|
||||
example.createCriteria().andUserIdEqualTo(userId);
|
||||
List<StuSupplyNewBussiness> supplyNewBussinessList = stuSupplyNewBussinessMapper.selectByExample(example);
|
||||
|
||||
if (supplyNewBussinessList.isEmpty())
|
||||
{
|
||||
return new ResultEntity<>(HttpStatus.OK);
|
||||
}
|
||||
|
||||
return new ResultEntity<>(HttpStatus.OK,null,supplyNewBussinessList.get(0));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,393 @@
|
||||
package com.sztzjy.block_finance.entity;
|
||||
|
||||
public class StuSupplyNewBussiness {
|
||||
private Integer id;
|
||||
|
||||
private String stepOneA;
|
||||
|
||||
private String stepOneB;
|
||||
|
||||
private String stepOneC;
|
||||
|
||||
private String stepOneD;
|
||||
|
||||
private String stepTwoA;
|
||||
|
||||
private String stepTwoB;
|
||||
|
||||
private String stepTwoC;
|
||||
|
||||
private String stepThreeA;
|
||||
|
||||
private String stepThreeB;
|
||||
|
||||
private String stepThreeC;
|
||||
|
||||
private String stepThreeD;
|
||||
|
||||
private String stepFourA;
|
||||
|
||||
private String stepFourB;
|
||||
|
||||
private String stepFourC;
|
||||
|
||||
private String stepFourD;
|
||||
|
||||
private String stepFiveA;
|
||||
|
||||
private String stepFiveB;
|
||||
|
||||
private String stepFiveC;
|
||||
|
||||
private String stepFiveD;
|
||||
|
||||
private String stepSixA;
|
||||
|
||||
private String stepSixB;
|
||||
|
||||
private String stepSixC;
|
||||
|
||||
private String stepSixD;
|
||||
|
||||
private String stepSevenA;
|
||||
|
||||
private String stepSevenB;
|
||||
|
||||
private String stepSevenC;
|
||||
|
||||
private String stepSevenD;
|
||||
|
||||
private String stepEightA;
|
||||
|
||||
private String stepEightB;
|
||||
|
||||
private String stepEightC;
|
||||
|
||||
private String stepEightD;
|
||||
|
||||
private String stepNineA;
|
||||
|
||||
private String stepNineB;
|
||||
|
||||
private String stepNineC;
|
||||
|
||||
private Integer errorNumber;
|
||||
|
||||
private String userId;
|
||||
|
||||
private Integer subState;
|
||||
|
||||
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 Integer getErrorNumber() {
|
||||
return errorNumber;
|
||||
}
|
||||
|
||||
public void setErrorNumber(Integer errorNumber) {
|
||||
this.errorNumber = errorNumber;
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,32 @@
|
||||
package com.sztzjy.block_finance.mappers;
|
||||
|
||||
import com.sztzjy.block_finance.entity.StuSupplyNewBussiness;
|
||||
import com.sztzjy.block_finance.entity.StuSupplyNewBussinessExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
public interface StuSupplyNewBussinessMapper {
|
||||
long countByExample(StuSupplyNewBussinessExample example);
|
||||
|
||||
int deleteByExample(StuSupplyNewBussinessExample example);
|
||||
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(StuSupplyNewBussiness record);
|
||||
|
||||
int insertSelective(StuSupplyNewBussiness record);
|
||||
|
||||
List<StuSupplyNewBussiness> selectByExample(StuSupplyNewBussinessExample example);
|
||||
|
||||
StuSupplyNewBussiness selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByExampleSelective(@Param("record") StuSupplyNewBussiness record, @Param("example") StuSupplyNewBussinessExample example);
|
||||
|
||||
int updateByExample(@Param("record") StuSupplyNewBussiness record, @Param("example") StuSupplyNewBussinessExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(StuSupplyNewBussiness record);
|
||||
|
||||
int updateByPrimaryKey(StuSupplyNewBussiness record);
|
||||
}
|
@ -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.block_finance.mappers.StuSupplyNewBussinessMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuSupplyNewBussiness">
|
||||
<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="error_number" jdbcType="INTEGER" property="errorNumber" />
|
||||
<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, error_number, user_id, sub_state, module
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuSupplyNewBussinessExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_supply_new_bussiness
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from stu_supply_new_bussiness
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||
delete from stu_supply_new_bussiness
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuSupplyNewBussinessExample">
|
||||
delete from stu_supply_new_bussiness
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuSupplyNewBussiness">
|
||||
insert into stu_supply_new_bussiness (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, error_number,
|
||||
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}, #{errorNumber,jdbcType=INTEGER},
|
||||
#{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER}, #{module,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuSupplyNewBussiness">
|
||||
insert into stu_supply_new_bussiness
|
||||
<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="errorNumber != null">
|
||||
error_number,
|
||||
</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="errorNumber != null">
|
||||
#{errorNumber,jdbcType=INTEGER},
|
||||
</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.block_finance.entity.StuSupplyNewBussinessExample" resultType="java.lang.Long">
|
||||
select count(*) from stu_supply_new_bussiness
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update stu_supply_new_bussiness
|
||||
<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.errorNumber != null">
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
</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_supply_new_bussiness
|
||||
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},
|
||||
error_number = #{record.errorNumber,jdbcType=INTEGER},
|
||||
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.block_finance.entity.StuSupplyNewBussiness">
|
||||
update stu_supply_new_bussiness
|
||||
<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="errorNumber != null">
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
</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.block_finance.entity.StuSupplyNewBussiness">
|
||||
update stu_supply_new_bussiness
|
||||
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},
|
||||
error_number = #{errorNumber,jdbcType=INTEGER},
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
sub_state = #{subState,jdbcType=INTEGER},
|
||||
module = #{module,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in New Issue