优化用户和单据的sql

This commit is contained in:
季圣华
2019-12-24 22:03:12 +08:00
parent 193144f133
commit 8cfdc3dc17
15 changed files with 27 additions and 1552 deletions

View File

@@ -4,994 +4,312 @@ import java.math.BigDecimal;
import java.util.Date;
public class DepotHead {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Id
*
* @mbggenerated
*/
private Long id;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Type
*
* @mbggenerated
*/
private String type;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.SubType
*
* @mbggenerated
*/
private String subtype;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.ProjectId
*
* @mbggenerated
*/
private Long projectid;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.DefaultNumber
*
* @mbggenerated
*/
private String defaultnumber;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Number
*
* @mbggenerated
*/
private String number;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OperPersonName
*
* @mbggenerated
*/
private String operpersonname;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.CreateTime
*
* @mbggenerated
*/
private Date createtime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OperTime
*
* @mbggenerated
*/
private Date opertime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OrganId
*
* @mbggenerated
*/
private Long organid;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.HandsPersonId
*
* @mbggenerated
*/
private Long handspersonid;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.AccountId
*
* @mbggenerated
*/
private Long accountid;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.ChangeAmount
*
* @mbggenerated
*/
private BigDecimal changeamount;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.AllocationProjectId
*
* @mbggenerated
*/
private Long allocationprojectid;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.TotalPrice
*
* @mbggenerated
*/
private BigDecimal totalprice;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.PayType
*
* @mbggenerated
*/
private String paytype;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Remark
*
* @mbggenerated
*/
private String remark;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Salesman
*
* @mbggenerated
*/
private String salesman;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.AccountIdList
*
* @mbggenerated
*/
private String accountidlist;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.AccountMoneyList
*
* @mbggenerated
*/
private String accountmoneylist;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Discount
*
* @mbggenerated
*/
private BigDecimal discount;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.DiscountMoney
*
* @mbggenerated
*/
private BigDecimal discountmoney;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.DiscountLastMoney
*
* @mbggenerated
*/
private BigDecimal discountlastmoney;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OtherMoney
*
* @mbggenerated
*/
private BigDecimal othermoney;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OtherMoneyList
*
* @mbggenerated
*/
private String othermoneylist;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.OtherMoneyItem
*
* @mbggenerated
*/
private String othermoneyitem;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.AccountDay
*
* @mbggenerated
*/
private Integer accountday;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.Status
*
* @mbggenerated
*/
private String status;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.LinkNumber
*
* @mbggenerated
*/
private String linknumber;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.tenant_id
*
* @mbggenerated
*/
private Long tenantId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_depothead.delete_Flag
*
* @mbggenerated
*/
private String deleteFlag;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Id
*
* @return the value of jsh_depothead.Id
*
* @mbggenerated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Id
*
* @param id the value for jsh_depothead.Id
*
* @mbggenerated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Type
*
* @return the value of jsh_depothead.Type
*
* @mbggenerated
*/
public String getType() {
return type;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Type
*
* @param type the value for jsh_depothead.Type
*
* @mbggenerated
*/
public void setType(String type) {
this.type = type == null ? null : type.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.SubType
*
* @return the value of jsh_depothead.SubType
*
* @mbggenerated
*/
public String getSubtype() {
return subtype;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.SubType
*
* @param subtype the value for jsh_depothead.SubType
*
* @mbggenerated
*/
public void setSubtype(String subtype) {
this.subtype = subtype == null ? null : subtype.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.ProjectId
*
* @return the value of jsh_depothead.ProjectId
*
* @mbggenerated
*/
public Long getProjectid() {
return projectid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.ProjectId
*
* @param projectid the value for jsh_depothead.ProjectId
*
* @mbggenerated
*/
public void setProjectid(Long projectid) {
this.projectid = projectid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.DefaultNumber
*
* @return the value of jsh_depothead.DefaultNumber
*
* @mbggenerated
*/
public String getDefaultnumber() {
return defaultnumber;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.DefaultNumber
*
* @param defaultnumber the value for jsh_depothead.DefaultNumber
*
* @mbggenerated
*/
public void setDefaultnumber(String defaultnumber) {
this.defaultnumber = defaultnumber == null ? null : defaultnumber.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Number
*
* @return the value of jsh_depothead.Number
*
* @mbggenerated
*/
public String getNumber() {
return number;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Number
*
* @param number the value for jsh_depothead.Number
*
* @mbggenerated
*/
public void setNumber(String number) {
this.number = number == null ? null : number.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OperPersonName
*
* @return the value of jsh_depothead.OperPersonName
*
* @mbggenerated
*/
public String getOperpersonname() {
return operpersonname;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OperPersonName
*
* @param operpersonname the value for jsh_depothead.OperPersonName
*
* @mbggenerated
*/
public void setOperpersonname(String operpersonname) {
this.operpersonname = operpersonname == null ? null : operpersonname.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.CreateTime
*
* @return the value of jsh_depothead.CreateTime
*
* @mbggenerated
*/
public Date getCreatetime() {
return createtime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.CreateTime
*
* @param createtime the value for jsh_depothead.CreateTime
*
* @mbggenerated
*/
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OperTime
*
* @return the value of jsh_depothead.OperTime
*
* @mbggenerated
*/
public Date getOpertime() {
return opertime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OperTime
*
* @param opertime the value for jsh_depothead.OperTime
*
* @mbggenerated
*/
public void setOpertime(Date opertime) {
this.opertime = opertime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OrganId
*
* @return the value of jsh_depothead.OrganId
*
* @mbggenerated
*/
public Long getOrganid() {
return organid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OrganId
*
* @param organid the value for jsh_depothead.OrganId
*
* @mbggenerated
*/
public void setOrganid(Long organid) {
this.organid = organid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.HandsPersonId
*
* @return the value of jsh_depothead.HandsPersonId
*
* @mbggenerated
*/
public Long getHandspersonid() {
return handspersonid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.HandsPersonId
*
* @param handspersonid the value for jsh_depothead.HandsPersonId
*
* @mbggenerated
*/
public void setHandspersonid(Long handspersonid) {
this.handspersonid = handspersonid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.AccountId
*
* @return the value of jsh_depothead.AccountId
*
* @mbggenerated
*/
public Long getAccountid() {
return accountid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.AccountId
*
* @param accountid the value for jsh_depothead.AccountId
*
* @mbggenerated
*/
public void setAccountid(Long accountid) {
this.accountid = accountid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.ChangeAmount
*
* @return the value of jsh_depothead.ChangeAmount
*
* @mbggenerated
*/
public BigDecimal getChangeamount() {
return changeamount;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.ChangeAmount
*
* @param changeamount the value for jsh_depothead.ChangeAmount
*
* @mbggenerated
*/
public void setChangeamount(BigDecimal changeamount) {
this.changeamount = changeamount;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.AllocationProjectId
*
* @return the value of jsh_depothead.AllocationProjectId
*
* @mbggenerated
*/
public Long getAllocationprojectid() {
return allocationprojectid;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.AllocationProjectId
*
* @param allocationprojectid the value for jsh_depothead.AllocationProjectId
*
* @mbggenerated
*/
public void setAllocationprojectid(Long allocationprojectid) {
this.allocationprojectid = allocationprojectid;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.TotalPrice
*
* @return the value of jsh_depothead.TotalPrice
*
* @mbggenerated
*/
public BigDecimal getTotalprice() {
return totalprice;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.TotalPrice
*
* @param totalprice the value for jsh_depothead.TotalPrice
*
* @mbggenerated
*/
public void setTotalprice(BigDecimal totalprice) {
this.totalprice = totalprice;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.PayType
*
* @return the value of jsh_depothead.PayType
*
* @mbggenerated
*/
public String getPaytype() {
return paytype;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.PayType
*
* @param paytype the value for jsh_depothead.PayType
*
* @mbggenerated
*/
public void setPaytype(String paytype) {
this.paytype = paytype == null ? null : paytype.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Remark
*
* @return the value of jsh_depothead.Remark
*
* @mbggenerated
*/
public String getRemark() {
return remark;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Remark
*
* @param remark the value for jsh_depothead.Remark
*
* @mbggenerated
*/
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Salesman
*
* @return the value of jsh_depothead.Salesman
*
* @mbggenerated
*/
public String getSalesman() {
return salesman;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Salesman
*
* @param salesman the value for jsh_depothead.Salesman
*
* @mbggenerated
*/
public void setSalesman(String salesman) {
this.salesman = salesman == null ? null : salesman.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.AccountIdList
*
* @return the value of jsh_depothead.AccountIdList
*
* @mbggenerated
*/
public String getAccountidlist() {
return accountidlist;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.AccountIdList
*
* @param accountidlist the value for jsh_depothead.AccountIdList
*
* @mbggenerated
*/
public void setAccountidlist(String accountidlist) {
this.accountidlist = accountidlist == null ? null : accountidlist.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.AccountMoneyList
*
* @return the value of jsh_depothead.AccountMoneyList
*
* @mbggenerated
*/
public String getAccountmoneylist() {
return accountmoneylist;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.AccountMoneyList
*
* @param accountmoneylist the value for jsh_depothead.AccountMoneyList
*
* @mbggenerated
*/
public void setAccountmoneylist(String accountmoneylist) {
this.accountmoneylist = accountmoneylist == null ? null : accountmoneylist.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Discount
*
* @return the value of jsh_depothead.Discount
*
* @mbggenerated
*/
public BigDecimal getDiscount() {
return discount;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Discount
*
* @param discount the value for jsh_depothead.Discount
*
* @mbggenerated
*/
public void setDiscount(BigDecimal discount) {
this.discount = discount;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.DiscountMoney
*
* @return the value of jsh_depothead.DiscountMoney
*
* @mbggenerated
*/
public BigDecimal getDiscountmoney() {
return discountmoney;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.DiscountMoney
*
* @param discountmoney the value for jsh_depothead.DiscountMoney
*
* @mbggenerated
*/
public void setDiscountmoney(BigDecimal discountmoney) {
this.discountmoney = discountmoney;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.DiscountLastMoney
*
* @return the value of jsh_depothead.DiscountLastMoney
*
* @mbggenerated
*/
public BigDecimal getDiscountlastmoney() {
return discountlastmoney;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.DiscountLastMoney
*
* @param discountlastmoney the value for jsh_depothead.DiscountLastMoney
*
* @mbggenerated
*/
public void setDiscountlastmoney(BigDecimal discountlastmoney) {
this.discountlastmoney = discountlastmoney;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OtherMoney
*
* @return the value of jsh_depothead.OtherMoney
*
* @mbggenerated
*/
public BigDecimal getOthermoney() {
return othermoney;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OtherMoney
*
* @param othermoney the value for jsh_depothead.OtherMoney
*
* @mbggenerated
*/
public void setOthermoney(BigDecimal othermoney) {
this.othermoney = othermoney;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OtherMoneyList
*
* @return the value of jsh_depothead.OtherMoneyList
*
* @mbggenerated
*/
public String getOthermoneylist() {
return othermoneylist;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OtherMoneyList
*
* @param othermoneylist the value for jsh_depothead.OtherMoneyList
*
* @mbggenerated
*/
public void setOthermoneylist(String othermoneylist) {
this.othermoneylist = othermoneylist == null ? null : othermoneylist.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.OtherMoneyItem
*
* @return the value of jsh_depothead.OtherMoneyItem
*
* @mbggenerated
*/
public String getOthermoneyitem() {
return othermoneyitem;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.OtherMoneyItem
*
* @param othermoneyitem the value for jsh_depothead.OtherMoneyItem
*
* @mbggenerated
*/
public void setOthermoneyitem(String othermoneyitem) {
this.othermoneyitem = othermoneyitem == null ? null : othermoneyitem.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.AccountDay
*
* @return the value of jsh_depothead.AccountDay
*
* @mbggenerated
*/
public Integer getAccountday() {
return accountday;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.AccountDay
*
* @param accountday the value for jsh_depothead.AccountDay
*
* @mbggenerated
*/
public void setAccountday(Integer accountday) {
this.accountday = accountday;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.Status
*
* @return the value of jsh_depothead.Status
*
* @mbggenerated
*/
public String getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.Status
*
* @param status the value for jsh_depothead.Status
*
* @mbggenerated
*/
public void setStatus(String status) {
this.status = status == null ? null : status.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.LinkNumber
*
* @return the value of jsh_depothead.LinkNumber
*
* @mbggenerated
*/
public String getLinknumber() {
return linknumber;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.LinkNumber
*
* @param linknumber the value for jsh_depothead.LinkNumber
*
* @mbggenerated
*/
public void setLinknumber(String linknumber) {
this.linknumber = linknumber == null ? null : linknumber.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.tenant_id
*
* @return the value of jsh_depothead.tenant_id
*
* @mbggenerated
*/
public Long getTenantId() {
return tenantId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.tenant_id
*
* @param tenantId the value for jsh_depothead.tenant_id
*
* @mbggenerated
*/
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_depothead.delete_Flag
*
* @return the value of jsh_depothead.delete_Flag
*
* @mbggenerated
*/
public String getDeleteFlag() {
return deleteFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_depothead.delete_Flag
*
* @param deleteFlag the value for jsh_depothead.delete_Flag
*
* @mbggenerated
*/
public void setDeleteFlag(String deleteFlag) {
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
}

View File

@@ -6,118 +6,46 @@ import java.util.Date;
import java.util.List;
public class DepotHeadExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public DepotHeadExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
@@ -126,35 +54,17 @@ public class DepotHeadExample {
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
@@ -2207,12 +2117,6 @@ public class DepotHeadExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_depothead
*
* @mbggenerated do_not_delete_during_merge
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
@@ -2220,12 +2124,6 @@ public class DepotHeadExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_depothead
*
* @mbggenerated
*/
public static class Criterion {
private String condition;

View File

@@ -1,450 +1,142 @@
package com.jsh.erp.datasource.entities;
public class User {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.id
*
* @mbggenerated
*/
private Long id;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.username
*
* @mbggenerated
*/
private String username;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.loginame
*
* @mbggenerated
*/
private String loginame;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.password
*
* @mbggenerated
*/
private String password;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.position
*
* @mbggenerated
*/
private String position;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.department
*
* @mbggenerated
*/
private String department;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.email
*
* @mbggenerated
*/
private String email;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.phonenum
*
* @mbggenerated
*/
private String phonenum;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.ismanager
*
* @mbggenerated
*/
private Byte ismanager;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.isystem
*
* @mbggenerated
*/
private Byte isystem;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.Status
*
* @mbggenerated
*/
private Byte status;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.description
*
* @mbggenerated
*/
private String description;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.remark
*
* @mbggenerated
*/
private String remark;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_user.tenant_id
*
* @mbggenerated
*/
private Long tenantId;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.id
*
* @return the value of jsh_user.id
*
* @mbggenerated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.id
*
* @param id the value for jsh_user.id
*
* @mbggenerated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.username
*
* @return the value of jsh_user.username
*
* @mbggenerated
*/
public String getUsername() {
return username;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.username
*
* @param username the value for jsh_user.username
*
* @mbggenerated
*/
public void setUsername(String username) {
this.username = username == null ? null : username.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.loginame
*
* @return the value of jsh_user.loginame
*
* @mbggenerated
*/
public String getLoginame() {
return loginame;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.loginame
*
* @param loginame the value for jsh_user.loginame
*
* @mbggenerated
*/
public void setLoginame(String loginame) {
this.loginame = loginame == null ? null : loginame.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.password
*
* @return the value of jsh_user.password
*
* @mbggenerated
*/
public String getPassword() {
return password;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.password
*
* @param password the value for jsh_user.password
*
* @mbggenerated
*/
public void setPassword(String password) {
this.password = password == null ? null : password.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.position
*
* @return the value of jsh_user.position
*
* @mbggenerated
*/
public String getPosition() {
return position;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.position
*
* @param position the value for jsh_user.position
*
* @mbggenerated
*/
public void setPosition(String position) {
this.position = position == null ? null : position.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.department
*
* @return the value of jsh_user.department
*
* @mbggenerated
*/
public String getDepartment() {
return department;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.department
*
* @param department the value for jsh_user.department
*
* @mbggenerated
*/
public void setDepartment(String department) {
this.department = department == null ? null : department.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.email
*
* @return the value of jsh_user.email
*
* @mbggenerated
*/
public String getEmail() {
return email;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.email
*
* @param email the value for jsh_user.email
*
* @mbggenerated
*/
public void setEmail(String email) {
this.email = email == null ? null : email.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.phonenum
*
* @return the value of jsh_user.phonenum
*
* @mbggenerated
*/
public String getPhonenum() {
return phonenum;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.phonenum
*
* @param phonenum the value for jsh_user.phonenum
*
* @mbggenerated
*/
public void setPhonenum(String phonenum) {
this.phonenum = phonenum == null ? null : phonenum.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.ismanager
*
* @return the value of jsh_user.ismanager
*
* @mbggenerated
*/
public Byte getIsmanager() {
return ismanager;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.ismanager
*
* @param ismanager the value for jsh_user.ismanager
*
* @mbggenerated
*/
public void setIsmanager(Byte ismanager) {
this.ismanager = ismanager;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.isystem
*
* @return the value of jsh_user.isystem
*
* @mbggenerated
*/
public Byte getIsystem() {
return isystem;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.isystem
*
* @param isystem the value for jsh_user.isystem
*
* @mbggenerated
*/
public void setIsystem(Byte isystem) {
this.isystem = isystem;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.Status
*
* @return the value of jsh_user.Status
*
* @mbggenerated
*/
public Byte getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.Status
*
* @param status the value for jsh_user.Status
*
* @mbggenerated
*/
public void setStatus(Byte status) {
this.status = status;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.description
*
* @return the value of jsh_user.description
*
* @mbggenerated
*/
public String getDescription() {
return description;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.description
*
* @param description the value for jsh_user.description
*
* @mbggenerated
*/
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.remark
*
* @return the value of jsh_user.remark
*
* @mbggenerated
*/
public String getRemark() {
return remark;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.remark
*
* @param remark the value for jsh_user.remark
*
* @mbggenerated
*/
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_user.tenant_id
*
* @return the value of jsh_user.tenant_id
*
* @mbggenerated
*/
public Long getTenantId() {
return tenantId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_user.tenant_id
*
* @param tenantId the value for jsh_user.tenant_id
*
* @mbggenerated
*/
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}

View File

@@ -4,118 +4,46 @@ import java.util.ArrayList;
import java.util.List;
public class UserExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public UserExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
@@ -124,35 +52,17 @@ public class UserExample {
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_user
*
* @mbggenerated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_user
*
* @mbggenerated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
@@ -1125,12 +1035,6 @@ public class UserExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_user
*
* @mbggenerated do_not_delete_during_merge
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
@@ -1138,12 +1042,6 @@ public class UserExample {
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table jsh_user
*
* @mbggenerated
*/
public static class Criterion {
private String condition;