diff --git a/src/main/java/com/sztzjy/bank/controller/stu/PersonalBankCardController.java b/src/main/java/com/sztzjy/bank/controller/stu/PersonalBankCardController.java new file mode 100644 index 0000000..f3cf6bf --- /dev/null +++ b/src/main/java/com/sztzjy/bank/controller/stu/PersonalBankCardController.java @@ -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 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); + + + } + + + + +} diff --git a/src/main/java/com/sztzjy/bank/controller/stu/UserController.java b/src/main/java/com/sztzjy/bank/controller/stu/UserController.java index 4357b29..8fc6277 100644 --- a/src/main/java/com/sztzjy/bank/controller/stu/UserController.java +++ b/src/main/java/com/sztzjy/bank/controller/stu/UserController.java @@ -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); diff --git a/src/main/java/com/sztzjy/bank/entity/BankCardInformation.java b/src/main/java/com/sztzjy/bank/entity/BankCardInformation.java new file mode 100644 index 0000000..20087c0 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/BankCardInformation.java @@ -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; + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/BankCardInformationExample.java b/src/main/java/com/sztzjy/bank/entity/BankCardInformationExample.java new file mode 100644 index 0000000..59eaa51 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/BankCardInformationExample.java @@ -0,0 +1,1340 @@ +package com.sztzjy.bank.entity; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class BankCardInformationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public BankCardInformationExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List 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 andCustomerIdIsNull() { + addCriterion("customer_id is null"); + return (Criteria) this; + } + + public Criteria andCustomerIdIsNotNull() { + addCriterion("customer_id is not null"); + return (Criteria) this; + } + + public Criteria andCustomerIdEqualTo(String value) { + addCriterion("customer_id =", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdNotEqualTo(String value) { + addCriterion("customer_id <>", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdGreaterThan(String value) { + addCriterion("customer_id >", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdGreaterThanOrEqualTo(String value) { + addCriterion("customer_id >=", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdLessThan(String value) { + addCriterion("customer_id <", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdLessThanOrEqualTo(String value) { + addCriterion("customer_id <=", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdLike(String value) { + addCriterion("customer_id like", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdNotLike(String value) { + addCriterion("customer_id not like", value, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdIn(List values) { + addCriterion("customer_id in", values, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdNotIn(List values) { + addCriterion("customer_id not in", values, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdBetween(String value1, String value2) { + addCriterion("customer_id between", value1, value2, "customerId"); + return (Criteria) this; + } + + public Criteria andCustomerIdNotBetween(String value1, String value2) { + addCriterion("customer_id not between", value1, value2, "customerId"); + return (Criteria) this; + } + + public Criteria andCurrencyIsNull() { + addCriterion("currency is null"); + return (Criteria) this; + } + + public Criteria andCurrencyIsNotNull() { + addCriterion("currency is not null"); + return (Criteria) this; + } + + public Criteria andCurrencyEqualTo(String value) { + addCriterion("currency =", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotEqualTo(String value) { + addCriterion("currency <>", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyGreaterThan(String value) { + addCriterion("currency >", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyGreaterThanOrEqualTo(String value) { + addCriterion("currency >=", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyLessThan(String value) { + addCriterion("currency <", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyLessThanOrEqualTo(String value) { + addCriterion("currency <=", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyLike(String value) { + addCriterion("currency like", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotLike(String value) { + addCriterion("currency not like", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyIn(List values) { + addCriterion("currency in", values, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotIn(List values) { + addCriterion("currency not in", values, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyBetween(String value1, String value2) { + addCriterion("currency between", value1, value2, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotBetween(String value1, String value2) { + addCriterion("currency not between", value1, value2, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolIsNull() { + addCriterion("currency_exchange_symbol is null"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolIsNotNull() { + addCriterion("currency_exchange_symbol is not null"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolEqualTo(String value) { + addCriterion("currency_exchange_symbol =", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolNotEqualTo(String value) { + addCriterion("currency_exchange_symbol <>", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolGreaterThan(String value) { + addCriterion("currency_exchange_symbol >", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolGreaterThanOrEqualTo(String value) { + addCriterion("currency_exchange_symbol >=", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolLessThan(String value) { + addCriterion("currency_exchange_symbol <", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolLessThanOrEqualTo(String value) { + addCriterion("currency_exchange_symbol <=", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolLike(String value) { + addCriterion("currency_exchange_symbol like", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolNotLike(String value) { + addCriterion("currency_exchange_symbol not like", value, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolIn(List values) { + addCriterion("currency_exchange_symbol in", values, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolNotIn(List values) { + addCriterion("currency_exchange_symbol not in", values, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolBetween(String value1, String value2) { + addCriterion("currency_exchange_symbol between", value1, value2, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andCurrencyExchangeSymbolNotBetween(String value1, String value2) { + addCriterion("currency_exchange_symbol not between", value1, value2, "currencyExchangeSymbol"); + return (Criteria) this; + } + + public Criteria andClassifyTypeIsNull() { + addCriterion("classify_type is null"); + return (Criteria) this; + } + + public Criteria andClassifyTypeIsNotNull() { + addCriterion("classify_type is not null"); + return (Criteria) this; + } + + public Criteria andClassifyTypeEqualTo(String value) { + addCriterion("classify_type =", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeNotEqualTo(String value) { + addCriterion("classify_type <>", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeGreaterThan(String value) { + addCriterion("classify_type >", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeGreaterThanOrEqualTo(String value) { + addCriterion("classify_type >=", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeLessThan(String value) { + addCriterion("classify_type <", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeLessThanOrEqualTo(String value) { + addCriterion("classify_type <=", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeLike(String value) { + addCriterion("classify_type like", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeNotLike(String value) { + addCriterion("classify_type not like", value, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeIn(List values) { + addCriterion("classify_type in", values, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeNotIn(List values) { + addCriterion("classify_type not in", values, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeBetween(String value1, String value2) { + addCriterion("classify_type between", value1, value2, "classifyType"); + return (Criteria) this; + } + + public Criteria andClassifyTypeNotBetween(String value1, String value2) { + addCriterion("classify_type not between", value1, value2, "classifyType"); + return (Criteria) this; + } + + public Criteria andNatureAccountIsNull() { + addCriterion("nature_account is null"); + return (Criteria) this; + } + + public Criteria andNatureAccountIsNotNull() { + addCriterion("nature_account is not null"); + return (Criteria) this; + } + + public Criteria andNatureAccountEqualTo(String value) { + addCriterion("nature_account =", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountNotEqualTo(String value) { + addCriterion("nature_account <>", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountGreaterThan(String value) { + addCriterion("nature_account >", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountGreaterThanOrEqualTo(String value) { + addCriterion("nature_account >=", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountLessThan(String value) { + addCriterion("nature_account <", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountLessThanOrEqualTo(String value) { + addCriterion("nature_account <=", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountLike(String value) { + addCriterion("nature_account like", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountNotLike(String value) { + addCriterion("nature_account not like", value, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountIn(List values) { + addCriterion("nature_account in", values, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountNotIn(List values) { + addCriterion("nature_account not in", values, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountBetween(String value1, String value2) { + addCriterion("nature_account between", value1, value2, "natureAccount"); + return (Criteria) this; + } + + public Criteria andNatureAccountNotBetween(String value1, String value2) { + addCriterion("nature_account not between", value1, value2, "natureAccount"); + return (Criteria) this; + } + + public Criteria andVoucherTypeIsNull() { + addCriterion("voucher_type is null"); + return (Criteria) this; + } + + public Criteria andVoucherTypeIsNotNull() { + addCriterion("voucher_type is not null"); + return (Criteria) this; + } + + public Criteria andVoucherTypeEqualTo(String value) { + addCriterion("voucher_type =", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeNotEqualTo(String value) { + addCriterion("voucher_type <>", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeGreaterThan(String value) { + addCriterion("voucher_type >", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeGreaterThanOrEqualTo(String value) { + addCriterion("voucher_type >=", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeLessThan(String value) { + addCriterion("voucher_type <", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeLessThanOrEqualTo(String value) { + addCriterion("voucher_type <=", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeLike(String value) { + addCriterion("voucher_type like", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeNotLike(String value) { + addCriterion("voucher_type not like", value, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeIn(List values) { + addCriterion("voucher_type in", values, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeNotIn(List values) { + addCriterion("voucher_type not in", values, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeBetween(String value1, String value2) { + addCriterion("voucher_type between", value1, value2, "voucherType"); + return (Criteria) this; + } + + public Criteria andVoucherTypeNotBetween(String value1, String value2) { + addCriterion("voucher_type not between", value1, value2, "voucherType"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodIsNull() { + addCriterion("withdrawal_method is null"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodIsNotNull() { + addCriterion("withdrawal_method is not null"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodEqualTo(String value) { + addCriterion("withdrawal_method =", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodNotEqualTo(String value) { + addCriterion("withdrawal_method <>", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodGreaterThan(String value) { + addCriterion("withdrawal_method >", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodGreaterThanOrEqualTo(String value) { + addCriterion("withdrawal_method >=", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodLessThan(String value) { + addCriterion("withdrawal_method <", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodLessThanOrEqualTo(String value) { + addCriterion("withdrawal_method <=", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodLike(String value) { + addCriterion("withdrawal_method like", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodNotLike(String value) { + addCriterion("withdrawal_method not like", value, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodIn(List values) { + addCriterion("withdrawal_method in", values, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodNotIn(List values) { + addCriterion("withdrawal_method not in", values, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodBetween(String value1, String value2) { + addCriterion("withdrawal_method between", value1, value2, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalMethodNotBetween(String value1, String value2) { + addCriterion("withdrawal_method not between", value1, value2, "withdrawalMethod"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdIsNull() { + addCriterion("withdrawal_pwd is null"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdIsNotNull() { + addCriterion("withdrawal_pwd is not null"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdEqualTo(String value) { + addCriterion("withdrawal_pwd =", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdNotEqualTo(String value) { + addCriterion("withdrawal_pwd <>", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdGreaterThan(String value) { + addCriterion("withdrawal_pwd >", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdGreaterThanOrEqualTo(String value) { + addCriterion("withdrawal_pwd >=", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdLessThan(String value) { + addCriterion("withdrawal_pwd <", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdLessThanOrEqualTo(String value) { + addCriterion("withdrawal_pwd <=", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdLike(String value) { + addCriterion("withdrawal_pwd like", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdNotLike(String value) { + addCriterion("withdrawal_pwd not like", value, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdIn(List values) { + addCriterion("withdrawal_pwd in", values, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdNotIn(List values) { + addCriterion("withdrawal_pwd not in", values, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdBetween(String value1, String value2) { + addCriterion("withdrawal_pwd between", value1, value2, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andWithdrawalPwdNotBetween(String value1, String value2) { + addCriterion("withdrawal_pwd not between", value1, value2, "withdrawalPwd"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordIsNull() { + addCriterion("confirm_password is null"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordIsNotNull() { + addCriterion("confirm_password is not null"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordEqualTo(String value) { + addCriterion("confirm_password =", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordNotEqualTo(String value) { + addCriterion("confirm_password <>", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordGreaterThan(String value) { + addCriterion("confirm_password >", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordGreaterThanOrEqualTo(String value) { + addCriterion("confirm_password >=", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordLessThan(String value) { + addCriterion("confirm_password <", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordLessThanOrEqualTo(String value) { + addCriterion("confirm_password <=", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordLike(String value) { + addCriterion("confirm_password like", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordNotLike(String value) { + addCriterion("confirm_password not like", value, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordIn(List values) { + addCriterion("confirm_password in", values, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordNotIn(List values) { + addCriterion("confirm_password not in", values, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordBetween(String value1, String value2) { + addCriterion("confirm_password between", value1, value2, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andConfirmPasswordNotBetween(String value1, String value2) { + addCriterion("confirm_password not between", value1, value2, "confirmPassword"); + return (Criteria) this; + } + + public Criteria andBankCardNumberIsNull() { + addCriterion("bank_card_number is null"); + return (Criteria) this; + } + + public Criteria andBankCardNumberIsNotNull() { + addCriterion("bank_card_number is not null"); + return (Criteria) this; + } + + public Criteria andBankCardNumberEqualTo(String value) { + addCriterion("bank_card_number =", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberNotEqualTo(String value) { + addCriterion("bank_card_number <>", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberGreaterThan(String value) { + addCriterion("bank_card_number >", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberGreaterThanOrEqualTo(String value) { + addCriterion("bank_card_number >=", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberLessThan(String value) { + addCriterion("bank_card_number <", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberLessThanOrEqualTo(String value) { + addCriterion("bank_card_number <=", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberLike(String value) { + addCriterion("bank_card_number like", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberNotLike(String value) { + addCriterion("bank_card_number not like", value, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberIn(List values) { + addCriterion("bank_card_number in", values, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberNotIn(List values) { + addCriterion("bank_card_number not in", values, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberBetween(String value1, String value2) { + addCriterion("bank_card_number between", value1, value2, "bankCardNumber"); + return (Criteria) this; + } + + public Criteria andBankCardNumberNotBetween(String value1, String value2) { + addCriterion("bank_card_number not between", value1, value2, "bankCardNumber"); + 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 values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List 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 values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List 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 andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(String value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(String value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(String value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(String value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(String value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(String value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLike(String value) { + addCriterion("user_id like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotLike(String value) { + addCriterion("user_id not like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(String value1, String value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(String value1, String value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andSubStateIsNull() { + addCriterion("sub_state is null"); + return (Criteria) this; + } + + public Criteria andSubStateIsNotNull() { + addCriterion("sub_state is not null"); + return (Criteria) this; + } + + public Criteria andSubStateEqualTo(Integer value) { + addCriterion("sub_state =", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotEqualTo(Integer value) { + addCriterion("sub_state <>", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateGreaterThan(Integer value) { + addCriterion("sub_state >", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateGreaterThanOrEqualTo(Integer value) { + addCriterion("sub_state >=", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateLessThan(Integer value) { + addCriterion("sub_state <", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateLessThanOrEqualTo(Integer value) { + addCriterion("sub_state <=", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateIn(List values) { + addCriterion("sub_state in", values, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotIn(List values) { + addCriterion("sub_state not in", values, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateBetween(Integer value1, Integer value2) { + addCriterion("sub_state between", value1, value2, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotBetween(Integer value1, Integer value2) { + addCriterion("sub_state not between", value1, value2, "subState"); + return (Criteria) this; + } + + public Criteria andErrorNumberIsNull() { + addCriterion("error_number is null"); + return (Criteria) this; + } + + public Criteria andErrorNumberIsNotNull() { + addCriterion("error_number is not null"); + return (Criteria) this; + } + + public Criteria andErrorNumberEqualTo(Integer value) { + addCriterion("error_number =", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotEqualTo(Integer value) { + addCriterion("error_number <>", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberGreaterThan(Integer value) { + addCriterion("error_number >", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberGreaterThanOrEqualTo(Integer value) { + addCriterion("error_number >=", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberLessThan(Integer value) { + addCriterion("error_number <", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberLessThanOrEqualTo(Integer value) { + addCriterion("error_number <=", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberIn(List values) { + addCriterion("error_number in", values, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotIn(List values) { + addCriterion("error_number not in", values, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberBetween(Integer value1, Integer value2) { + addCriterion("error_number between", value1, value2, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotBetween(Integer value1, Integer value2) { + addCriterion("error_number not between", value1, value2, "errorNumber"); + 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 values) { + addCriterion("number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List 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 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfo.java b/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfo.java new file mode 100644 index 0000000..b7e08bc --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfo.java @@ -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(); + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfoExample.java b/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfoExample.java new file mode 100644 index 0000000..7f02e7f --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CaseAnswerInfoExample.java @@ -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 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List 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 values) { + addCriterion("case_id in", values, "caseId"); + return (Criteria) this; + } + + public Criteria andCaseIdNotIn(List 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 values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CaseInfo.java b/src/main/java/com/sztzjy/bank/entity/CaseInfo.java new file mode 100644 index 0000000..5a635b8 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CaseInfo.java @@ -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(); + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CaseInfoExample.java b/src/main/java/com/sztzjy/bank/entity/CaseInfoExample.java new file mode 100644 index 0000000..43e4e81 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CaseInfoExample.java @@ -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 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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 values) { + addCriterion("case_id in", values, "caseId"); + return (Criteria) this; + } + + public Criteria andCaseIdNotIn(List 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 values) { + addCriterion("module in", values, "module"); + return (Criteria) this; + } + + public Criteria andModuleNotIn(List 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 values) { + addCriterion("number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List 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 values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List 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 values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List 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 values) { + addCriterion("large_module in", values, "largeModule"); + return (Criteria) this; + } + + public Criteria andLargeModuleNotIn(List 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CustomerInformation.java b/src/main/java/com/sztzjy/bank/entity/CustomerInformation.java new file mode 100644 index 0000000..09f14f6 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CustomerInformation.java @@ -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; + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/CustomerInformationExample.java b/src/main/java/com/sztzjy/bank/entity/CustomerInformationExample.java new file mode 100644 index 0000000..10016fd --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/CustomerInformationExample.java @@ -0,0 +1,2130 @@ +package com.sztzjy.bank.entity; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CustomerInformationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CustomerInformationExample() { + 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 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 criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList<>(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List 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 andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(String value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(String value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(String value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(String value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(String value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(String value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLike(String value) { + addCriterion("user_id like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotLike(String value) { + addCriterion("user_id not like", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(String value1, String value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(String value1, String value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andChNameIsNull() { + addCriterion("ch_name is null"); + return (Criteria) this; + } + + public Criteria andChNameIsNotNull() { + addCriterion("ch_name is not null"); + return (Criteria) this; + } + + public Criteria andChNameEqualTo(String value) { + addCriterion("ch_name =", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameNotEqualTo(String value) { + addCriterion("ch_name <>", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameGreaterThan(String value) { + addCriterion("ch_name >", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameGreaterThanOrEqualTo(String value) { + addCriterion("ch_name >=", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameLessThan(String value) { + addCriterion("ch_name <", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameLessThanOrEqualTo(String value) { + addCriterion("ch_name <=", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameLike(String value) { + addCriterion("ch_name like", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameNotLike(String value) { + addCriterion("ch_name not like", value, "chName"); + return (Criteria) this; + } + + public Criteria andChNameIn(List values) { + addCriterion("ch_name in", values, "chName"); + return (Criteria) this; + } + + public Criteria andChNameNotIn(List values) { + addCriterion("ch_name not in", values, "chName"); + return (Criteria) this; + } + + public Criteria andChNameBetween(String value1, String value2) { + addCriterion("ch_name between", value1, value2, "chName"); + return (Criteria) this; + } + + public Criteria andChNameNotBetween(String value1, String value2) { + addCriterion("ch_name not between", value1, value2, "chName"); + return (Criteria) this; + } + + public Criteria andUsNameIsNull() { + addCriterion("us_name is null"); + return (Criteria) this; + } + + public Criteria andUsNameIsNotNull() { + addCriterion("us_name is not null"); + return (Criteria) this; + } + + public Criteria andUsNameEqualTo(String value) { + addCriterion("us_name =", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameNotEqualTo(String value) { + addCriterion("us_name <>", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameGreaterThan(String value) { + addCriterion("us_name >", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameGreaterThanOrEqualTo(String value) { + addCriterion("us_name >=", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameLessThan(String value) { + addCriterion("us_name <", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameLessThanOrEqualTo(String value) { + addCriterion("us_name <=", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameLike(String value) { + addCriterion("us_name like", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameNotLike(String value) { + addCriterion("us_name not like", value, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameIn(List values) { + addCriterion("us_name in", values, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameNotIn(List values) { + addCriterion("us_name not in", values, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameBetween(String value1, String value2) { + addCriterion("us_name between", value1, value2, "usName"); + return (Criteria) this; + } + + public Criteria andUsNameNotBetween(String value1, String value2) { + addCriterion("us_name not between", value1, value2, "usName"); + return (Criteria) this; + } + + public Criteria andSexIsNull() { + addCriterion("sex is null"); + return (Criteria) this; + } + + public Criteria andSexIsNotNull() { + addCriterion("sex is not null"); + return (Criteria) this; + } + + public Criteria andSexEqualTo(Integer value) { + addCriterion("sex =", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotEqualTo(Integer value) { + addCriterion("sex <>", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThan(Integer value) { + addCriterion("sex >", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThanOrEqualTo(Integer value) { + addCriterion("sex >=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThan(Integer value) { + addCriterion("sex <", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThanOrEqualTo(Integer value) { + addCriterion("sex <=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexIn(List values) { + addCriterion("sex in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotIn(List values) { + addCriterion("sex not in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexBetween(Integer value1, Integer value2) { + addCriterion("sex between", value1, value2, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotBetween(Integer value1, Integer value2) { + addCriterion("sex not between", value1, value2, "sex"); + return (Criteria) this; + } + + public Criteria andNationalityIsNull() { + addCriterion("nationality is null"); + return (Criteria) this; + } + + public Criteria andNationalityIsNotNull() { + addCriterion("nationality is not null"); + return (Criteria) this; + } + + public Criteria andNationalityEqualTo(String value) { + addCriterion("nationality =", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityNotEqualTo(String value) { + addCriterion("nationality <>", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityGreaterThan(String value) { + addCriterion("nationality >", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityGreaterThanOrEqualTo(String value) { + addCriterion("nationality >=", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityLessThan(String value) { + addCriterion("nationality <", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityLessThanOrEqualTo(String value) { + addCriterion("nationality <=", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityLike(String value) { + addCriterion("nationality like", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityNotLike(String value) { + addCriterion("nationality not like", value, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityIn(List values) { + addCriterion("nationality in", values, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityNotIn(List values) { + addCriterion("nationality not in", values, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityBetween(String value1, String value2) { + addCriterion("nationality between", value1, value2, "nationality"); + return (Criteria) this; + } + + public Criteria andNationalityNotBetween(String value1, String value2) { + addCriterion("nationality not between", value1, value2, "nationality"); + return (Criteria) this; + } + + public Criteria andIdTypeIsNull() { + addCriterion("id_type is null"); + return (Criteria) this; + } + + public Criteria andIdTypeIsNotNull() { + addCriterion("id_type is not null"); + return (Criteria) this; + } + + public Criteria andIdTypeEqualTo(String value) { + addCriterion("id_type =", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeNotEqualTo(String value) { + addCriterion("id_type <>", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeGreaterThan(String value) { + addCriterion("id_type >", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeGreaterThanOrEqualTo(String value) { + addCriterion("id_type >=", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeLessThan(String value) { + addCriterion("id_type <", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeLessThanOrEqualTo(String value) { + addCriterion("id_type <=", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeLike(String value) { + addCriterion("id_type like", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeNotLike(String value) { + addCriterion("id_type not like", value, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeIn(List values) { + addCriterion("id_type in", values, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeNotIn(List values) { + addCriterion("id_type not in", values, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeBetween(String value1, String value2) { + addCriterion("id_type between", value1, value2, "idType"); + return (Criteria) this; + } + + public Criteria andIdTypeNotBetween(String value1, String value2) { + addCriterion("id_type not between", value1, value2, "idType"); + return (Criteria) this; + } + + public Criteria andIdNumberIsNull() { + addCriterion("id_number is null"); + return (Criteria) this; + } + + public Criteria andIdNumberIsNotNull() { + addCriterion("id_number is not null"); + return (Criteria) this; + } + + public Criteria andIdNumberEqualTo(String value) { + addCriterion("id_number =", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberNotEqualTo(String value) { + addCriterion("id_number <>", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberGreaterThan(String value) { + addCriterion("id_number >", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberGreaterThanOrEqualTo(String value) { + addCriterion("id_number >=", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberLessThan(String value) { + addCriterion("id_number <", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberLessThanOrEqualTo(String value) { + addCriterion("id_number <=", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberLike(String value) { + addCriterion("id_number like", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberNotLike(String value) { + addCriterion("id_number not like", value, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberIn(List values) { + addCriterion("id_number in", values, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberNotIn(List values) { + addCriterion("id_number not in", values, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberBetween(String value1, String value2) { + addCriterion("id_number between", value1, value2, "idNumber"); + return (Criteria) this; + } + + public Criteria andIdNumberNotBetween(String value1, String value2) { + addCriterion("id_number not between", value1, value2, "idNumber"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeIsNull() { + addCriterion("deadline_type is null"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeIsNotNull() { + addCriterion("deadline_type is not null"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeEqualTo(String value) { + addCriterion("deadline_type =", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeNotEqualTo(String value) { + addCriterion("deadline_type <>", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeGreaterThan(String value) { + addCriterion("deadline_type >", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeGreaterThanOrEqualTo(String value) { + addCriterion("deadline_type >=", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeLessThan(String value) { + addCriterion("deadline_type <", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeLessThanOrEqualTo(String value) { + addCriterion("deadline_type <=", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeLike(String value) { + addCriterion("deadline_type like", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeNotLike(String value) { + addCriterion("deadline_type not like", value, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeIn(List values) { + addCriterion("deadline_type in", values, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeNotIn(List values) { + addCriterion("deadline_type not in", values, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeBetween(String value1, String value2) { + addCriterion("deadline_type between", value1, value2, "deadlineType"); + return (Criteria) this; + } + + public Criteria andDeadlineTypeNotBetween(String value1, String value2) { + addCriterion("deadline_type not between", value1, value2, "deadlineType"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNull() { + addCriterion("birthday is null"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNotNull() { + addCriterion("birthday is not null"); + return (Criteria) this; + } + + public Criteria andBirthdayEqualTo(Date value) { + addCriterion("birthday =", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotEqualTo(Date value) { + addCriterion("birthday <>", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThan(Date value) { + addCriterion("birthday >", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThanOrEqualTo(Date value) { + addCriterion("birthday >=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThan(Date value) { + addCriterion("birthday <", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThanOrEqualTo(Date value) { + addCriterion("birthday <=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayIn(List values) { + addCriterion("birthday in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotIn(List values) { + addCriterion("birthday not in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayBetween(Date value1, Date value2) { + addCriterion("birthday between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotBetween(Date value1, Date value2) { + addCriterion("birthday not between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthIsNull() { + addCriterion("licence_issu_auth is null"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthIsNotNull() { + addCriterion("licence_issu_auth is not null"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthEqualTo(String value) { + addCriterion("licence_issu_auth =", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthNotEqualTo(String value) { + addCriterion("licence_issu_auth <>", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthGreaterThan(String value) { + addCriterion("licence_issu_auth >", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthGreaterThanOrEqualTo(String value) { + addCriterion("licence_issu_auth >=", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthLessThan(String value) { + addCriterion("licence_issu_auth <", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthLessThanOrEqualTo(String value) { + addCriterion("licence_issu_auth <=", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthLike(String value) { + addCriterion("licence_issu_auth like", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthNotLike(String value) { + addCriterion("licence_issu_auth not like", value, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthIn(List values) { + addCriterion("licence_issu_auth in", values, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthNotIn(List values) { + addCriterion("licence_issu_auth not in", values, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthBetween(String value1, String value2) { + addCriterion("licence_issu_auth between", value1, value2, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andLicenceIssuAuthNotBetween(String value1, String value2) { + addCriterion("licence_issu_auth not between", value1, value2, "licenceIssuAuth"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateIsNull() { + addCriterion("effective_start_date is null"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateIsNotNull() { + addCriterion("effective_start_date is not null"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateEqualTo(Date value) { + addCriterion("effective_start_date =", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateNotEqualTo(Date value) { + addCriterion("effective_start_date <>", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateGreaterThan(Date value) { + addCriterion("effective_start_date >", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateGreaterThanOrEqualTo(Date value) { + addCriterion("effective_start_date >=", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateLessThan(Date value) { + addCriterion("effective_start_date <", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateLessThanOrEqualTo(Date value) { + addCriterion("effective_start_date <=", value, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateIn(List values) { + addCriterion("effective_start_date in", values, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateNotIn(List values) { + addCriterion("effective_start_date not in", values, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateBetween(Date value1, Date value2) { + addCriterion("effective_start_date between", value1, value2, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveStartDateNotBetween(Date value1, Date value2) { + addCriterion("effective_start_date not between", value1, value2, "effectiveStartDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateIsNull() { + addCriterion("effective_end_date is null"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateIsNotNull() { + addCriterion("effective_end_date is not null"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateEqualTo(Date value) { + addCriterion("effective_end_date =", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateNotEqualTo(Date value) { + addCriterion("effective_end_date <>", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateGreaterThan(Date value) { + addCriterion("effective_end_date >", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateGreaterThanOrEqualTo(Date value) { + addCriterion("effective_end_date >=", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateLessThan(Date value) { + addCriterion("effective_end_date <", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateLessThanOrEqualTo(Date value) { + addCriterion("effective_end_date <=", value, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateIn(List values) { + addCriterion("effective_end_date in", values, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateNotIn(List values) { + addCriterion("effective_end_date not in", values, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateBetween(Date value1, Date value2) { + addCriterion("effective_end_date between", value1, value2, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andEffectiveEndDateNotBetween(Date value1, Date value2) { + addCriterion("effective_end_date not between", value1, value2, "effectiveEndDate"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andMaritalStatusIsNull() { + addCriterion("marital_status is null"); + return (Criteria) this; + } + + public Criteria andMaritalStatusIsNotNull() { + addCriterion("marital_status is not null"); + return (Criteria) this; + } + + public Criteria andMaritalStatusEqualTo(String value) { + addCriterion("marital_status =", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusNotEqualTo(String value) { + addCriterion("marital_status <>", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusGreaterThan(String value) { + addCriterion("marital_status >", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusGreaterThanOrEqualTo(String value) { + addCriterion("marital_status >=", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusLessThan(String value) { + addCriterion("marital_status <", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusLessThanOrEqualTo(String value) { + addCriterion("marital_status <=", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusLike(String value) { + addCriterion("marital_status like", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusNotLike(String value) { + addCriterion("marital_status not like", value, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusIn(List values) { + addCriterion("marital_status in", values, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusNotIn(List values) { + addCriterion("marital_status not in", values, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusBetween(String value1, String value2) { + addCriterion("marital_status between", value1, value2, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andMaritalStatusNotBetween(String value1, String value2) { + addCriterion("marital_status not between", value1, value2, "maritalStatus"); + return (Criteria) this; + } + + public Criteria andCareerIsNull() { + addCriterion("career is null"); + return (Criteria) this; + } + + public Criteria andCareerIsNotNull() { + addCriterion("career is not null"); + return (Criteria) this; + } + + public Criteria andCareerEqualTo(String value) { + addCriterion("career =", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerNotEqualTo(String value) { + addCriterion("career <>", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerGreaterThan(String value) { + addCriterion("career >", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerGreaterThanOrEqualTo(String value) { + addCriterion("career >=", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerLessThan(String value) { + addCriterion("career <", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerLessThanOrEqualTo(String value) { + addCriterion("career <=", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerLike(String value) { + addCriterion("career like", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerNotLike(String value) { + addCriterion("career not like", value, "career"); + return (Criteria) this; + } + + public Criteria andCareerIn(List values) { + addCriterion("career in", values, "career"); + return (Criteria) this; + } + + public Criteria andCareerNotIn(List values) { + addCriterion("career not in", values, "career"); + return (Criteria) this; + } + + public Criteria andCareerBetween(String value1, String value2) { + addCriterion("career between", value1, value2, "career"); + return (Criteria) this; + } + + public Criteria andCareerNotBetween(String value1, String value2) { + addCriterion("career not between", value1, value2, "career"); + return (Criteria) this; + } + + public Criteria andMailAddressIsNull() { + addCriterion("mail_address is null"); + return (Criteria) this; + } + + public Criteria andMailAddressIsNotNull() { + addCriterion("mail_address is not null"); + return (Criteria) this; + } + + public Criteria andMailAddressEqualTo(String value) { + addCriterion("mail_address =", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotEqualTo(String value) { + addCriterion("mail_address <>", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressGreaterThan(String value) { + addCriterion("mail_address >", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressGreaterThanOrEqualTo(String value) { + addCriterion("mail_address >=", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLessThan(String value) { + addCriterion("mail_address <", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLessThanOrEqualTo(String value) { + addCriterion("mail_address <=", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressLike(String value) { + addCriterion("mail_address like", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotLike(String value) { + addCriterion("mail_address not like", value, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressIn(List values) { + addCriterion("mail_address in", values, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotIn(List values) { + addCriterion("mail_address not in", values, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressBetween(String value1, String value2) { + addCriterion("mail_address between", value1, value2, "mailAddress"); + return (Criteria) this; + } + + public Criteria andMailAddressNotBetween(String value1, String value2) { + addCriterion("mail_address not between", value1, value2, "mailAddress"); + return (Criteria) this; + } + + public Criteria andTelIsNull() { + addCriterion("tel is null"); + return (Criteria) this; + } + + public Criteria andTelIsNotNull() { + addCriterion("tel is not null"); + return (Criteria) this; + } + + public Criteria andTelEqualTo(String value) { + addCriterion("tel =", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelNotEqualTo(String value) { + addCriterion("tel <>", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelGreaterThan(String value) { + addCriterion("tel >", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelGreaterThanOrEqualTo(String value) { + addCriterion("tel >=", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelLessThan(String value) { + addCriterion("tel <", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelLessThanOrEqualTo(String value) { + addCriterion("tel <=", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelLike(String value) { + addCriterion("tel like", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelNotLike(String value) { + addCriterion("tel not like", value, "tel"); + return (Criteria) this; + } + + public Criteria andTelIn(List values) { + addCriterion("tel in", values, "tel"); + return (Criteria) this; + } + + public Criteria andTelNotIn(List values) { + addCriterion("tel not in", values, "tel"); + return (Criteria) this; + } + + public Criteria andTelBetween(String value1, String value2) { + addCriterion("tel between", value1, value2, "tel"); + return (Criteria) this; + } + + public Criteria andTelNotBetween(String value1, String value2) { + addCriterion("tel not between", value1, value2, "tel"); + return (Criteria) this; + } + + public Criteria andIsResidentIsNull() { + addCriterion("Is_resident is null"); + return (Criteria) this; + } + + public Criteria andIsResidentIsNotNull() { + addCriterion("Is_resident is not null"); + return (Criteria) this; + } + + public Criteria andIsResidentEqualTo(Integer value) { + addCriterion("Is_resident =", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentNotEqualTo(Integer value) { + addCriterion("Is_resident <>", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentGreaterThan(Integer value) { + addCriterion("Is_resident >", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentGreaterThanOrEqualTo(Integer value) { + addCriterion("Is_resident >=", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentLessThan(Integer value) { + addCriterion("Is_resident <", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentLessThanOrEqualTo(Integer value) { + addCriterion("Is_resident <=", value, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentIn(List values) { + addCriterion("Is_resident in", values, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentNotIn(List values) { + addCriterion("Is_resident not in", values, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentBetween(Integer value1, Integer value2) { + addCriterion("Is_resident between", value1, value2, "isResident"); + return (Criteria) this; + } + + public Criteria andIsResidentNotBetween(Integer value1, Integer value2) { + addCriterion("Is_resident not between", value1, value2, "isResident"); + return (Criteria) this; + } + + public Criteria andRiskLevelIsNull() { + addCriterion("risk_level is null"); + return (Criteria) this; + } + + public Criteria andRiskLevelIsNotNull() { + addCriterion("risk_level is not null"); + return (Criteria) this; + } + + public Criteria andRiskLevelEqualTo(String value) { + addCriterion("risk_level =", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelNotEqualTo(String value) { + addCriterion("risk_level <>", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelGreaterThan(String value) { + addCriterion("risk_level >", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelGreaterThanOrEqualTo(String value) { + addCriterion("risk_level >=", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelLessThan(String value) { + addCriterion("risk_level <", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelLessThanOrEqualTo(String value) { + addCriterion("risk_level <=", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelLike(String value) { + addCriterion("risk_level like", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelNotLike(String value) { + addCriterion("risk_level not like", value, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelIn(List values) { + addCriterion("risk_level in", values, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelNotIn(List values) { + addCriterion("risk_level not in", values, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelBetween(String value1, String value2) { + addCriterion("risk_level between", value1, value2, "riskLevel"); + return (Criteria) this; + } + + public Criteria andRiskLevelNotBetween(String value1, String value2) { + addCriterion("risk_level not between", value1, value2, "riskLevel"); + return (Criteria) this; + } + + public Criteria andCustomerNoIsNull() { + addCriterion("customer_no is null"); + return (Criteria) this; + } + + public Criteria andCustomerNoIsNotNull() { + addCriterion("customer_no is not null"); + return (Criteria) this; + } + + public Criteria andCustomerNoEqualTo(String value) { + addCriterion("customer_no =", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoNotEqualTo(String value) { + addCriterion("customer_no <>", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoGreaterThan(String value) { + addCriterion("customer_no >", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoGreaterThanOrEqualTo(String value) { + addCriterion("customer_no >=", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoLessThan(String value) { + addCriterion("customer_no <", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoLessThanOrEqualTo(String value) { + addCriterion("customer_no <=", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoLike(String value) { + addCriterion("customer_no like", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoNotLike(String value) { + addCriterion("customer_no not like", value, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoIn(List values) { + addCriterion("customer_no in", values, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoNotIn(List values) { + addCriterion("customer_no not in", values, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoBetween(String value1, String value2) { + addCriterion("customer_no between", value1, value2, "customerNo"); + return (Criteria) this; + } + + public Criteria andCustomerNoNotBetween(String value1, String value2) { + addCriterion("customer_no not between", value1, value2, "customerNo"); + return (Criteria) this; + } + + public Criteria andSerialNumberIsNull() { + addCriterion("serial_number is null"); + return (Criteria) this; + } + + public Criteria andSerialNumberIsNotNull() { + addCriterion("serial_number is not null"); + return (Criteria) this; + } + + public Criteria andSerialNumberEqualTo(String value) { + addCriterion("serial_number =", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotEqualTo(String value) { + addCriterion("serial_number <>", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberGreaterThan(String value) { + addCriterion("serial_number >", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberGreaterThanOrEqualTo(String value) { + addCriterion("serial_number >=", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLessThan(String value) { + addCriterion("serial_number <", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLessThanOrEqualTo(String value) { + addCriterion("serial_number <=", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLike(String value) { + addCriterion("serial_number like", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotLike(String value) { + addCriterion("serial_number not like", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberIn(List values) { + addCriterion("serial_number in", values, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotIn(List values) { + addCriterion("serial_number not in", values, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberBetween(String value1, String value2) { + addCriterion("serial_number between", value1, value2, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotBetween(String value1, String value2) { + addCriterion("serial_number not between", value1, value2, "serialNumber"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyIsNull() { + addCriterion("handling_agency is null"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyIsNotNull() { + addCriterion("handling_agency is not null"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyEqualTo(String value) { + addCriterion("handling_agency =", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyNotEqualTo(String value) { + addCriterion("handling_agency <>", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyGreaterThan(String value) { + addCriterion("handling_agency >", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyGreaterThanOrEqualTo(String value) { + addCriterion("handling_agency >=", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyLessThan(String value) { + addCriterion("handling_agency <", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyLessThanOrEqualTo(String value) { + addCriterion("handling_agency <=", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyLike(String value) { + addCriterion("handling_agency like", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyNotLike(String value) { + addCriterion("handling_agency not like", value, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyIn(List values) { + addCriterion("handling_agency in", values, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyNotIn(List values) { + addCriterion("handling_agency not in", values, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyBetween(String value1, String value2) { + addCriterion("handling_agency between", value1, value2, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingAgencyNotBetween(String value1, String value2) { + addCriterion("handling_agency not between", value1, value2, "handlingAgency"); + return (Criteria) this; + } + + public Criteria andHandlingTellerIsNull() { + addCriterion("handling_teller is null"); + return (Criteria) this; + } + + public Criteria andHandlingTellerIsNotNull() { + addCriterion("handling_teller is not null"); + return (Criteria) this; + } + + public Criteria andHandlingTellerEqualTo(String value) { + addCriterion("handling_teller =", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerNotEqualTo(String value) { + addCriterion("handling_teller <>", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerGreaterThan(String value) { + addCriterion("handling_teller >", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerGreaterThanOrEqualTo(String value) { + addCriterion("handling_teller >=", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerLessThan(String value) { + addCriterion("handling_teller <", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerLessThanOrEqualTo(String value) { + addCriterion("handling_teller <=", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerLike(String value) { + addCriterion("handling_teller like", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerNotLike(String value) { + addCriterion("handling_teller not like", value, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerIn(List values) { + addCriterion("handling_teller in", values, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerNotIn(List values) { + addCriterion("handling_teller not in", values, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerBetween(String value1, String value2) { + addCriterion("handling_teller between", value1, value2, "handlingTeller"); + return (Criteria) this; + } + + public Criteria andHandlingTellerNotBetween(String value1, String value2) { + addCriterion("handling_teller not between", value1, value2, "handlingTeller"); + 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 values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List 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 values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List 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 andSubStateIsNull() { + addCriterion("sub_state is null"); + return (Criteria) this; + } + + public Criteria andSubStateIsNotNull() { + addCriterion("sub_state is not null"); + return (Criteria) this; + } + + public Criteria andSubStateEqualTo(Integer value) { + addCriterion("sub_state =", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotEqualTo(Integer value) { + addCriterion("sub_state <>", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateGreaterThan(Integer value) { + addCriterion("sub_state >", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateGreaterThanOrEqualTo(Integer value) { + addCriterion("sub_state >=", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateLessThan(Integer value) { + addCriterion("sub_state <", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateLessThanOrEqualTo(Integer value) { + addCriterion("sub_state <=", value, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateIn(List values) { + addCriterion("sub_state in", values, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotIn(List values) { + addCriterion("sub_state not in", values, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateBetween(Integer value1, Integer value2) { + addCriterion("sub_state between", value1, value2, "subState"); + return (Criteria) this; + } + + public Criteria andSubStateNotBetween(Integer value1, Integer value2) { + addCriterion("sub_state not between", value1, value2, "subState"); + return (Criteria) this; + } + + public Criteria andErrorNumberIsNull() { + addCriterion("error_number is null"); + return (Criteria) this; + } + + public Criteria andErrorNumberIsNotNull() { + addCriterion("error_number is not null"); + return (Criteria) this; + } + + public Criteria andErrorNumberEqualTo(Integer value) { + addCriterion("error_number =", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotEqualTo(Integer value) { + addCriterion("error_number <>", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberGreaterThan(Integer value) { + addCriterion("error_number >", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberGreaterThanOrEqualTo(Integer value) { + addCriterion("error_number >=", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberLessThan(Integer value) { + addCriterion("error_number <", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberLessThanOrEqualTo(Integer value) { + addCriterion("error_number <=", value, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberIn(List values) { + addCriterion("error_number in", values, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotIn(List values) { + addCriterion("error_number not in", values, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberBetween(Integer value1, Integer value2) { + addCriterion("error_number between", value1, value2, "errorNumber"); + return (Criteria) this; + } + + public Criteria andErrorNumberNotBetween(Integer value1, Integer value2) { + addCriterion("error_number not between", value1, value2, "errorNumber"); + 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 values) { + addCriterion("number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List 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 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); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/entity/dto/CustomerInformationAnswerDTO.java b/src/main/java/com/sztzjy/bank/entity/dto/CustomerInformationAnswerDTO.java new file mode 100644 index 0000000..75bfdf3 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/entity/dto/CustomerInformationAnswerDTO.java @@ -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; + +} diff --git a/src/main/java/com/sztzjy/bank/mapper/BankCardInformationMapper.java b/src/main/java/com/sztzjy/bank/mapper/BankCardInformationMapper.java new file mode 100644 index 0000000..477e8ab --- /dev/null +++ b/src/main/java/com/sztzjy/bank/mapper/BankCardInformationMapper.java @@ -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 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); +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/mapper/CaseAnswerInfoMapper.java b/src/main/java/com/sztzjy/bank/mapper/CaseAnswerInfoMapper.java new file mode 100644 index 0000000..7935703 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/mapper/CaseAnswerInfoMapper.java @@ -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 selectByExampleWithBLOBs(CaseAnswerInfoExample example); + + List 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); +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/mapper/CaseInfoMapper.java b/src/main/java/com/sztzjy/bank/mapper/CaseInfoMapper.java new file mode 100644 index 0000000..5f69f80 --- /dev/null +++ b/src/main/java/com/sztzjy/bank/mapper/CaseInfoMapper.java @@ -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 selectByExampleWithBLOBs(CaseInfoExample example); + + List 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); +} \ No newline at end of file diff --git a/src/main/java/com/sztzjy/bank/mapper/CustomerInformationMapper.java b/src/main/java/com/sztzjy/bank/mapper/CustomerInformationMapper.java new file mode 100644 index 0000000..ac907da --- /dev/null +++ b/src/main/java/com/sztzjy/bank/mapper/CustomerInformationMapper.java @@ -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 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); +} \ No newline at end of file diff --git a/src/main/resources/mappers/BankCardInformationMapper.xml b/src/main/resources/mappers/BankCardInformationMapper.xml new file mode 100644 index 0000000..fbbe400 --- /dev/null +++ b/src/main/resources/mappers/BankCardInformationMapper.xml @@ -0,0 +1,401 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + 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 + + + + + delete from bank_card_information + where id = #{id,jdbcType=VARCHAR} + + + delete from bank_card_information + + + + + + 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 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, + + + + + #{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}, + + + + + + update bank_card_information + + + 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}, + + + + + + + + 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} + + + + + + update bank_card_information + + + 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 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} + + \ No newline at end of file diff --git a/src/main/resources/mappers/CaseAnswerInfoMapper.xml b/src/main/resources/mappers/CaseAnswerInfoMapper.xml new file mode 100644 index 0000000..f27c5f9 --- /dev/null +++ b/src/main/resources/mappers/CaseAnswerInfoMapper.xml @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, case_id, create_time + + + answer + + + + + + delete from case_answer_info + where id = #{id,jdbcType=VARCHAR} + + + delete from case_answer_info + + + + + + 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 into case_answer_info + + + id, + + + case_id, + + + create_time, + + + answer, + + + + + #{id,jdbcType=VARCHAR}, + + + #{caseId,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{answer,jdbcType=LONGVARCHAR}, + + + + + + update case_answer_info + + + id = #{record.id,jdbcType=VARCHAR}, + + + case_id = #{record.caseId,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + answer = #{record.answer,jdbcType=LONGVARCHAR}, + + + + + + + + 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} + + + + + + update case_answer_info + set id = #{record.id,jdbcType=VARCHAR}, + case_id = #{record.caseId,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update case_answer_info + + + case_id = #{caseId,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + answer = #{answer,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=VARCHAR} + + + 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 case_answer_info + set case_id = #{caseId,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=VARCHAR} + + \ No newline at end of file diff --git a/src/main/resources/mappers/CaseInfoMapper.xml b/src/main/resources/mappers/CaseInfoMapper.xml new file mode 100644 index 0000000..b9461cf --- /dev/null +++ b/src/main/resources/mappers/CaseInfoMapper.xml @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + case_id, module, number, create_time, update_time, large_module + + + description + + + + + + delete from case_info + where case_id = #{caseId,jdbcType=VARCHAR} + + + delete from case_info + + + + + + 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 into case_info + + + case_id, + + + module, + + + number, + + + create_time, + + + update_time, + + + large_module, + + + description, + + + + + #{caseId,jdbcType=VARCHAR}, + + + #{module,jdbcType=VARCHAR}, + + + #{number,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{largeModule,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + update case_info + + + 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}, + + + + + + + + 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} + + + + + + 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} + + + + + + update case_info + + + 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 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 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} + + \ No newline at end of file diff --git a/src/main/resources/mappers/CustomerInformationMapper.xml b/src/main/resources/mappers/CustomerInformationMapper.xml new file mode 100644 index 0000000..2aaa4d1 --- /dev/null +++ b/src/main/resources/mappers/CustomerInformationMapper.xml @@ -0,0 +1,590 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + 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 + + + + + delete from customer_information + where id = #{id,jdbcType=VARCHAR} + + + delete from customer_information + + + + + + 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 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, + + + + + #{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}, + + + + + + update customer_information + + + 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}, + + + + + + + + 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} + + + + + + update customer_information + + + 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 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} + + \ No newline at end of file