完成客户信息建立业务开发

main
whb 2 months ago
parent f8c74cd17b
commit b96d705dab

@ -0,0 +1,67 @@
package com.sztzjy.bank.controller.stu;
import com.sztzjy.bank.annotation.AnonymousAccess;
import com.sztzjy.bank.entity.BankCardInformation;
import com.sztzjy.bank.entity.CustomerInformation;
import com.sztzjy.bank.service.PersonalBankCardService;
import com.sztzjy.bank.util.ResultDataEntity;
import com.sztzjy.bank.util.ResultEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
@Api(tags = "个人银行卡业务")
@RequestMapping("api/personBankCard")
@RestController
@Validated
public class PersonalBankCardController {
@Autowired
private PersonalBankCardService personalBankCardService;
@AnonymousAccess
@ApiOperation("录入客户信息-提交/保存")
@PostMapping("submitByPersonBankCard")
public ResultEntity submitByPersonBankCard(@Valid @RequestBody CustomerInformation customerInformation) {
return personalBankCardService.submitByPersonBankCard(customerInformation);
}
@AnonymousAccess
@ApiOperation("录入客户信息-查询回显")
@GetMapping(path = "getBaseInfoByPersonBankCard")
public ResultDataEntity<CustomerInformation> getBaseInfoByPersonBankCard(@ApiParam("用户ID") String userId,Integer number) {
return personalBankCardService.getBaseInfoByPersonBankCard(userId,number);
}
@AnonymousAccess
@ApiOperation("开设银行卡-提交/保存")
@PostMapping("submitByCreateCard")
public ResultEntity submitByCreateCard(@Valid @RequestBody BankCardInformation bankCardInformation) {
return personalBankCardService.submitByCreateCard(bankCardInformation);
}
}

@ -186,8 +186,6 @@ public class UserController {
SecurityContextHolder.getContext().setAuthentication(authentication);
String token = TokenProvider.createToken(jwtUser);
// JwtUser user = TokenProvider.getJWTUser(request);
// stuUserService.insertAll(jwtUser);
redisUtil.set(itemName+"-token:"+jwtUser.getUserId(),token,3600);
redisUtil.set(itemName+"-userId:"+jwtUser.getUserId(),System.currentTimeMillis(),3600);

@ -0,0 +1,198 @@
package com.sztzjy.bank.entity;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
*
* @author whb
* bank_card_information
*/
public class BankCardInformation {
@ApiModelProperty(notes = "id")
private String id;
@ApiModelProperty(notes = "客户ID")
private String customerId;
@ApiModelProperty(notes = "币种")
private String currency;
@ApiModelProperty(notes = "钞汇标志")
private String currencyExchangeSymbol;
@ApiModelProperty(notes = "分级类型")
private String classifyType;
@ApiModelProperty(notes = "账户性质")
private String natureAccount;
@ApiModelProperty(notes = "凭证类型")
private String voucherType;
@ApiModelProperty(notes = "支取方式")
private String withdrawalMethod;
@ApiModelProperty(notes = "支取密码")
private String withdrawalPwd;
@ApiModelProperty(notes = "确认密码")
private String confirmPassword;
@ApiModelProperty(notes = "银行卡号")
private String bankCardNumber;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "更新时间")
private Date updateTime;
@ApiModelProperty(notes = "用户ID")
private String userId;
@ApiModelProperty(notes = "提交状态1已提交 0未提交")
private Integer subState;
@ApiModelProperty(notes = "错误次数")
private Integer errorNumber;
@ApiModelProperty(notes = "第几套案例1、2、3")
private Integer number;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getCustomerId() {
return customerId;
}
public void setCustomerId(String customerId) {
this.customerId = customerId == null ? null : customerId.trim();
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency == null ? null : currency.trim();
}
public String getCurrencyExchangeSymbol() {
return currencyExchangeSymbol;
}
public void setCurrencyExchangeSymbol(String currencyExchangeSymbol) {
this.currencyExchangeSymbol = currencyExchangeSymbol == null ? null : currencyExchangeSymbol.trim();
}
public String getClassifyType() {
return classifyType;
}
public void setClassifyType(String classifyType) {
this.classifyType = classifyType == null ? null : classifyType.trim();
}
public String getNatureAccount() {
return natureAccount;
}
public void setNatureAccount(String natureAccount) {
this.natureAccount = natureAccount == null ? null : natureAccount.trim();
}
public String getVoucherType() {
return voucherType;
}
public void setVoucherType(String voucherType) {
this.voucherType = voucherType == null ? null : voucherType.trim();
}
public String getWithdrawalMethod() {
return withdrawalMethod;
}
public void setWithdrawalMethod(String withdrawalMethod) {
this.withdrawalMethod = withdrawalMethod == null ? null : withdrawalMethod.trim();
}
public String getWithdrawalPwd() {
return withdrawalPwd;
}
public void setWithdrawalPwd(String withdrawalPwd) {
this.withdrawalPwd = withdrawalPwd == null ? null : withdrawalPwd.trim();
}
public String getConfirmPassword() {
return confirmPassword;
}
public void setConfirmPassword(String confirmPassword) {
this.confirmPassword = confirmPassword == null ? null : confirmPassword.trim();
}
public String getBankCardNumber() {
return bankCardNumber;
}
public void setBankCardNumber(String bankCardNumber) {
this.bankCardNumber = bankCardNumber == null ? null : bankCardNumber.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
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 Integer getErrorNumber() {
return errorNumber;
}
public void setErrorNumber(Integer errorNumber) {
this.errorNumber = errorNumber;
}
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
}

@ -0,0 +1,56 @@
package com.sztzjy.bank.entity;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* case_answer_info
*/
public class CaseAnswerInfo {
@ApiModelProperty(notes = "id")
private String id;
@ApiModelProperty(notes = "主键,唯一标识每个案例")
private String caseId;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "答案")
private String answer;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getCaseId() {
return caseId;
}
public void setCaseId(String caseId) {
this.caseId = caseId == null ? null : caseId.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer == null ? null : answer.trim();
}
}

@ -0,0 +1,400 @@
package com.sztzjy.bank.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CaseAnswerInfoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public CaseAnswerInfoExample() {
oredCriteria = new ArrayList<>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(String value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(String value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(String value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(String value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(String value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(String value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdLike(String value) {
addCriterion("id like", value, "id");
return (Criteria) this;
}
public Criteria andIdNotLike(String value) {
addCriterion("id not like", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<String> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<String> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(String value1, String value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(String value1, String value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCaseIdIsNull() {
addCriterion("case_id is null");
return (Criteria) this;
}
public Criteria andCaseIdIsNotNull() {
addCriterion("case_id is not null");
return (Criteria) this;
}
public Criteria andCaseIdEqualTo(String value) {
addCriterion("case_id =", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotEqualTo(String value) {
addCriterion("case_id <>", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdGreaterThan(String value) {
addCriterion("case_id >", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdGreaterThanOrEqualTo(String value) {
addCriterion("case_id >=", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLessThan(String value) {
addCriterion("case_id <", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLessThanOrEqualTo(String value) {
addCriterion("case_id <=", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLike(String value) {
addCriterion("case_id like", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotLike(String value) {
addCriterion("case_id not like", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdIn(List<String> values) {
addCriterion("case_id in", values, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotIn(List<String> values) {
addCriterion("case_id not in", values, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdBetween(String value1, String value2) {
addCriterion("case_id between", value1, value2, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotBetween(String value1, String value2) {
addCriterion("case_id not between", value1, value2, "caseId");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,89 @@
package com.sztzjy.bank.entity;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* case_info
*/
public class CaseInfo {
@ApiModelProperty(notes = "主键,唯一标识每个案例")
private String caseId;
@ApiModelProperty(notes = "小模块(如:录入客户信息、开设银行卡)")
private String module;
@ApiModelProperty(notes = "第几套数据")
private Integer number;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "更新时间")
private Date updateTime;
@ApiModelProperty(notes = "大模块(如:个人银行卡业务、个人存取款业务等)")
private String largeModule;
@ApiModelProperty(notes = "案例描述")
private String description;
public String getCaseId() {
return caseId;
}
public void setCaseId(String caseId) {
this.caseId = caseId == null ? null : caseId.trim();
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module == null ? null : module.trim();
}
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getLargeModule() {
return largeModule;
}
public void setLargeModule(String largeModule) {
this.largeModule = largeModule == null ? null : largeModule.trim();
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
}

@ -0,0 +1,590 @@
package com.sztzjy.bank.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CaseInfoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public CaseInfoExample() {
oredCriteria = new ArrayList<>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andCaseIdIsNull() {
addCriterion("case_id is null");
return (Criteria) this;
}
public Criteria andCaseIdIsNotNull() {
addCriterion("case_id is not null");
return (Criteria) this;
}
public Criteria andCaseIdEqualTo(String value) {
addCriterion("case_id =", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotEqualTo(String value) {
addCriterion("case_id <>", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdGreaterThan(String value) {
addCriterion("case_id >", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdGreaterThanOrEqualTo(String value) {
addCriterion("case_id >=", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLessThan(String value) {
addCriterion("case_id <", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLessThanOrEqualTo(String value) {
addCriterion("case_id <=", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdLike(String value) {
addCriterion("case_id like", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotLike(String value) {
addCriterion("case_id not like", value, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdIn(List<String> values) {
addCriterion("case_id in", values, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotIn(List<String> values) {
addCriterion("case_id not in", values, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdBetween(String value1, String value2) {
addCriterion("case_id between", value1, value2, "caseId");
return (Criteria) this;
}
public Criteria andCaseIdNotBetween(String value1, String value2) {
addCriterion("case_id not between", value1, value2, "caseId");
return (Criteria) this;
}
public Criteria andModuleIsNull() {
addCriterion("module is null");
return (Criteria) this;
}
public Criteria andModuleIsNotNull() {
addCriterion("module is not null");
return (Criteria) this;
}
public Criteria andModuleEqualTo(String value) {
addCriterion("module =", value, "module");
return (Criteria) this;
}
public Criteria andModuleNotEqualTo(String value) {
addCriterion("module <>", value, "module");
return (Criteria) this;
}
public Criteria andModuleGreaterThan(String value) {
addCriterion("module >", value, "module");
return (Criteria) this;
}
public Criteria andModuleGreaterThanOrEqualTo(String value) {
addCriterion("module >=", value, "module");
return (Criteria) this;
}
public Criteria andModuleLessThan(String value) {
addCriterion("module <", value, "module");
return (Criteria) this;
}
public Criteria andModuleLessThanOrEqualTo(String value) {
addCriterion("module <=", value, "module");
return (Criteria) this;
}
public Criteria andModuleLike(String value) {
addCriterion("module like", value, "module");
return (Criteria) this;
}
public Criteria andModuleNotLike(String value) {
addCriterion("module not like", value, "module");
return (Criteria) this;
}
public Criteria andModuleIn(List<String> values) {
addCriterion("module in", values, "module");
return (Criteria) this;
}
public Criteria andModuleNotIn(List<String> values) {
addCriterion("module not in", values, "module");
return (Criteria) this;
}
public Criteria andModuleBetween(String value1, String value2) {
addCriterion("module between", value1, value2, "module");
return (Criteria) this;
}
public Criteria andModuleNotBetween(String value1, String value2) {
addCriterion("module not between", value1, value2, "module");
return (Criteria) this;
}
public Criteria andNumberIsNull() {
addCriterion("number is null");
return (Criteria) this;
}
public Criteria andNumberIsNotNull() {
addCriterion("number is not null");
return (Criteria) this;
}
public Criteria andNumberEqualTo(Integer value) {
addCriterion("number =", value, "number");
return (Criteria) this;
}
public Criteria andNumberNotEqualTo(Integer value) {
addCriterion("number <>", value, "number");
return (Criteria) this;
}
public Criteria andNumberGreaterThan(Integer value) {
addCriterion("number >", value, "number");
return (Criteria) this;
}
public Criteria andNumberGreaterThanOrEqualTo(Integer value) {
addCriterion("number >=", value, "number");
return (Criteria) this;
}
public Criteria andNumberLessThan(Integer value) {
addCriterion("number <", value, "number");
return (Criteria) this;
}
public Criteria andNumberLessThanOrEqualTo(Integer value) {
addCriterion("number <=", value, "number");
return (Criteria) this;
}
public Criteria andNumberIn(List<Integer> values) {
addCriterion("number in", values, "number");
return (Criteria) this;
}
public Criteria andNumberNotIn(List<Integer> values) {
addCriterion("number not in", values, "number");
return (Criteria) this;
}
public Criteria andNumberBetween(Integer value1, Integer value2) {
addCriterion("number between", value1, value2, "number");
return (Criteria) this;
}
public Criteria andNumberNotBetween(Integer value1, Integer value2) {
addCriterion("number not between", value1, value2, "number");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andLargeModuleIsNull() {
addCriterion("large_module is null");
return (Criteria) this;
}
public Criteria andLargeModuleIsNotNull() {
addCriterion("large_module is not null");
return (Criteria) this;
}
public Criteria andLargeModuleEqualTo(String value) {
addCriterion("large_module =", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleNotEqualTo(String value) {
addCriterion("large_module <>", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleGreaterThan(String value) {
addCriterion("large_module >", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleGreaterThanOrEqualTo(String value) {
addCriterion("large_module >=", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleLessThan(String value) {
addCriterion("large_module <", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleLessThanOrEqualTo(String value) {
addCriterion("large_module <=", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleLike(String value) {
addCriterion("large_module like", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleNotLike(String value) {
addCriterion("large_module not like", value, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleIn(List<String> values) {
addCriterion("large_module in", values, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleNotIn(List<String> values) {
addCriterion("large_module not in", values, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleBetween(String value1, String value2) {
addCriterion("large_module between", value1, value2, "largeModule");
return (Criteria) this;
}
public Criteria andLargeModuleNotBetween(String value1, String value2) {
addCriterion("large_module not between", value1, value2, "largeModule");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,331 @@
package com.sztzjy.bank.entity;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
/**
*
*
* @author whb
* customer_information
*/
public class CustomerInformation {
@ApiModelProperty(notes = "id")
private String id;
@ApiModelProperty(notes = "用户ID")
private String userId;
@ApiModelProperty(notes = "中文名称")
private String chName;
@ApiModelProperty(notes = "英文名称")
private String usName;
@ApiModelProperty(notes = "性别(0:女 1男)")
private Integer sex;
@ApiModelProperty(notes = "民群")
private String nationality;
@ApiModelProperty(notes = "证件类型")
private String idType;
@ApiModelProperty(notes = "证件号码")
private String idNumber;
@ApiModelProperty(notes = "期限类型")
private String deadlineType;
@ApiModelProperty(notes = "出生日期")
private Date birthday;
@ApiModelProperty(notes = "发证机关")
private String licenceIssuAuth;
@ApiModelProperty(notes = "有效开始日期")
private Date effectiveStartDate;
@ApiModelProperty(notes = "有效终止日期")
private Date effectiveEndDate;
@ApiModelProperty(notes = "户籍地址")
private String address;
@ApiModelProperty(notes = "婚姻状况")
private String maritalStatus;
@ApiModelProperty(notes = "职业")
private String career;
@ApiModelProperty(notes = "通讯地址")
private String mailAddress;
@ApiModelProperty(notes = "联系电话")
private String tel;
@ApiModelProperty(notes = "是否居民0不是 1是")
private Integer isResident;
@ApiModelProperty(notes = "风险等级")
private String riskLevel;
@ApiModelProperty(notes = "客户号")
private String customerNo;
@ApiModelProperty(notes = "流水号")
private String serialNumber;
@ApiModelProperty(notes = "经办机构")
private String handlingAgency;
@ApiModelProperty(notes = "经办柜员")
private String handlingTeller;
@ApiModelProperty(notes = "创建时间")
private Date createTime;
@ApiModelProperty(notes = "更新时间")
private Date updateTime;
@ApiModelProperty(notes = "提交状态1已提交 0未提交")
private Integer subState;
@ApiModelProperty(notes = "错误次数")
private Integer errorNumber;
@ApiModelProperty(notes = "第几套案例1、2、3")
private Integer number;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId == null ? null : userId.trim();
}
public String getChName() {
return chName;
}
public void setChName(String chName) {
this.chName = chName == null ? null : chName.trim();
}
public String getUsName() {
return usName;
}
public void setUsName(String usName) {
this.usName = usName == null ? null : usName.trim();
}
public Integer getSex() {
return sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public String getNationality() {
return nationality;
}
public void setNationality(String nationality) {
this.nationality = nationality == null ? null : nationality.trim();
}
public String getIdType() {
return idType;
}
public void setIdType(String idType) {
this.idType = idType == null ? null : idType.trim();
}
public String getIdNumber() {
return idNumber;
}
public void setIdNumber(String idNumber) {
this.idNumber = idNumber == null ? null : idNumber.trim();
}
public String getDeadlineType() {
return deadlineType;
}
public void setDeadlineType(String deadlineType) {
this.deadlineType = deadlineType == null ? null : deadlineType.trim();
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public String getLicenceIssuAuth() {
return licenceIssuAuth;
}
public void setLicenceIssuAuth(String licenceIssuAuth) {
this.licenceIssuAuth = licenceIssuAuth == null ? null : licenceIssuAuth.trim();
}
public Date getEffectiveStartDate() {
return effectiveStartDate;
}
public void setEffectiveStartDate(Date effectiveStartDate) {
this.effectiveStartDate = effectiveStartDate;
}
public Date getEffectiveEndDate() {
return effectiveEndDate;
}
public void setEffectiveEndDate(Date effectiveEndDate) {
this.effectiveEndDate = effectiveEndDate;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address == null ? null : address.trim();
}
public String getMaritalStatus() {
return maritalStatus;
}
public void setMaritalStatus(String maritalStatus) {
this.maritalStatus = maritalStatus == null ? null : maritalStatus.trim();
}
public String getCareer() {
return career;
}
public void setCareer(String career) {
this.career = career == null ? null : career.trim();
}
public String getMailAddress() {
return mailAddress;
}
public void setMailAddress(String mailAddress) {
this.mailAddress = mailAddress == null ? null : mailAddress.trim();
}
public String getTel() {
return tel;
}
public void setTel(String tel) {
this.tel = tel == null ? null : tel.trim();
}
public Integer getIsResident() {
return isResident;
}
public void setIsResident(Integer isResident) {
this.isResident = isResident;
}
public String getRiskLevel() {
return riskLevel;
}
public void setRiskLevel(String riskLevel) {
this.riskLevel = riskLevel == null ? null : riskLevel.trim();
}
public String getCustomerNo() {
return customerNo;
}
public void setCustomerNo(String customerNo) {
this.customerNo = customerNo == null ? null : customerNo.trim();
}
public String getSerialNumber() {
return serialNumber;
}
public void setSerialNumber(String serialNumber) {
this.serialNumber = serialNumber == null ? null : serialNumber.trim();
}
public String getHandlingAgency() {
return handlingAgency;
}
public void setHandlingAgency(String handlingAgency) {
this.handlingAgency = handlingAgency == null ? null : handlingAgency.trim();
}
public String getHandlingTeller() {
return handlingTeller;
}
public void setHandlingTeller(String handlingTeller) {
this.handlingTeller = handlingTeller == null ? null : handlingTeller.trim();
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getSubState() {
return subState;
}
public void setSubState(Integer subState) {
this.subState = subState;
}
public Integer getErrorNumber() {
return errorNumber;
}
public void setErrorNumber(Integer errorNumber) {
this.errorNumber = errorNumber;
}
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
}

@ -0,0 +1,55 @@
package com.sztzjy.bank.entity.dto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @author 17803
* @date 2025-01-14 16:25
*/
@Data
public class CustomerInformationAnswerDTO {
@ApiModelProperty(notes = "中文名称")
private String chName;
@ApiModelProperty(notes = "性别(0:女 1男)")
private Integer sex;
@ApiModelProperty(notes = "民群")
private String nationality;
@ApiModelProperty(notes = "证件类型")
private String idType;
@ApiModelProperty(notes = "证件号码")
private String idNumber;
@ApiModelProperty(notes = "期限类型")
private String deadlineType;
@ApiModelProperty(notes = "出生日期")
private Date birthday;
@ApiModelProperty(notes = "发证机关")
private String licenceIssuAuth;
@ApiModelProperty(notes = "有效开始日期")
private Date effectiveStartDate;
@ApiModelProperty(notes = "有效终止日期")
private Date effectiveEndDate;
@ApiModelProperty(notes = "户籍地址")
private String address;
@ApiModelProperty(notes = "通讯地址")
private String mailAddress;
@ApiModelProperty(notes = "联系电话")
private String tel;
}

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

@ -0,0 +1,36 @@
package com.sztzjy.bank.mapper;
import com.sztzjy.bank.entity.CaseAnswerInfo;
import com.sztzjy.bank.entity.CaseAnswerInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CaseAnswerInfoMapper {
long countByExample(CaseAnswerInfoExample example);
int deleteByExample(CaseAnswerInfoExample example);
int deleteByPrimaryKey(String id);
int insert(CaseAnswerInfo record);
int insertSelective(CaseAnswerInfo record);
List<CaseAnswerInfo> selectByExampleWithBLOBs(CaseAnswerInfoExample example);
List<CaseAnswerInfo> selectByExample(CaseAnswerInfoExample example);
CaseAnswerInfo selectByPrimaryKey(String id);
int updateByExampleSelective(@Param("record") CaseAnswerInfo record, @Param("example") CaseAnswerInfoExample example);
int updateByExampleWithBLOBs(@Param("record") CaseAnswerInfo record, @Param("example") CaseAnswerInfoExample example);
int updateByExample(@Param("record") CaseAnswerInfo record, @Param("example") CaseAnswerInfoExample example);
int updateByPrimaryKeySelective(CaseAnswerInfo record);
int updateByPrimaryKeyWithBLOBs(CaseAnswerInfo record);
int updateByPrimaryKey(CaseAnswerInfo record);
}

@ -0,0 +1,36 @@
package com.sztzjy.bank.mapper;
import com.sztzjy.bank.entity.CaseInfo;
import com.sztzjy.bank.entity.CaseInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface CaseInfoMapper {
long countByExample(CaseInfoExample example);
int deleteByExample(CaseInfoExample example);
int deleteByPrimaryKey(String caseId);
int insert(CaseInfo record);
int insertSelective(CaseInfo record);
List<CaseInfo> selectByExampleWithBLOBs(CaseInfoExample example);
List<CaseInfo> selectByExample(CaseInfoExample example);
CaseInfo selectByPrimaryKey(String caseId);
int updateByExampleSelective(@Param("record") CaseInfo record, @Param("example") CaseInfoExample example);
int updateByExampleWithBLOBs(@Param("record") CaseInfo record, @Param("example") CaseInfoExample example);
int updateByExample(@Param("record") CaseInfo record, @Param("example") CaseInfoExample example);
int updateByPrimaryKeySelective(CaseInfo record);
int updateByPrimaryKeyWithBLOBs(CaseInfo record);
int updateByPrimaryKey(CaseInfo record);
}

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

@ -0,0 +1,401 @@
<?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.bank.mapper.BankCardInformationMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.BankCardInformation">
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="customer_id" jdbcType="VARCHAR" property="customerId" />
<result column="currency" jdbcType="VARCHAR" property="currency" />
<result column="currency_exchange_symbol" jdbcType="VARCHAR" property="currencyExchangeSymbol" />
<result column="classify_type" jdbcType="VARCHAR" property="classifyType" />
<result column="nature_account" jdbcType="VARCHAR" property="natureAccount" />
<result column="voucher_type" jdbcType="VARCHAR" property="voucherType" />
<result column="withdrawal_method" jdbcType="VARCHAR" property="withdrawalMethod" />
<result column="withdrawal_pwd" jdbcType="VARCHAR" property="withdrawalPwd" />
<result column="confirm_password" jdbcType="VARCHAR" property="confirmPassword" />
<result column="bank_card_number" jdbcType="VARCHAR" property="bankCardNumber" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="sub_state" jdbcType="INTEGER" property="subState" />
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
<result column="number" jdbcType="INTEGER" property="number" />
</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, customer_id, currency, currency_exchange_symbol, classify_type, nature_account,
voucher_type, withdrawal_method, withdrawal_pwd, confirm_password, bank_card_number,
create_time, update_time, user_id, sub_state, error_number, number
</sql>
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.BankCardInformationExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from bank_card_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from bank_card_information
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
delete from bank_card_information
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.BankCardInformationExample">
delete from bank_card_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.bank.entity.BankCardInformation">
insert into bank_card_information (id, customer_id, currency,
currency_exchange_symbol, classify_type, nature_account,
voucher_type, withdrawal_method, withdrawal_pwd,
confirm_password, bank_card_number, create_time,
update_time, user_id, sub_state,
error_number, number)
values (#{id,jdbcType=VARCHAR}, #{customerId,jdbcType=VARCHAR}, #{currency,jdbcType=VARCHAR},
#{currencyExchangeSymbol,jdbcType=VARCHAR}, #{classifyType,jdbcType=VARCHAR}, #{natureAccount,jdbcType=VARCHAR},
#{voucherType,jdbcType=VARCHAR}, #{withdrawalMethod,jdbcType=VARCHAR}, #{withdrawalPwd,jdbcType=VARCHAR},
#{confirmPassword,jdbcType=VARCHAR}, #{bankCardNumber,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{userId,jdbcType=VARCHAR}, #{subState,jdbcType=INTEGER},
#{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.BankCardInformation">
insert into bank_card_information
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="customerId != null">
customer_id,
</if>
<if test="currency != null">
currency,
</if>
<if test="currencyExchangeSymbol != null">
currency_exchange_symbol,
</if>
<if test="classifyType != null">
classify_type,
</if>
<if test="natureAccount != null">
nature_account,
</if>
<if test="voucherType != null">
voucher_type,
</if>
<if test="withdrawalMethod != null">
withdrawal_method,
</if>
<if test="withdrawalPwd != null">
withdrawal_pwd,
</if>
<if test="confirmPassword != null">
confirm_password,
</if>
<if test="bankCardNumber != null">
bank_card_number,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="userId != null">
user_id,
</if>
<if test="subState != null">
sub_state,
</if>
<if test="errorNumber != null">
error_number,
</if>
<if test="number != null">
number,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=VARCHAR},
</if>
<if test="customerId != null">
#{customerId,jdbcType=VARCHAR},
</if>
<if test="currency != null">
#{currency,jdbcType=VARCHAR},
</if>
<if test="currencyExchangeSymbol != null">
#{currencyExchangeSymbol,jdbcType=VARCHAR},
</if>
<if test="classifyType != null">
#{classifyType,jdbcType=VARCHAR},
</if>
<if test="natureAccount != null">
#{natureAccount,jdbcType=VARCHAR},
</if>
<if test="voucherType != null">
#{voucherType,jdbcType=VARCHAR},
</if>
<if test="withdrawalMethod != null">
#{withdrawalMethod,jdbcType=VARCHAR},
</if>
<if test="withdrawalPwd != null">
#{withdrawalPwd,jdbcType=VARCHAR},
</if>
<if test="confirmPassword != null">
#{confirmPassword,jdbcType=VARCHAR},
</if>
<if test="bankCardNumber != null">
#{bankCardNumber,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
#{subState,jdbcType=INTEGER},
</if>
<if test="errorNumber != null">
#{errorNumber,jdbcType=INTEGER},
</if>
<if test="number != null">
#{number,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.bank.entity.BankCardInformationExample" resultType="java.lang.Long">
select count(*) from bank_card_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update bank_card_information
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=VARCHAR},
</if>
<if test="record.customerId != null">
customer_id = #{record.customerId,jdbcType=VARCHAR},
</if>
<if test="record.currency != null">
currency = #{record.currency,jdbcType=VARCHAR},
</if>
<if test="record.currencyExchangeSymbol != null">
currency_exchange_symbol = #{record.currencyExchangeSymbol,jdbcType=VARCHAR},
</if>
<if test="record.classifyType != null">
classify_type = #{record.classifyType,jdbcType=VARCHAR},
</if>
<if test="record.natureAccount != null">
nature_account = #{record.natureAccount,jdbcType=VARCHAR},
</if>
<if test="record.voucherType != null">
voucher_type = #{record.voucherType,jdbcType=VARCHAR},
</if>
<if test="record.withdrawalMethod != null">
withdrawal_method = #{record.withdrawalMethod,jdbcType=VARCHAR},
</if>
<if test="record.withdrawalPwd != null">
withdrawal_pwd = #{record.withdrawalPwd,jdbcType=VARCHAR},
</if>
<if test="record.confirmPassword != null">
confirm_password = #{record.confirmPassword,jdbcType=VARCHAR},
</if>
<if test="record.bankCardNumber != null">
bank_card_number = #{record.bankCardNumber,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<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.errorNumber != null">
error_number = #{record.errorNumber,jdbcType=INTEGER},
</if>
<if test="record.number != null">
number = #{record.number,jdbcType=INTEGER},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update bank_card_information
set id = #{record.id,jdbcType=VARCHAR},
customer_id = #{record.customerId,jdbcType=VARCHAR},
currency = #{record.currency,jdbcType=VARCHAR},
currency_exchange_symbol = #{record.currencyExchangeSymbol,jdbcType=VARCHAR},
classify_type = #{record.classifyType,jdbcType=VARCHAR},
nature_account = #{record.natureAccount,jdbcType=VARCHAR},
voucher_type = #{record.voucherType,jdbcType=VARCHAR},
withdrawal_method = #{record.withdrawalMethod,jdbcType=VARCHAR},
withdrawal_pwd = #{record.withdrawalPwd,jdbcType=VARCHAR},
confirm_password = #{record.confirmPassword,jdbcType=VARCHAR},
bank_card_number = #{record.bankCardNumber,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
user_id = #{record.userId,jdbcType=VARCHAR},
sub_state = #{record.subState,jdbcType=INTEGER},
error_number = #{record.errorNumber,jdbcType=INTEGER},
number = #{record.number,jdbcType=INTEGER}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.BankCardInformation">
update bank_card_information
<set>
<if test="customerId != null">
customer_id = #{customerId,jdbcType=VARCHAR},
</if>
<if test="currency != null">
currency = #{currency,jdbcType=VARCHAR},
</if>
<if test="currencyExchangeSymbol != null">
currency_exchange_symbol = #{currencyExchangeSymbol,jdbcType=VARCHAR},
</if>
<if test="classifyType != null">
classify_type = #{classifyType,jdbcType=VARCHAR},
</if>
<if test="natureAccount != null">
nature_account = #{natureAccount,jdbcType=VARCHAR},
</if>
<if test="voucherType != null">
voucher_type = #{voucherType,jdbcType=VARCHAR},
</if>
<if test="withdrawalMethod != null">
withdrawal_method = #{withdrawalMethod,jdbcType=VARCHAR},
</if>
<if test="withdrawalPwd != null">
withdrawal_pwd = #{withdrawalPwd,jdbcType=VARCHAR},
</if>
<if test="confirmPassword != null">
confirm_password = #{confirmPassword,jdbcType=VARCHAR},
</if>
<if test="bankCardNumber != null">
bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="subState != null">
sub_state = #{subState,jdbcType=INTEGER},
</if>
<if test="errorNumber != null">
error_number = #{errorNumber,jdbcType=INTEGER},
</if>
<if test="number != null">
number = #{number,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.BankCardInformation">
update bank_card_information
set customer_id = #{customerId,jdbcType=VARCHAR},
currency = #{currency,jdbcType=VARCHAR},
currency_exchange_symbol = #{currencyExchangeSymbol,jdbcType=VARCHAR},
classify_type = #{classifyType,jdbcType=VARCHAR},
nature_account = #{natureAccount,jdbcType=VARCHAR},
voucher_type = #{voucherType,jdbcType=VARCHAR},
withdrawal_method = #{withdrawalMethod,jdbcType=VARCHAR},
withdrawal_pwd = #{withdrawalPwd,jdbcType=VARCHAR},
confirm_password = #{confirmPassword,jdbcType=VARCHAR},
bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
user_id = #{userId,jdbcType=VARCHAR},
sub_state = #{subState,jdbcType=INTEGER},
error_number = #{errorNumber,jdbcType=INTEGER},
number = #{number,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -0,0 +1,234 @@
<?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.bank.mapper.CaseAnswerInfoMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.CaseAnswerInfo">
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="case_id" jdbcType="VARCHAR" property="caseId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.bank.entity.CaseAnswerInfo">
<result column="answer" jdbcType="LONGVARCHAR" property="answer" />
</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, case_id, create_time
</sql>
<sql id="Blob_Column_List">
answer
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.bank.entity.CaseAnswerInfoExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from case_answer_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.CaseAnswerInfoExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from case_answer_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from case_answer_info
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
delete from case_answer_info
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.CaseAnswerInfoExample">
delete from case_answer_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.bank.entity.CaseAnswerInfo">
insert into case_answer_info (id, case_id, create_time,
answer)
values (#{id,jdbcType=VARCHAR}, #{caseId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{answer,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.CaseAnswerInfo">
insert into case_answer_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="caseId != null">
case_id,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="answer != null">
answer,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=VARCHAR},
</if>
<if test="caseId != null">
#{caseId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="answer != null">
#{answer,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.bank.entity.CaseAnswerInfoExample" resultType="java.lang.Long">
select count(*) from case_answer_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update case_answer_info
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=VARCHAR},
</if>
<if test="record.caseId != null">
case_id = #{record.caseId,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.answer != null">
answer = #{record.answer,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update case_answer_info
set id = #{record.id,jdbcType=VARCHAR},
case_id = #{record.caseId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
answer = #{record.answer,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update case_answer_info
set id = #{record.id,jdbcType=VARCHAR},
case_id = #{record.caseId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.CaseAnswerInfo">
update case_answer_info
<set>
<if test="caseId != null">
case_id = #{caseId,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="answer != null">
answer = #{answer,jdbcType=LONGVARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.bank.entity.CaseAnswerInfo">
update case_answer_info
set case_id = #{caseId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
answer = #{answer,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.CaseAnswerInfo">
update case_answer_info
set case_id = #{caseId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>

@ -0,0 +1,287 @@
<?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.bank.mapper.CaseInfoMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.CaseInfo">
<id column="case_id" jdbcType="VARCHAR" property="caseId" />
<result column="module" jdbcType="VARCHAR" property="module" />
<result column="number" jdbcType="INTEGER" property="number" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="large_module" jdbcType="VARCHAR" property="largeModule" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.bank.entity.CaseInfo">
<result column="description" jdbcType="LONGVARCHAR" property="description" />
</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">
case_id, module, number, create_time, update_time, large_module
</sql>
<sql id="Blob_Column_List">
description
</sql>
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.bank.entity.CaseInfoExample" resultMap="ResultMapWithBLOBs">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from case_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.CaseInfoExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from case_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
select
<include refid="Base_Column_List" />
,
<include refid="Blob_Column_List" />
from case_info
where case_id = #{caseId,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
delete from case_info
where case_id = #{caseId,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.CaseInfoExample">
delete from case_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.bank.entity.CaseInfo">
insert into case_info (case_id, module, number,
create_time, update_time, large_module,
description)
values (#{caseId,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{largeModule,jdbcType=VARCHAR},
#{description,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.CaseInfo">
insert into case_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="caseId != null">
case_id,
</if>
<if test="module != null">
module,
</if>
<if test="number != null">
number,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="largeModule != null">
large_module,
</if>
<if test="description != null">
description,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="caseId != null">
#{caseId,jdbcType=VARCHAR},
</if>
<if test="module != null">
#{module,jdbcType=VARCHAR},
</if>
<if test="number != null">
#{number,jdbcType=INTEGER},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="largeModule != null">
#{largeModule,jdbcType=VARCHAR},
</if>
<if test="description != null">
#{description,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.bank.entity.CaseInfoExample" resultType="java.lang.Long">
select count(*) from case_info
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update case_info
<set>
<if test="record.caseId != null">
case_id = #{record.caseId,jdbcType=VARCHAR},
</if>
<if test="record.module != null">
module = #{record.module,jdbcType=VARCHAR},
</if>
<if test="record.number != null">
number = #{record.number,jdbcType=INTEGER},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.largeModule != null">
large_module = #{record.largeModule,jdbcType=VARCHAR},
</if>
<if test="record.description != null">
description = #{record.description,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExampleWithBLOBs" parameterType="map">
update case_info
set case_id = #{record.caseId,jdbcType=VARCHAR},
module = #{record.module,jdbcType=VARCHAR},
number = #{record.number,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
large_module = #{record.largeModule,jdbcType=VARCHAR},
description = #{record.description,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update case_info
set case_id = #{record.caseId,jdbcType=VARCHAR},
module = #{record.module,jdbcType=VARCHAR},
number = #{record.number,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
large_module = #{record.largeModule,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.CaseInfo">
update case_info
<set>
<if test="module != null">
module = #{module,jdbcType=VARCHAR},
</if>
<if test="number != null">
number = #{number,jdbcType=INTEGER},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="largeModule != null">
large_module = #{largeModule,jdbcType=VARCHAR},
</if>
<if test="description != null">
description = #{description,jdbcType=LONGVARCHAR},
</if>
</set>
where case_id = #{caseId,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.bank.entity.CaseInfo">
update case_info
set module = #{module,jdbcType=VARCHAR},
number = #{number,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
large_module = #{largeModule,jdbcType=VARCHAR},
description = #{description,jdbcType=LONGVARCHAR}
where case_id = #{caseId,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.CaseInfo">
update case_info
set module = #{module,jdbcType=VARCHAR},
number = #{number,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
large_module = #{largeModule,jdbcType=VARCHAR}
where case_id = #{caseId,jdbcType=VARCHAR}
</update>
</mapper>

@ -0,0 +1,590 @@
<?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.bank.mapper.CustomerInformationMapper">
<resultMap id="BaseResultMap" type="com.sztzjy.bank.entity.CustomerInformation">
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="user_id" jdbcType="VARCHAR" property="userId" />
<result column="ch_name" jdbcType="VARCHAR" property="chName" />
<result column="us_name" jdbcType="VARCHAR" property="usName" />
<result column="sex" jdbcType="INTEGER" property="sex" />
<result column="nationality" jdbcType="VARCHAR" property="nationality" />
<result column="id_type" jdbcType="VARCHAR" property="idType" />
<result column="id_number" jdbcType="VARCHAR" property="idNumber" />
<result column="deadline_type" jdbcType="VARCHAR" property="deadlineType" />
<result column="birthday" jdbcType="TIMESTAMP" property="birthday" />
<result column="licence_issu_auth" jdbcType="VARCHAR" property="licenceIssuAuth" />
<result column="effective_start_date" jdbcType="TIMESTAMP" property="effectiveStartDate" />
<result column="effective_end_date" jdbcType="TIMESTAMP" property="effectiveEndDate" />
<result column="address" jdbcType="VARCHAR" property="address" />
<result column="marital_status" jdbcType="VARCHAR" property="maritalStatus" />
<result column="career" jdbcType="VARCHAR" property="career" />
<result column="mail_address" jdbcType="VARCHAR" property="mailAddress" />
<result column="tel" jdbcType="VARCHAR" property="tel" />
<result column="Is_resident" jdbcType="INTEGER" property="isResident" />
<result column="risk_level" jdbcType="VARCHAR" property="riskLevel" />
<result column="customer_no" jdbcType="VARCHAR" property="customerNo" />
<result column="serial_number" jdbcType="VARCHAR" property="serialNumber" />
<result column="handling_agency" jdbcType="VARCHAR" property="handlingAgency" />
<result column="handling_teller" jdbcType="VARCHAR" property="handlingTeller" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="sub_state" jdbcType="INTEGER" property="subState" />
<result column="error_number" jdbcType="INTEGER" property="errorNumber" />
<result column="number" jdbcType="INTEGER" property="number" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
id, user_id, ch_name, us_name, sex, nationality, id_type, id_number, deadline_type,
birthday, licence_issu_auth, effective_start_date, effective_end_date, address, marital_status,
career, mail_address, tel, Is_resident, risk_level, customer_no, serial_number, handling_agency,
handling_teller, create_time, update_time, sub_state, error_number, number
</sql>
<select id="selectByExample" parameterType="com.sztzjy.bank.entity.CustomerInformationExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from customer_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from customer_information
where id = #{id,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
delete from customer_information
where id = #{id,jdbcType=VARCHAR}
</delete>
<delete id="deleteByExample" parameterType="com.sztzjy.bank.entity.CustomerInformationExample">
delete from customer_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.sztzjy.bank.entity.CustomerInformation">
insert into customer_information (id, user_id, ch_name,
us_name, sex, nationality,
id_type, id_number, deadline_type,
birthday, licence_issu_auth, effective_start_date,
effective_end_date, address, marital_status,
career, mail_address, tel,
Is_resident, risk_level, customer_no,
serial_number, handling_agency, handling_teller,
create_time, update_time, sub_state,
error_number, number)
values (#{id,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{chName,jdbcType=VARCHAR},
#{usName,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER}, #{nationality,jdbcType=VARCHAR},
#{idType,jdbcType=VARCHAR}, #{idNumber,jdbcType=VARCHAR}, #{deadlineType,jdbcType=VARCHAR},
#{birthday,jdbcType=TIMESTAMP}, #{licenceIssuAuth,jdbcType=VARCHAR}, #{effectiveStartDate,jdbcType=TIMESTAMP},
#{effectiveEndDate,jdbcType=TIMESTAMP}, #{address,jdbcType=VARCHAR}, #{maritalStatus,jdbcType=VARCHAR},
#{career,jdbcType=VARCHAR}, #{mailAddress,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR},
#{isResident,jdbcType=INTEGER}, #{riskLevel,jdbcType=VARCHAR}, #{customerNo,jdbcType=VARCHAR},
#{serialNumber,jdbcType=VARCHAR}, #{handlingAgency,jdbcType=VARCHAR}, #{handlingTeller,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{subState,jdbcType=INTEGER},
#{errorNumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.sztzjy.bank.entity.CustomerInformation">
insert into customer_information
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="userId != null">
user_id,
</if>
<if test="chName != null">
ch_name,
</if>
<if test="usName != null">
us_name,
</if>
<if test="sex != null">
sex,
</if>
<if test="nationality != null">
nationality,
</if>
<if test="idType != null">
id_type,
</if>
<if test="idNumber != null">
id_number,
</if>
<if test="deadlineType != null">
deadline_type,
</if>
<if test="birthday != null">
birthday,
</if>
<if test="licenceIssuAuth != null">
licence_issu_auth,
</if>
<if test="effectiveStartDate != null">
effective_start_date,
</if>
<if test="effectiveEndDate != null">
effective_end_date,
</if>
<if test="address != null">
address,
</if>
<if test="maritalStatus != null">
marital_status,
</if>
<if test="career != null">
career,
</if>
<if test="mailAddress != null">
mail_address,
</if>
<if test="tel != null">
tel,
</if>
<if test="isResident != null">
Is_resident,
</if>
<if test="riskLevel != null">
risk_level,
</if>
<if test="customerNo != null">
customer_no,
</if>
<if test="serialNumber != null">
serial_number,
</if>
<if test="handlingAgency != null">
handling_agency,
</if>
<if test="handlingTeller != null">
handling_teller,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="subState != null">
sub_state,
</if>
<if test="errorNumber != null">
error_number,
</if>
<if test="number != null">
number,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=VARCHAR},
</if>
<if test="userId != null">
#{userId,jdbcType=VARCHAR},
</if>
<if test="chName != null">
#{chName,jdbcType=VARCHAR},
</if>
<if test="usName != null">
#{usName,jdbcType=VARCHAR},
</if>
<if test="sex != null">
#{sex,jdbcType=INTEGER},
</if>
<if test="nationality != null">
#{nationality,jdbcType=VARCHAR},
</if>
<if test="idType != null">
#{idType,jdbcType=VARCHAR},
</if>
<if test="idNumber != null">
#{idNumber,jdbcType=VARCHAR},
</if>
<if test="deadlineType != null">
#{deadlineType,jdbcType=VARCHAR},
</if>
<if test="birthday != null">
#{birthday,jdbcType=TIMESTAMP},
</if>
<if test="licenceIssuAuth != null">
#{licenceIssuAuth,jdbcType=VARCHAR},
</if>
<if test="effectiveStartDate != null">
#{effectiveStartDate,jdbcType=TIMESTAMP},
</if>
<if test="effectiveEndDate != null">
#{effectiveEndDate,jdbcType=TIMESTAMP},
</if>
<if test="address != null">
#{address,jdbcType=VARCHAR},
</if>
<if test="maritalStatus != null">
#{maritalStatus,jdbcType=VARCHAR},
</if>
<if test="career != null">
#{career,jdbcType=VARCHAR},
</if>
<if test="mailAddress != null">
#{mailAddress,jdbcType=VARCHAR},
</if>
<if test="tel != null">
#{tel,jdbcType=VARCHAR},
</if>
<if test="isResident != null">
#{isResident,jdbcType=INTEGER},
</if>
<if test="riskLevel != null">
#{riskLevel,jdbcType=VARCHAR},
</if>
<if test="customerNo != null">
#{customerNo,jdbcType=VARCHAR},
</if>
<if test="serialNumber != null">
#{serialNumber,jdbcType=VARCHAR},
</if>
<if test="handlingAgency != null">
#{handlingAgency,jdbcType=VARCHAR},
</if>
<if test="handlingTeller != null">
#{handlingTeller,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="subState != null">
#{subState,jdbcType=INTEGER},
</if>
<if test="errorNumber != null">
#{errorNumber,jdbcType=INTEGER},
</if>
<if test="number != null">
#{number,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.sztzjy.bank.entity.CustomerInformationExample" resultType="java.lang.Long">
select count(*) from customer_information
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update customer_information
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=VARCHAR},
</if>
<if test="record.userId != null">
user_id = #{record.userId,jdbcType=VARCHAR},
</if>
<if test="record.chName != null">
ch_name = #{record.chName,jdbcType=VARCHAR},
</if>
<if test="record.usName != null">
us_name = #{record.usName,jdbcType=VARCHAR},
</if>
<if test="record.sex != null">
sex = #{record.sex,jdbcType=INTEGER},
</if>
<if test="record.nationality != null">
nationality = #{record.nationality,jdbcType=VARCHAR},
</if>
<if test="record.idType != null">
id_type = #{record.idType,jdbcType=VARCHAR},
</if>
<if test="record.idNumber != null">
id_number = #{record.idNumber,jdbcType=VARCHAR},
</if>
<if test="record.deadlineType != null">
deadline_type = #{record.deadlineType,jdbcType=VARCHAR},
</if>
<if test="record.birthday != null">
birthday = #{record.birthday,jdbcType=TIMESTAMP},
</if>
<if test="record.licenceIssuAuth != null">
licence_issu_auth = #{record.licenceIssuAuth,jdbcType=VARCHAR},
</if>
<if test="record.effectiveStartDate != null">
effective_start_date = #{record.effectiveStartDate,jdbcType=TIMESTAMP},
</if>
<if test="record.effectiveEndDate != null">
effective_end_date = #{record.effectiveEndDate,jdbcType=TIMESTAMP},
</if>
<if test="record.address != null">
address = #{record.address,jdbcType=VARCHAR},
</if>
<if test="record.maritalStatus != null">
marital_status = #{record.maritalStatus,jdbcType=VARCHAR},
</if>
<if test="record.career != null">
career = #{record.career,jdbcType=VARCHAR},
</if>
<if test="record.mailAddress != null">
mail_address = #{record.mailAddress,jdbcType=VARCHAR},
</if>
<if test="record.tel != null">
tel = #{record.tel,jdbcType=VARCHAR},
</if>
<if test="record.isResident != null">
Is_resident = #{record.isResident,jdbcType=INTEGER},
</if>
<if test="record.riskLevel != null">
risk_level = #{record.riskLevel,jdbcType=VARCHAR},
</if>
<if test="record.customerNo != null">
customer_no = #{record.customerNo,jdbcType=VARCHAR},
</if>
<if test="record.serialNumber != null">
serial_number = #{record.serialNumber,jdbcType=VARCHAR},
</if>
<if test="record.handlingAgency != null">
handling_agency = #{record.handlingAgency,jdbcType=VARCHAR},
</if>
<if test="record.handlingTeller != null">
handling_teller = #{record.handlingTeller,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.subState != null">
sub_state = #{record.subState,jdbcType=INTEGER},
</if>
<if test="record.errorNumber != null">
error_number = #{record.errorNumber,jdbcType=INTEGER},
</if>
<if test="record.number != null">
number = #{record.number,jdbcType=INTEGER},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update customer_information
set id = #{record.id,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
ch_name = #{record.chName,jdbcType=VARCHAR},
us_name = #{record.usName,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=INTEGER},
nationality = #{record.nationality,jdbcType=VARCHAR},
id_type = #{record.idType,jdbcType=VARCHAR},
id_number = #{record.idNumber,jdbcType=VARCHAR},
deadline_type = #{record.deadlineType,jdbcType=VARCHAR},
birthday = #{record.birthday,jdbcType=TIMESTAMP},
licence_issu_auth = #{record.licenceIssuAuth,jdbcType=VARCHAR},
effective_start_date = #{record.effectiveStartDate,jdbcType=TIMESTAMP},
effective_end_date = #{record.effectiveEndDate,jdbcType=TIMESTAMP},
address = #{record.address,jdbcType=VARCHAR},
marital_status = #{record.maritalStatus,jdbcType=VARCHAR},
career = #{record.career,jdbcType=VARCHAR},
mail_address = #{record.mailAddress,jdbcType=VARCHAR},
tel = #{record.tel,jdbcType=VARCHAR},
Is_resident = #{record.isResident,jdbcType=INTEGER},
risk_level = #{record.riskLevel,jdbcType=VARCHAR},
customer_no = #{record.customerNo,jdbcType=VARCHAR},
serial_number = #{record.serialNumber,jdbcType=VARCHAR},
handling_agency = #{record.handlingAgency,jdbcType=VARCHAR},
handling_teller = #{record.handlingTeller,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
sub_state = #{record.subState,jdbcType=INTEGER},
error_number = #{record.errorNumber,jdbcType=INTEGER},
number = #{record.number,jdbcType=INTEGER}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.bank.entity.CustomerInformation">
update customer_information
<set>
<if test="userId != null">
user_id = #{userId,jdbcType=VARCHAR},
</if>
<if test="chName != null">
ch_name = #{chName,jdbcType=VARCHAR},
</if>
<if test="usName != null">
us_name = #{usName,jdbcType=VARCHAR},
</if>
<if test="sex != null">
sex = #{sex,jdbcType=INTEGER},
</if>
<if test="nationality != null">
nationality = #{nationality,jdbcType=VARCHAR},
</if>
<if test="idType != null">
id_type = #{idType,jdbcType=VARCHAR},
</if>
<if test="idNumber != null">
id_number = #{idNumber,jdbcType=VARCHAR},
</if>
<if test="deadlineType != null">
deadline_type = #{deadlineType,jdbcType=VARCHAR},
</if>
<if test="birthday != null">
birthday = #{birthday,jdbcType=TIMESTAMP},
</if>
<if test="licenceIssuAuth != null">
licence_issu_auth = #{licenceIssuAuth,jdbcType=VARCHAR},
</if>
<if test="effectiveStartDate != null">
effective_start_date = #{effectiveStartDate,jdbcType=TIMESTAMP},
</if>
<if test="effectiveEndDate != null">
effective_end_date = #{effectiveEndDate,jdbcType=TIMESTAMP},
</if>
<if test="address != null">
address = #{address,jdbcType=VARCHAR},
</if>
<if test="maritalStatus != null">
marital_status = #{maritalStatus,jdbcType=VARCHAR},
</if>
<if test="career != null">
career = #{career,jdbcType=VARCHAR},
</if>
<if test="mailAddress != null">
mail_address = #{mailAddress,jdbcType=VARCHAR},
</if>
<if test="tel != null">
tel = #{tel,jdbcType=VARCHAR},
</if>
<if test="isResident != null">
Is_resident = #{isResident,jdbcType=INTEGER},
</if>
<if test="riskLevel != null">
risk_level = #{riskLevel,jdbcType=VARCHAR},
</if>
<if test="customerNo != null">
customer_no = #{customerNo,jdbcType=VARCHAR},
</if>
<if test="serialNumber != null">
serial_number = #{serialNumber,jdbcType=VARCHAR},
</if>
<if test="handlingAgency != null">
handling_agency = #{handlingAgency,jdbcType=VARCHAR},
</if>
<if test="handlingTeller != null">
handling_teller = #{handlingTeller,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="subState != null">
sub_state = #{subState,jdbcType=INTEGER},
</if>
<if test="errorNumber != null">
error_number = #{errorNumber,jdbcType=INTEGER},
</if>
<if test="number != null">
number = #{number,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="com.sztzjy.bank.entity.CustomerInformation">
update customer_information
set user_id = #{userId,jdbcType=VARCHAR},
ch_name = #{chName,jdbcType=VARCHAR},
us_name = #{usName,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
nationality = #{nationality,jdbcType=VARCHAR},
id_type = #{idType,jdbcType=VARCHAR},
id_number = #{idNumber,jdbcType=VARCHAR},
deadline_type = #{deadlineType,jdbcType=VARCHAR},
birthday = #{birthday,jdbcType=TIMESTAMP},
licence_issu_auth = #{licenceIssuAuth,jdbcType=VARCHAR},
effective_start_date = #{effectiveStartDate,jdbcType=TIMESTAMP},
effective_end_date = #{effectiveEndDate,jdbcType=TIMESTAMP},
address = #{address,jdbcType=VARCHAR},
marital_status = #{maritalStatus,jdbcType=VARCHAR},
career = #{career,jdbcType=VARCHAR},
mail_address = #{mailAddress,jdbcType=VARCHAR},
tel = #{tel,jdbcType=VARCHAR},
Is_resident = #{isResident,jdbcType=INTEGER},
risk_level = #{riskLevel,jdbcType=VARCHAR},
customer_no = #{customerNo,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=VARCHAR},
handling_agency = #{handlingAgency,jdbcType=VARCHAR},
handling_teller = #{handlingTeller,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
sub_state = #{subState,jdbcType=INTEGER},
error_number = #{errorNumber,jdbcType=INTEGER},
number = #{number,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
</update>
</mapper>
Loading…
Cancel
Save