融资管理
parent
1da7e72278
commit
324b24a9e4
@ -0,0 +1,105 @@
|
|||||||
|
package com.sztzjy.block_finance.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
public class StuFinanNeeds {
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
private String finanPart;
|
||||||
|
|
||||||
|
private String finanPartTaxNumber;
|
||||||
|
|
||||||
|
private String debtorPart;
|
||||||
|
|
||||||
|
private String debtorPartTaxNumber;
|
||||||
|
|
||||||
|
private Double accountReceiveAnount;
|
||||||
|
|
||||||
|
private Date payDate;
|
||||||
|
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
public String getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id) {
|
||||||
|
this.id = id == null ? null : id.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFinanPart() {
|
||||||
|
return finanPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFinanPart(String finanPart) {
|
||||||
|
this.finanPart = finanPart == null ? null : finanPart.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFinanPartTaxNumber() {
|
||||||
|
return finanPartTaxNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFinanPartTaxNumber(String finanPartTaxNumber) {
|
||||||
|
this.finanPartTaxNumber = finanPartTaxNumber == null ? null : finanPartTaxNumber.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDebtorPart() {
|
||||||
|
return debtorPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDebtorPart(String debtorPart) {
|
||||||
|
this.debtorPart = debtorPart == null ? null : debtorPart.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDebtorPartTaxNumber() {
|
||||||
|
return debtorPartTaxNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDebtorPartTaxNumber(String debtorPartTaxNumber) {
|
||||||
|
this.debtorPartTaxNumber = debtorPartTaxNumber == null ? null : debtorPartTaxNumber.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Double getAccountReceiveAnount() {
|
||||||
|
return accountReceiveAnount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAccountReceiveAnount(Double accountReceiveAnount) {
|
||||||
|
this.accountReceiveAnount = accountReceiveAnount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getPayDate() {
|
||||||
|
return payDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPayDate(Date payDate) {
|
||||||
|
this.payDate = payDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(String userId) {
|
||||||
|
this.userId = userId == null ? null : userId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(Date createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getUpdateTime() {
|
||||||
|
return updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateTime(Date updateTime) {
|
||||||
|
this.updateTime = updateTime;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,860 @@
|
|||||||
|
package com.sztzjy.block_finance.entity;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class StuFinanNeedsExample {
|
||||||
|
protected String orderByClause;
|
||||||
|
|
||||||
|
protected boolean distinct;
|
||||||
|
|
||||||
|
protected List<Criteria> oredCriteria;
|
||||||
|
|
||||||
|
public StuFinanNeedsExample() {
|
||||||
|
oredCriteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrderByClause(String orderByClause) {
|
||||||
|
this.orderByClause = orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrderByClause() {
|
||||||
|
return orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDistinct(boolean distinct) {
|
||||||
|
this.distinct = distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isDistinct() {
|
||||||
|
return distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criteria> getOredCriteria() {
|
||||||
|
return oredCriteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void or(Criteria criteria) {
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria or() {
|
||||||
|
Criteria criteria = createCriteriaInternal();
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria createCriteria() {
|
||||||
|
Criteria criteria = createCriteriaInternal();
|
||||||
|
if (oredCriteria.size() == 0) {
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
}
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criteria createCriteriaInternal() {
|
||||||
|
Criteria criteria = new Criteria();
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void clear() {
|
||||||
|
oredCriteria.clear();
|
||||||
|
orderByClause = null;
|
||||||
|
distinct = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected abstract static class GeneratedCriteria {
|
||||||
|
protected List<Criterion> criteria;
|
||||||
|
|
||||||
|
protected GeneratedCriteria() {
|
||||||
|
super();
|
||||||
|
criteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isValid() {
|
||||||
|
return criteria.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criterion> getAllCriteria() {
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Criterion> getCriteria() {
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition) {
|
||||||
|
if (condition == null) {
|
||||||
|
throw new RuntimeException("Value for condition cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition, Object value, String property) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition, value));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||||
|
if (value1 == null || value2 == null) {
|
||||||
|
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||||
|
}
|
||||||
|
criteria.add(new Criterion(condition, value1, value2));
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdIsNull() {
|
||||||
|
addCriterion("id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdIsNotNull() {
|
||||||
|
addCriterion("id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdEqualTo(String value) {
|
||||||
|
addCriterion("id =", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotEqualTo(String value) {
|
||||||
|
addCriterion("id <>", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdGreaterThan(String value) {
|
||||||
|
addCriterion("id >", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("id >=", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdLessThan(String value) {
|
||||||
|
addCriterion("id <", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("id <=", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdLike(String value) {
|
||||||
|
addCriterion("id like", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotLike(String value) {
|
||||||
|
addCriterion("id not like", value, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdIn(List<String> values) {
|
||||||
|
addCriterion("id in", values, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotIn(List<String> values) {
|
||||||
|
addCriterion("id not in", values, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("id between", value1, value2, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("id not between", value1, value2, "id");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartIsNull() {
|
||||||
|
addCriterion("finan_part is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartIsNotNull() {
|
||||||
|
addCriterion("finan_part is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartEqualTo(String value) {
|
||||||
|
addCriterion("finan_part =", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartNotEqualTo(String value) {
|
||||||
|
addCriterion("finan_part <>", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartGreaterThan(String value) {
|
||||||
|
addCriterion("finan_part >", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("finan_part >=", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartLessThan(String value) {
|
||||||
|
addCriterion("finan_part <", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("finan_part <=", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartLike(String value) {
|
||||||
|
addCriterion("finan_part like", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartNotLike(String value) {
|
||||||
|
addCriterion("finan_part not like", value, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartIn(List<String> values) {
|
||||||
|
addCriterion("finan_part in", values, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartNotIn(List<String> values) {
|
||||||
|
addCriterion("finan_part not in", values, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartBetween(String value1, String value2) {
|
||||||
|
addCriterion("finan_part between", value1, value2, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("finan_part not between", value1, value2, "finanPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberIsNull() {
|
||||||
|
addCriterion("finan_part_tax_number is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberIsNotNull() {
|
||||||
|
addCriterion("finan_part_tax_number is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberEqualTo(String value) {
|
||||||
|
addCriterion("finan_part_tax_number =", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberNotEqualTo(String value) {
|
||||||
|
addCriterion("finan_part_tax_number <>", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberGreaterThan(String value) {
|
||||||
|
addCriterion("finan_part_tax_number >", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("finan_part_tax_number >=", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberLessThan(String value) {
|
||||||
|
addCriterion("finan_part_tax_number <", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("finan_part_tax_number <=", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberLike(String value) {
|
||||||
|
addCriterion("finan_part_tax_number like", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberNotLike(String value) {
|
||||||
|
addCriterion("finan_part_tax_number not like", value, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberIn(List<String> values) {
|
||||||
|
addCriterion("finan_part_tax_number in", values, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberNotIn(List<String> values) {
|
||||||
|
addCriterion("finan_part_tax_number not in", values, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberBetween(String value1, String value2) {
|
||||||
|
addCriterion("finan_part_tax_number between", value1, value2, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andFinanPartTaxNumberNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("finan_part_tax_number not between", value1, value2, "finanPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartIsNull() {
|
||||||
|
addCriterion("debtor_part is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartIsNotNull() {
|
||||||
|
addCriterion("debtor_part is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part =", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartNotEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part <>", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartGreaterThan(String value) {
|
||||||
|
addCriterion("debtor_part >", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part >=", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartLessThan(String value) {
|
||||||
|
addCriterion("debtor_part <", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part <=", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartLike(String value) {
|
||||||
|
addCriterion("debtor_part like", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartNotLike(String value) {
|
||||||
|
addCriterion("debtor_part not like", value, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartIn(List<String> values) {
|
||||||
|
addCriterion("debtor_part in", values, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartNotIn(List<String> values) {
|
||||||
|
addCriterion("debtor_part not in", values, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartBetween(String value1, String value2) {
|
||||||
|
addCriterion("debtor_part between", value1, value2, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("debtor_part not between", value1, value2, "debtorPart");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberIsNull() {
|
||||||
|
addCriterion("debtor_part_tax_number is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberIsNotNull() {
|
||||||
|
addCriterion("debtor_part_tax_number is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number =", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberNotEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number <>", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberGreaterThan(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number >", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number >=", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberLessThan(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number <", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number <=", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberLike(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number like", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberNotLike(String value) {
|
||||||
|
addCriterion("debtor_part_tax_number not like", value, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberIn(List<String> values) {
|
||||||
|
addCriterion("debtor_part_tax_number in", values, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberNotIn(List<String> values) {
|
||||||
|
addCriterion("debtor_part_tax_number not in", values, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberBetween(String value1, String value2) {
|
||||||
|
addCriterion("debtor_part_tax_number between", value1, value2, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andDebtorPartTaxNumberNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("debtor_part_tax_number not between", value1, value2, "debtorPartTaxNumber");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountIsNull() {
|
||||||
|
addCriterion("account_receive_anount is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountIsNotNull() {
|
||||||
|
addCriterion("account_receive_anount is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountEqualTo(Double value) {
|
||||||
|
addCriterion("account_receive_anount =", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountNotEqualTo(Double value) {
|
||||||
|
addCriterion("account_receive_anount <>", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountGreaterThan(Double value) {
|
||||||
|
addCriterion("account_receive_anount >", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountGreaterThanOrEqualTo(Double value) {
|
||||||
|
addCriterion("account_receive_anount >=", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountLessThan(Double value) {
|
||||||
|
addCriterion("account_receive_anount <", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountLessThanOrEqualTo(Double value) {
|
||||||
|
addCriterion("account_receive_anount <=", value, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountIn(List<Double> values) {
|
||||||
|
addCriterion("account_receive_anount in", values, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountNotIn(List<Double> values) {
|
||||||
|
addCriterion("account_receive_anount not in", values, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountBetween(Double value1, Double value2) {
|
||||||
|
addCriterion("account_receive_anount between", value1, value2, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andAccountReceiveAnountNotBetween(Double value1, Double value2) {
|
||||||
|
addCriterion("account_receive_anount not between", value1, value2, "accountReceiveAnount");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateIsNull() {
|
||||||
|
addCriterion("pay_date is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateIsNotNull() {
|
||||||
|
addCriterion("pay_date is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateEqualTo(Date value) {
|
||||||
|
addCriterion("pay_date =", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateNotEqualTo(Date value) {
|
||||||
|
addCriterion("pay_date <>", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateGreaterThan(Date value) {
|
||||||
|
addCriterion("pay_date >", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateGreaterThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("pay_date >=", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateLessThan(Date value) {
|
||||||
|
addCriterion("pay_date <", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateLessThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("pay_date <=", value, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateIn(List<Date> values) {
|
||||||
|
addCriterion("pay_date in", values, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateNotIn(List<Date> values) {
|
||||||
|
addCriterion("pay_date not in", values, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("pay_date between", value1, value2, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPayDateNotBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("pay_date not between", value1, value2, "payDate");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdIsNull() {
|
||||||
|
addCriterion("user_id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdIsNotNull() {
|
||||||
|
addCriterion("user_id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdEqualTo(String value) {
|
||||||
|
addCriterion("user_id =", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotEqualTo(String value) {
|
||||||
|
addCriterion("user_id <>", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdGreaterThan(String value) {
|
||||||
|
addCriterion("user_id >", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user_id >=", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLessThan(String value) {
|
||||||
|
addCriterion("user_id <", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user_id <=", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLike(String value) {
|
||||||
|
addCriterion("user_id like", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotLike(String value) {
|
||||||
|
addCriterion("user_id not like", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdIn(List<String> values) {
|
||||||
|
addCriterion("user_id in", values, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotIn(List<String> values) {
|
||||||
|
addCriterion("user_id not in", values, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("user_id between", value1, value2, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("user_id not between", value1, value2, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeIsNull() {
|
||||||
|
addCriterion("create_time is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeIsNotNull() {
|
||||||
|
addCriterion("create_time is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeEqualTo(Date value) {
|
||||||
|
addCriterion("create_time =", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||||
|
addCriterion("create_time <>", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||||
|
addCriterion("create_time >", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("create_time >=", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeLessThan(Date value) {
|
||||||
|
addCriterion("create_time <", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("create_time <=", value, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeIn(List<Date> values) {
|
||||||
|
addCriterion("create_time in", values, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||||
|
addCriterion("create_time not in", values, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("create_time between", value1, value2, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("create_time not between", value1, value2, "createTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeIsNull() {
|
||||||
|
addCriterion("update_time is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeIsNotNull() {
|
||||||
|
addCriterion("update_time is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||||
|
addCriterion("update_time =", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||||
|
addCriterion("update_time <>", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||||
|
addCriterion("update_time >", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("update_time >=", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeLessThan(Date value) {
|
||||||
|
addCriterion("update_time <", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||||
|
addCriterion("update_time <=", value, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||||
|
addCriterion("update_time in", values, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||||
|
addCriterion("update_time not in", values, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("update_time between", value1, value2, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||||
|
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Criteria extends GeneratedCriteria {
|
||||||
|
protected Criteria() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Criterion {
|
||||||
|
private String condition;
|
||||||
|
|
||||||
|
private Object value;
|
||||||
|
|
||||||
|
private Object secondValue;
|
||||||
|
|
||||||
|
private boolean noValue;
|
||||||
|
|
||||||
|
private boolean singleValue;
|
||||||
|
|
||||||
|
private boolean betweenValue;
|
||||||
|
|
||||||
|
private boolean listValue;
|
||||||
|
|
||||||
|
private String typeHandler;
|
||||||
|
|
||||||
|
public String getCondition() {
|
||||||
|
return condition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getSecondValue() {
|
||||||
|
return secondValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNoValue() {
|
||||||
|
return noValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSingleValue() {
|
||||||
|
return singleValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isBetweenValue() {
|
||||||
|
return betweenValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isListValue() {
|
||||||
|
return listValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTypeHandler() {
|
||||||
|
return typeHandler;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.typeHandler = null;
|
||||||
|
this.noValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
if (value instanceof List<?>) {
|
||||||
|
this.listValue = true;
|
||||||
|
} else {
|
||||||
|
this.singleValue = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value) {
|
||||||
|
this(condition, value, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.secondValue = secondValue;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
this.betweenValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue) {
|
||||||
|
this(condition, value, secondValue, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package com.sztzjy.block_finance.mappers;
|
||||||
|
|
||||||
|
import com.sztzjy.block_finance.entity.StuFinanNeeds;
|
||||||
|
import com.sztzjy.block_finance.entity.StuFinanNeedsExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface StuFinanNeedsMapper {
|
||||||
|
long countByExample(StuFinanNeedsExample example);
|
||||||
|
|
||||||
|
int deleteByExample(StuFinanNeedsExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(String id);
|
||||||
|
|
||||||
|
int insert(StuFinanNeeds record);
|
||||||
|
|
||||||
|
int insertSelective(StuFinanNeeds record);
|
||||||
|
|
||||||
|
List<StuFinanNeeds> selectByExample(StuFinanNeedsExample example);
|
||||||
|
|
||||||
|
StuFinanNeeds selectByPrimaryKey(String id);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") StuFinanNeeds record, @Param("example") StuFinanNeedsExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") StuFinanNeeds record, @Param("example") StuFinanNeedsExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(StuFinanNeeds record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(StuFinanNeeds record);
|
||||||
|
}
|
@ -0,0 +1,291 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.sztzjy.block_finance.mappers.StuFinanNeedsMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.block_finance.entity.StuFinanNeeds">
|
||||||
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||||
|
<result column="finan_part" jdbcType="VARCHAR" property="finanPart" />
|
||||||
|
<result column="finan_part_tax_number" jdbcType="VARCHAR" property="finanPartTaxNumber" />
|
||||||
|
<result column="debtor_part" jdbcType="VARCHAR" property="debtorPart" />
|
||||||
|
<result column="debtor_part_tax_number" jdbcType="VARCHAR" property="debtorPartTaxNumber" />
|
||||||
|
<result column="account_receive_anount" jdbcType="DOUBLE" property="accountReceiveAnount" />
|
||||||
|
<result column="pay_date" jdbcType="TIMESTAMP" property="payDate" />
|
||||||
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||||
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id, finan_part, finan_part_tax_number, debtor_part, debtor_part_tax_number, account_receive_anount,
|
||||||
|
pay_date, user_id, create_time, update_time
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuFinanNeedsExample" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_finan_needs
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_finan_needs
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
|
delete from stu_finan_needs
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.block_finance.entity.StuFinanNeedsExample">
|
||||||
|
delete from stu_finan_needs
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.block_finance.entity.StuFinanNeeds">
|
||||||
|
insert into stu_finan_needs (id, finan_part, finan_part_tax_number,
|
||||||
|
debtor_part, debtor_part_tax_number, account_receive_anount,
|
||||||
|
pay_date, user_id, create_time,
|
||||||
|
update_time)
|
||||||
|
values (#{id,jdbcType=VARCHAR}, #{finanPart,jdbcType=VARCHAR}, #{finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
#{debtorPart,jdbcType=VARCHAR}, #{debtorPartTaxNumber,jdbcType=VARCHAR}, #{accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
#{payDate,jdbcType=TIMESTAMP}, #{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
#{updateTime,jdbcType=TIMESTAMP})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuFinanNeeds">
|
||||||
|
insert into stu_finan_needs
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
id,
|
||||||
|
</if>
|
||||||
|
<if test="finanPart != null">
|
||||||
|
finan_part,
|
||||||
|
</if>
|
||||||
|
<if test="finanPartTaxNumber != null">
|
||||||
|
finan_part_tax_number,
|
||||||
|
</if>
|
||||||
|
<if test="debtorPart != null">
|
||||||
|
debtor_part,
|
||||||
|
</if>
|
||||||
|
<if test="debtorPartTaxNumber != null">
|
||||||
|
debtor_part_tax_number,
|
||||||
|
</if>
|
||||||
|
<if test="accountReceiveAnount != null">
|
||||||
|
account_receive_anount,
|
||||||
|
</if>
|
||||||
|
<if test="payDate != null">
|
||||||
|
pay_date,
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id,
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time,
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
#{id,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="finanPart != null">
|
||||||
|
#{finanPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="finanPartTaxNumber != null">
|
||||||
|
#{finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="debtorPart != null">
|
||||||
|
#{debtorPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="debtorPartTaxNumber != null">
|
||||||
|
#{debtorPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="accountReceiveAnount != null">
|
||||||
|
#{accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="payDate != null">
|
||||||
|
#{payDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
#{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuFinanNeedsExample" resultType="java.lang.Long">
|
||||||
|
select count(*) from stu_finan_needs
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
update stu_finan_needs
|
||||||
|
<set>
|
||||||
|
<if test="record.id != null">
|
||||||
|
id = #{record.id,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.finanPart != null">
|
||||||
|
finan_part = #{record.finanPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.finanPartTaxNumber != null">
|
||||||
|
finan_part_tax_number = #{record.finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.debtorPart != null">
|
||||||
|
debtor_part = #{record.debtorPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.debtorPartTaxNumber != null">
|
||||||
|
debtor_part_tax_number = #{record.debtorPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.accountReceiveAnount != null">
|
||||||
|
account_receive_anount = #{record.accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="record.payDate != null">
|
||||||
|
pay_date = #{record.payDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.userId != null">
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.createTime != null">
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.updateTime != null">
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
update stu_finan_needs
|
||||||
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
|
finan_part = #{record.finanPart,jdbcType=VARCHAR},
|
||||||
|
finan_part_tax_number = #{record.finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
debtor_part = #{record.debtorPart,jdbcType=VARCHAR},
|
||||||
|
debtor_part_tax_number = #{record.debtorPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
account_receive_anount = #{record.accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
pay_date = #{record.payDate,jdbcType=TIMESTAMP},
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.block_finance.entity.StuFinanNeeds">
|
||||||
|
update stu_finan_needs
|
||||||
|
<set>
|
||||||
|
<if test="finanPart != null">
|
||||||
|
finan_part = #{finanPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="finanPartTaxNumber != null">
|
||||||
|
finan_part_tax_number = #{finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="debtorPart != null">
|
||||||
|
debtor_part = #{debtorPart,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="debtorPartTaxNumber != null">
|
||||||
|
debtor_part_tax_number = #{debtorPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="accountReceiveAnount != null">
|
||||||
|
account_receive_anount = #{accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
</if>
|
||||||
|
<if test="payDate != null">
|
||||||
|
pay_date = #{payDate,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.block_finance.entity.StuFinanNeeds">
|
||||||
|
update stu_finan_needs
|
||||||
|
set finan_part = #{finanPart,jdbcType=VARCHAR},
|
||||||
|
finan_part_tax_number = #{finanPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
debtor_part = #{debtorPart,jdbcType=VARCHAR},
|
||||||
|
debtor_part_tax_number = #{debtorPartTaxNumber,jdbcType=VARCHAR},
|
||||||
|
account_receive_anount = #{accountReceiveAnount,jdbcType=DOUBLE},
|
||||||
|
pay_date = #{payDate,jdbcType=TIMESTAMP},
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue