去掉与资产相关的数据表
This commit is contained in:
@@ -1,678 +0,0 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
public class Asset {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.assetnameID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long assetnameid;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.location
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String location;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.labels
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String labels;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.status
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Short status;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.userID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long userid;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.price
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private BigDecimal price;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.purchasedate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Date purchasedate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.periodofvalidity
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Date periodofvalidity;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.warrantydate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Date warrantydate;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.assetnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String assetnum;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.serialnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String serialnum;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long supplier;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.createtime
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Date createtime;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.creator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long creator;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.updatetime
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Date updatetime;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.updator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long updator;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long tenantId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String deleteFlag;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_asset.addMonth
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String addmonth;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.id
|
||||
*
|
||||
* @return the value of jsh_asset.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.id
|
||||
*
|
||||
* @param id the value for jsh_asset.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_asset.assetnameID
|
||||
*
|
||||
* @return the value of jsh_asset.assetnameID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getAssetnameid() {
|
||||
return assetnameid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.assetnameID
|
||||
*
|
||||
* @param assetnameid the value for jsh_asset.assetnameID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAssetnameid(Long assetnameid) {
|
||||
this.assetnameid = assetnameid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.location
|
||||
*
|
||||
* @return the value of jsh_asset.location
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.location
|
||||
*
|
||||
* @param location the value for jsh_asset.location
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setLocation(String location) {
|
||||
this.location = location == null ? null : location.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.labels
|
||||
*
|
||||
* @return the value of jsh_asset.labels
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getLabels() {
|
||||
return labels;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.labels
|
||||
*
|
||||
* @param labels the value for jsh_asset.labels
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setLabels(String labels) {
|
||||
this.labels = labels == null ? null : labels.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.status
|
||||
*
|
||||
* @return the value of jsh_asset.status
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Short getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.status
|
||||
*
|
||||
* @param status the value for jsh_asset.status
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.userID
|
||||
*
|
||||
* @return the value of jsh_asset.userID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getUserid() {
|
||||
return userid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.userID
|
||||
*
|
||||
* @param userid the value for jsh_asset.userID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setUserid(Long userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.price
|
||||
*
|
||||
* @return the value of jsh_asset.price
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public BigDecimal getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.price
|
||||
*
|
||||
* @param price the value for jsh_asset.price
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setPrice(BigDecimal price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.purchasedate
|
||||
*
|
||||
* @return the value of jsh_asset.purchasedate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Date getPurchasedate() {
|
||||
return purchasedate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.purchasedate
|
||||
*
|
||||
* @param purchasedate the value for jsh_asset.purchasedate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setPurchasedate(Date purchasedate) {
|
||||
this.purchasedate = purchasedate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.periodofvalidity
|
||||
*
|
||||
* @return the value of jsh_asset.periodofvalidity
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Date getPeriodofvalidity() {
|
||||
return periodofvalidity;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.periodofvalidity
|
||||
*
|
||||
* @param periodofvalidity the value for jsh_asset.periodofvalidity
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setPeriodofvalidity(Date periodofvalidity) {
|
||||
this.periodofvalidity = periodofvalidity;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.warrantydate
|
||||
*
|
||||
* @return the value of jsh_asset.warrantydate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Date getWarrantydate() {
|
||||
return warrantydate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.warrantydate
|
||||
*
|
||||
* @param warrantydate the value for jsh_asset.warrantydate
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setWarrantydate(Date warrantydate) {
|
||||
this.warrantydate = warrantydate;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.assetnum
|
||||
*
|
||||
* @return the value of jsh_asset.assetnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getAssetnum() {
|
||||
return assetnum;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.assetnum
|
||||
*
|
||||
* @param assetnum the value for jsh_asset.assetnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAssetnum(String assetnum) {
|
||||
this.assetnum = assetnum == null ? null : assetnum.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.serialnum
|
||||
*
|
||||
* @return the value of jsh_asset.serialnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getSerialnum() {
|
||||
return serialnum;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.serialnum
|
||||
*
|
||||
* @param serialnum the value for jsh_asset.serialnum
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setSerialnum(String serialnum) {
|
||||
this.serialnum = serialnum == null ? null : serialnum.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.supplier
|
||||
*
|
||||
* @return the value of jsh_asset.supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getSupplier() {
|
||||
return supplier;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.supplier
|
||||
*
|
||||
* @param supplier the value for jsh_asset.supplier
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setSupplier(Long supplier) {
|
||||
this.supplier = supplier;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.createtime
|
||||
*
|
||||
* @return the value of jsh_asset.createtime
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Date getCreatetime() {
|
||||
return createtime;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.createtime
|
||||
*
|
||||
* @param createtime the value for jsh_asset.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_asset.creator
|
||||
*
|
||||
* @return the value of jsh_asset.creator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.creator
|
||||
*
|
||||
* @param creator the value for jsh_asset.creator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setCreator(Long creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.updatetime
|
||||
*
|
||||
* @return the value of jsh_asset.updatetime
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Date getUpdatetime() {
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.updatetime
|
||||
*
|
||||
* @param updatetime the value for jsh_asset.updatetime
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setUpdatetime(Date updatetime) {
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.updator
|
||||
*
|
||||
* @return the value of jsh_asset.updator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getUpdator() {
|
||||
return updator;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.updator
|
||||
*
|
||||
* @param updator the value for jsh_asset.updator
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setUpdator(Long updator) {
|
||||
this.updator = updator;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.tenant_id
|
||||
*
|
||||
* @return the value of jsh_asset.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_asset.tenant_id
|
||||
*
|
||||
* @param tenantId the value for jsh_asset.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_asset.delete_Flag
|
||||
*
|
||||
* @return the value of jsh_asset.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_asset.delete_Flag
|
||||
*
|
||||
* @param deleteFlag the value for jsh_asset.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDeleteFlag(String deleteFlag) {
|
||||
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_asset.description
|
||||
*
|
||||
* @return the value of jsh_asset.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.description
|
||||
*
|
||||
* @param description the value for jsh_asset.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_asset.addMonth
|
||||
*
|
||||
* @return the value of jsh_asset.addMonth
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getAddmonth() {
|
||||
return addmonth;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_asset.addMonth
|
||||
*
|
||||
* @param addmonth the value for jsh_asset.addMonth
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAddmonth(String addmonth) {
|
||||
this.addmonth = addmonth == null ? null : addmonth.trim();
|
||||
}
|
||||
}
|
||||
@@ -1,195 +0,0 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
public class AssetCategory {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String assetname;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.isystem
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Byte isystem;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long tenantId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetcategory.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String deleteFlag;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetcategory.id
|
||||
*
|
||||
* @return the value of jsh_assetcategory.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetcategory.id
|
||||
*
|
||||
* @param id the value for jsh_assetcategory.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_assetcategory.assetname
|
||||
*
|
||||
* @return the value of jsh_assetcategory.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getAssetname() {
|
||||
return assetname;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetcategory.assetname
|
||||
*
|
||||
* @param assetname the value for jsh_assetcategory.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAssetname(String assetname) {
|
||||
this.assetname = assetname == null ? null : assetname.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetcategory.isystem
|
||||
*
|
||||
* @return the value of jsh_assetcategory.isystem
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Byte getIsystem() {
|
||||
return isystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetcategory.isystem
|
||||
*
|
||||
* @param isystem the value for jsh_assetcategory.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_assetcategory.description
|
||||
*
|
||||
* @return the value of jsh_assetcategory.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetcategory.description
|
||||
*
|
||||
* @param description the value for jsh_assetcategory.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_assetcategory.tenant_id
|
||||
*
|
||||
* @return the value of jsh_assetcategory.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_assetcategory.tenant_id
|
||||
*
|
||||
* @param tenantId the value for jsh_assetcategory.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_assetcategory.delete_Flag
|
||||
*
|
||||
* @return the value of jsh_assetcategory.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_assetcategory.delete_Flag
|
||||
*
|
||||
* @param deleteFlag the value for jsh_assetcategory.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDeleteFlag(String deleteFlag) {
|
||||
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||
}
|
||||
}
|
||||
@@ -1,692 +0,0 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class AssetCategoryExample {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected String orderByClause;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected boolean distinct;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public AssetCategoryExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @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_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @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_assetcategory
|
||||
*
|
||||
* @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_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
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(Long value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Long value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Long value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Long value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Long> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Long> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Long value1, Long value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIsNull() {
|
||||
addCriterion("assetname is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIsNotNull() {
|
||||
addCriterion("assetname is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameEqualTo(String value) {
|
||||
addCriterion("assetname =", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotEqualTo(String value) {
|
||||
addCriterion("assetname <>", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameGreaterThan(String value) {
|
||||
addCriterion("assetname >", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("assetname >=", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLessThan(String value) {
|
||||
addCriterion("assetname <", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLessThanOrEqualTo(String value) {
|
||||
addCriterion("assetname <=", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLike(String value) {
|
||||
addCriterion("assetname like", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotLike(String value) {
|
||||
addCriterion("assetname not like", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIn(List<String> values) {
|
||||
addCriterion("assetname in", values, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotIn(List<String> values) {
|
||||
addCriterion("assetname not in", values, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameBetween(String value1, String value2) {
|
||||
addCriterion("assetname between", value1, value2, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotBetween(String value1, String value2) {
|
||||
addCriterion("assetname not between", value1, value2, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIsNull() {
|
||||
addCriterion("isystem is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIsNotNull() {
|
||||
addCriterion("isystem is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemEqualTo(Byte value) {
|
||||
addCriterion("isystem =", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotEqualTo(Byte value) {
|
||||
addCriterion("isystem <>", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemGreaterThan(Byte value) {
|
||||
addCriterion("isystem >", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemGreaterThanOrEqualTo(Byte value) {
|
||||
addCriterion("isystem >=", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemLessThan(Byte value) {
|
||||
addCriterion("isystem <", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemLessThanOrEqualTo(Byte value) {
|
||||
addCriterion("isystem <=", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIn(List<Byte> values) {
|
||||
addCriterion("isystem in", values, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotIn(List<Byte> values) {
|
||||
addCriterion("isystem not in", values, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemBetween(Byte value1, Byte value2) {
|
||||
addCriterion("isystem between", value1, value2, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotBetween(Byte value1, Byte value2) {
|
||||
addCriterion("isystem not between", value1, value2, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIsNull() {
|
||||
addCriterion("description is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIsNotNull() {
|
||||
addCriterion("description is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionEqualTo(String value) {
|
||||
addCriterion("description =", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotEqualTo(String value) {
|
||||
addCriterion("description <>", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionGreaterThan(String value) {
|
||||
addCriterion("description >", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("description >=", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLessThan(String value) {
|
||||
addCriterion("description <", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLessThanOrEqualTo(String value) {
|
||||
addCriterion("description <=", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLike(String value) {
|
||||
addCriterion("description like", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotLike(String value) {
|
||||
addCriterion("description not like", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIn(List<String> values) {
|
||||
addCriterion("description in", values, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotIn(List<String> values) {
|
||||
addCriterion("description not in", values, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionBetween(String value1, String value2) {
|
||||
addCriterion("description between", value1, value2, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotBetween(String value1, String value2) {
|
||||
addCriterion("description not between", value1, value2, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIsNull() {
|
||||
addCriterion("tenant_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIsNotNull() {
|
||||
addCriterion("tenant_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdEqualTo(Long value) {
|
||||
addCriterion("tenant_id =", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotEqualTo(Long value) {
|
||||
addCriterion("tenant_id <>", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdGreaterThan(Long value) {
|
||||
addCriterion("tenant_id >", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("tenant_id >=", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdLessThan(Long value) {
|
||||
addCriterion("tenant_id <", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("tenant_id <=", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIn(List<Long> values) {
|
||||
addCriterion("tenant_id in", values, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotIn(List<Long> values) {
|
||||
addCriterion("tenant_id not in", values, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdBetween(Long value1, Long value2) {
|
||||
addCriterion("tenant_id between", value1, value2, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIsNull() {
|
||||
addCriterion("delete_Flag is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIsNotNull() {
|
||||
addCriterion("delete_Flag is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagEqualTo(String value) {
|
||||
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLessThan(String value) {
|
||||
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLike(String value) {
|
||||
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotLike(String value) {
|
||||
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIn(List<String> values) {
|
||||
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This class was generated by MyBatis Generator.
|
||||
* This class corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated do_not_delete_during_merge
|
||||
*/
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This class was generated by MyBatis Generator.
|
||||
* This class corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,259 +0,0 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
public class AssetName {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String assetname;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.assetcategoryID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long assetcategoryid;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.isystem
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Short isystem;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.isconsumables
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Short isconsumables;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long tenantId;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String deleteFlag;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_assetname.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.id
|
||||
*
|
||||
* @return the value of jsh_assetname.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.id
|
||||
*
|
||||
* @param id the value for jsh_assetname.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_assetname.assetname
|
||||
*
|
||||
* @return the value of jsh_assetname.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getAssetname() {
|
||||
return assetname;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.assetname
|
||||
*
|
||||
* @param assetname the value for jsh_assetname.assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAssetname(String assetname) {
|
||||
this.assetname = assetname == null ? null : assetname.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.assetcategoryID
|
||||
*
|
||||
* @return the value of jsh_assetname.assetcategoryID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getAssetcategoryid() {
|
||||
return assetcategoryid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.assetcategoryID
|
||||
*
|
||||
* @param assetcategoryid the value for jsh_assetname.assetcategoryID
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setAssetcategoryid(Long assetcategoryid) {
|
||||
this.assetcategoryid = assetcategoryid;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.isystem
|
||||
*
|
||||
* @return the value of jsh_assetname.isystem
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Short getIsystem() {
|
||||
return isystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.isystem
|
||||
*
|
||||
* @param isystem the value for jsh_assetname.isystem
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setIsystem(Short isystem) {
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.isconsumables
|
||||
*
|
||||
* @return the value of jsh_assetname.isconsumables
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Short getIsconsumables() {
|
||||
return isconsumables;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.isconsumables
|
||||
*
|
||||
* @param isconsumables the value for jsh_assetname.isconsumables
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setIsconsumables(Short isconsumables) {
|
||||
this.isconsumables = isconsumables;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.tenant_id
|
||||
*
|
||||
* @return the value of jsh_assetname.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_assetname.tenant_id
|
||||
*
|
||||
* @param tenantId the value for jsh_assetname.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_assetname.delete_Flag
|
||||
*
|
||||
* @return the value of jsh_assetname.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_assetname.delete_Flag
|
||||
*
|
||||
* @param deleteFlag the value for jsh_assetname.delete_Flag
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDeleteFlag(String deleteFlag) {
|
||||
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_assetname.description
|
||||
*
|
||||
* @return the value of jsh_assetname.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_assetname.description
|
||||
*
|
||||
* @param description the value for jsh_assetname.description
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description == null ? null : description.trim();
|
||||
}
|
||||
}
|
||||
@@ -1,742 +0,0 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class AssetNameExample {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected String orderByClause;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected boolean distinct;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public AssetNameExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @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_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @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_assetname
|
||||
*
|
||||
* @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_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
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(Long value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Long value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Long value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Long value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Long> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Long> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Long value1, Long value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIsNull() {
|
||||
addCriterion("assetname is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIsNotNull() {
|
||||
addCriterion("assetname is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameEqualTo(String value) {
|
||||
addCriterion("assetname =", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotEqualTo(String value) {
|
||||
addCriterion("assetname <>", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameGreaterThan(String value) {
|
||||
addCriterion("assetname >", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("assetname >=", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLessThan(String value) {
|
||||
addCriterion("assetname <", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLessThanOrEqualTo(String value) {
|
||||
addCriterion("assetname <=", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameLike(String value) {
|
||||
addCriterion("assetname like", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotLike(String value) {
|
||||
addCriterion("assetname not like", value, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameIn(List<String> values) {
|
||||
addCriterion("assetname in", values, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotIn(List<String> values) {
|
||||
addCriterion("assetname not in", values, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameBetween(String value1, String value2) {
|
||||
addCriterion("assetname between", value1, value2, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetnameNotBetween(String value1, String value2) {
|
||||
addCriterion("assetname not between", value1, value2, "assetname");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidIsNull() {
|
||||
addCriterion("assetcategoryID is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidIsNotNull() {
|
||||
addCriterion("assetcategoryID is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidEqualTo(Long value) {
|
||||
addCriterion("assetcategoryID =", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidNotEqualTo(Long value) {
|
||||
addCriterion("assetcategoryID <>", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidGreaterThan(Long value) {
|
||||
addCriterion("assetcategoryID >", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("assetcategoryID >=", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidLessThan(Long value) {
|
||||
addCriterion("assetcategoryID <", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("assetcategoryID <=", value, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidIn(List<Long> values) {
|
||||
addCriterion("assetcategoryID in", values, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidNotIn(List<Long> values) {
|
||||
addCriterion("assetcategoryID not in", values, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidBetween(Long value1, Long value2) {
|
||||
addCriterion("assetcategoryID between", value1, value2, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAssetcategoryidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("assetcategoryID not between", value1, value2, "assetcategoryid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIsNull() {
|
||||
addCriterion("isystem is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIsNotNull() {
|
||||
addCriterion("isystem is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemEqualTo(Short value) {
|
||||
addCriterion("isystem =", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotEqualTo(Short value) {
|
||||
addCriterion("isystem <>", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemGreaterThan(Short value) {
|
||||
addCriterion("isystem >", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemGreaterThanOrEqualTo(Short value) {
|
||||
addCriterion("isystem >=", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemLessThan(Short value) {
|
||||
addCriterion("isystem <", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemLessThanOrEqualTo(Short value) {
|
||||
addCriterion("isystem <=", value, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemIn(List<Short> values) {
|
||||
addCriterion("isystem in", values, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotIn(List<Short> values) {
|
||||
addCriterion("isystem not in", values, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemBetween(Short value1, Short value2) {
|
||||
addCriterion("isystem between", value1, value2, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsystemNotBetween(Short value1, Short value2) {
|
||||
addCriterion("isystem not between", value1, value2, "isystem");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesIsNull() {
|
||||
addCriterion("isconsumables is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesIsNotNull() {
|
||||
addCriterion("isconsumables is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesEqualTo(Short value) {
|
||||
addCriterion("isconsumables =", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesNotEqualTo(Short value) {
|
||||
addCriterion("isconsumables <>", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesGreaterThan(Short value) {
|
||||
addCriterion("isconsumables >", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesGreaterThanOrEqualTo(Short value) {
|
||||
addCriterion("isconsumables >=", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesLessThan(Short value) {
|
||||
addCriterion("isconsumables <", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesLessThanOrEqualTo(Short value) {
|
||||
addCriterion("isconsumables <=", value, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesIn(List<Short> values) {
|
||||
addCriterion("isconsumables in", values, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesNotIn(List<Short> values) {
|
||||
addCriterion("isconsumables not in", values, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesBetween(Short value1, Short value2) {
|
||||
addCriterion("isconsumables between", value1, value2, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsconsumablesNotBetween(Short value1, Short value2) {
|
||||
addCriterion("isconsumables not between", value1, value2, "isconsumables");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIsNull() {
|
||||
addCriterion("tenant_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIsNotNull() {
|
||||
addCriterion("tenant_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdEqualTo(Long value) {
|
||||
addCriterion("tenant_id =", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotEqualTo(Long value) {
|
||||
addCriterion("tenant_id <>", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdGreaterThan(Long value) {
|
||||
addCriterion("tenant_id >", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("tenant_id >=", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdLessThan(Long value) {
|
||||
addCriterion("tenant_id <", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("tenant_id <=", value, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdIn(List<Long> values) {
|
||||
addCriterion("tenant_id in", values, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotIn(List<Long> values) {
|
||||
addCriterion("tenant_id not in", values, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdBetween(Long value1, Long value2) {
|
||||
addCriterion("tenant_id between", value1, value2, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTenantIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("tenant_id not between", value1, value2, "tenantId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIsNull() {
|
||||
addCriterion("delete_Flag is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIsNotNull() {
|
||||
addCriterion("delete_Flag is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagEqualTo(String value) {
|
||||
addCriterion("delete_Flag =", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotEqualTo(String value) {
|
||||
addCriterion("delete_Flag <>", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagGreaterThan(String value) {
|
||||
addCriterion("delete_Flag >", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("delete_Flag >=", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLessThan(String value) {
|
||||
addCriterion("delete_Flag <", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
|
||||
addCriterion("delete_Flag <=", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagLike(String value) {
|
||||
addCriterion("delete_Flag like", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotLike(String value) {
|
||||
addCriterion("delete_Flag not like", value, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagIn(List<String> values) {
|
||||
addCriterion("delete_Flag in", values, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotIn(List<String> values) {
|
||||
addCriterion("delete_Flag not in", values, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagBetween(String value1, String value2) {
|
||||
addCriterion("delete_Flag between", value1, value2, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeleteFlagNotBetween(String value1, String value2) {
|
||||
addCriterion("delete_Flag not between", value1, value2, "deleteFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This class was generated by MyBatis Generator.
|
||||
* This class corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated do_not_delete_during_merge
|
||||
*/
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This class was generated by MyBatis Generator.
|
||||
* This class corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.AssetCategory;
|
||||
import com.jsh.erp.datasource.entities.AssetCategoryExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AssetCategoryMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(AssetCategoryExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(AssetCategoryExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(AssetCategory record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(AssetCategory record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<AssetCategory> selectByExample(AssetCategoryExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
AssetCategory selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") AssetCategory record, @Param("example") AssetCategoryExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") AssetCategory record, @Param("example") AssetCategoryExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(AssetCategory record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetcategory
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(AssetCategory record);
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Asset;
|
||||
import com.jsh.erp.datasource.entities.AssetExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AssetMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(Asset record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(Asset record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<Asset> selectByExampleWithBLOBs(AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<Asset> selectByExample(AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
Asset selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") Asset record, @Param("example") AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleWithBLOBs(@Param("record") Asset record, @Param("example") AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") Asset record, @Param("example") AssetExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(Asset record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(Asset record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_asset
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Asset record);
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.AssetName;
|
||||
import com.jsh.erp.datasource.entities.AssetNameExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AssetNameMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(AssetName record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(AssetName record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<AssetName> selectByExampleWithBLOBs(AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<AssetName> selectByExample(AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
AssetName selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") AssetName record, @Param("example") AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleWithBLOBs(@Param("record") AssetName record, @Param("example") AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") AssetName record, @Param("example") AssetNameExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(AssetName record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(AssetName record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_assetname
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(AssetName record);
|
||||
}
|
||||
@@ -1,288 +0,0 @@
|
||||
<?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.jsh.erp.datasource.mappers.AssetCategoryMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jsh.erp.datasource.entities.AssetCategory">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="assetname" jdbcType="VARCHAR" property="assetname" />
|
||||
<result column="isystem" jdbcType="TINYINT" property="isystem" />
|
||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
id, assetname, isystem, description, tenant_id, delete_Flag
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultMap="BaseResultMap">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from jsh_assetcategory
|
||||
<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.Long" resultMap="BaseResultMap">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from jsh_assetcategory
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_assetcategory
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_assetcategory
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_assetcategory (id, assetname, isystem,
|
||||
description, tenant_id, delete_Flag
|
||||
)
|
||||
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{isystem,jdbcType=TINYINT},
|
||||
#{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}, #{deleteFlag,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_assetcategory
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="assetname != null">
|
||||
assetname,
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
isystem,
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description,
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id,
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="assetname != null">
|
||||
#{assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
#{isystem,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
#{description,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
#{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
#{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AssetCategoryExample" resultType="java.lang.Integer">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select count(*) from jsh_assetcategory
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetcategory
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.assetname != null">
|
||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.isystem != null">
|
||||
isystem = #{record.isystem,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="record.description != null">
|
||||
description = #{record.description,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.tenantId != null">
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.deleteFlag != null">
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetcategory
|
||||
set id = #{record.id,jdbcType=BIGINT},
|
||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||
isystem = #{record.isystem,jdbcType=TINYINT},
|
||||
description = #{record.description,jdbcType=VARCHAR},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetcategory
|
||||
<set>
|
||||
<if test="assetname != null">
|
||||
assetname = #{assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
isystem = #{isystem,jdbcType=TINYINT},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description = #{description,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.jsh.erp.datasource.entities.AssetCategory">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetcategory
|
||||
set assetname = #{assetname,jdbcType=VARCHAR},
|
||||
isystem = #{isystem,jdbcType=TINYINT},
|
||||
description = #{description,jdbcType=VARCHAR},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -1,615 +0,0 @@
|
||||
<?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.jsh.erp.datasource.mappers.AssetMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="assetnameID" jdbcType="BIGINT" property="assetnameid" />
|
||||
<result column="location" jdbcType="VARCHAR" property="location" />
|
||||
<result column="labels" jdbcType="VARCHAR" property="labels" />
|
||||
<result column="status" jdbcType="SMALLINT" property="status" />
|
||||
<result column="userID" jdbcType="BIGINT" property="userid" />
|
||||
<result column="price" jdbcType="DECIMAL" property="price" />
|
||||
<result column="purchasedate" jdbcType="TIMESTAMP" property="purchasedate" />
|
||||
<result column="periodofvalidity" jdbcType="TIMESTAMP" property="periodofvalidity" />
|
||||
<result column="warrantydate" jdbcType="TIMESTAMP" property="warrantydate" />
|
||||
<result column="assetnum" jdbcType="VARCHAR" property="assetnum" />
|
||||
<result column="serialnum" jdbcType="VARCHAR" property="serialnum" />
|
||||
<result column="supplier" jdbcType="BIGINT" property="supplier" />
|
||||
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
|
||||
<result column="creator" jdbcType="BIGINT" property="creator" />
|
||||
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" />
|
||||
<result column="updator" jdbcType="BIGINT" property="updator" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<result column="description" jdbcType="LONGVARCHAR" property="description" />
|
||||
<result column="addMonth" jdbcType="LONGVARCHAR" property="addmonth" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
id, assetnameID, location, labels, status, userID, price, purchasedate, periodofvalidity,
|
||||
warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator,
|
||||
tenant_id, delete_Flag
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
description, addMonth
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.jsh.erp.datasource.entities.AssetExample" resultMap="ResultMapWithBLOBs">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from jsh_asset
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AssetExample" resultMap="BaseResultMap">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from jsh_asset
|
||||
<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.Long" resultMap="ResultMapWithBLOBs">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from jsh_asset
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_asset
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.jsh.erp.datasource.entities.AssetExample">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_asset
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_asset (id, assetnameID, location,
|
||||
labels, status, userID,
|
||||
price, purchasedate, periodofvalidity,
|
||||
warrantydate, assetnum, serialnum,
|
||||
supplier, createtime, creator,
|
||||
updatetime, updator, tenant_id,
|
||||
delete_Flag, description, addMonth
|
||||
)
|
||||
values (#{id,jdbcType=BIGINT}, #{assetnameid,jdbcType=BIGINT}, #{location,jdbcType=VARCHAR},
|
||||
#{labels,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, #{userid,jdbcType=BIGINT},
|
||||
#{price,jdbcType=DECIMAL}, #{purchasedate,jdbcType=TIMESTAMP}, #{periodofvalidity,jdbcType=TIMESTAMP},
|
||||
#{warrantydate,jdbcType=TIMESTAMP}, #{assetnum,jdbcType=VARCHAR}, #{serialnum,jdbcType=VARCHAR},
|
||||
#{supplier,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=BIGINT},
|
||||
#{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=BIGINT}, #{tenantId,jdbcType=BIGINT},
|
||||
#{deleteFlag,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{addmonth,jdbcType=LONGVARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_asset
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="assetnameid != null">
|
||||
assetnameID,
|
||||
</if>
|
||||
<if test="location != null">
|
||||
location,
|
||||
</if>
|
||||
<if test="labels != null">
|
||||
labels,
|
||||
</if>
|
||||
<if test="status != null">
|
||||
status,
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
userID,
|
||||
</if>
|
||||
<if test="price != null">
|
||||
price,
|
||||
</if>
|
||||
<if test="purchasedate != null">
|
||||
purchasedate,
|
||||
</if>
|
||||
<if test="periodofvalidity != null">
|
||||
periodofvalidity,
|
||||
</if>
|
||||
<if test="warrantydate != null">
|
||||
warrantydate,
|
||||
</if>
|
||||
<if test="assetnum != null">
|
||||
assetnum,
|
||||
</if>
|
||||
<if test="serialnum != null">
|
||||
serialnum,
|
||||
</if>
|
||||
<if test="supplier != null">
|
||||
supplier,
|
||||
</if>
|
||||
<if test="createtime != null">
|
||||
createtime,
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
creator,
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
updatetime,
|
||||
</if>
|
||||
<if test="updator != null">
|
||||
updator,
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id,
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag,
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description,
|
||||
</if>
|
||||
<if test="addmonth != null">
|
||||
addMonth,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="assetnameid != null">
|
||||
#{assetnameid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="location != null">
|
||||
#{location,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="labels != null">
|
||||
#{labels,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
#{status,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
#{userid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="price != null">
|
||||
#{price,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="purchasedate != null">
|
||||
#{purchasedate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="periodofvalidity != null">
|
||||
#{periodofvalidity,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="warrantydate != null">
|
||||
#{warrantydate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="assetnum != null">
|
||||
#{assetnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="serialnum != null">
|
||||
#{serialnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="supplier != null">
|
||||
#{supplier,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="createtime != null">
|
||||
#{createtime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
#{creator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
#{updatetime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updator != null">
|
||||
#{updator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
#{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
#{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
#{description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
<if test="addmonth != null">
|
||||
#{addmonth,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AssetExample" resultType="java.lang.Integer">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select count(*) from jsh_asset
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.assetnameid != null">
|
||||
assetnameID = #{record.assetnameid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.location != null">
|
||||
location = #{record.location,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.labels != null">
|
||||
labels = #{record.labels,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status = #{record.status,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="record.userid != null">
|
||||
userID = #{record.userid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.price != null">
|
||||
price = #{record.price,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="record.purchasedate != null">
|
||||
purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.periodofvalidity != null">
|
||||
periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.warrantydate != null">
|
||||
warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.assetnum != null">
|
||||
assetnum = #{record.assetnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.serialnum != null">
|
||||
serialnum = #{record.serialnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.supplier != null">
|
||||
supplier = #{record.supplier,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.createtime != null">
|
||||
createtime = #{record.createtime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.creator != null">
|
||||
creator = #{record.creator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.updatetime != null">
|
||||
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.updator != null">
|
||||
updator = #{record.updator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.tenantId != null">
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.deleteFlag != null">
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.description != null">
|
||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
<if test="record.addmonth != null">
|
||||
addMonth = #{record.addmonth,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
set id = #{record.id,jdbcType=BIGINT},
|
||||
assetnameID = #{record.assetnameid,jdbcType=BIGINT},
|
||||
location = #{record.location,jdbcType=VARCHAR},
|
||||
labels = #{record.labels,jdbcType=VARCHAR},
|
||||
status = #{record.status,jdbcType=SMALLINT},
|
||||
userID = #{record.userid,jdbcType=BIGINT},
|
||||
price = #{record.price,jdbcType=DECIMAL},
|
||||
purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP},
|
||||
periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP},
|
||||
warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP},
|
||||
assetnum = #{record.assetnum,jdbcType=VARCHAR},
|
||||
serialnum = #{record.serialnum,jdbcType=VARCHAR},
|
||||
supplier = #{record.supplier,jdbcType=BIGINT},
|
||||
createtime = #{record.createtime,jdbcType=TIMESTAMP},
|
||||
creator = #{record.creator,jdbcType=BIGINT},
|
||||
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
||||
updator = #{record.updator,jdbcType=BIGINT},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||
addMonth = #{record.addmonth,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
set id = #{record.id,jdbcType=BIGINT},
|
||||
assetnameID = #{record.assetnameid,jdbcType=BIGINT},
|
||||
location = #{record.location,jdbcType=VARCHAR},
|
||||
labels = #{record.labels,jdbcType=VARCHAR},
|
||||
status = #{record.status,jdbcType=SMALLINT},
|
||||
userID = #{record.userid,jdbcType=BIGINT},
|
||||
price = #{record.price,jdbcType=DECIMAL},
|
||||
purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP},
|
||||
periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP},
|
||||
warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP},
|
||||
assetnum = #{record.assetnum,jdbcType=VARCHAR},
|
||||
serialnum = #{record.serialnum,jdbcType=VARCHAR},
|
||||
supplier = #{record.supplier,jdbcType=BIGINT},
|
||||
createtime = #{record.createtime,jdbcType=TIMESTAMP},
|
||||
creator = #{record.creator,jdbcType=BIGINT},
|
||||
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
|
||||
updator = #{record.updator,jdbcType=BIGINT},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
<set>
|
||||
<if test="assetnameid != null">
|
||||
assetnameID = #{assetnameid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="location != null">
|
||||
location = #{location,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="labels != null">
|
||||
labels = #{labels,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="status != null">
|
||||
status = #{status,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="userid != null">
|
||||
userID = #{userid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="price != null">
|
||||
price = #{price,jdbcType=DECIMAL},
|
||||
</if>
|
||||
<if test="purchasedate != null">
|
||||
purchasedate = #{purchasedate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="periodofvalidity != null">
|
||||
periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="warrantydate != null">
|
||||
warrantydate = #{warrantydate,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="assetnum != null">
|
||||
assetnum = #{assetnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="serialnum != null">
|
||||
serialnum = #{serialnum,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="supplier != null">
|
||||
supplier = #{supplier,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="createtime != null">
|
||||
createtime = #{createtime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="creator != null">
|
||||
creator = #{creator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="updator != null">
|
||||
updator = #{updator,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description = #{description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
<if test="addmonth != null">
|
||||
addMonth = #{addmonth,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
set assetnameID = #{assetnameid,jdbcType=BIGINT},
|
||||
location = #{location,jdbcType=VARCHAR},
|
||||
labels = #{labels,jdbcType=VARCHAR},
|
||||
status = #{status,jdbcType=SMALLINT},
|
||||
userID = #{userid,jdbcType=BIGINT},
|
||||
price = #{price,jdbcType=DECIMAL},
|
||||
purchasedate = #{purchasedate,jdbcType=TIMESTAMP},
|
||||
periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP},
|
||||
warrantydate = #{warrantydate,jdbcType=TIMESTAMP},
|
||||
assetnum = #{assetnum,jdbcType=VARCHAR},
|
||||
serialnum = #{serialnum,jdbcType=VARCHAR},
|
||||
supplier = #{supplier,jdbcType=BIGINT},
|
||||
createtime = #{createtime,jdbcType=TIMESTAMP},
|
||||
creator = #{creator,jdbcType=BIGINT},
|
||||
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
||||
updator = #{updator,jdbcType=BIGINT},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||
description = #{description,jdbcType=LONGVARCHAR},
|
||||
addMonth = #{addmonth,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.jsh.erp.datasource.entities.Asset">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_asset
|
||||
set assetnameID = #{assetnameid,jdbcType=BIGINT},
|
||||
location = #{location,jdbcType=VARCHAR},
|
||||
labels = #{labels,jdbcType=VARCHAR},
|
||||
status = #{status,jdbcType=SMALLINT},
|
||||
userID = #{userid,jdbcType=BIGINT},
|
||||
price = #{price,jdbcType=DECIMAL},
|
||||
purchasedate = #{purchasedate,jdbcType=TIMESTAMP},
|
||||
periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP},
|
||||
warrantydate = #{warrantydate,jdbcType=TIMESTAMP},
|
||||
assetnum = #{assetnum,jdbcType=VARCHAR},
|
||||
serialnum = #{serialnum,jdbcType=VARCHAR},
|
||||
supplier = #{supplier,jdbcType=BIGINT},
|
||||
createtime = #{createtime,jdbcType=TIMESTAMP},
|
||||
creator = #{creator,jdbcType=BIGINT},
|
||||
updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
||||
updator = #{updator,jdbcType=BIGINT},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -1,384 +0,0 @@
|
||||
<?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.jsh.erp.datasource.mappers.AssetNameMapper">
|
||||
<resultMap id="BaseResultMap" type="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="assetname" jdbcType="VARCHAR" property="assetname" />
|
||||
<result column="assetcategoryID" jdbcType="BIGINT" property="assetcategoryid" />
|
||||
<result column="isystem" jdbcType="SMALLINT" property="isystem" />
|
||||
<result column="isconsumables" jdbcType="SMALLINT" property="isconsumables" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="delete_Flag" jdbcType="VARCHAR" property="deleteFlag" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<result column="description" jdbcType="LONGVARCHAR" property="description" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<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">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
id, assetname, assetcategoryID, isystem, isconsumables, tenant_id, delete_Flag
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
description
|
||||
</sql>
|
||||
<select id="selectByExampleWithBLOBs" parameterType="com.jsh.erp.datasource.entities.AssetNameExample" resultMap="ResultMapWithBLOBs">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from jsh_assetname
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.AssetNameExample" resultMap="BaseResultMap">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from jsh_assetname
|
||||
<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.Long" resultMap="ResultMapWithBLOBs">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from jsh_assetname
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_assetname
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.jsh.erp.datasource.entities.AssetNameExample">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
delete from jsh_assetname
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_assetname (id, assetname, assetcategoryID,
|
||||
isystem, isconsumables, tenant_id,
|
||||
delete_Flag, description)
|
||||
values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{assetcategoryid,jdbcType=BIGINT},
|
||||
#{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{tenantId,jdbcType=BIGINT},
|
||||
#{deleteFlag,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
insert into jsh_assetname
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
id,
|
||||
</if>
|
||||
<if test="assetname != null">
|
||||
assetname,
|
||||
</if>
|
||||
<if test="assetcategoryid != null">
|
||||
assetcategoryID,
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
isystem,
|
||||
</if>
|
||||
<if test="isconsumables != null">
|
||||
isconsumables,
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id,
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag,
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
#{id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="assetname != null">
|
||||
#{assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetcategoryid != null">
|
||||
#{assetcategoryid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
#{isystem,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="isconsumables != null">
|
||||
#{isconsumables,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
#{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
#{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
#{description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.AssetNameExample" resultType="java.lang.Integer">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select count(*) from jsh_assetname
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
<set>
|
||||
<if test="record.id != null">
|
||||
id = #{record.id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.assetname != null">
|
||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.assetcategoryid != null">
|
||||
assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.isystem != null">
|
||||
isystem = #{record.isystem,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="record.isconsumables != null">
|
||||
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="record.tenantId != null">
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="record.deleteFlag != null">
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.description != null">
|
||||
description = #{record.description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
set id = #{record.id,jdbcType=BIGINT},
|
||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||
assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT},
|
||||
isystem = #{record.isystem,jdbcType=SMALLINT},
|
||||
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR},
|
||||
description = #{record.description,jdbcType=LONGVARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
set id = #{record.id,jdbcType=BIGINT},
|
||||
assetname = #{record.assetname,jdbcType=VARCHAR},
|
||||
assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT},
|
||||
isystem = #{record.isystem,jdbcType=SMALLINT},
|
||||
isconsumables = #{record.isconsumables,jdbcType=SMALLINT},
|
||||
tenant_id = #{record.tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{record.deleteFlag,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
<set>
|
||||
<if test="assetname != null">
|
||||
assetname = #{assetname,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="assetcategoryid != null">
|
||||
assetcategoryID = #{assetcategoryid,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="isystem != null">
|
||||
isystem = #{isystem,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="isconsumables != null">
|
||||
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
||||
</if>
|
||||
<if test="tenantId != null">
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="deleteFlag != null">
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="description != null">
|
||||
description = #{description,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
set assetname = #{assetname,jdbcType=VARCHAR},
|
||||
assetcategoryID = #{assetcategoryid,jdbcType=BIGINT},
|
||||
isystem = #{isystem,jdbcType=SMALLINT},
|
||||
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR},
|
||||
description = #{description,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.jsh.erp.datasource.entities.AssetName">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update jsh_assetname
|
||||
set assetname = #{assetname,jdbcType=VARCHAR},
|
||||
assetcategoryID = #{assetcategoryid,jdbcType=BIGINT},
|
||||
isystem = #{isystem,jdbcType=SMALLINT},
|
||||
isconsumables = #{isconsumables,jdbcType=SMALLINT},
|
||||
tenant_id = #{tenantId,jdbcType=BIGINT},
|
||||
delete_Flag = #{deleteFlag,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -45,9 +45,6 @@
|
||||
<table tableName="jsh_accounthead" domainObjectName="AccountHead"></table>
|
||||
<table tableName="jsh_accountitem" domainObjectName="AccountItem"></table>
|
||||
<table tableName="jsh_app" domainObjectName="App"></table>
|
||||
<table tableName="jsh_asset" domainObjectName="Asset"></table>
|
||||
<table tableName="jsh_assetcategory" domainObjectName="AssetCategory"></table>
|
||||
<table tableName="jsh_assetname" domainObjectName="AssetName"></table>
|
||||
<table tableName="jsh_depot" domainObjectName="Depot"></table>
|
||||
<table tableName="jsh_depothead" domainObjectName="DepotHead"></table>
|
||||
<table tableName="jsh_depotitem" domainObjectName="DepotItem"></table>
|
||||
|
||||
Reference in New Issue
Block a user