diff --git a/erp_web/pages/materials/material.html b/erp_web/pages/materials/material.html index 6d650362..5ea4ff23 100644 --- a/erp_web/pages/materials/material.html +++ b/erp_web/pages/materials/material.html @@ -85,7 +85,7 @@ 序列号 - @@ -509,7 +509,7 @@ + 'AaBb' + rec.lowprice + 'AaBb' + rec.presetpriceone + 'AaBb' + rec.presetpricetwo + 'AaBb' + rec.remark + 'AaBb' + rec.standard + 'AaBb' + rec.color + 'AaBb' + rec.packing + 'AaBb' + rec.safetystock + 'AaBb' + rec.categoryid + 'AaBb' + rec.categoryName + 'AaBb' + rec.unitid + 'AaBb' + rec.unitName + 'AaBb' + rec.firstoutunit + 'AaBb' + rec.firstinunit - + 'AaBb' + rec.mfrs + 'AaBb' + rec.otherfield1 + 'AaBb' + rec.otherfield2 + 'AaBb' + rec.otherfield3+ 'AaBb' + rec.enableSerialNumber; + + 'AaBb' + rec.mfrs + 'AaBb' + rec.otherfield1 + 'AaBb' + rec.otherfield2 + 'AaBb' + rec.otherfield3+ 'AaBb' + rec.enableserialnumber; str += '   '; str += ''; return str; @@ -572,7 +572,7 @@ } }, { - title: '序列号', field: 'enableSerialNumber', width: 70, align: "center", formatter: function (value) { + title: '序列号', field: 'enableserialnumber', width: 70, align: "center", formatter: function (value) { return value=='1' ? "启用" : "禁用"; } } @@ -1048,8 +1048,8 @@ $('#materialFM input').val(""); //将输入框全部清空 bindMProperty(); //根据商品属性绑定 - // $("#enableSerialNumber").combobox('setValue','0'); - $("#enableSerialNumber").val('0'); + // $("#EnableSerialNumber").combobox('setValue','0'); + $("#EnableSerialNumber").val('0'); $('#materialDlg').dialog('open').dialog('setTitle', ' 增加商品信息'); $(".window-mask").css({width: webW, height: webH}); $("#Name").val("").focus(); @@ -1157,7 +1157,7 @@ basicList.LowPrice = $("#basicLowPrice").val(); basicList.PresetPriceOne = $("#basicPresetPriceOne").val(); basicList.PresetPriceTwo = $("#basicPresetPriceTwo").val(); - basicList.enableSerialNumber=$("#enableSerialNumber").val(); + basicList.EnableSerialNumber=$("#EnableSerialNumber").val(); otherList.Unit = $("#otherUnit").text(); otherList.RetailPrice = $("#otherRetailPrice").val(); otherList.LowPrice = $("#otherLowPrice").val(); @@ -1226,7 +1226,7 @@ bindMProperty(); //根据商品属性绑定 $("#Name").focus().val(materialInfo[1]); $("#Color").focus().val(materialInfo[11]); - $("#enableSerialNumber").val(materialInfo[24]=='1'?'1':'0'); + $("#EnableSerialNumber").val(materialInfo[24]=='1'?'1':'0'); //商品类别id $("#parentid").val(materialInfo[14]); //商品类别名称 diff --git a/pom.xml b/pom.xml index 92305fca..04c7b9d1 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,11 @@ pagehelper-spring-boot-starter 1.2.10 + + com.baomidou + mybatis-plus-boot-starter + 3.0.7.1 + diff --git a/sql/jsh_erp.sql b/sql/jsh_erp.sql index 6211d3ca..ae33a533 100644 --- a/sql/jsh_erp.sql +++ b/sql/jsh_erp.sql @@ -1472,3 +1472,33 @@ update jsh_user set status='0' where status is null; -- 设置根目录编号为1 -- ---------------------------- update jsh_materialcategory set serial_no='1' where id='1'; + +-- ---------------------------- +-- 时间:2019年3月18日 +-- version:1.0.11 +-- 此次更新 +-- 1、批量增加大部分表的tenant_id租户字段 +-- 特别提醒:之后的sql都是在之前基础上迭代,可以对已存在的系统进行数据保留更新 +-- ---------------------------- +alter table jsh_account add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_accounthead add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_accountitem add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_asset add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_assetcategory add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_assetname add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_depot add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_depothead add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_depotitem add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_inoutitem add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_log add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_material add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_materialcategory add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_orga_user_rel add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_organization add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_person add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_role add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_serial_number add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_supplier add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_systemconfig add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_unit add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; +alter table jsh_user add tenant_id bigint(20) DEFAULT null COMMENT '租户id'; \ No newline at end of file diff --git a/sql/华夏ERP数据库设计汇总.xlsx b/sql/华夏ERP数据库设计汇总.xlsx index c6aa38c3..276d4fe4 100644 Binary files a/sql/华夏ERP数据库设计汇总.xlsx and b/sql/华夏ERP数据库设计汇总.xlsx differ diff --git a/src/main/java/com/jsh/erp/ErpApplication.java b/src/main/java/com/jsh/erp/ErpApplication.java index 098585ba..c8e51162 100644 --- a/src/main/java/com/jsh/erp/ErpApplication.java +++ b/src/main/java/com/jsh/erp/ErpApplication.java @@ -2,6 +2,7 @@ package com.jsh.erp; import org.mybatis.spring.annotation.MapperScan; import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration; @@ -10,6 +11,8 @@ import org.springframework.context.annotation.Bean; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.web.servlet.DispatcherServlet; +import javax.servlet.http.Cookie; + @SpringBootApplication @MapperScan(basePackages = {"com.jsh.erp.datasource.mappers"}) @ServletComponentScan diff --git a/src/main/java/com/jsh/erp/config/TenantConfig.java b/src/main/java/com/jsh/erp/config/TenantConfig.java new file mode 100644 index 00000000..0d182b2b --- /dev/null +++ b/src/main/java/com/jsh/erp/config/TenantConfig.java @@ -0,0 +1,100 @@ +package com.jsh.erp.config; + +import com.baomidou.mybatisplus.core.parser.ISqlParser; +import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; +import com.baomidou.mybatisplus.extension.plugins.PerformanceInterceptor; +import com.baomidou.mybatisplus.extension.plugins.tenant.TenantHandler; +import com.baomidou.mybatisplus.extension.plugins.tenant.TenantSqlParser; +import net.sf.jsqlparser.expression.Expression; +import net.sf.jsqlparser.expression.LongValue; +import org.mybatis.spring.mapper.MapperScannerConfigurer; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.List; + +@Configuration +public class TenantConfig { + + @Bean + public PaginationInterceptor paginationInterceptor(HttpServletRequest request) { + PaginationInterceptor paginationInterceptor = new PaginationInterceptor(); + List sqlParserList = new ArrayList<>(); + TenantSqlParser tenantSqlParser = new TenantSqlParser(); + tenantSqlParser.setTenantHandler(new TenantHandler() { + @Override + public Expression getTenantId() { + //从session中获取租户id + Object tenantId = request.getSession().getAttribute("tenantId"); + if(tenantId!=null){ + return new LongValue(Long.parseLong(tenantId.toString())); + } else { + return null; + } + } + + @Override + public String getTenantIdColumn() { + return "tenant_id"; + } + + @Override + public boolean doTableFilter(String tableName) { + //从session中获取租户id + Object mybatisPlusStatus = request.getSession().getAttribute("mybatisPlusStatus"); + if(mybatisPlusStatus !=null && mybatisPlusStatus.toString().equals("open")) { + // 这里可以判断是否过滤表 + if ("databasechangelog".equals(tableName) || "databasechangeloglock".equals(tableName) + || "jsh_materialproperty".equals(tableName) || "tbl_sequence".equals(tableName) || "dual".equals(tableName) + || "jsh_userbusiness".equals(tableName) || "jsh_app".equals(tableName) || "jsh_functions".equals(tableName)) { + return true; + } else { + return false; + } + } else { + return true; + } + } + }); + + sqlParserList.add(tenantSqlParser); + paginationInterceptor.setSqlParserList(sqlParserList); +// paginationInterceptor.setSqlParserFilter(new ISqlParserFilter() { +// @Override +// public boolean doFilter(MetaObject metaObject) { +// MappedStatement ms = PluginUtils.realTarget(metaObject); +// // 过滤自定义查询此时无租户信息约束出现 +// if ("com.jsh.erp.datasource.mappers.DepotHeadMapperEx.getBuildOnlyNumber".equals(ms.getId())) { +// return true; +// } +// return false; +// } +// }); + return paginationInterceptor; + } + + /** + * 相当于顶部的: + * {@code @MapperScan("com.jsh.erp.datasource.mappers*")} + * 这里可以扩展,比如使用配置文件来配置扫描Mapper的路径 + */ + @Bean + public MapperScannerConfigurer mapperScannerConfigurer() { + MapperScannerConfigurer scannerConfigurer = new MapperScannerConfigurer(); + scannerConfigurer.setBasePackage("com.jsh.erp.datasource.mappers*"); + return scannerConfigurer; + } + + + /** + * 性能分析拦截器,不建议生产使用 + */ + @Bean + public PerformanceInterceptor performanceInterceptor(){ + return new PerformanceInterceptor(); + } + + +} diff --git a/src/main/java/com/jsh/erp/controller/DepotItemController.java b/src/main/java/com/jsh/erp/controller/DepotItemController.java index d31b130d..45db728f 100644 --- a/src/main/java/com/jsh/erp/controller/DepotItemController.java +++ b/src/main/java/com/jsh/erp/controller/DepotItemController.java @@ -420,7 +420,7 @@ public class DepotItemController { BaseResponseInfo res = new BaseResponseInfo(); Map map = new HashMap(); try { - List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + List dataList = depotItemService.findByAll(headIds, materialIds, (currentPage-1)*pageSize, pageSize); String[] mpArr = mpList.split(","); int total = depotItemService.findByAllCount(headIds, materialIds); map.put("total", total); @@ -533,7 +533,7 @@ public class DepotItemController { BaseResponseInfo res = new BaseResponseInfo(); Map map = new HashMap(); try { - List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + List dataList = depotItemService.findByAll(headIds, materialIds, (currentPage-1)*pageSize, pageSize); String[] mpArr = mpList.split(","); int total = depotItemService.findByAllCount(headIds, materialIds); map.put("total", total); @@ -593,7 +593,7 @@ public class DepotItemController { BaseResponseInfo res = new BaseResponseInfo(); Map map = new HashMap(); try { - List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + List dataList = depotItemService.findByAll(headIds, materialIds, (currentPage-1)*pageSize, pageSize); String[] mpArr = mpList.split(","); int total = depotItemService.findByAllCount(headIds, materialIds); map.put("total", total); @@ -659,7 +659,7 @@ public class DepotItemController { Map map = new HashMap(); String message = "成功"; try { - List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + List dataList = depotItemService.findByAll(headIds, materialIds, (currentPage-1)*pageSize, pageSize); //存放数据json数组 Integer pid = projectId; String[] names = {"名称", "型号", "单位", "单价", "上月结存数量", "入库数量", "出库数量", "本月结存数量", "结存金额"}; diff --git a/src/main/java/com/jsh/erp/controller/RoleController.java b/src/main/java/com/jsh/erp/controller/RoleController.java index ec7df8d3..b204e995 100644 --- a/src/main/java/com/jsh/erp/controller/RoleController.java +++ b/src/main/java/com/jsh/erp/controller/RoleController.java @@ -71,4 +71,9 @@ public class RoleController { } return arr; } + + @PostMapping(value = "/list") + public List list(HttpServletRequest request) { + return roleService.getRole(); + } } diff --git a/src/main/java/com/jsh/erp/controller/UserController.java b/src/main/java/com/jsh/erp/controller/UserController.java index a79e3f86..2d6361d0 100644 --- a/src/main/java/com/jsh/erp/controller/UserController.java +++ b/src/main/java/com/jsh/erp/controller/UserController.java @@ -17,11 +17,13 @@ import com.jsh.erp.service.user.UserService; import com.jsh.erp.utils.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.io.File; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.*; @@ -36,6 +38,9 @@ import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; public class UserController { private Logger logger = LoggerFactory.getLogger(ResourceController.class); + @Value("${mybatis-plus.status}") + private String mybatisPlusStatus; + @Resource private UserService userService; @@ -91,6 +96,8 @@ public class UserController { // new Timestamp(System.currentTimeMillis()), (short) 0, "管理用户:" + username + " 登录系统", username + " 登录系统")); msgTip = "user can login"; request.getSession().setAttribute("user",user); + request.getSession().setAttribute("tenantId",1L); //租户id + request.getSession().setAttribute("mybatisPlusStatus",mybatisPlusStatus); //开启状态 } catch (Exception e) { logger.error(">>>>>>>>>>>>>>>查询用户名为:" + username + " ,用户信息异常", e); } diff --git a/src/main/java/com/jsh/erp/datasource/entities/Account.java b/src/main/java/com/jsh/erp/datasource/entities/Account.java index 91637808..67351b85 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Account.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Account.java @@ -1,229 +1,261 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class Account { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.Name - * - * @mbggenerated - */ - private String name; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.SerialNo - * - * @mbggenerated - */ - private String serialno; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.InitialAmount - * - * @mbggenerated - */ - private BigDecimal initialamount; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.CurrentAmount - * - * @mbggenerated - */ - private BigDecimal currentamount; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.Remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_account.IsDefault - * - * @mbggenerated - */ - private Boolean isdefault; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.Id - * - * @return the value of jsh_account.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.Id - * - * @param id the value for jsh_account.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_account.Name - * - * @return the value of jsh_account.Name - * - * @mbggenerated - */ - public String getName() { - return name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.Name - * - * @param name the value for jsh_account.Name - * - * @mbggenerated - */ - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.SerialNo - * - * @return the value of jsh_account.SerialNo - * - * @mbggenerated - */ - public String getSerialno() { - return serialno; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.SerialNo - * - * @param serialno the value for jsh_account.SerialNo - * - * @mbggenerated - */ - public void setSerialno(String serialno) { - this.serialno = serialno == null ? null : serialno.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.InitialAmount - * - * @return the value of jsh_account.InitialAmount - * - * @mbggenerated - */ - public BigDecimal getInitialamount() { - return initialamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.InitialAmount - * - * @param initialamount the value for jsh_account.InitialAmount - * - * @mbggenerated - */ - public void setInitialamount(BigDecimal initialamount) { - this.initialamount = initialamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.CurrentAmount - * - * @return the value of jsh_account.CurrentAmount - * - * @mbggenerated - */ - public BigDecimal getCurrentamount() { - return currentamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.CurrentAmount - * - * @param currentamount the value for jsh_account.CurrentAmount - * - * @mbggenerated - */ - public void setCurrentamount(BigDecimal currentamount) { - this.currentamount = currentamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.Remark - * - * @return the value of jsh_account.Remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.Remark - * - * @param remark the value for jsh_account.Remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_account.IsDefault - * - * @return the value of jsh_account.IsDefault - * - * @mbggenerated - */ - public Boolean getIsdefault() { - return isdefault; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_account.IsDefault - * - * @param isdefault the value for jsh_account.IsDefault - * - * @mbggenerated - */ - public void setIsdefault(Boolean isdefault) { - this.isdefault = isdefault; - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class Account { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.SerialNo + * + * @mbggenerated + */ + private String serialno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.InitialAmount + * + * @mbggenerated + */ + private BigDecimal initialamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.CurrentAmount + * + * @mbggenerated + */ + private BigDecimal currentamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.IsDefault + * + * @mbggenerated + */ + private Boolean isdefault; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.Id + * + * @return the value of jsh_account.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Id + * + * @param id the value for jsh_account.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_account.Name + * + * @return the value of jsh_account.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Name + * + * @param name the value for jsh_account.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.SerialNo + * + * @return the value of jsh_account.SerialNo + * + * @mbggenerated + */ + public String getSerialno() { + return serialno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.SerialNo + * + * @param serialno the value for jsh_account.SerialNo + * + * @mbggenerated + */ + public void setSerialno(String serialno) { + this.serialno = serialno == null ? null : serialno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.InitialAmount + * + * @return the value of jsh_account.InitialAmount + * + * @mbggenerated + */ + public BigDecimal getInitialamount() { + return initialamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.InitialAmount + * + * @param initialamount the value for jsh_account.InitialAmount + * + * @mbggenerated + */ + public void setInitialamount(BigDecimal initialamount) { + this.initialamount = initialamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.CurrentAmount + * + * @return the value of jsh_account.CurrentAmount + * + * @mbggenerated + */ + public BigDecimal getCurrentamount() { + return currentamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.CurrentAmount + * + * @param currentamount the value for jsh_account.CurrentAmount + * + * @mbggenerated + */ + public void setCurrentamount(BigDecimal currentamount) { + this.currentamount = currentamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.Remark + * + * @return the value of jsh_account.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Remark + * + * @param remark the value for jsh_account.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.IsDefault + * + * @return the value of jsh_account.IsDefault + * + * @mbggenerated + */ + public Boolean getIsdefault() { + return isdefault; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.IsDefault + * + * @param isdefault the value for jsh_account.IsDefault + * + * @mbggenerated + */ + public void setIsdefault(Boolean isdefault) { + this.isdefault = isdefault; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.tenant_id + * + * @return the value of jsh_account.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_account.tenant_id + * + * @param tenantId the value for jsh_account.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java index 5ef7f108..f3a1a819 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java @@ -1,753 +1,813 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class AccountExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_account - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_account - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_account - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public AccountExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_account - * - * @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_account - * - * @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_account - * - * @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_account - * - * @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_account - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andNameIsNull() { - addCriterion("Name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("Name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("Name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("Name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("Name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("Name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("Name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("Name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("Name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("Name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("Name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("Name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("Name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("Name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andSerialnoIsNull() { - addCriterion("SerialNo is null"); - return (Criteria) this; - } - - public Criteria andSerialnoIsNotNull() { - addCriterion("SerialNo is not null"); - return (Criteria) this; - } - - public Criteria andSerialnoEqualTo(String value) { - addCriterion("SerialNo =", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoNotEqualTo(String value) { - addCriterion("SerialNo <>", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoGreaterThan(String value) { - addCriterion("SerialNo >", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoGreaterThanOrEqualTo(String value) { - addCriterion("SerialNo >=", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoLessThan(String value) { - addCriterion("SerialNo <", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoLessThanOrEqualTo(String value) { - addCriterion("SerialNo <=", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoLike(String value) { - addCriterion("SerialNo like", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoNotLike(String value) { - addCriterion("SerialNo not like", value, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoIn(List values) { - addCriterion("SerialNo in", values, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoNotIn(List values) { - addCriterion("SerialNo not in", values, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoBetween(String value1, String value2) { - addCriterion("SerialNo between", value1, value2, "serialno"); - return (Criteria) this; - } - - public Criteria andSerialnoNotBetween(String value1, String value2) { - addCriterion("SerialNo not between", value1, value2, "serialno"); - return (Criteria) this; - } - - public Criteria andInitialamountIsNull() { - addCriterion("InitialAmount is null"); - return (Criteria) this; - } - - public Criteria andInitialamountIsNotNull() { - addCriterion("InitialAmount is not null"); - return (Criteria) this; - } - - public Criteria andInitialamountEqualTo(BigDecimal value) { - addCriterion("InitialAmount =", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountNotEqualTo(BigDecimal value) { - addCriterion("InitialAmount <>", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountGreaterThan(BigDecimal value) { - addCriterion("InitialAmount >", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("InitialAmount >=", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountLessThan(BigDecimal value) { - addCriterion("InitialAmount <", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountLessThanOrEqualTo(BigDecimal value) { - addCriterion("InitialAmount <=", value, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountIn(List values) { - addCriterion("InitialAmount in", values, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountNotIn(List values) { - addCriterion("InitialAmount not in", values, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("InitialAmount between", value1, value2, "initialamount"); - return (Criteria) this; - } - - public Criteria andInitialamountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("InitialAmount not between", value1, value2, "initialamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountIsNull() { - addCriterion("CurrentAmount is null"); - return (Criteria) this; - } - - public Criteria andCurrentamountIsNotNull() { - addCriterion("CurrentAmount is not null"); - return (Criteria) this; - } - - public Criteria andCurrentamountEqualTo(BigDecimal value) { - addCriterion("CurrentAmount =", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountNotEqualTo(BigDecimal value) { - addCriterion("CurrentAmount <>", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountGreaterThan(BigDecimal value) { - addCriterion("CurrentAmount >", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("CurrentAmount >=", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountLessThan(BigDecimal value) { - addCriterion("CurrentAmount <", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountLessThanOrEqualTo(BigDecimal value) { - addCriterion("CurrentAmount <=", value, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountIn(List values) { - addCriterion("CurrentAmount in", values, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountNotIn(List values) { - addCriterion("CurrentAmount not in", values, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("CurrentAmount between", value1, value2, "currentamount"); - return (Criteria) this; - } - - public Criteria andCurrentamountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("CurrentAmount not between", value1, value2, "currentamount"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("Remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("Remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("Remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("Remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("Remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("Remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("Remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("Remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("Remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("Remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("Remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("Remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("Remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("Remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andIsdefaultIsNull() { - addCriterion("IsDefault is null"); - return (Criteria) this; - } - - public Criteria andIsdefaultIsNotNull() { - addCriterion("IsDefault is not null"); - return (Criteria) this; - } - - public Criteria andIsdefaultEqualTo(Boolean value) { - addCriterion("IsDefault =", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultNotEqualTo(Boolean value) { - addCriterion("IsDefault <>", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultGreaterThan(Boolean value) { - addCriterion("IsDefault >", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultGreaterThanOrEqualTo(Boolean value) { - addCriterion("IsDefault >=", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultLessThan(Boolean value) { - addCriterion("IsDefault <", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultLessThanOrEqualTo(Boolean value) { - addCriterion("IsDefault <=", value, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultIn(List values) { - addCriterion("IsDefault in", values, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultNotIn(List values) { - addCriterion("IsDefault not in", values, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultBetween(Boolean value1, Boolean value2) { - addCriterion("IsDefault between", value1, value2, "isdefault"); - return (Criteria) this; - } - - public Criteria andIsdefaultNotBetween(Boolean value1, Boolean value2) { - addCriterion("IsDefault not between", value1, value2, "isdefault"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_account - * - * @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_account - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class AccountExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public AccountExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @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_account + * + * @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_account + * + * @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_account + * + * @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_account + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSerialnoIsNull() { + addCriterion("SerialNo is null"); + return (Criteria) this; + } + + public Criteria andSerialnoIsNotNull() { + addCriterion("SerialNo is not null"); + return (Criteria) this; + } + + public Criteria andSerialnoEqualTo(String value) { + addCriterion("SerialNo =", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotEqualTo(String value) { + addCriterion("SerialNo <>", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoGreaterThan(String value) { + addCriterion("SerialNo >", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoGreaterThanOrEqualTo(String value) { + addCriterion("SerialNo >=", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLessThan(String value) { + addCriterion("SerialNo <", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLessThanOrEqualTo(String value) { + addCriterion("SerialNo <=", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLike(String value) { + addCriterion("SerialNo like", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotLike(String value) { + addCriterion("SerialNo not like", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoIn(List values) { + addCriterion("SerialNo in", values, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotIn(List values) { + addCriterion("SerialNo not in", values, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoBetween(String value1, String value2) { + addCriterion("SerialNo between", value1, value2, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotBetween(String value1, String value2) { + addCriterion("SerialNo not between", value1, value2, "serialno"); + return (Criteria) this; + } + + public Criteria andInitialamountIsNull() { + addCriterion("InitialAmount is null"); + return (Criteria) this; + } + + public Criteria andInitialamountIsNotNull() { + addCriterion("InitialAmount is not null"); + return (Criteria) this; + } + + public Criteria andInitialamountEqualTo(BigDecimal value) { + addCriterion("InitialAmount =", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotEqualTo(BigDecimal value) { + addCriterion("InitialAmount <>", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountGreaterThan(BigDecimal value) { + addCriterion("InitialAmount >", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("InitialAmount >=", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountLessThan(BigDecimal value) { + addCriterion("InitialAmount <", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountLessThanOrEqualTo(BigDecimal value) { + addCriterion("InitialAmount <=", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountIn(List values) { + addCriterion("InitialAmount in", values, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotIn(List values) { + addCriterion("InitialAmount not in", values, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("InitialAmount between", value1, value2, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("InitialAmount not between", value1, value2, "initialamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountIsNull() { + addCriterion("CurrentAmount is null"); + return (Criteria) this; + } + + public Criteria andCurrentamountIsNotNull() { + addCriterion("CurrentAmount is not null"); + return (Criteria) this; + } + + public Criteria andCurrentamountEqualTo(BigDecimal value) { + addCriterion("CurrentAmount =", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotEqualTo(BigDecimal value) { + addCriterion("CurrentAmount <>", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountGreaterThan(BigDecimal value) { + addCriterion("CurrentAmount >", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("CurrentAmount >=", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountLessThan(BigDecimal value) { + addCriterion("CurrentAmount <", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountLessThanOrEqualTo(BigDecimal value) { + addCriterion("CurrentAmount <=", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountIn(List values) { + addCriterion("CurrentAmount in", values, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotIn(List values) { + addCriterion("CurrentAmount not in", values, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("CurrentAmount between", value1, value2, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("CurrentAmount not between", value1, value2, "currentamount"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andIsdefaultIsNull() { + addCriterion("IsDefault is null"); + return (Criteria) this; + } + + public Criteria andIsdefaultIsNotNull() { + addCriterion("IsDefault is not null"); + return (Criteria) this; + } + + public Criteria andIsdefaultEqualTo(Boolean value) { + addCriterion("IsDefault =", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotEqualTo(Boolean value) { + addCriterion("IsDefault <>", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultGreaterThan(Boolean value) { + addCriterion("IsDefault >", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultGreaterThanOrEqualTo(Boolean value) { + addCriterion("IsDefault >=", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultLessThan(Boolean value) { + addCriterion("IsDefault <", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultLessThanOrEqualTo(Boolean value) { + addCriterion("IsDefault <=", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultIn(List values) { + addCriterion("IsDefault in", values, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotIn(List values) { + addCriterion("IsDefault not in", values, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultBetween(Boolean value1, Boolean value2) { + addCriterion("IsDefault between", value1, value2, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotBetween(Boolean value1, Boolean value2) { + addCriterion("IsDefault not between", value1, value2, "isdefault"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_account + * + * @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_account + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java index d6d4ef73..c8a9b7f8 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java @@ -1,326 +1,358 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.Date; - -public class AccountHead { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.Type - * - * @mbggenerated - */ - private String type; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.OrganId - * - * @mbggenerated - */ - private Long organid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.HandsPersonId - * - * @mbggenerated - */ - private Long handspersonid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.ChangeAmount - * - * @mbggenerated - */ - private BigDecimal changeamount; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.TotalPrice - * - * @mbggenerated - */ - private BigDecimal totalprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.AccountId - * - * @mbggenerated - */ - private Long accountid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.BillNo - * - * @mbggenerated - */ - private String billno; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.BillTime - * - * @mbggenerated - */ - private Date billtime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accounthead.Remark - * - * @mbggenerated - */ - private String remark; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.Id - * - * @return the value of jsh_accounthead.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.Id - * - * @param id the value for jsh_accounthead.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_accounthead.Type - * - * @return the value of jsh_accounthead.Type - * - * @mbggenerated - */ - public String getType() { - return type; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.Type - * - * @param type the value for jsh_accounthead.Type - * - * @mbggenerated - */ - public void setType(String type) { - this.type = type == null ? null : type.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.OrganId - * - * @return the value of jsh_accounthead.OrganId - * - * @mbggenerated - */ - public Long getOrganid() { - return organid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.OrganId - * - * @param organid the value for jsh_accounthead.OrganId - * - * @mbggenerated - */ - public void setOrganid(Long organid) { - this.organid = organid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.HandsPersonId - * - * @return the value of jsh_accounthead.HandsPersonId - * - * @mbggenerated - */ - public Long getHandspersonid() { - return handspersonid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.HandsPersonId - * - * @param handspersonid the value for jsh_accounthead.HandsPersonId - * - * @mbggenerated - */ - public void setHandspersonid(Long handspersonid) { - this.handspersonid = handspersonid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.ChangeAmount - * - * @return the value of jsh_accounthead.ChangeAmount - * - * @mbggenerated - */ - public BigDecimal getChangeamount() { - return changeamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.ChangeAmount - * - * @param changeamount the value for jsh_accounthead.ChangeAmount - * - * @mbggenerated - */ - public void setChangeamount(BigDecimal changeamount) { - this.changeamount = changeamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.TotalPrice - * - * @return the value of jsh_accounthead.TotalPrice - * - * @mbggenerated - */ - public BigDecimal getTotalprice() { - return totalprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.TotalPrice - * - * @param totalprice the value for jsh_accounthead.TotalPrice - * - * @mbggenerated - */ - public void setTotalprice(BigDecimal totalprice) { - this.totalprice = totalprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.AccountId - * - * @return the value of jsh_accounthead.AccountId - * - * @mbggenerated - */ - public Long getAccountid() { - return accountid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.AccountId - * - * @param accountid the value for jsh_accounthead.AccountId - * - * @mbggenerated - */ - public void setAccountid(Long accountid) { - this.accountid = accountid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.BillNo - * - * @return the value of jsh_accounthead.BillNo - * - * @mbggenerated - */ - public String getBillno() { - return billno; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.BillNo - * - * @param billno the value for jsh_accounthead.BillNo - * - * @mbggenerated - */ - public void setBillno(String billno) { - this.billno = billno == null ? null : billno.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.BillTime - * - * @return the value of jsh_accounthead.BillTime - * - * @mbggenerated - */ - public Date getBilltime() { - return billtime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.BillTime - * - * @param billtime the value for jsh_accounthead.BillTime - * - * @mbggenerated - */ - public void setBilltime(Date billtime) { - this.billtime = billtime; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accounthead.Remark - * - * @return the value of jsh_accounthead.Remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accounthead.Remark - * - * @param remark the value for jsh_accounthead.Remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.Date; + +public class AccountHead { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.OrganId + * + * @mbggenerated + */ + private Long organid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + private Long handspersonid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + private BigDecimal changeamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + private BigDecimal totalprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.AccountId + * + * @mbggenerated + */ + private Long accountid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.BillNo + * + * @mbggenerated + */ + private String billno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.BillTime + * + * @mbggenerated + */ + private Date billtime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.Id + * + * @return the value of jsh_accounthead.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Id + * + * @param id the value for jsh_accounthead.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_accounthead.Type + * + * @return the value of jsh_accounthead.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Type + * + * @param type the value for jsh_accounthead.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.OrganId + * + * @return the value of jsh_accounthead.OrganId + * + * @mbggenerated + */ + public Long getOrganid() { + return organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.OrganId + * + * @param organid the value for jsh_accounthead.OrganId + * + * @mbggenerated + */ + public void setOrganid(Long organid) { + this.organid = organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.HandsPersonId + * + * @return the value of jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + public Long getHandspersonid() { + return handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.HandsPersonId + * + * @param handspersonid the value for jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + public void setHandspersonid(Long handspersonid) { + this.handspersonid = handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.ChangeAmount + * + * @return the value of jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + public BigDecimal getChangeamount() { + return changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.ChangeAmount + * + * @param changeamount the value for jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + public void setChangeamount(BigDecimal changeamount) { + this.changeamount = changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.TotalPrice + * + * @return the value of jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + public BigDecimal getTotalprice() { + return totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.TotalPrice + * + * @param totalprice the value for jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + public void setTotalprice(BigDecimal totalprice) { + this.totalprice = totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.AccountId + * + * @return the value of jsh_accounthead.AccountId + * + * @mbggenerated + */ + public Long getAccountid() { + return accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.AccountId + * + * @param accountid the value for jsh_accounthead.AccountId + * + * @mbggenerated + */ + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.BillNo + * + * @return the value of jsh_accounthead.BillNo + * + * @mbggenerated + */ + public String getBillno() { + return billno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.BillNo + * + * @param billno the value for jsh_accounthead.BillNo + * + * @mbggenerated + */ + public void setBillno(String billno) { + this.billno = billno == null ? null : billno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.BillTime + * + * @return the value of jsh_accounthead.BillTime + * + * @mbggenerated + */ + public Date getBilltime() { + return billtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.BillTime + * + * @param billtime the value for jsh_accounthead.BillTime + * + * @mbggenerated + */ + public void setBilltime(Date billtime) { + this.billtime = billtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.Remark + * + * @return the value of jsh_accounthead.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Remark + * + * @param remark the value for jsh_accounthead.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.tenant_id + * + * @return the value of jsh_accounthead.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_accounthead.tenant_id + * + * @param tenantId the value for jsh_accounthead.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java index e89df5da..95a3c29b 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java @@ -1,934 +1,994 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class AccountHeadExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public AccountHeadExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @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_accounthead - * - * @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_accounthead - * - * @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_accounthead - * - * @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_accounthead - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andTypeIsNull() { - addCriterion("Type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("Type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(String value) { - addCriterion("Type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(String value) { - addCriterion("Type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(String value) { - addCriterion("Type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(String value) { - addCriterion("Type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(String value) { - addCriterion("Type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(String value) { - addCriterion("Type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLike(String value) { - addCriterion("Type like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotLike(String value) { - addCriterion("Type not like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("Type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("Type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(String value1, String value2) { - addCriterion("Type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(String value1, String value2) { - addCriterion("Type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andOrganidIsNull() { - addCriterion("OrganId is null"); - return (Criteria) this; - } - - public Criteria andOrganidIsNotNull() { - addCriterion("OrganId is not null"); - return (Criteria) this; - } - - public Criteria andOrganidEqualTo(Long value) { - addCriterion("OrganId =", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidNotEqualTo(Long value) { - addCriterion("OrganId <>", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidGreaterThan(Long value) { - addCriterion("OrganId >", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidGreaterThanOrEqualTo(Long value) { - addCriterion("OrganId >=", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidLessThan(Long value) { - addCriterion("OrganId <", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidLessThanOrEqualTo(Long value) { - addCriterion("OrganId <=", value, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidIn(List values) { - addCriterion("OrganId in", values, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidNotIn(List values) { - addCriterion("OrganId not in", values, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidBetween(Long value1, Long value2) { - addCriterion("OrganId between", value1, value2, "organid"); - return (Criteria) this; - } - - public Criteria andOrganidNotBetween(Long value1, Long value2) { - addCriterion("OrganId not between", value1, value2, "organid"); - return (Criteria) this; - } - - public Criteria andHandspersonidIsNull() { - addCriterion("HandsPersonId is null"); - return (Criteria) this; - } - - public Criteria andHandspersonidIsNotNull() { - addCriterion("HandsPersonId is not null"); - return (Criteria) this; - } - - public Criteria andHandspersonidEqualTo(Long value) { - addCriterion("HandsPersonId =", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidNotEqualTo(Long value) { - addCriterion("HandsPersonId <>", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidGreaterThan(Long value) { - addCriterion("HandsPersonId >", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidGreaterThanOrEqualTo(Long value) { - addCriterion("HandsPersonId >=", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidLessThan(Long value) { - addCriterion("HandsPersonId <", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidLessThanOrEqualTo(Long value) { - addCriterion("HandsPersonId <=", value, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidIn(List values) { - addCriterion("HandsPersonId in", values, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidNotIn(List values) { - addCriterion("HandsPersonId not in", values, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidBetween(Long value1, Long value2) { - addCriterion("HandsPersonId between", value1, value2, "handspersonid"); - return (Criteria) this; - } - - public Criteria andHandspersonidNotBetween(Long value1, Long value2) { - addCriterion("HandsPersonId not between", value1, value2, "handspersonid"); - return (Criteria) this; - } - - public Criteria andChangeamountIsNull() { - addCriterion("ChangeAmount is null"); - return (Criteria) this; - } - - public Criteria andChangeamountIsNotNull() { - addCriterion("ChangeAmount is not null"); - return (Criteria) this; - } - - public Criteria andChangeamountEqualTo(BigDecimal value) { - addCriterion("ChangeAmount =", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountNotEqualTo(BigDecimal value) { - addCriterion("ChangeAmount <>", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountGreaterThan(BigDecimal value) { - addCriterion("ChangeAmount >", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("ChangeAmount >=", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountLessThan(BigDecimal value) { - addCriterion("ChangeAmount <", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountLessThanOrEqualTo(BigDecimal value) { - addCriterion("ChangeAmount <=", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountIn(List values) { - addCriterion("ChangeAmount in", values, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountNotIn(List values) { - addCriterion("ChangeAmount not in", values, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("ChangeAmount between", value1, value2, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("ChangeAmount not between", value1, value2, "changeamount"); - return (Criteria) this; - } - - public Criteria andTotalpriceIsNull() { - addCriterion("TotalPrice is null"); - return (Criteria) this; - } - - public Criteria andTotalpriceIsNotNull() { - addCriterion("TotalPrice is not null"); - return (Criteria) this; - } - - public Criteria andTotalpriceEqualTo(BigDecimal value) { - addCriterion("TotalPrice =", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceNotEqualTo(BigDecimal value) { - addCriterion("TotalPrice <>", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceGreaterThan(BigDecimal value) { - addCriterion("TotalPrice >", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TotalPrice >=", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceLessThan(BigDecimal value) { - addCriterion("TotalPrice <", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("TotalPrice <=", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceIn(List values) { - addCriterion("TotalPrice in", values, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceNotIn(List values) { - addCriterion("TotalPrice not in", values, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TotalPrice between", value1, value2, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TotalPrice not between", value1, value2, "totalprice"); - return (Criteria) this; - } - - public Criteria andAccountidIsNull() { - addCriterion("AccountId is null"); - return (Criteria) this; - } - - public Criteria andAccountidIsNotNull() { - addCriterion("AccountId is not null"); - return (Criteria) this; - } - - public Criteria andAccountidEqualTo(Long value) { - addCriterion("AccountId =", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotEqualTo(Long value) { - addCriterion("AccountId <>", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidGreaterThan(Long value) { - addCriterion("AccountId >", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidGreaterThanOrEqualTo(Long value) { - addCriterion("AccountId >=", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidLessThan(Long value) { - addCriterion("AccountId <", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidLessThanOrEqualTo(Long value) { - addCriterion("AccountId <=", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidIn(List values) { - addCriterion("AccountId in", values, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotIn(List values) { - addCriterion("AccountId not in", values, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidBetween(Long value1, Long value2) { - addCriterion("AccountId between", value1, value2, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotBetween(Long value1, Long value2) { - addCriterion("AccountId not between", value1, value2, "accountid"); - return (Criteria) this; - } - - public Criteria andBillnoIsNull() { - addCriterion("BillNo is null"); - return (Criteria) this; - } - - public Criteria andBillnoIsNotNull() { - addCriterion("BillNo is not null"); - return (Criteria) this; - } - - public Criteria andBillnoEqualTo(String value) { - addCriterion("BillNo =", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoNotEqualTo(String value) { - addCriterion("BillNo <>", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoGreaterThan(String value) { - addCriterion("BillNo >", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoGreaterThanOrEqualTo(String value) { - addCriterion("BillNo >=", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoLessThan(String value) { - addCriterion("BillNo <", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoLessThanOrEqualTo(String value) { - addCriterion("BillNo <=", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoLike(String value) { - addCriterion("BillNo like", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoNotLike(String value) { - addCriterion("BillNo not like", value, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoIn(List values) { - addCriterion("BillNo in", values, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoNotIn(List values) { - addCriterion("BillNo not in", values, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoBetween(String value1, String value2) { - addCriterion("BillNo between", value1, value2, "billno"); - return (Criteria) this; - } - - public Criteria andBillnoNotBetween(String value1, String value2) { - addCriterion("BillNo not between", value1, value2, "billno"); - return (Criteria) this; - } - - public Criteria andBilltimeIsNull() { - addCriterion("BillTime is null"); - return (Criteria) this; - } - - public Criteria andBilltimeIsNotNull() { - addCriterion("BillTime is not null"); - return (Criteria) this; - } - - public Criteria andBilltimeEqualTo(Date value) { - addCriterion("BillTime =", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeNotEqualTo(Date value) { - addCriterion("BillTime <>", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeGreaterThan(Date value) { - addCriterion("BillTime >", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeGreaterThanOrEqualTo(Date value) { - addCriterion("BillTime >=", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeLessThan(Date value) { - addCriterion("BillTime <", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeLessThanOrEqualTo(Date value) { - addCriterion("BillTime <=", value, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeIn(List values) { - addCriterion("BillTime in", values, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeNotIn(List values) { - addCriterion("BillTime not in", values, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeBetween(Date value1, Date value2) { - addCriterion("BillTime between", value1, value2, "billtime"); - return (Criteria) this; - } - - public Criteria andBilltimeNotBetween(Date value1, Date value2) { - addCriterion("BillTime not between", value1, value2, "billtime"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("Remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("Remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("Remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("Remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("Remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("Remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("Remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("Remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("Remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("Remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("Remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("Remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("Remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("Remark not between", value1, value2, "remark"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_accounthead - * - * @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_accounthead - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class AccountHeadExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public AccountHeadExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @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_accounthead + * + * @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_accounthead + * + * @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_accounthead + * + * @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_accounthead + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andOrganidIsNull() { + addCriterion("OrganId is null"); + return (Criteria) this; + } + + public Criteria andOrganidIsNotNull() { + addCriterion("OrganId is not null"); + return (Criteria) this; + } + + public Criteria andOrganidEqualTo(Long value) { + addCriterion("OrganId =", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotEqualTo(Long value) { + addCriterion("OrganId <>", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThan(Long value) { + addCriterion("OrganId >", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThanOrEqualTo(Long value) { + addCriterion("OrganId >=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThan(Long value) { + addCriterion("OrganId <", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThanOrEqualTo(Long value) { + addCriterion("OrganId <=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidIn(List values) { + addCriterion("OrganId in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotIn(List values) { + addCriterion("OrganId not in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidBetween(Long value1, Long value2) { + addCriterion("OrganId between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotBetween(Long value1, Long value2) { + addCriterion("OrganId not between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNull() { + addCriterion("HandsPersonId is null"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNotNull() { + addCriterion("HandsPersonId is not null"); + return (Criteria) this; + } + + public Criteria andHandspersonidEqualTo(Long value) { + addCriterion("HandsPersonId =", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotEqualTo(Long value) { + addCriterion("HandsPersonId <>", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThan(Long value) { + addCriterion("HandsPersonId >", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThanOrEqualTo(Long value) { + addCriterion("HandsPersonId >=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThan(Long value) { + addCriterion("HandsPersonId <", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThanOrEqualTo(Long value) { + addCriterion("HandsPersonId <=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIn(List values) { + addCriterion("HandsPersonId in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotIn(List values) { + addCriterion("HandsPersonId not in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidBetween(Long value1, Long value2) { + addCriterion("HandsPersonId between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotBetween(Long value1, Long value2) { + addCriterion("HandsPersonId not between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNull() { + addCriterion("ChangeAmount is null"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNotNull() { + addCriterion("ChangeAmount is not null"); + return (Criteria) this; + } + + public Criteria andChangeamountEqualTo(BigDecimal value) { + addCriterion("ChangeAmount =", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotEqualTo(BigDecimal value) { + addCriterion("ChangeAmount <>", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThan(BigDecimal value) { + addCriterion("ChangeAmount >", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("ChangeAmount >=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThan(BigDecimal value) { + addCriterion("ChangeAmount <", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThanOrEqualTo(BigDecimal value) { + addCriterion("ChangeAmount <=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountIn(List values) { + addCriterion("ChangeAmount in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotIn(List values) { + addCriterion("ChangeAmount not in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("ChangeAmount between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("ChangeAmount not between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNull() { + addCriterion("TotalPrice is null"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNotNull() { + addCriterion("TotalPrice is not null"); + return (Criteria) this; + } + + public Criteria andTotalpriceEqualTo(BigDecimal value) { + addCriterion("TotalPrice =", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotEqualTo(BigDecimal value) { + addCriterion("TotalPrice <>", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThan(BigDecimal value) { + addCriterion("TotalPrice >", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TotalPrice >=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThan(BigDecimal value) { + addCriterion("TotalPrice <", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("TotalPrice <=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceIn(List values) { + addCriterion("TotalPrice in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotIn(List values) { + addCriterion("TotalPrice not in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TotalPrice between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TotalPrice not between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andAccountidIsNull() { + addCriterion("AccountId is null"); + return (Criteria) this; + } + + public Criteria andAccountidIsNotNull() { + addCriterion("AccountId is not null"); + return (Criteria) this; + } + + public Criteria andAccountidEqualTo(Long value) { + addCriterion("AccountId =", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotEqualTo(Long value) { + addCriterion("AccountId <>", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThan(Long value) { + addCriterion("AccountId >", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThanOrEqualTo(Long value) { + addCriterion("AccountId >=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThan(Long value) { + addCriterion("AccountId <", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThanOrEqualTo(Long value) { + addCriterion("AccountId <=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidIn(List values) { + addCriterion("AccountId in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotIn(List values) { + addCriterion("AccountId not in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidBetween(Long value1, Long value2) { + addCriterion("AccountId between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotBetween(Long value1, Long value2) { + addCriterion("AccountId not between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andBillnoIsNull() { + addCriterion("BillNo is null"); + return (Criteria) this; + } + + public Criteria andBillnoIsNotNull() { + addCriterion("BillNo is not null"); + return (Criteria) this; + } + + public Criteria andBillnoEqualTo(String value) { + addCriterion("BillNo =", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotEqualTo(String value) { + addCriterion("BillNo <>", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoGreaterThan(String value) { + addCriterion("BillNo >", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoGreaterThanOrEqualTo(String value) { + addCriterion("BillNo >=", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLessThan(String value) { + addCriterion("BillNo <", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLessThanOrEqualTo(String value) { + addCriterion("BillNo <=", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLike(String value) { + addCriterion("BillNo like", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotLike(String value) { + addCriterion("BillNo not like", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoIn(List values) { + addCriterion("BillNo in", values, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotIn(List values) { + addCriterion("BillNo not in", values, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoBetween(String value1, String value2) { + addCriterion("BillNo between", value1, value2, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotBetween(String value1, String value2) { + addCriterion("BillNo not between", value1, value2, "billno"); + return (Criteria) this; + } + + public Criteria andBilltimeIsNull() { + addCriterion("BillTime is null"); + return (Criteria) this; + } + + public Criteria andBilltimeIsNotNull() { + addCriterion("BillTime is not null"); + return (Criteria) this; + } + + public Criteria andBilltimeEqualTo(Date value) { + addCriterion("BillTime =", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotEqualTo(Date value) { + addCriterion("BillTime <>", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeGreaterThan(Date value) { + addCriterion("BillTime >", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeGreaterThanOrEqualTo(Date value) { + addCriterion("BillTime >=", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeLessThan(Date value) { + addCriterion("BillTime <", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeLessThanOrEqualTo(Date value) { + addCriterion("BillTime <=", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeIn(List values) { + addCriterion("BillTime in", values, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotIn(List values) { + addCriterion("BillTime not in", values, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeBetween(Date value1, Date value2) { + addCriterion("BillTime between", value1, value2, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotBetween(Date value1, Date value2) { + addCriterion("BillTime not between", value1, value2, "billtime"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accounthead + * + * @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_accounthead + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java index 7e638604..fbb19903 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java @@ -25,6 +25,8 @@ public class AccountHeadVo4ListEx { private String remark; + private Long tenantId; + private String organname; private String handspersonname; @@ -111,6 +113,14 @@ public class AccountHeadVo4ListEx { this.remark = remark; } + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } + public String getOrganname() { return organname; } diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java b/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java index 8272a8a9..c499740e 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java @@ -1,197 +1,229 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class AccountItem { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.HeaderId - * - * @mbggenerated - */ - private Long headerid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.AccountId - * - * @mbggenerated - */ - private Long accountid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.InOutItemId - * - * @mbggenerated - */ - private Long inoutitemid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.EachAmount - * - * @mbggenerated - */ - private BigDecimal eachamount; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_accountitem.Remark - * - * @mbggenerated - */ - private String remark; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accountitem.Id - * - * @return the value of jsh_accountitem.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.Id - * - * @param id the value for jsh_accountitem.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_accountitem.HeaderId - * - * @return the value of jsh_accountitem.HeaderId - * - * @mbggenerated - */ - public Long getHeaderid() { - return headerid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.HeaderId - * - * @param headerid the value for jsh_accountitem.HeaderId - * - * @mbggenerated - */ - public void setHeaderid(Long headerid) { - this.headerid = headerid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accountitem.AccountId - * - * @return the value of jsh_accountitem.AccountId - * - * @mbggenerated - */ - public Long getAccountid() { - return accountid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.AccountId - * - * @param accountid the value for jsh_accountitem.AccountId - * - * @mbggenerated - */ - public void setAccountid(Long accountid) { - this.accountid = accountid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accountitem.InOutItemId - * - * @return the value of jsh_accountitem.InOutItemId - * - * @mbggenerated - */ - public Long getInoutitemid() { - return inoutitemid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.InOutItemId - * - * @param inoutitemid the value for jsh_accountitem.InOutItemId - * - * @mbggenerated - */ - public void setInoutitemid(Long inoutitemid) { - this.inoutitemid = inoutitemid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accountitem.EachAmount - * - * @return the value of jsh_accountitem.EachAmount - * - * @mbggenerated - */ - public BigDecimal getEachamount() { - return eachamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.EachAmount - * - * @param eachamount the value for jsh_accountitem.EachAmount - * - * @mbggenerated - */ - public void setEachamount(BigDecimal eachamount) { - this.eachamount = eachamount; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_accountitem.Remark - * - * @return the value of jsh_accountitem.Remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_accountitem.Remark - * - * @param remark the value for jsh_accountitem.Remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class AccountItem { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.HeaderId + * + * @mbggenerated + */ + private Long headerid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.AccountId + * + * @mbggenerated + */ + private Long accountid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + private Long inoutitemid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.EachAmount + * + * @mbggenerated + */ + private BigDecimal eachamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.Id + * + * @return the value of jsh_accountitem.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.Id + * + * @param id the value for jsh_accountitem.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_accountitem.HeaderId + * + * @return the value of jsh_accountitem.HeaderId + * + * @mbggenerated + */ + public Long getHeaderid() { + return headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.HeaderId + * + * @param headerid the value for jsh_accountitem.HeaderId + * + * @mbggenerated + */ + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.AccountId + * + * @return the value of jsh_accountitem.AccountId + * + * @mbggenerated + */ + public Long getAccountid() { + return accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.AccountId + * + * @param accountid the value for jsh_accountitem.AccountId + * + * @mbggenerated + */ + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.InOutItemId + * + * @return the value of jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + public Long getInoutitemid() { + return inoutitemid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.InOutItemId + * + * @param inoutitemid the value for jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + public void setInoutitemid(Long inoutitemid) { + this.inoutitemid = inoutitemid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.EachAmount + * + * @return the value of jsh_accountitem.EachAmount + * + * @mbggenerated + */ + public BigDecimal getEachamount() { + return eachamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.EachAmount + * + * @param eachamount the value for jsh_accountitem.EachAmount + * + * @mbggenerated + */ + public void setEachamount(BigDecimal eachamount) { + this.eachamount = eachamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.Remark + * + * @return the value of jsh_accountitem.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.Remark + * + * @param remark the value for jsh_accountitem.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.tenant_id + * + * @return the value of jsh_accountitem.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_accountitem.tenant_id + * + * @param tenantId the value for jsh_accountitem.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java index c98c0551..737013d7 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java @@ -1,673 +1,733 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class AccountItemExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public AccountItemExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accountitem - * - * @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_accountitem - * - * @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_accountitem - * - * @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_accountitem - * - * @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_accountitem - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andHeaderidIsNull() { - addCriterion("HeaderId is null"); - return (Criteria) this; - } - - public Criteria andHeaderidIsNotNull() { - addCriterion("HeaderId is not null"); - return (Criteria) this; - } - - public Criteria andHeaderidEqualTo(Long value) { - addCriterion("HeaderId =", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotEqualTo(Long value) { - addCriterion("HeaderId <>", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidGreaterThan(Long value) { - addCriterion("HeaderId >", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { - addCriterion("HeaderId >=", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidLessThan(Long value) { - addCriterion("HeaderId <", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidLessThanOrEqualTo(Long value) { - addCriterion("HeaderId <=", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidIn(List values) { - addCriterion("HeaderId in", values, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotIn(List values) { - addCriterion("HeaderId not in", values, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidBetween(Long value1, Long value2) { - addCriterion("HeaderId between", value1, value2, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotBetween(Long value1, Long value2) { - addCriterion("HeaderId not between", value1, value2, "headerid"); - return (Criteria) this; - } - - public Criteria andAccountidIsNull() { - addCriterion("AccountId is null"); - return (Criteria) this; - } - - public Criteria andAccountidIsNotNull() { - addCriterion("AccountId is not null"); - return (Criteria) this; - } - - public Criteria andAccountidEqualTo(Long value) { - addCriterion("AccountId =", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotEqualTo(Long value) { - addCriterion("AccountId <>", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidGreaterThan(Long value) { - addCriterion("AccountId >", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidGreaterThanOrEqualTo(Long value) { - addCriterion("AccountId >=", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidLessThan(Long value) { - addCriterion("AccountId <", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidLessThanOrEqualTo(Long value) { - addCriterion("AccountId <=", value, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidIn(List values) { - addCriterion("AccountId in", values, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotIn(List values) { - addCriterion("AccountId not in", values, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidBetween(Long value1, Long value2) { - addCriterion("AccountId between", value1, value2, "accountid"); - return (Criteria) this; - } - - public Criteria andAccountidNotBetween(Long value1, Long value2) { - addCriterion("AccountId not between", value1, value2, "accountid"); - return (Criteria) this; - } - - public Criteria andInoutitemidIsNull() { - addCriterion("InOutItemId is null"); - return (Criteria) this; - } - - public Criteria andInoutitemidIsNotNull() { - addCriterion("InOutItemId is not null"); - return (Criteria) this; - } - - public Criteria andInoutitemidEqualTo(Long value) { - addCriterion("InOutItemId =", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidNotEqualTo(Long value) { - addCriterion("InOutItemId <>", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidGreaterThan(Long value) { - addCriterion("InOutItemId >", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidGreaterThanOrEqualTo(Long value) { - addCriterion("InOutItemId >=", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidLessThan(Long value) { - addCriterion("InOutItemId <", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidLessThanOrEqualTo(Long value) { - addCriterion("InOutItemId <=", value, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidIn(List values) { - addCriterion("InOutItemId in", values, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidNotIn(List values) { - addCriterion("InOutItemId not in", values, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidBetween(Long value1, Long value2) { - addCriterion("InOutItemId between", value1, value2, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andInoutitemidNotBetween(Long value1, Long value2) { - addCriterion("InOutItemId not between", value1, value2, "inoutitemid"); - return (Criteria) this; - } - - public Criteria andEachamountIsNull() { - addCriterion("EachAmount is null"); - return (Criteria) this; - } - - public Criteria andEachamountIsNotNull() { - addCriterion("EachAmount is not null"); - return (Criteria) this; - } - - public Criteria andEachamountEqualTo(BigDecimal value) { - addCriterion("EachAmount =", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountNotEqualTo(BigDecimal value) { - addCriterion("EachAmount <>", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountGreaterThan(BigDecimal value) { - addCriterion("EachAmount >", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("EachAmount >=", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountLessThan(BigDecimal value) { - addCriterion("EachAmount <", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountLessThanOrEqualTo(BigDecimal value) { - addCriterion("EachAmount <=", value, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountIn(List values) { - addCriterion("EachAmount in", values, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountNotIn(List values) { - addCriterion("EachAmount not in", values, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("EachAmount between", value1, value2, "eachamount"); - return (Criteria) this; - } - - public Criteria andEachamountNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("EachAmount not between", value1, value2, "eachamount"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("Remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("Remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("Remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("Remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("Remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("Remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("Remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("Remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("Remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("Remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("Remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("Remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("Remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("Remark not between", value1, value2, "remark"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_accountitem - * - * @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_accountitem - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class AccountItemExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public AccountItemExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @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_accountitem + * + * @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_accountitem + * + * @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_accountitem + * + * @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_accountitem + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andHeaderidIsNull() { + addCriterion("HeaderId is null"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNotNull() { + addCriterion("HeaderId is not null"); + return (Criteria) this; + } + + public Criteria andHeaderidEqualTo(Long value) { + addCriterion("HeaderId =", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotEqualTo(Long value) { + addCriterion("HeaderId <>", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThan(Long value) { + addCriterion("HeaderId >", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { + addCriterion("HeaderId >=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThan(Long value) { + addCriterion("HeaderId <", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThanOrEqualTo(Long value) { + addCriterion("HeaderId <=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidIn(List values) { + addCriterion("HeaderId in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotIn(List values) { + addCriterion("HeaderId not in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidBetween(Long value1, Long value2) { + addCriterion("HeaderId between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotBetween(Long value1, Long value2) { + addCriterion("HeaderId not between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andAccountidIsNull() { + addCriterion("AccountId is null"); + return (Criteria) this; + } + + public Criteria andAccountidIsNotNull() { + addCriterion("AccountId is not null"); + return (Criteria) this; + } + + public Criteria andAccountidEqualTo(Long value) { + addCriterion("AccountId =", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotEqualTo(Long value) { + addCriterion("AccountId <>", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThan(Long value) { + addCriterion("AccountId >", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThanOrEqualTo(Long value) { + addCriterion("AccountId >=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThan(Long value) { + addCriterion("AccountId <", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThanOrEqualTo(Long value) { + addCriterion("AccountId <=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidIn(List values) { + addCriterion("AccountId in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotIn(List values) { + addCriterion("AccountId not in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidBetween(Long value1, Long value2) { + addCriterion("AccountId between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotBetween(Long value1, Long value2) { + addCriterion("AccountId not between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andInoutitemidIsNull() { + addCriterion("InOutItemId is null"); + return (Criteria) this; + } + + public Criteria andInoutitemidIsNotNull() { + addCriterion("InOutItemId is not null"); + return (Criteria) this; + } + + public Criteria andInoutitemidEqualTo(Long value) { + addCriterion("InOutItemId =", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotEqualTo(Long value) { + addCriterion("InOutItemId <>", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidGreaterThan(Long value) { + addCriterion("InOutItemId >", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidGreaterThanOrEqualTo(Long value) { + addCriterion("InOutItemId >=", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidLessThan(Long value) { + addCriterion("InOutItemId <", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidLessThanOrEqualTo(Long value) { + addCriterion("InOutItemId <=", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidIn(List values) { + addCriterion("InOutItemId in", values, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotIn(List values) { + addCriterion("InOutItemId not in", values, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidBetween(Long value1, Long value2) { + addCriterion("InOutItemId between", value1, value2, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotBetween(Long value1, Long value2) { + addCriterion("InOutItemId not between", value1, value2, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andEachamountIsNull() { + addCriterion("EachAmount is null"); + return (Criteria) this; + } + + public Criteria andEachamountIsNotNull() { + addCriterion("EachAmount is not null"); + return (Criteria) this; + } + + public Criteria andEachamountEqualTo(BigDecimal value) { + addCriterion("EachAmount =", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotEqualTo(BigDecimal value) { + addCriterion("EachAmount <>", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountGreaterThan(BigDecimal value) { + addCriterion("EachAmount >", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("EachAmount >=", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountLessThan(BigDecimal value) { + addCriterion("EachAmount <", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountLessThanOrEqualTo(BigDecimal value) { + addCriterion("EachAmount <=", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountIn(List values) { + addCriterion("EachAmount in", values, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotIn(List values) { + addCriterion("EachAmount not in", values, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("EachAmount between", value1, value2, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("EachAmount not between", value1, value2, "eachamount"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accountitem + * + * @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_accountitem + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Asset.java b/src/main/java/com/jsh/erp/datasource/entities/Asset.java index 972da626..b519f846 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Asset.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Asset.java @@ -1,614 +1,646 @@ -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.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.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(); - } +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.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.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(); + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java b/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java index 0bf7f829..7cbcb62d 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java @@ -33,6 +33,14 @@ public class AssetCategory { */ 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 method was generated by MyBatis Generator. * This method returns the value of the database column jsh_assetcategory.id @@ -128,4 +136,28 @@ public class AssetCategory { 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; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java index 9f70fc5a..09be54f2 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java @@ -453,6 +453,66 @@ public class AssetCategoryExample { 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java index 151baa48..b0ee6882 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java @@ -1,1364 +1,1424 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class AssetExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_asset - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_asset - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_asset - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public AssetExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_asset - * - * @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_asset - * - * @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_asset - * - * @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_asset - * - * @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_asset - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andAssetnameidIsNull() { - addCriterion("assetnameID is null"); - return (Criteria) this; - } - - public Criteria andAssetnameidIsNotNull() { - addCriterion("assetnameID is not null"); - return (Criteria) this; - } - - public Criteria andAssetnameidEqualTo(Long value) { - addCriterion("assetnameID =", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidNotEqualTo(Long value) { - addCriterion("assetnameID <>", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidGreaterThan(Long value) { - addCriterion("assetnameID >", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidGreaterThanOrEqualTo(Long value) { - addCriterion("assetnameID >=", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidLessThan(Long value) { - addCriterion("assetnameID <", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidLessThanOrEqualTo(Long value) { - addCriterion("assetnameID <=", value, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidIn(List values) { - addCriterion("assetnameID in", values, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidNotIn(List values) { - addCriterion("assetnameID not in", values, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidBetween(Long value1, Long value2) { - addCriterion("assetnameID between", value1, value2, "assetnameid"); - return (Criteria) this; - } - - public Criteria andAssetnameidNotBetween(Long value1, Long value2) { - addCriterion("assetnameID not between", value1, value2, "assetnameid"); - return (Criteria) this; - } - - public Criteria andLocationIsNull() { - addCriterion("location is null"); - return (Criteria) this; - } - - public Criteria andLocationIsNotNull() { - addCriterion("location is not null"); - return (Criteria) this; - } - - public Criteria andLocationEqualTo(String value) { - addCriterion("location =", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotEqualTo(String value) { - addCriterion("location <>", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationGreaterThan(String value) { - addCriterion("location >", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationGreaterThanOrEqualTo(String value) { - addCriterion("location >=", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLessThan(String value) { - addCriterion("location <", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLessThanOrEqualTo(String value) { - addCriterion("location <=", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationLike(String value) { - addCriterion("location like", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotLike(String value) { - addCriterion("location not like", value, "location"); - return (Criteria) this; - } - - public Criteria andLocationIn(List values) { - addCriterion("location in", values, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotIn(List values) { - addCriterion("location not in", values, "location"); - return (Criteria) this; - } - - public Criteria andLocationBetween(String value1, String value2) { - addCriterion("location between", value1, value2, "location"); - return (Criteria) this; - } - - public Criteria andLocationNotBetween(String value1, String value2) { - addCriterion("location not between", value1, value2, "location"); - return (Criteria) this; - } - - public Criteria andLabelsIsNull() { - addCriterion("labels is null"); - return (Criteria) this; - } - - public Criteria andLabelsIsNotNull() { - addCriterion("labels is not null"); - return (Criteria) this; - } - - public Criteria andLabelsEqualTo(String value) { - addCriterion("labels =", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsNotEqualTo(String value) { - addCriterion("labels <>", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsGreaterThan(String value) { - addCriterion("labels >", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsGreaterThanOrEqualTo(String value) { - addCriterion("labels >=", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsLessThan(String value) { - addCriterion("labels <", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsLessThanOrEqualTo(String value) { - addCriterion("labels <=", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsLike(String value) { - addCriterion("labels like", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsNotLike(String value) { - addCriterion("labels not like", value, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsIn(List values) { - addCriterion("labels in", values, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsNotIn(List values) { - addCriterion("labels not in", values, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsBetween(String value1, String value2) { - addCriterion("labels between", value1, value2, "labels"); - return (Criteria) this; - } - - public Criteria andLabelsNotBetween(String value1, String value2) { - addCriterion("labels not between", value1, value2, "labels"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(Short value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(Short value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(Short value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(Short value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(Short value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(Short value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(Short value1, Short value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(Short value1, Short value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andUseridIsNull() { - addCriterion("userID is null"); - return (Criteria) this; - } - - public Criteria andUseridIsNotNull() { - addCriterion("userID is not null"); - return (Criteria) this; - } - - public Criteria andUseridEqualTo(Long value) { - addCriterion("userID =", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridNotEqualTo(Long value) { - addCriterion("userID <>", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridGreaterThan(Long value) { - addCriterion("userID >", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridGreaterThanOrEqualTo(Long value) { - addCriterion("userID >=", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridLessThan(Long value) { - addCriterion("userID <", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridLessThanOrEqualTo(Long value) { - addCriterion("userID <=", value, "userid"); - return (Criteria) this; - } - - public Criteria andUseridIn(List values) { - addCriterion("userID in", values, "userid"); - return (Criteria) this; - } - - public Criteria andUseridNotIn(List values) { - addCriterion("userID not in", values, "userid"); - return (Criteria) this; - } - - public Criteria andUseridBetween(Long value1, Long value2) { - addCriterion("userID between", value1, value2, "userid"); - return (Criteria) this; - } - - public Criteria andUseridNotBetween(Long value1, Long value2) { - addCriterion("userID not between", value1, value2, "userid"); - return (Criteria) this; - } - - public Criteria andPriceIsNull() { - addCriterion("price is null"); - return (Criteria) this; - } - - public Criteria andPriceIsNotNull() { - addCriterion("price is not null"); - return (Criteria) this; - } - - public Criteria andPriceEqualTo(BigDecimal value) { - addCriterion("price =", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotEqualTo(BigDecimal value) { - addCriterion("price <>", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThan(BigDecimal value) { - addCriterion("price >", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("price >=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThan(BigDecimal value) { - addCriterion("price <", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("price <=", value, "price"); - return (Criteria) this; - } - - public Criteria andPriceIn(List values) { - addCriterion("price in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotIn(List values) { - addCriterion("price not in", values, "price"); - return (Criteria) this; - } - - public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("price not between", value1, value2, "price"); - return (Criteria) this; - } - - public Criteria andPurchasedateIsNull() { - addCriterion("purchasedate is null"); - return (Criteria) this; - } - - public Criteria andPurchasedateIsNotNull() { - addCriterion("purchasedate is not null"); - return (Criteria) this; - } - - public Criteria andPurchasedateEqualTo(Date value) { - addCriterion("purchasedate =", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateNotEqualTo(Date value) { - addCriterion("purchasedate <>", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateGreaterThan(Date value) { - addCriterion("purchasedate >", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateGreaterThanOrEqualTo(Date value) { - addCriterion("purchasedate >=", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateLessThan(Date value) { - addCriterion("purchasedate <", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateLessThanOrEqualTo(Date value) { - addCriterion("purchasedate <=", value, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateIn(List values) { - addCriterion("purchasedate in", values, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateNotIn(List values) { - addCriterion("purchasedate not in", values, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateBetween(Date value1, Date value2) { - addCriterion("purchasedate between", value1, value2, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPurchasedateNotBetween(Date value1, Date value2) { - addCriterion("purchasedate not between", value1, value2, "purchasedate"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityIsNull() { - addCriterion("periodofvalidity is null"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityIsNotNull() { - addCriterion("periodofvalidity is not null"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityEqualTo(Date value) { - addCriterion("periodofvalidity =", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityNotEqualTo(Date value) { - addCriterion("periodofvalidity <>", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityGreaterThan(Date value) { - addCriterion("periodofvalidity >", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityGreaterThanOrEqualTo(Date value) { - addCriterion("periodofvalidity >=", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityLessThan(Date value) { - addCriterion("periodofvalidity <", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityLessThanOrEqualTo(Date value) { - addCriterion("periodofvalidity <=", value, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityIn(List values) { - addCriterion("periodofvalidity in", values, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityNotIn(List values) { - addCriterion("periodofvalidity not in", values, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityBetween(Date value1, Date value2) { - addCriterion("periodofvalidity between", value1, value2, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andPeriodofvalidityNotBetween(Date value1, Date value2) { - addCriterion("periodofvalidity not between", value1, value2, "periodofvalidity"); - return (Criteria) this; - } - - public Criteria andWarrantydateIsNull() { - addCriterion("warrantydate is null"); - return (Criteria) this; - } - - public Criteria andWarrantydateIsNotNull() { - addCriterion("warrantydate is not null"); - return (Criteria) this; - } - - public Criteria andWarrantydateEqualTo(Date value) { - addCriterion("warrantydate =", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateNotEqualTo(Date value) { - addCriterion("warrantydate <>", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateGreaterThan(Date value) { - addCriterion("warrantydate >", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateGreaterThanOrEqualTo(Date value) { - addCriterion("warrantydate >=", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateLessThan(Date value) { - addCriterion("warrantydate <", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateLessThanOrEqualTo(Date value) { - addCriterion("warrantydate <=", value, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateIn(List values) { - addCriterion("warrantydate in", values, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateNotIn(List values) { - addCriterion("warrantydate not in", values, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateBetween(Date value1, Date value2) { - addCriterion("warrantydate between", value1, value2, "warrantydate"); - return (Criteria) this; - } - - public Criteria andWarrantydateNotBetween(Date value1, Date value2) { - addCriterion("warrantydate not between", value1, value2, "warrantydate"); - return (Criteria) this; - } - - public Criteria andAssetnumIsNull() { - addCriterion("assetnum is null"); - return (Criteria) this; - } - - public Criteria andAssetnumIsNotNull() { - addCriterion("assetnum is not null"); - return (Criteria) this; - } - - public Criteria andAssetnumEqualTo(String value) { - addCriterion("assetnum =", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumNotEqualTo(String value) { - addCriterion("assetnum <>", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumGreaterThan(String value) { - addCriterion("assetnum >", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumGreaterThanOrEqualTo(String value) { - addCriterion("assetnum >=", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumLessThan(String value) { - addCriterion("assetnum <", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumLessThanOrEqualTo(String value) { - addCriterion("assetnum <=", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumLike(String value) { - addCriterion("assetnum like", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumNotLike(String value) { - addCriterion("assetnum not like", value, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumIn(List values) { - addCriterion("assetnum in", values, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumNotIn(List values) { - addCriterion("assetnum not in", values, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumBetween(String value1, String value2) { - addCriterion("assetnum between", value1, value2, "assetnum"); - return (Criteria) this; - } - - public Criteria andAssetnumNotBetween(String value1, String value2) { - addCriterion("assetnum not between", value1, value2, "assetnum"); - return (Criteria) this; - } - - public Criteria andSerialnumIsNull() { - addCriterion("serialnum is null"); - return (Criteria) this; - } - - public Criteria andSerialnumIsNotNull() { - addCriterion("serialnum is not null"); - return (Criteria) this; - } - - public Criteria andSerialnumEqualTo(String value) { - addCriterion("serialnum =", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumNotEqualTo(String value) { - addCriterion("serialnum <>", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumGreaterThan(String value) { - addCriterion("serialnum >", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumGreaterThanOrEqualTo(String value) { - addCriterion("serialnum >=", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumLessThan(String value) { - addCriterion("serialnum <", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumLessThanOrEqualTo(String value) { - addCriterion("serialnum <=", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumLike(String value) { - addCriterion("serialnum like", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumNotLike(String value) { - addCriterion("serialnum not like", value, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumIn(List values) { - addCriterion("serialnum in", values, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumNotIn(List values) { - addCriterion("serialnum not in", values, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumBetween(String value1, String value2) { - addCriterion("serialnum between", value1, value2, "serialnum"); - return (Criteria) this; - } - - public Criteria andSerialnumNotBetween(String value1, String value2) { - addCriterion("serialnum not between", value1, value2, "serialnum"); - return (Criteria) this; - } - - public Criteria andSupplierIsNull() { - addCriterion("supplier is null"); - return (Criteria) this; - } - - public Criteria andSupplierIsNotNull() { - addCriterion("supplier is not null"); - return (Criteria) this; - } - - public Criteria andSupplierEqualTo(Long value) { - addCriterion("supplier =", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotEqualTo(Long value) { - addCriterion("supplier <>", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierGreaterThan(Long value) { - addCriterion("supplier >", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierGreaterThanOrEqualTo(Long value) { - addCriterion("supplier >=", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierLessThan(Long value) { - addCriterion("supplier <", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierLessThanOrEqualTo(Long value) { - addCriterion("supplier <=", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierIn(List values) { - addCriterion("supplier in", values, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotIn(List values) { - addCriterion("supplier not in", values, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierBetween(Long value1, Long value2) { - addCriterion("supplier between", value1, value2, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotBetween(Long value1, Long value2) { - addCriterion("supplier not between", value1, value2, "supplier"); - return (Criteria) this; - } - - public Criteria andCreatetimeIsNull() { - addCriterion("createtime is null"); - return (Criteria) this; - } - - public Criteria andCreatetimeIsNotNull() { - addCriterion("createtime is not null"); - return (Criteria) this; - } - - public Criteria andCreatetimeEqualTo(Date value) { - addCriterion("createtime =", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeNotEqualTo(Date value) { - addCriterion("createtime <>", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeGreaterThan(Date value) { - addCriterion("createtime >", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { - addCriterion("createtime >=", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeLessThan(Date value) { - addCriterion("createtime <", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeLessThanOrEqualTo(Date value) { - addCriterion("createtime <=", value, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeIn(List values) { - addCriterion("createtime in", values, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeNotIn(List values) { - addCriterion("createtime not in", values, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeBetween(Date value1, Date value2) { - addCriterion("createtime between", value1, value2, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatetimeNotBetween(Date value1, Date value2) { - addCriterion("createtime not between", value1, value2, "createtime"); - return (Criteria) this; - } - - public Criteria andCreatorIsNull() { - addCriterion("creator is null"); - return (Criteria) this; - } - - public Criteria andCreatorIsNotNull() { - addCriterion("creator is not null"); - return (Criteria) this; - } - - public Criteria andCreatorEqualTo(Long value) { - addCriterion("creator =", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotEqualTo(Long value) { - addCriterion("creator <>", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThan(Long value) { - addCriterion("creator >", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThanOrEqualTo(Long value) { - addCriterion("creator >=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThan(Long value) { - addCriterion("creator <", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThanOrEqualTo(Long value) { - addCriterion("creator <=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorIn(List values) { - addCriterion("creator in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotIn(List values) { - addCriterion("creator not in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorBetween(Long value1, Long value2) { - addCriterion("creator between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotBetween(Long value1, Long value2) { - addCriterion("creator not between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andUpdatetimeIsNull() { - addCriterion("updatetime is null"); - return (Criteria) this; - } - - public Criteria andUpdatetimeIsNotNull() { - addCriterion("updatetime is not null"); - return (Criteria) this; - } - - public Criteria andUpdatetimeEqualTo(Date value) { - addCriterion("updatetime =", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeNotEqualTo(Date value) { - addCriterion("updatetime <>", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeGreaterThan(Date value) { - addCriterion("updatetime >", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) { - addCriterion("updatetime >=", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeLessThan(Date value) { - addCriterion("updatetime <", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeLessThanOrEqualTo(Date value) { - addCriterion("updatetime <=", value, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeIn(List values) { - addCriterion("updatetime in", values, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeNotIn(List values) { - addCriterion("updatetime not in", values, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeBetween(Date value1, Date value2) { - addCriterion("updatetime between", value1, value2, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatetimeNotBetween(Date value1, Date value2) { - addCriterion("updatetime not between", value1, value2, "updatetime"); - return (Criteria) this; - } - - public Criteria andUpdatorIsNull() { - addCriterion("updator is null"); - return (Criteria) this; - } - - public Criteria andUpdatorIsNotNull() { - addCriterion("updator is not null"); - return (Criteria) this; - } - - public Criteria andUpdatorEqualTo(Long value) { - addCriterion("updator =", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorNotEqualTo(Long value) { - addCriterion("updator <>", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorGreaterThan(Long value) { - addCriterion("updator >", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorGreaterThanOrEqualTo(Long value) { - addCriterion("updator >=", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorLessThan(Long value) { - addCriterion("updator <", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorLessThanOrEqualTo(Long value) { - addCriterion("updator <=", value, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorIn(List values) { - addCriterion("updator in", values, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorNotIn(List values) { - addCriterion("updator not in", values, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorBetween(Long value1, Long value2) { - addCriterion("updator between", value1, value2, "updator"); - return (Criteria) this; - } - - public Criteria andUpdatorNotBetween(Long value1, Long value2) { - addCriterion("updator not between", value1, value2, "updator"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_asset - * - * @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_asset - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class AssetExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public AssetExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @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_asset + * + * @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_asset + * + * @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_asset + * + * @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_asset + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andAssetnameidIsNull() { + addCriterion("assetnameID is null"); + return (Criteria) this; + } + + public Criteria andAssetnameidIsNotNull() { + addCriterion("assetnameID is not null"); + return (Criteria) this; + } + + public Criteria andAssetnameidEqualTo(Long value) { + addCriterion("assetnameID =", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotEqualTo(Long value) { + addCriterion("assetnameID <>", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidGreaterThan(Long value) { + addCriterion("assetnameID >", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidGreaterThanOrEqualTo(Long value) { + addCriterion("assetnameID >=", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidLessThan(Long value) { + addCriterion("assetnameID <", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidLessThanOrEqualTo(Long value) { + addCriterion("assetnameID <=", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidIn(List values) { + addCriterion("assetnameID in", values, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotIn(List values) { + addCriterion("assetnameID not in", values, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidBetween(Long value1, Long value2) { + addCriterion("assetnameID between", value1, value2, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotBetween(Long value1, Long value2) { + addCriterion("assetnameID not between", value1, value2, "assetnameid"); + return (Criteria) this; + } + + public Criteria andLocationIsNull() { + addCriterion("location is null"); + return (Criteria) this; + } + + public Criteria andLocationIsNotNull() { + addCriterion("location is not null"); + return (Criteria) this; + } + + public Criteria andLocationEqualTo(String value) { + addCriterion("location =", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotEqualTo(String value) { + addCriterion("location <>", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationGreaterThan(String value) { + addCriterion("location >", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationGreaterThanOrEqualTo(String value) { + addCriterion("location >=", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLessThan(String value) { + addCriterion("location <", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLessThanOrEqualTo(String value) { + addCriterion("location <=", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLike(String value) { + addCriterion("location like", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotLike(String value) { + addCriterion("location not like", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationIn(List values) { + addCriterion("location in", values, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotIn(List values) { + addCriterion("location not in", values, "location"); + return (Criteria) this; + } + + public Criteria andLocationBetween(String value1, String value2) { + addCriterion("location between", value1, value2, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotBetween(String value1, String value2) { + addCriterion("location not between", value1, value2, "location"); + return (Criteria) this; + } + + public Criteria andLabelsIsNull() { + addCriterion("labels is null"); + return (Criteria) this; + } + + public Criteria andLabelsIsNotNull() { + addCriterion("labels is not null"); + return (Criteria) this; + } + + public Criteria andLabelsEqualTo(String value) { + addCriterion("labels =", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotEqualTo(String value) { + addCriterion("labels <>", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsGreaterThan(String value) { + addCriterion("labels >", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsGreaterThanOrEqualTo(String value) { + addCriterion("labels >=", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLessThan(String value) { + addCriterion("labels <", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLessThanOrEqualTo(String value) { + addCriterion("labels <=", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLike(String value) { + addCriterion("labels like", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotLike(String value) { + addCriterion("labels not like", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsIn(List values) { + addCriterion("labels in", values, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotIn(List values) { + addCriterion("labels not in", values, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsBetween(String value1, String value2) { + addCriterion("labels between", value1, value2, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotBetween(String value1, String value2) { + addCriterion("labels not between", value1, value2, "labels"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Short value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Short value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Short value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Short value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Short value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Short value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Short value1, Short value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Short value1, Short value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andUseridIsNull() { + addCriterion("userID is null"); + return (Criteria) this; + } + + public Criteria andUseridIsNotNull() { + addCriterion("userID is not null"); + return (Criteria) this; + } + + public Criteria andUseridEqualTo(Long value) { + addCriterion("userID =", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotEqualTo(Long value) { + addCriterion("userID <>", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThan(Long value) { + addCriterion("userID >", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThanOrEqualTo(Long value) { + addCriterion("userID >=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThan(Long value) { + addCriterion("userID <", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThanOrEqualTo(Long value) { + addCriterion("userID <=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridIn(List values) { + addCriterion("userID in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotIn(List values) { + addCriterion("userID not in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridBetween(Long value1, Long value2) { + addCriterion("userID between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotBetween(Long value1, Long value2) { + addCriterion("userID not between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPurchasedateIsNull() { + addCriterion("purchasedate is null"); + return (Criteria) this; + } + + public Criteria andPurchasedateIsNotNull() { + addCriterion("purchasedate is not null"); + return (Criteria) this; + } + + public Criteria andPurchasedateEqualTo(Date value) { + addCriterion("purchasedate =", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotEqualTo(Date value) { + addCriterion("purchasedate <>", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateGreaterThan(Date value) { + addCriterion("purchasedate >", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateGreaterThanOrEqualTo(Date value) { + addCriterion("purchasedate >=", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateLessThan(Date value) { + addCriterion("purchasedate <", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateLessThanOrEqualTo(Date value) { + addCriterion("purchasedate <=", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateIn(List values) { + addCriterion("purchasedate in", values, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotIn(List values) { + addCriterion("purchasedate not in", values, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateBetween(Date value1, Date value2) { + addCriterion("purchasedate between", value1, value2, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotBetween(Date value1, Date value2) { + addCriterion("purchasedate not between", value1, value2, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIsNull() { + addCriterion("periodofvalidity is null"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIsNotNull() { + addCriterion("periodofvalidity is not null"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityEqualTo(Date value) { + addCriterion("periodofvalidity =", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotEqualTo(Date value) { + addCriterion("periodofvalidity <>", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityGreaterThan(Date value) { + addCriterion("periodofvalidity >", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityGreaterThanOrEqualTo(Date value) { + addCriterion("periodofvalidity >=", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityLessThan(Date value) { + addCriterion("periodofvalidity <", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityLessThanOrEqualTo(Date value) { + addCriterion("periodofvalidity <=", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIn(List values) { + addCriterion("periodofvalidity in", values, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotIn(List values) { + addCriterion("periodofvalidity not in", values, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityBetween(Date value1, Date value2) { + addCriterion("periodofvalidity between", value1, value2, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotBetween(Date value1, Date value2) { + addCriterion("periodofvalidity not between", value1, value2, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andWarrantydateIsNull() { + addCriterion("warrantydate is null"); + return (Criteria) this; + } + + public Criteria andWarrantydateIsNotNull() { + addCriterion("warrantydate is not null"); + return (Criteria) this; + } + + public Criteria andWarrantydateEqualTo(Date value) { + addCriterion("warrantydate =", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotEqualTo(Date value) { + addCriterion("warrantydate <>", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateGreaterThan(Date value) { + addCriterion("warrantydate >", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateGreaterThanOrEqualTo(Date value) { + addCriterion("warrantydate >=", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateLessThan(Date value) { + addCriterion("warrantydate <", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateLessThanOrEqualTo(Date value) { + addCriterion("warrantydate <=", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateIn(List values) { + addCriterion("warrantydate in", values, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotIn(List values) { + addCriterion("warrantydate not in", values, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateBetween(Date value1, Date value2) { + addCriterion("warrantydate between", value1, value2, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotBetween(Date value1, Date value2) { + addCriterion("warrantydate not between", value1, value2, "warrantydate"); + return (Criteria) this; + } + + public Criteria andAssetnumIsNull() { + addCriterion("assetnum is null"); + return (Criteria) this; + } + + public Criteria andAssetnumIsNotNull() { + addCriterion("assetnum is not null"); + return (Criteria) this; + } + + public Criteria andAssetnumEqualTo(String value) { + addCriterion("assetnum =", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotEqualTo(String value) { + addCriterion("assetnum <>", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumGreaterThan(String value) { + addCriterion("assetnum >", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumGreaterThanOrEqualTo(String value) { + addCriterion("assetnum >=", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLessThan(String value) { + addCriterion("assetnum <", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLessThanOrEqualTo(String value) { + addCriterion("assetnum <=", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLike(String value) { + addCriterion("assetnum like", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotLike(String value) { + addCriterion("assetnum not like", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumIn(List values) { + addCriterion("assetnum in", values, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotIn(List values) { + addCriterion("assetnum not in", values, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumBetween(String value1, String value2) { + addCriterion("assetnum between", value1, value2, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotBetween(String value1, String value2) { + addCriterion("assetnum not between", value1, value2, "assetnum"); + return (Criteria) this; + } + + public Criteria andSerialnumIsNull() { + addCriterion("serialnum is null"); + return (Criteria) this; + } + + public Criteria andSerialnumIsNotNull() { + addCriterion("serialnum is not null"); + return (Criteria) this; + } + + public Criteria andSerialnumEqualTo(String value) { + addCriterion("serialnum =", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotEqualTo(String value) { + addCriterion("serialnum <>", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumGreaterThan(String value) { + addCriterion("serialnum >", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumGreaterThanOrEqualTo(String value) { + addCriterion("serialnum >=", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLessThan(String value) { + addCriterion("serialnum <", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLessThanOrEqualTo(String value) { + addCriterion("serialnum <=", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLike(String value) { + addCriterion("serialnum like", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotLike(String value) { + addCriterion("serialnum not like", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumIn(List values) { + addCriterion("serialnum in", values, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotIn(List values) { + addCriterion("serialnum not in", values, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumBetween(String value1, String value2) { + addCriterion("serialnum between", value1, value2, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotBetween(String value1, String value2) { + addCriterion("serialnum not between", value1, value2, "serialnum"); + return (Criteria) this; + } + + public Criteria andSupplierIsNull() { + addCriterion("supplier is null"); + return (Criteria) this; + } + + public Criteria andSupplierIsNotNull() { + addCriterion("supplier is not null"); + return (Criteria) this; + } + + public Criteria andSupplierEqualTo(Long value) { + addCriterion("supplier =", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotEqualTo(Long value) { + addCriterion("supplier <>", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThan(Long value) { + addCriterion("supplier >", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThanOrEqualTo(Long value) { + addCriterion("supplier >=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThan(Long value) { + addCriterion("supplier <", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThanOrEqualTo(Long value) { + addCriterion("supplier <=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierIn(List values) { + addCriterion("supplier in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotIn(List values) { + addCriterion("supplier not in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierBetween(Long value1, Long value2) { + addCriterion("supplier between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotBetween(Long value1, Long value2) { + addCriterion("supplier not between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNull() { + addCriterion("createtime is null"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNotNull() { + addCriterion("createtime is not null"); + return (Criteria) this; + } + + public Criteria andCreatetimeEqualTo(Date value) { + addCriterion("createtime =", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotEqualTo(Date value) { + addCriterion("createtime <>", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThan(Date value) { + addCriterion("createtime >", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("createtime >=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThan(Date value) { + addCriterion("createtime <", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThanOrEqualTo(Date value) { + addCriterion("createtime <=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeIn(List values) { + addCriterion("createtime in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotIn(List values) { + addCriterion("createtime not in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeBetween(Date value1, Date value2) { + addCriterion("createtime between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotBetween(Date value1, Date value2) { + addCriterion("createtime not between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIsNull() { + addCriterion("updatetime is null"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIsNotNull() { + addCriterion("updatetime is not null"); + return (Criteria) this; + } + + public Criteria andUpdatetimeEqualTo(Date value) { + addCriterion("updatetime =", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotEqualTo(Date value) { + addCriterion("updatetime <>", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeGreaterThan(Date value) { + addCriterion("updatetime >", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("updatetime >=", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeLessThan(Date value) { + addCriterion("updatetime <", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeLessThanOrEqualTo(Date value) { + addCriterion("updatetime <=", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIn(List values) { + addCriterion("updatetime in", values, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotIn(List values) { + addCriterion("updatetime not in", values, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeBetween(Date value1, Date value2) { + addCriterion("updatetime between", value1, value2, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotBetween(Date value1, Date value2) { + addCriterion("updatetime not between", value1, value2, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatorIsNull() { + addCriterion("updator is null"); + return (Criteria) this; + } + + public Criteria andUpdatorIsNotNull() { + addCriterion("updator is not null"); + return (Criteria) this; + } + + public Criteria andUpdatorEqualTo(Long value) { + addCriterion("updator =", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotEqualTo(Long value) { + addCriterion("updator <>", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorGreaterThan(Long value) { + addCriterion("updator >", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorGreaterThanOrEqualTo(Long value) { + addCriterion("updator >=", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorLessThan(Long value) { + addCriterion("updator <", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorLessThanOrEqualTo(Long value) { + addCriterion("updator <=", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorIn(List values) { + addCriterion("updator in", values, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotIn(List values) { + addCriterion("updator not in", values, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorBetween(Long value1, Long value2) { + addCriterion("updator between", value1, value2, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotBetween(Long value1, Long value2) { + addCriterion("updator not between", value1, value2, "updator"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_asset + * + * @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_asset + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetName.java b/src/main/java/com/jsh/erp/datasource/entities/AssetName.java index 51aa3b19..62848d5a 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AssetName.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetName.java @@ -41,6 +41,14 @@ public class AssetName { */ 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.description @@ -169,6 +177,30 @@ public class AssetName { 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.description diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java index 521dae4d..b1160673 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java @@ -503,6 +503,66 @@ public class AssetNameExample { 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/Depot.java b/src/main/java/com/jsh/erp/datasource/entities/Depot.java index 8c355638..38d6df1b 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Depot.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Depot.java @@ -1,293 +1,325 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class Depot { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.name - * - * @mbggenerated - */ - private String name; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.address - * - * @mbggenerated - */ - private String address; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.warehousing - * - * @mbggenerated - */ - private BigDecimal warehousing; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.truckage - * - * @mbggenerated - */ - private BigDecimal truckage; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.type - * - * @mbggenerated - */ - private Integer type; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.sort - * - * @mbggenerated - */ - private String sort; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depot.principal - * - * @mbggenerated - */ - private Long principal; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.id - * - * @return the value of jsh_depot.id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.id - * - * @param id the value for jsh_depot.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_depot.name - * - * @return the value of jsh_depot.name - * - * @mbggenerated - */ - public String getName() { - return name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.name - * - * @param name the value for jsh_depot.name - * - * @mbggenerated - */ - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.address - * - * @return the value of jsh_depot.address - * - * @mbggenerated - */ - public String getAddress() { - return address; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.address - * - * @param address the value for jsh_depot.address - * - * @mbggenerated - */ - public void setAddress(String address) { - this.address = address == null ? null : address.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.warehousing - * - * @return the value of jsh_depot.warehousing - * - * @mbggenerated - */ - public BigDecimal getWarehousing() { - return warehousing; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.warehousing - * - * @param warehousing the value for jsh_depot.warehousing - * - * @mbggenerated - */ - public void setWarehousing(BigDecimal warehousing) { - this.warehousing = warehousing; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.truckage - * - * @return the value of jsh_depot.truckage - * - * @mbggenerated - */ - public BigDecimal getTruckage() { - return truckage; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.truckage - * - * @param truckage the value for jsh_depot.truckage - * - * @mbggenerated - */ - public void setTruckage(BigDecimal truckage) { - this.truckage = truckage; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.type - * - * @return the value of jsh_depot.type - * - * @mbggenerated - */ - public Integer getType() { - return type; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.type - * - * @param type the value for jsh_depot.type - * - * @mbggenerated - */ - public void setType(Integer type) { - this.type = type; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.sort - * - * @return the value of jsh_depot.sort - * - * @mbggenerated - */ - public String getSort() { - return sort; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.sort - * - * @param sort the value for jsh_depot.sort - * - * @mbggenerated - */ - public void setSort(String sort) { - this.sort = sort == null ? null : sort.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.remark - * - * @return the value of jsh_depot.remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.remark - * - * @param remark the value for jsh_depot.remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depot.principal - * - * @return the value of jsh_depot.principal - * - * @mbggenerated - */ - public Long getPrincipal() { - return principal; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depot.principal - * - * @param principal the value for jsh_depot.principal - * - * @mbggenerated - */ - public void setPrincipal(Long principal) { - this.principal = principal; - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class Depot { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.address + * + * @mbggenerated + */ + private String address; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.warehousing + * + * @mbggenerated + */ + private BigDecimal warehousing; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.truckage + * + * @mbggenerated + */ + private BigDecimal truckage; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.type + * + * @mbggenerated + */ + private Integer type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.principal + * + * @mbggenerated + */ + private Long principal; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.id + * + * @return the value of jsh_depot.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.id + * + * @param id the value for jsh_depot.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_depot.name + * + * @return the value of jsh_depot.name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.name + * + * @param name the value for jsh_depot.name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.address + * + * @return the value of jsh_depot.address + * + * @mbggenerated + */ + public String getAddress() { + return address; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.address + * + * @param address the value for jsh_depot.address + * + * @mbggenerated + */ + public void setAddress(String address) { + this.address = address == null ? null : address.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.warehousing + * + * @return the value of jsh_depot.warehousing + * + * @mbggenerated + */ + public BigDecimal getWarehousing() { + return warehousing; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.warehousing + * + * @param warehousing the value for jsh_depot.warehousing + * + * @mbggenerated + */ + public void setWarehousing(BigDecimal warehousing) { + this.warehousing = warehousing; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.truckage + * + * @return the value of jsh_depot.truckage + * + * @mbggenerated + */ + public BigDecimal getTruckage() { + return truckage; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.truckage + * + * @param truckage the value for jsh_depot.truckage + * + * @mbggenerated + */ + public void setTruckage(BigDecimal truckage) { + this.truckage = truckage; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.type + * + * @return the value of jsh_depot.type + * + * @mbggenerated + */ + public Integer getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.type + * + * @param type the value for jsh_depot.type + * + * @mbggenerated + */ + public void setType(Integer type) { + this.type = type; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.sort + * + * @return the value of jsh_depot.sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.sort + * + * @param sort the value for jsh_depot.sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.remark + * + * @return the value of jsh_depot.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.remark + * + * @param remark the value for jsh_depot.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.principal + * + * @return the value of jsh_depot.principal + * + * @mbggenerated + */ + public Long getPrincipal() { + return principal; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.principal + * + * @param principal the value for jsh_depot.principal + * + * @mbggenerated + */ + public void setPrincipal(Long principal) { + this.principal = principal; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.tenant_id + * + * @return the value of jsh_depot.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_depot.tenant_id + * + * @param tenantId the value for jsh_depot.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java index ef4f4b10..8f049f68 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java @@ -1,883 +1,943 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class DepotExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depot - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depot - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depot - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public DepotExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depot - * - * @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_depot - * - * @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_depot - * - * @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_depot - * - * @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_depot - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andNameIsNull() { - addCriterion("name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andAddressIsNull() { - addCriterion("address is null"); - return (Criteria) this; - } - - public Criteria andAddressIsNotNull() { - addCriterion("address is not null"); - return (Criteria) this; - } - - public Criteria andAddressEqualTo(String value) { - addCriterion("address =", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotEqualTo(String value) { - addCriterion("address <>", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThan(String value) { - addCriterion("address >", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThanOrEqualTo(String value) { - addCriterion("address >=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThan(String value) { - addCriterion("address <", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThanOrEqualTo(String value) { - addCriterion("address <=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLike(String value) { - addCriterion("address like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotLike(String value) { - addCriterion("address not like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressIn(List values) { - addCriterion("address in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotIn(List values) { - addCriterion("address not in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressBetween(String value1, String value2) { - addCriterion("address between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotBetween(String value1, String value2) { - addCriterion("address not between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andWarehousingIsNull() { - addCriterion("warehousing is null"); - return (Criteria) this; - } - - public Criteria andWarehousingIsNotNull() { - addCriterion("warehousing is not null"); - return (Criteria) this; - } - - public Criteria andWarehousingEqualTo(BigDecimal value) { - addCriterion("warehousing =", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingNotEqualTo(BigDecimal value) { - addCriterion("warehousing <>", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingGreaterThan(BigDecimal value) { - addCriterion("warehousing >", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("warehousing >=", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingLessThan(BigDecimal value) { - addCriterion("warehousing <", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingLessThanOrEqualTo(BigDecimal value) { - addCriterion("warehousing <=", value, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingIn(List values) { - addCriterion("warehousing in", values, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingNotIn(List values) { - addCriterion("warehousing not in", values, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("warehousing between", value1, value2, "warehousing"); - return (Criteria) this; - } - - public Criteria andWarehousingNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("warehousing not between", value1, value2, "warehousing"); - return (Criteria) this; - } - - public Criteria andTruckageIsNull() { - addCriterion("truckage is null"); - return (Criteria) this; - } - - public Criteria andTruckageIsNotNull() { - addCriterion("truckage is not null"); - return (Criteria) this; - } - - public Criteria andTruckageEqualTo(BigDecimal value) { - addCriterion("truckage =", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageNotEqualTo(BigDecimal value) { - addCriterion("truckage <>", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageGreaterThan(BigDecimal value) { - addCriterion("truckage >", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("truckage >=", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageLessThan(BigDecimal value) { - addCriterion("truckage <", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageLessThanOrEqualTo(BigDecimal value) { - addCriterion("truckage <=", value, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageIn(List values) { - addCriterion("truckage in", values, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageNotIn(List values) { - addCriterion("truckage not in", values, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("truckage between", value1, value2, "truckage"); - return (Criteria) this; - } - - public Criteria andTruckageNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("truckage not between", value1, value2, "truckage"); - return (Criteria) this; - } - - public Criteria andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(Integer value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(Integer value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(Integer value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(Integer value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(Integer value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(Integer value1, Integer value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(Integer value1, Integer value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(String value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(String value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(String value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(String value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(String value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(String value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLike(String value) { - addCriterion("sort like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotLike(String value) { - addCriterion("sort not like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(String value1, String value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(String value1, String value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andPrincipalIsNull() { - addCriterion("principal is null"); - return (Criteria) this; - } - - public Criteria andPrincipalIsNotNull() { - addCriterion("principal is not null"); - return (Criteria) this; - } - - public Criteria andPrincipalEqualTo(Long value) { - addCriterion("principal =", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalNotEqualTo(Long value) { - addCriterion("principal <>", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalGreaterThan(Long value) { - addCriterion("principal >", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalGreaterThanOrEqualTo(Long value) { - addCriterion("principal >=", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalLessThan(Long value) { - addCriterion("principal <", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalLessThanOrEqualTo(Long value) { - addCriterion("principal <=", value, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalIn(List values) { - addCriterion("principal in", values, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalNotIn(List values) { - addCriterion("principal not in", values, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalBetween(Long value1, Long value2) { - addCriterion("principal between", value1, value2, "principal"); - return (Criteria) this; - } - - public Criteria andPrincipalNotBetween(Long value1, Long value2) { - addCriterion("principal not between", value1, value2, "principal"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_depot - * - * @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_depot - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class DepotExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public DepotExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @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_depot + * + * @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_depot + * + * @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_depot + * + * @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_depot + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andWarehousingIsNull() { + addCriterion("warehousing is null"); + return (Criteria) this; + } + + public Criteria andWarehousingIsNotNull() { + addCriterion("warehousing is not null"); + return (Criteria) this; + } + + public Criteria andWarehousingEqualTo(BigDecimal value) { + addCriterion("warehousing =", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotEqualTo(BigDecimal value) { + addCriterion("warehousing <>", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingGreaterThan(BigDecimal value) { + addCriterion("warehousing >", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("warehousing >=", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingLessThan(BigDecimal value) { + addCriterion("warehousing <", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingLessThanOrEqualTo(BigDecimal value) { + addCriterion("warehousing <=", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingIn(List values) { + addCriterion("warehousing in", values, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotIn(List values) { + addCriterion("warehousing not in", values, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("warehousing between", value1, value2, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("warehousing not between", value1, value2, "warehousing"); + return (Criteria) this; + } + + public Criteria andTruckageIsNull() { + addCriterion("truckage is null"); + return (Criteria) this; + } + + public Criteria andTruckageIsNotNull() { + addCriterion("truckage is not null"); + return (Criteria) this; + } + + public Criteria andTruckageEqualTo(BigDecimal value) { + addCriterion("truckage =", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotEqualTo(BigDecimal value) { + addCriterion("truckage <>", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageGreaterThan(BigDecimal value) { + addCriterion("truckage >", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("truckage >=", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageLessThan(BigDecimal value) { + addCriterion("truckage <", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageLessThanOrEqualTo(BigDecimal value) { + addCriterion("truckage <=", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageIn(List values) { + addCriterion("truckage in", values, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotIn(List values) { + addCriterion("truckage not in", values, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("truckage between", value1, value2, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("truckage not between", value1, value2, "truckage"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andPrincipalIsNull() { + addCriterion("principal is null"); + return (Criteria) this; + } + + public Criteria andPrincipalIsNotNull() { + addCriterion("principal is not null"); + return (Criteria) this; + } + + public Criteria andPrincipalEqualTo(Long value) { + addCriterion("principal =", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalNotEqualTo(Long value) { + addCriterion("principal <>", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalGreaterThan(Long value) { + addCriterion("principal >", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalGreaterThanOrEqualTo(Long value) { + addCriterion("principal >=", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalLessThan(Long value) { + addCriterion("principal <", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalLessThanOrEqualTo(Long value) { + addCriterion("principal <=", value, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalIn(List values) { + addCriterion("principal in", values, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalNotIn(List values) { + addCriterion("principal not in", values, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalBetween(Long value1, Long value2) { + addCriterion("principal between", value1, value2, "principal"); + return (Criteria) this; + } + + public Criteria andPrincipalNotBetween(Long value1, Long value2) { + addCriterion("principal not between", value1, value2, "principal"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depot + * + * @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_depot + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java index f5775ea3..de128a2a 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java @@ -236,6 +236,14 @@ public class DepotHead { */ private String linknumber; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_depothead.Id @@ -931,4 +939,28 @@ public class DepotHead { public void setLinknumber(String linknumber) { this.linknumber = linknumber == null ? null : linknumber.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.tenant_id + * + * @return the value of jsh_depothead.tenant_id + * + * @mbggenerated + */ + public Long getTenantId() { + return tenantId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.tenant_id + * + * @param tenantId the value for jsh_depothead.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java index 4bfbcb14..ace4ed7c 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java @@ -2075,6 +2075,66 @@ public class DepotHeadExample { addCriterion("LinkNumber not between", value1, value2, "linknumber"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java index e38754d9..c7b39912 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java @@ -1,741 +1,773 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class DepotItem { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.HeaderId - * - * @mbggenerated - */ - private Long headerid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.MaterialId - * - * @mbggenerated - */ - private Long materialid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.MUnit - * - * @mbggenerated - */ - private String munit; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OperNumber - * - * @mbggenerated - */ - private BigDecimal opernumber; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.BasicNumber - * - * @mbggenerated - */ - private BigDecimal basicnumber; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.UnitPrice - * - * @mbggenerated - */ - private BigDecimal unitprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.TaxUnitPrice - * - * @mbggenerated - */ - private BigDecimal taxunitprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.AllPrice - * - * @mbggenerated - */ - private BigDecimal allprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.Remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.Img - * - * @mbggenerated - */ - private String img; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.Incidentals - * - * @mbggenerated - */ - private BigDecimal incidentals; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.DepotId - * - * @mbggenerated - */ - private Long depotid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.AnotherDepotId - * - * @mbggenerated - */ - private Long anotherdepotid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.TaxRate - * - * @mbggenerated - */ - private BigDecimal taxrate; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.TaxMoney - * - * @mbggenerated - */ - private BigDecimal taxmoney; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.TaxLastMoney - * - * @mbggenerated - */ - private BigDecimal taxlastmoney; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OtherField1 - * - * @mbggenerated - */ - private String otherfield1; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OtherField2 - * - * @mbggenerated - */ - private String otherfield2; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OtherField3 - * - * @mbggenerated - */ - private String otherfield3; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OtherField4 - * - * @mbggenerated - */ - private String otherfield4; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.OtherField5 - * - * @mbggenerated - */ - private String otherfield5; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depotitem.MType - * - * @mbggenerated - */ - private String mtype; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.Id - * - * @return the value of jsh_depotitem.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.Id - * - * @param id the value for jsh_depotitem.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_depotitem.HeaderId - * - * @return the value of jsh_depotitem.HeaderId - * - * @mbggenerated - */ - public Long getHeaderid() { - return headerid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.HeaderId - * - * @param headerid the value for jsh_depotitem.HeaderId - * - * @mbggenerated - */ - public void setHeaderid(Long headerid) { - this.headerid = headerid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.MaterialId - * - * @return the value of jsh_depotitem.MaterialId - * - * @mbggenerated - */ - public Long getMaterialid() { - return materialid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.MaterialId - * - * @param materialid the value for jsh_depotitem.MaterialId - * - * @mbggenerated - */ - public void setMaterialid(Long materialid) { - this.materialid = materialid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.MUnit - * - * @return the value of jsh_depotitem.MUnit - * - * @mbggenerated - */ - public String getMunit() { - return munit; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.MUnit - * - * @param munit the value for jsh_depotitem.MUnit - * - * @mbggenerated - */ - public void setMunit(String munit) { - this.munit = munit == null ? null : munit.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OperNumber - * - * @return the value of jsh_depotitem.OperNumber - * - * @mbggenerated - */ - public BigDecimal getOpernumber() { - return opernumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OperNumber - * - * @param opernumber the value for jsh_depotitem.OperNumber - * - * @mbggenerated - */ - public void setOpernumber(BigDecimal opernumber) { - this.opernumber = opernumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.BasicNumber - * - * @return the value of jsh_depotitem.BasicNumber - * - * @mbggenerated - */ - public BigDecimal getBasicnumber() { - return basicnumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.BasicNumber - * - * @param basicnumber the value for jsh_depotitem.BasicNumber - * - * @mbggenerated - */ - public void setBasicnumber(BigDecimal basicnumber) { - this.basicnumber = basicnumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.UnitPrice - * - * @return the value of jsh_depotitem.UnitPrice - * - * @mbggenerated - */ - public BigDecimal getUnitprice() { - return unitprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.UnitPrice - * - * @param unitprice the value for jsh_depotitem.UnitPrice - * - * @mbggenerated - */ - public void setUnitprice(BigDecimal unitprice) { - this.unitprice = unitprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.TaxUnitPrice - * - * @return the value of jsh_depotitem.TaxUnitPrice - * - * @mbggenerated - */ - public BigDecimal getTaxunitprice() { - return taxunitprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.TaxUnitPrice - * - * @param taxunitprice the value for jsh_depotitem.TaxUnitPrice - * - * @mbggenerated - */ - public void setTaxunitprice(BigDecimal taxunitprice) { - this.taxunitprice = taxunitprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.AllPrice - * - * @return the value of jsh_depotitem.AllPrice - * - * @mbggenerated - */ - public BigDecimal getAllprice() { - return allprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.AllPrice - * - * @param allprice the value for jsh_depotitem.AllPrice - * - * @mbggenerated - */ - public void setAllprice(BigDecimal allprice) { - this.allprice = allprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.Remark - * - * @return the value of jsh_depotitem.Remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.Remark - * - * @param remark the value for jsh_depotitem.Remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.Img - * - * @return the value of jsh_depotitem.Img - * - * @mbggenerated - */ - public String getImg() { - return img; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.Img - * - * @param img the value for jsh_depotitem.Img - * - * @mbggenerated - */ - public void setImg(String img) { - this.img = img == null ? null : img.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.Incidentals - * - * @return the value of jsh_depotitem.Incidentals - * - * @mbggenerated - */ - public BigDecimal getIncidentals() { - return incidentals; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.Incidentals - * - * @param incidentals the value for jsh_depotitem.Incidentals - * - * @mbggenerated - */ - public void setIncidentals(BigDecimal incidentals) { - this.incidentals = incidentals; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.DepotId - * - * @return the value of jsh_depotitem.DepotId - * - * @mbggenerated - */ - public Long getDepotid() { - return depotid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.DepotId - * - * @param depotid the value for jsh_depotitem.DepotId - * - * @mbggenerated - */ - public void setDepotid(Long depotid) { - this.depotid = depotid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.AnotherDepotId - * - * @return the value of jsh_depotitem.AnotherDepotId - * - * @mbggenerated - */ - public Long getAnotherdepotid() { - return anotherdepotid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.AnotherDepotId - * - * @param anotherdepotid the value for jsh_depotitem.AnotherDepotId - * - * @mbggenerated - */ - public void setAnotherdepotid(Long anotherdepotid) { - this.anotherdepotid = anotherdepotid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.TaxRate - * - * @return the value of jsh_depotitem.TaxRate - * - * @mbggenerated - */ - public BigDecimal getTaxrate() { - return taxrate; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.TaxRate - * - * @param taxrate the value for jsh_depotitem.TaxRate - * - * @mbggenerated - */ - public void setTaxrate(BigDecimal taxrate) { - this.taxrate = taxrate; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.TaxMoney - * - * @return the value of jsh_depotitem.TaxMoney - * - * @mbggenerated - */ - public BigDecimal getTaxmoney() { - return taxmoney; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.TaxMoney - * - * @param taxmoney the value for jsh_depotitem.TaxMoney - * - * @mbggenerated - */ - public void setTaxmoney(BigDecimal taxmoney) { - this.taxmoney = taxmoney; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.TaxLastMoney - * - * @return the value of jsh_depotitem.TaxLastMoney - * - * @mbggenerated - */ - public BigDecimal getTaxlastmoney() { - return taxlastmoney; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.TaxLastMoney - * - * @param taxlastmoney the value for jsh_depotitem.TaxLastMoney - * - * @mbggenerated - */ - public void setTaxlastmoney(BigDecimal taxlastmoney) { - this.taxlastmoney = taxlastmoney; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OtherField1 - * - * @return the value of jsh_depotitem.OtherField1 - * - * @mbggenerated - */ - public String getOtherfield1() { - return otherfield1; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OtherField1 - * - * @param otherfield1 the value for jsh_depotitem.OtherField1 - * - * @mbggenerated - */ - public void setOtherfield1(String otherfield1) { - this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OtherField2 - * - * @return the value of jsh_depotitem.OtherField2 - * - * @mbggenerated - */ - public String getOtherfield2() { - return otherfield2; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OtherField2 - * - * @param otherfield2 the value for jsh_depotitem.OtherField2 - * - * @mbggenerated - */ - public void setOtherfield2(String otherfield2) { - this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OtherField3 - * - * @return the value of jsh_depotitem.OtherField3 - * - * @mbggenerated - */ - public String getOtherfield3() { - return otherfield3; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OtherField3 - * - * @param otherfield3 the value for jsh_depotitem.OtherField3 - * - * @mbggenerated - */ - public void setOtherfield3(String otherfield3) { - this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OtherField4 - * - * @return the value of jsh_depotitem.OtherField4 - * - * @mbggenerated - */ - public String getOtherfield4() { - return otherfield4; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OtherField4 - * - * @param otherfield4 the value for jsh_depotitem.OtherField4 - * - * @mbggenerated - */ - public void setOtherfield4(String otherfield4) { - this.otherfield4 = otherfield4 == null ? null : otherfield4.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.OtherField5 - * - * @return the value of jsh_depotitem.OtherField5 - * - * @mbggenerated - */ - public String getOtherfield5() { - return otherfield5; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.OtherField5 - * - * @param otherfield5 the value for jsh_depotitem.OtherField5 - * - * @mbggenerated - */ - public void setOtherfield5(String otherfield5) { - this.otherfield5 = otherfield5 == null ? null : otherfield5.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_depotitem.MType - * - * @return the value of jsh_depotitem.MType - * - * @mbggenerated - */ - public String getMtype() { - return mtype; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_depotitem.MType - * - * @param mtype the value for jsh_depotitem.MType - * - * @mbggenerated - */ - public void setMtype(String mtype) { - this.mtype = mtype == null ? null : mtype.trim(); - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class DepotItem { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.HeaderId + * + * @mbggenerated + */ + private Long headerid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MaterialId + * + * @mbggenerated + */ + private Long materialid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MUnit + * + * @mbggenerated + */ + private String munit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OperNumber + * + * @mbggenerated + */ + private BigDecimal opernumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + private BigDecimal basicnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + private BigDecimal unitprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + private BigDecimal taxunitprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.AllPrice + * + * @mbggenerated + */ + private BigDecimal allprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Img + * + * @mbggenerated + */ + private String img; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Incidentals + * + * @mbggenerated + */ + private BigDecimal incidentals; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.DepotId + * + * @mbggenerated + */ + private Long depotid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + private Long anotherdepotid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxRate + * + * @mbggenerated + */ + private BigDecimal taxrate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + private BigDecimal taxmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + private BigDecimal taxlastmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + private String otherfield1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + private String otherfield2; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + private String otherfield3; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + private String otherfield4; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + private String otherfield5; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MType + * + * @mbggenerated + */ + private String mtype; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Id + * + * @return the value of jsh_depotitem.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Id + * + * @param id the value for jsh_depotitem.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_depotitem.HeaderId + * + * @return the value of jsh_depotitem.HeaderId + * + * @mbggenerated + */ + public Long getHeaderid() { + return headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.HeaderId + * + * @param headerid the value for jsh_depotitem.HeaderId + * + * @mbggenerated + */ + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MaterialId + * + * @return the value of jsh_depotitem.MaterialId + * + * @mbggenerated + */ + public Long getMaterialid() { + return materialid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MaterialId + * + * @param materialid the value for jsh_depotitem.MaterialId + * + * @mbggenerated + */ + public void setMaterialid(Long materialid) { + this.materialid = materialid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MUnit + * + * @return the value of jsh_depotitem.MUnit + * + * @mbggenerated + */ + public String getMunit() { + return munit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MUnit + * + * @param munit the value for jsh_depotitem.MUnit + * + * @mbggenerated + */ + public void setMunit(String munit) { + this.munit = munit == null ? null : munit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OperNumber + * + * @return the value of jsh_depotitem.OperNumber + * + * @mbggenerated + */ + public BigDecimal getOpernumber() { + return opernumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OperNumber + * + * @param opernumber the value for jsh_depotitem.OperNumber + * + * @mbggenerated + */ + public void setOpernumber(BigDecimal opernumber) { + this.opernumber = opernumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.BasicNumber + * + * @return the value of jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + public BigDecimal getBasicnumber() { + return basicnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.BasicNumber + * + * @param basicnumber the value for jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + public void setBasicnumber(BigDecimal basicnumber) { + this.basicnumber = basicnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.UnitPrice + * + * @return the value of jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + public BigDecimal getUnitprice() { + return unitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.UnitPrice + * + * @param unitprice the value for jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + public void setUnitprice(BigDecimal unitprice) { + this.unitprice = unitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxUnitPrice + * + * @return the value of jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + public BigDecimal getTaxunitprice() { + return taxunitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxUnitPrice + * + * @param taxunitprice the value for jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + public void setTaxunitprice(BigDecimal taxunitprice) { + this.taxunitprice = taxunitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.AllPrice + * + * @return the value of jsh_depotitem.AllPrice + * + * @mbggenerated + */ + public BigDecimal getAllprice() { + return allprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.AllPrice + * + * @param allprice the value for jsh_depotitem.AllPrice + * + * @mbggenerated + */ + public void setAllprice(BigDecimal allprice) { + this.allprice = allprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Remark + * + * @return the value of jsh_depotitem.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Remark + * + * @param remark the value for jsh_depotitem.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Img + * + * @return the value of jsh_depotitem.Img + * + * @mbggenerated + */ + public String getImg() { + return img; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Img + * + * @param img the value for jsh_depotitem.Img + * + * @mbggenerated + */ + public void setImg(String img) { + this.img = img == null ? null : img.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Incidentals + * + * @return the value of jsh_depotitem.Incidentals + * + * @mbggenerated + */ + public BigDecimal getIncidentals() { + return incidentals; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Incidentals + * + * @param incidentals the value for jsh_depotitem.Incidentals + * + * @mbggenerated + */ + public void setIncidentals(BigDecimal incidentals) { + this.incidentals = incidentals; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.DepotId + * + * @return the value of jsh_depotitem.DepotId + * + * @mbggenerated + */ + public Long getDepotid() { + return depotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.DepotId + * + * @param depotid the value for jsh_depotitem.DepotId + * + * @mbggenerated + */ + public void setDepotid(Long depotid) { + this.depotid = depotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.AnotherDepotId + * + * @return the value of jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + public Long getAnotherdepotid() { + return anotherdepotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.AnotherDepotId + * + * @param anotherdepotid the value for jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + public void setAnotherdepotid(Long anotherdepotid) { + this.anotherdepotid = anotherdepotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxRate + * + * @return the value of jsh_depotitem.TaxRate + * + * @mbggenerated + */ + public BigDecimal getTaxrate() { + return taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxRate + * + * @param taxrate the value for jsh_depotitem.TaxRate + * + * @mbggenerated + */ + public void setTaxrate(BigDecimal taxrate) { + this.taxrate = taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxMoney + * + * @return the value of jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + public BigDecimal getTaxmoney() { + return taxmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxMoney + * + * @param taxmoney the value for jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + public void setTaxmoney(BigDecimal taxmoney) { + this.taxmoney = taxmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxLastMoney + * + * @return the value of jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + public BigDecimal getTaxlastmoney() { + return taxlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxLastMoney + * + * @param taxlastmoney the value for jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + public void setTaxlastmoney(BigDecimal taxlastmoney) { + this.taxlastmoney = taxlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField1 + * + * @return the value of jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + public String getOtherfield1() { + return otherfield1; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField1 + * + * @param otherfield1 the value for jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField2 + * + * @return the value of jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + public String getOtherfield2() { + return otherfield2; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField2 + * + * @param otherfield2 the value for jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField3 + * + * @return the value of jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + public String getOtherfield3() { + return otherfield3; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField3 + * + * @param otherfield3 the value for jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField4 + * + * @return the value of jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + public String getOtherfield4() { + return otherfield4; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField4 + * + * @param otherfield4 the value for jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + public void setOtherfield4(String otherfield4) { + this.otherfield4 = otherfield4 == null ? null : otherfield4.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField5 + * + * @return the value of jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + public String getOtherfield5() { + return otherfield5; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField5 + * + * @param otherfield5 the value for jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + public void setOtherfield5(String otherfield5) { + this.otherfield5 = otherfield5 == null ? null : otherfield5.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MType + * + * @return the value of jsh_depotitem.MType + * + * @mbggenerated + */ + public String getMtype() { + return mtype; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MType + * + * @param mtype the value for jsh_depotitem.MType + * + * @mbggenerated + */ + public void setMtype(String mtype) { + this.mtype = mtype == null ? null : mtype.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.tenant_id + * + * @return the value of jsh_depotitem.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_depotitem.tenant_id + * + * @param tenantId the value for jsh_depotitem.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java index 545eab32..5c9eb182 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java @@ -1,1773 +1,1833 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class DepotItemExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public DepotItemExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @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_depotitem - * - * @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_depotitem - * - * @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_depotitem - * - * @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_depotitem - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andHeaderidIsNull() { - addCriterion("HeaderId is null"); - return (Criteria) this; - } - - public Criteria andHeaderidIsNotNull() { - addCriterion("HeaderId is not null"); - return (Criteria) this; - } - - public Criteria andHeaderidEqualTo(Long value) { - addCriterion("HeaderId =", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotEqualTo(Long value) { - addCriterion("HeaderId <>", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidGreaterThan(Long value) { - addCriterion("HeaderId >", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { - addCriterion("HeaderId >=", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidLessThan(Long value) { - addCriterion("HeaderId <", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidLessThanOrEqualTo(Long value) { - addCriterion("HeaderId <=", value, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidIn(List values) { - addCriterion("HeaderId in", values, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotIn(List values) { - addCriterion("HeaderId not in", values, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidBetween(Long value1, Long value2) { - addCriterion("HeaderId between", value1, value2, "headerid"); - return (Criteria) this; - } - - public Criteria andHeaderidNotBetween(Long value1, Long value2) { - addCriterion("HeaderId not between", value1, value2, "headerid"); - return (Criteria) this; - } - - public Criteria andMaterialidIsNull() { - addCriterion("MaterialId is null"); - return (Criteria) this; - } - - public Criteria andMaterialidIsNotNull() { - addCriterion("MaterialId is not null"); - return (Criteria) this; - } - - public Criteria andMaterialidEqualTo(Long value) { - addCriterion("MaterialId =", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidNotEqualTo(Long value) { - addCriterion("MaterialId <>", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidGreaterThan(Long value) { - addCriterion("MaterialId >", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidGreaterThanOrEqualTo(Long value) { - addCriterion("MaterialId >=", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidLessThan(Long value) { - addCriterion("MaterialId <", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidLessThanOrEqualTo(Long value) { - addCriterion("MaterialId <=", value, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidIn(List values) { - addCriterion("MaterialId in", values, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidNotIn(List values) { - addCriterion("MaterialId not in", values, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidBetween(Long value1, Long value2) { - addCriterion("MaterialId between", value1, value2, "materialid"); - return (Criteria) this; - } - - public Criteria andMaterialidNotBetween(Long value1, Long value2) { - addCriterion("MaterialId not between", value1, value2, "materialid"); - return (Criteria) this; - } - - public Criteria andMunitIsNull() { - addCriterion("MUnit is null"); - return (Criteria) this; - } - - public Criteria andMunitIsNotNull() { - addCriterion("MUnit is not null"); - return (Criteria) this; - } - - public Criteria andMunitEqualTo(String value) { - addCriterion("MUnit =", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitNotEqualTo(String value) { - addCriterion("MUnit <>", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitGreaterThan(String value) { - addCriterion("MUnit >", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitGreaterThanOrEqualTo(String value) { - addCriterion("MUnit >=", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitLessThan(String value) { - addCriterion("MUnit <", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitLessThanOrEqualTo(String value) { - addCriterion("MUnit <=", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitLike(String value) { - addCriterion("MUnit like", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitNotLike(String value) { - addCriterion("MUnit not like", value, "munit"); - return (Criteria) this; - } - - public Criteria andMunitIn(List values) { - addCriterion("MUnit in", values, "munit"); - return (Criteria) this; - } - - public Criteria andMunitNotIn(List values) { - addCriterion("MUnit not in", values, "munit"); - return (Criteria) this; - } - - public Criteria andMunitBetween(String value1, String value2) { - addCriterion("MUnit between", value1, value2, "munit"); - return (Criteria) this; - } - - public Criteria andMunitNotBetween(String value1, String value2) { - addCriterion("MUnit not between", value1, value2, "munit"); - return (Criteria) this; - } - - public Criteria andOpernumberIsNull() { - addCriterion("OperNumber is null"); - return (Criteria) this; - } - - public Criteria andOpernumberIsNotNull() { - addCriterion("OperNumber is not null"); - return (Criteria) this; - } - - public Criteria andOpernumberEqualTo(BigDecimal value) { - addCriterion("OperNumber =", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberNotEqualTo(BigDecimal value) { - addCriterion("OperNumber <>", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberGreaterThan(BigDecimal value) { - addCriterion("OperNumber >", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("OperNumber >=", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberLessThan(BigDecimal value) { - addCriterion("OperNumber <", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberLessThanOrEqualTo(BigDecimal value) { - addCriterion("OperNumber <=", value, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberIn(List values) { - addCriterion("OperNumber in", values, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberNotIn(List values) { - addCriterion("OperNumber not in", values, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("OperNumber between", value1, value2, "opernumber"); - return (Criteria) this; - } - - public Criteria andOpernumberNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("OperNumber not between", value1, value2, "opernumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberIsNull() { - addCriterion("BasicNumber is null"); - return (Criteria) this; - } - - public Criteria andBasicnumberIsNotNull() { - addCriterion("BasicNumber is not null"); - return (Criteria) this; - } - - public Criteria andBasicnumberEqualTo(BigDecimal value) { - addCriterion("BasicNumber =", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberNotEqualTo(BigDecimal value) { - addCriterion("BasicNumber <>", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberGreaterThan(BigDecimal value) { - addCriterion("BasicNumber >", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("BasicNumber >=", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberLessThan(BigDecimal value) { - addCriterion("BasicNumber <", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberLessThanOrEqualTo(BigDecimal value) { - addCriterion("BasicNumber <=", value, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberIn(List values) { - addCriterion("BasicNumber in", values, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberNotIn(List values) { - addCriterion("BasicNumber not in", values, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BasicNumber between", value1, value2, "basicnumber"); - return (Criteria) this; - } - - public Criteria andBasicnumberNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BasicNumber not between", value1, value2, "basicnumber"); - return (Criteria) this; - } - - public Criteria andUnitpriceIsNull() { - addCriterion("UnitPrice is null"); - return (Criteria) this; - } - - public Criteria andUnitpriceIsNotNull() { - addCriterion("UnitPrice is not null"); - return (Criteria) this; - } - - public Criteria andUnitpriceEqualTo(BigDecimal value) { - addCriterion("UnitPrice =", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceNotEqualTo(BigDecimal value) { - addCriterion("UnitPrice <>", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceGreaterThan(BigDecimal value) { - addCriterion("UnitPrice >", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("UnitPrice >=", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceLessThan(BigDecimal value) { - addCriterion("UnitPrice <", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("UnitPrice <=", value, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceIn(List values) { - addCriterion("UnitPrice in", values, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceNotIn(List values) { - addCriterion("UnitPrice not in", values, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("UnitPrice between", value1, value2, "unitprice"); - return (Criteria) this; - } - - public Criteria andUnitpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("UnitPrice not between", value1, value2, "unitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceIsNull() { - addCriterion("TaxUnitPrice is null"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceIsNotNull() { - addCriterion("TaxUnitPrice is not null"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceEqualTo(BigDecimal value) { - addCriterion("TaxUnitPrice =", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceNotEqualTo(BigDecimal value) { - addCriterion("TaxUnitPrice <>", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceGreaterThan(BigDecimal value) { - addCriterion("TaxUnitPrice >", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TaxUnitPrice >=", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceLessThan(BigDecimal value) { - addCriterion("TaxUnitPrice <", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("TaxUnitPrice <=", value, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceIn(List values) { - addCriterion("TaxUnitPrice in", values, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceNotIn(List values) { - addCriterion("TaxUnitPrice not in", values, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxUnitPrice between", value1, value2, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andTaxunitpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxUnitPrice not between", value1, value2, "taxunitprice"); - return (Criteria) this; - } - - public Criteria andAllpriceIsNull() { - addCriterion("AllPrice is null"); - return (Criteria) this; - } - - public Criteria andAllpriceIsNotNull() { - addCriterion("AllPrice is not null"); - return (Criteria) this; - } - - public Criteria andAllpriceEqualTo(BigDecimal value) { - addCriterion("AllPrice =", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceNotEqualTo(BigDecimal value) { - addCriterion("AllPrice <>", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceGreaterThan(BigDecimal value) { - addCriterion("AllPrice >", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("AllPrice >=", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceLessThan(BigDecimal value) { - addCriterion("AllPrice <", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("AllPrice <=", value, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceIn(List values) { - addCriterion("AllPrice in", values, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceNotIn(List values) { - addCriterion("AllPrice not in", values, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllPrice between", value1, value2, "allprice"); - return (Criteria) this; - } - - public Criteria andAllpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllPrice not between", value1, value2, "allprice"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("Remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("Remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("Remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("Remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("Remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("Remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("Remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("Remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("Remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("Remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("Remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("Remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("Remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("Remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andImgIsNull() { - addCriterion("Img is null"); - return (Criteria) this; - } - - public Criteria andImgIsNotNull() { - addCriterion("Img is not null"); - return (Criteria) this; - } - - public Criteria andImgEqualTo(String value) { - addCriterion("Img =", value, "img"); - return (Criteria) this; - } - - public Criteria andImgNotEqualTo(String value) { - addCriterion("Img <>", value, "img"); - return (Criteria) this; - } - - public Criteria andImgGreaterThan(String value) { - addCriterion("Img >", value, "img"); - return (Criteria) this; - } - - public Criteria andImgGreaterThanOrEqualTo(String value) { - addCriterion("Img >=", value, "img"); - return (Criteria) this; - } - - public Criteria andImgLessThan(String value) { - addCriterion("Img <", value, "img"); - return (Criteria) this; - } - - public Criteria andImgLessThanOrEqualTo(String value) { - addCriterion("Img <=", value, "img"); - return (Criteria) this; - } - - public Criteria andImgLike(String value) { - addCriterion("Img like", value, "img"); - return (Criteria) this; - } - - public Criteria andImgNotLike(String value) { - addCriterion("Img not like", value, "img"); - return (Criteria) this; - } - - public Criteria andImgIn(List values) { - addCriterion("Img in", values, "img"); - return (Criteria) this; - } - - public Criteria andImgNotIn(List values) { - addCriterion("Img not in", values, "img"); - return (Criteria) this; - } - - public Criteria andImgBetween(String value1, String value2) { - addCriterion("Img between", value1, value2, "img"); - return (Criteria) this; - } - - public Criteria andImgNotBetween(String value1, String value2) { - addCriterion("Img not between", value1, value2, "img"); - return (Criteria) this; - } - - public Criteria andIncidentalsIsNull() { - addCriterion("Incidentals is null"); - return (Criteria) this; - } - - public Criteria andIncidentalsIsNotNull() { - addCriterion("Incidentals is not null"); - return (Criteria) this; - } - - public Criteria andIncidentalsEqualTo(BigDecimal value) { - addCriterion("Incidentals =", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsNotEqualTo(BigDecimal value) { - addCriterion("Incidentals <>", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsGreaterThan(BigDecimal value) { - addCriterion("Incidentals >", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("Incidentals >=", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsLessThan(BigDecimal value) { - addCriterion("Incidentals <", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsLessThanOrEqualTo(BigDecimal value) { - addCriterion("Incidentals <=", value, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsIn(List values) { - addCriterion("Incidentals in", values, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsNotIn(List values) { - addCriterion("Incidentals not in", values, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("Incidentals between", value1, value2, "incidentals"); - return (Criteria) this; - } - - public Criteria andIncidentalsNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("Incidentals not between", value1, value2, "incidentals"); - return (Criteria) this; - } - - public Criteria andDepotidIsNull() { - addCriterion("DepotId is null"); - return (Criteria) this; - } - - public Criteria andDepotidIsNotNull() { - addCriterion("DepotId is not null"); - return (Criteria) this; - } - - public Criteria andDepotidEqualTo(Long value) { - addCriterion("DepotId =", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidNotEqualTo(Long value) { - addCriterion("DepotId <>", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidGreaterThan(Long value) { - addCriterion("DepotId >", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidGreaterThanOrEqualTo(Long value) { - addCriterion("DepotId >=", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidLessThan(Long value) { - addCriterion("DepotId <", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidLessThanOrEqualTo(Long value) { - addCriterion("DepotId <=", value, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidIn(List values) { - addCriterion("DepotId in", values, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidNotIn(List values) { - addCriterion("DepotId not in", values, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidBetween(Long value1, Long value2) { - addCriterion("DepotId between", value1, value2, "depotid"); - return (Criteria) this; - } - - public Criteria andDepotidNotBetween(Long value1, Long value2) { - addCriterion("DepotId not between", value1, value2, "depotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidIsNull() { - addCriterion("AnotherDepotId is null"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidIsNotNull() { - addCriterion("AnotherDepotId is not null"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidEqualTo(Long value) { - addCriterion("AnotherDepotId =", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidNotEqualTo(Long value) { - addCriterion("AnotherDepotId <>", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidGreaterThan(Long value) { - addCriterion("AnotherDepotId >", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidGreaterThanOrEqualTo(Long value) { - addCriterion("AnotherDepotId >=", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidLessThan(Long value) { - addCriterion("AnotherDepotId <", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidLessThanOrEqualTo(Long value) { - addCriterion("AnotherDepotId <=", value, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidIn(List values) { - addCriterion("AnotherDepotId in", values, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidNotIn(List values) { - addCriterion("AnotherDepotId not in", values, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidBetween(Long value1, Long value2) { - addCriterion("AnotherDepotId between", value1, value2, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andAnotherdepotidNotBetween(Long value1, Long value2) { - addCriterion("AnotherDepotId not between", value1, value2, "anotherdepotid"); - return (Criteria) this; - } - - public Criteria andTaxrateIsNull() { - addCriterion("TaxRate is null"); - return (Criteria) this; - } - - public Criteria andTaxrateIsNotNull() { - addCriterion("TaxRate is not null"); - return (Criteria) this; - } - - public Criteria andTaxrateEqualTo(BigDecimal value) { - addCriterion("TaxRate =", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotEqualTo(BigDecimal value) { - addCriterion("TaxRate <>", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateGreaterThan(BigDecimal value) { - addCriterion("TaxRate >", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TaxRate >=", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateLessThan(BigDecimal value) { - addCriterion("TaxRate <", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateLessThanOrEqualTo(BigDecimal value) { - addCriterion("TaxRate <=", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateIn(List values) { - addCriterion("TaxRate in", values, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotIn(List values) { - addCriterion("TaxRate not in", values, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxRate between", value1, value2, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxRate not between", value1, value2, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxmoneyIsNull() { - addCriterion("TaxMoney is null"); - return (Criteria) this; - } - - public Criteria andTaxmoneyIsNotNull() { - addCriterion("TaxMoney is not null"); - return (Criteria) this; - } - - public Criteria andTaxmoneyEqualTo(BigDecimal value) { - addCriterion("TaxMoney =", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyNotEqualTo(BigDecimal value) { - addCriterion("TaxMoney <>", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyGreaterThan(BigDecimal value) { - addCriterion("TaxMoney >", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TaxMoney >=", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyLessThan(BigDecimal value) { - addCriterion("TaxMoney <", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyLessThanOrEqualTo(BigDecimal value) { - addCriterion("TaxMoney <=", value, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyIn(List values) { - addCriterion("TaxMoney in", values, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyNotIn(List values) { - addCriterion("TaxMoney not in", values, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxMoney between", value1, value2, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxmoneyNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxMoney not between", value1, value2, "taxmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyIsNull() { - addCriterion("TaxLastMoney is null"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyIsNotNull() { - addCriterion("TaxLastMoney is not null"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyEqualTo(BigDecimal value) { - addCriterion("TaxLastMoney =", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyNotEqualTo(BigDecimal value) { - addCriterion("TaxLastMoney <>", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyGreaterThan(BigDecimal value) { - addCriterion("TaxLastMoney >", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TaxLastMoney >=", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyLessThan(BigDecimal value) { - addCriterion("TaxLastMoney <", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyLessThanOrEqualTo(BigDecimal value) { - addCriterion("TaxLastMoney <=", value, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyIn(List values) { - addCriterion("TaxLastMoney in", values, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyNotIn(List values) { - addCriterion("TaxLastMoney not in", values, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxLastMoney between", value1, value2, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andTaxlastmoneyNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("TaxLastMoney not between", value1, value2, "taxlastmoney"); - return (Criteria) this; - } - - public Criteria andOtherfield1IsNull() { - addCriterion("OtherField1 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield1IsNotNull() { - addCriterion("OtherField1 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield1EqualTo(String value) { - addCriterion("OtherField1 =", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotEqualTo(String value) { - addCriterion("OtherField1 <>", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1GreaterThan(String value) { - addCriterion("OtherField1 >", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { - addCriterion("OtherField1 >=", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1LessThan(String value) { - addCriterion("OtherField1 <", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1LessThanOrEqualTo(String value) { - addCriterion("OtherField1 <=", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1Like(String value) { - addCriterion("OtherField1 like", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotLike(String value) { - addCriterion("OtherField1 not like", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1In(List values) { - addCriterion("OtherField1 in", values, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotIn(List values) { - addCriterion("OtherField1 not in", values, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1Between(String value1, String value2) { - addCriterion("OtherField1 between", value1, value2, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotBetween(String value1, String value2) { - addCriterion("OtherField1 not between", value1, value2, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield2IsNull() { - addCriterion("OtherField2 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield2IsNotNull() { - addCriterion("OtherField2 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield2EqualTo(String value) { - addCriterion("OtherField2 =", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotEqualTo(String value) { - addCriterion("OtherField2 <>", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2GreaterThan(String value) { - addCriterion("OtherField2 >", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { - addCriterion("OtherField2 >=", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2LessThan(String value) { - addCriterion("OtherField2 <", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2LessThanOrEqualTo(String value) { - addCriterion("OtherField2 <=", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2Like(String value) { - addCriterion("OtherField2 like", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotLike(String value) { - addCriterion("OtherField2 not like", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2In(List values) { - addCriterion("OtherField2 in", values, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotIn(List values) { - addCriterion("OtherField2 not in", values, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2Between(String value1, String value2) { - addCriterion("OtherField2 between", value1, value2, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotBetween(String value1, String value2) { - addCriterion("OtherField2 not between", value1, value2, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield3IsNull() { - addCriterion("OtherField3 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield3IsNotNull() { - addCriterion("OtherField3 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield3EqualTo(String value) { - addCriterion("OtherField3 =", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotEqualTo(String value) { - addCriterion("OtherField3 <>", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3GreaterThan(String value) { - addCriterion("OtherField3 >", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { - addCriterion("OtherField3 >=", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3LessThan(String value) { - addCriterion("OtherField3 <", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3LessThanOrEqualTo(String value) { - addCriterion("OtherField3 <=", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3Like(String value) { - addCriterion("OtherField3 like", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotLike(String value) { - addCriterion("OtherField3 not like", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3In(List values) { - addCriterion("OtherField3 in", values, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotIn(List values) { - addCriterion("OtherField3 not in", values, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3Between(String value1, String value2) { - addCriterion("OtherField3 between", value1, value2, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotBetween(String value1, String value2) { - addCriterion("OtherField3 not between", value1, value2, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield4IsNull() { - addCriterion("OtherField4 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield4IsNotNull() { - addCriterion("OtherField4 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield4EqualTo(String value) { - addCriterion("OtherField4 =", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4NotEqualTo(String value) { - addCriterion("OtherField4 <>", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4GreaterThan(String value) { - addCriterion("OtherField4 >", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4GreaterThanOrEqualTo(String value) { - addCriterion("OtherField4 >=", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4LessThan(String value) { - addCriterion("OtherField4 <", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4LessThanOrEqualTo(String value) { - addCriterion("OtherField4 <=", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4Like(String value) { - addCriterion("OtherField4 like", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4NotLike(String value) { - addCriterion("OtherField4 not like", value, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4In(List values) { - addCriterion("OtherField4 in", values, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4NotIn(List values) { - addCriterion("OtherField4 not in", values, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4Between(String value1, String value2) { - addCriterion("OtherField4 between", value1, value2, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield4NotBetween(String value1, String value2) { - addCriterion("OtherField4 not between", value1, value2, "otherfield4"); - return (Criteria) this; - } - - public Criteria andOtherfield5IsNull() { - addCriterion("OtherField5 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield5IsNotNull() { - addCriterion("OtherField5 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield5EqualTo(String value) { - addCriterion("OtherField5 =", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5NotEqualTo(String value) { - addCriterion("OtherField5 <>", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5GreaterThan(String value) { - addCriterion("OtherField5 >", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5GreaterThanOrEqualTo(String value) { - addCriterion("OtherField5 >=", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5LessThan(String value) { - addCriterion("OtherField5 <", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5LessThanOrEqualTo(String value) { - addCriterion("OtherField5 <=", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5Like(String value) { - addCriterion("OtherField5 like", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5NotLike(String value) { - addCriterion("OtherField5 not like", value, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5In(List values) { - addCriterion("OtherField5 in", values, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5NotIn(List values) { - addCriterion("OtherField5 not in", values, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5Between(String value1, String value2) { - addCriterion("OtherField5 between", value1, value2, "otherfield5"); - return (Criteria) this; - } - - public Criteria andOtherfield5NotBetween(String value1, String value2) { - addCriterion("OtherField5 not between", value1, value2, "otherfield5"); - return (Criteria) this; - } - - public Criteria andMtypeIsNull() { - addCriterion("MType is null"); - return (Criteria) this; - } - - public Criteria andMtypeIsNotNull() { - addCriterion("MType is not null"); - return (Criteria) this; - } - - public Criteria andMtypeEqualTo(String value) { - addCriterion("MType =", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeNotEqualTo(String value) { - addCriterion("MType <>", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeGreaterThan(String value) { - addCriterion("MType >", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeGreaterThanOrEqualTo(String value) { - addCriterion("MType >=", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeLessThan(String value) { - addCriterion("MType <", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeLessThanOrEqualTo(String value) { - addCriterion("MType <=", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeLike(String value) { - addCriterion("MType like", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeNotLike(String value) { - addCriterion("MType not like", value, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeIn(List values) { - addCriterion("MType in", values, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeNotIn(List values) { - addCriterion("MType not in", values, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeBetween(String value1, String value2) { - addCriterion("MType between", value1, value2, "mtype"); - return (Criteria) this; - } - - public Criteria andMtypeNotBetween(String value1, String value2) { - addCriterion("MType not between", value1, value2, "mtype"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_depotitem - * - * @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_depotitem - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class DepotItemExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public DepotItemExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @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_depotitem + * + * @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_depotitem + * + * @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_depotitem + * + * @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_depotitem + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andHeaderidIsNull() { + addCriterion("HeaderId is null"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNotNull() { + addCriterion("HeaderId is not null"); + return (Criteria) this; + } + + public Criteria andHeaderidEqualTo(Long value) { + addCriterion("HeaderId =", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotEqualTo(Long value) { + addCriterion("HeaderId <>", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThan(Long value) { + addCriterion("HeaderId >", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { + addCriterion("HeaderId >=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThan(Long value) { + addCriterion("HeaderId <", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThanOrEqualTo(Long value) { + addCriterion("HeaderId <=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidIn(List values) { + addCriterion("HeaderId in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotIn(List values) { + addCriterion("HeaderId not in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidBetween(Long value1, Long value2) { + addCriterion("HeaderId between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotBetween(Long value1, Long value2) { + addCriterion("HeaderId not between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andMaterialidIsNull() { + addCriterion("MaterialId is null"); + return (Criteria) this; + } + + public Criteria andMaterialidIsNotNull() { + addCriterion("MaterialId is not null"); + return (Criteria) this; + } + + public Criteria andMaterialidEqualTo(Long value) { + addCriterion("MaterialId =", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotEqualTo(Long value) { + addCriterion("MaterialId <>", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidGreaterThan(Long value) { + addCriterion("MaterialId >", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidGreaterThanOrEqualTo(Long value) { + addCriterion("MaterialId >=", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidLessThan(Long value) { + addCriterion("MaterialId <", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidLessThanOrEqualTo(Long value) { + addCriterion("MaterialId <=", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidIn(List values) { + addCriterion("MaterialId in", values, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotIn(List values) { + addCriterion("MaterialId not in", values, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidBetween(Long value1, Long value2) { + addCriterion("MaterialId between", value1, value2, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotBetween(Long value1, Long value2) { + addCriterion("MaterialId not between", value1, value2, "materialid"); + return (Criteria) this; + } + + public Criteria andMunitIsNull() { + addCriterion("MUnit is null"); + return (Criteria) this; + } + + public Criteria andMunitIsNotNull() { + addCriterion("MUnit is not null"); + return (Criteria) this; + } + + public Criteria andMunitEqualTo(String value) { + addCriterion("MUnit =", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotEqualTo(String value) { + addCriterion("MUnit <>", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitGreaterThan(String value) { + addCriterion("MUnit >", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitGreaterThanOrEqualTo(String value) { + addCriterion("MUnit >=", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLessThan(String value) { + addCriterion("MUnit <", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLessThanOrEqualTo(String value) { + addCriterion("MUnit <=", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLike(String value) { + addCriterion("MUnit like", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotLike(String value) { + addCriterion("MUnit not like", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitIn(List values) { + addCriterion("MUnit in", values, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotIn(List values) { + addCriterion("MUnit not in", values, "munit"); + return (Criteria) this; + } + + public Criteria andMunitBetween(String value1, String value2) { + addCriterion("MUnit between", value1, value2, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotBetween(String value1, String value2) { + addCriterion("MUnit not between", value1, value2, "munit"); + return (Criteria) this; + } + + public Criteria andOpernumberIsNull() { + addCriterion("OperNumber is null"); + return (Criteria) this; + } + + public Criteria andOpernumberIsNotNull() { + addCriterion("OperNumber is not null"); + return (Criteria) this; + } + + public Criteria andOpernumberEqualTo(BigDecimal value) { + addCriterion("OperNumber =", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotEqualTo(BigDecimal value) { + addCriterion("OperNumber <>", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberGreaterThan(BigDecimal value) { + addCriterion("OperNumber >", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("OperNumber >=", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberLessThan(BigDecimal value) { + addCriterion("OperNumber <", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberLessThanOrEqualTo(BigDecimal value) { + addCriterion("OperNumber <=", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberIn(List values) { + addCriterion("OperNumber in", values, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotIn(List values) { + addCriterion("OperNumber not in", values, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("OperNumber between", value1, value2, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("OperNumber not between", value1, value2, "opernumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberIsNull() { + addCriterion("BasicNumber is null"); + return (Criteria) this; + } + + public Criteria andBasicnumberIsNotNull() { + addCriterion("BasicNumber is not null"); + return (Criteria) this; + } + + public Criteria andBasicnumberEqualTo(BigDecimal value) { + addCriterion("BasicNumber =", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotEqualTo(BigDecimal value) { + addCriterion("BasicNumber <>", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberGreaterThan(BigDecimal value) { + addCriterion("BasicNumber >", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("BasicNumber >=", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberLessThan(BigDecimal value) { + addCriterion("BasicNumber <", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberLessThanOrEqualTo(BigDecimal value) { + addCriterion("BasicNumber <=", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberIn(List values) { + addCriterion("BasicNumber in", values, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotIn(List values) { + addCriterion("BasicNumber not in", values, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BasicNumber between", value1, value2, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BasicNumber not between", value1, value2, "basicnumber"); + return (Criteria) this; + } + + public Criteria andUnitpriceIsNull() { + addCriterion("UnitPrice is null"); + return (Criteria) this; + } + + public Criteria andUnitpriceIsNotNull() { + addCriterion("UnitPrice is not null"); + return (Criteria) this; + } + + public Criteria andUnitpriceEqualTo(BigDecimal value) { + addCriterion("UnitPrice =", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotEqualTo(BigDecimal value) { + addCriterion("UnitPrice <>", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceGreaterThan(BigDecimal value) { + addCriterion("UnitPrice >", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("UnitPrice >=", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceLessThan(BigDecimal value) { + addCriterion("UnitPrice <", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("UnitPrice <=", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceIn(List values) { + addCriterion("UnitPrice in", values, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotIn(List values) { + addCriterion("UnitPrice not in", values, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("UnitPrice between", value1, value2, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("UnitPrice not between", value1, value2, "unitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIsNull() { + addCriterion("TaxUnitPrice is null"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIsNotNull() { + addCriterion("TaxUnitPrice is not null"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceEqualTo(BigDecimal value) { + addCriterion("TaxUnitPrice =", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotEqualTo(BigDecimal value) { + addCriterion("TaxUnitPrice <>", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceGreaterThan(BigDecimal value) { + addCriterion("TaxUnitPrice >", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TaxUnitPrice >=", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceLessThan(BigDecimal value) { + addCriterion("TaxUnitPrice <", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("TaxUnitPrice <=", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIn(List values) { + addCriterion("TaxUnitPrice in", values, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotIn(List values) { + addCriterion("TaxUnitPrice not in", values, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxUnitPrice between", value1, value2, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxUnitPrice not between", value1, value2, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andAllpriceIsNull() { + addCriterion("AllPrice is null"); + return (Criteria) this; + } + + public Criteria andAllpriceIsNotNull() { + addCriterion("AllPrice is not null"); + return (Criteria) this; + } + + public Criteria andAllpriceEqualTo(BigDecimal value) { + addCriterion("AllPrice =", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotEqualTo(BigDecimal value) { + addCriterion("AllPrice <>", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceGreaterThan(BigDecimal value) { + addCriterion("AllPrice >", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("AllPrice >=", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceLessThan(BigDecimal value) { + addCriterion("AllPrice <", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("AllPrice <=", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceIn(List values) { + addCriterion("AllPrice in", values, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotIn(List values) { + addCriterion("AllPrice not in", values, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllPrice between", value1, value2, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllPrice not between", value1, value2, "allprice"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andImgIsNull() { + addCriterion("Img is null"); + return (Criteria) this; + } + + public Criteria andImgIsNotNull() { + addCriterion("Img is not null"); + return (Criteria) this; + } + + public Criteria andImgEqualTo(String value) { + addCriterion("Img =", value, "img"); + return (Criteria) this; + } + + public Criteria andImgNotEqualTo(String value) { + addCriterion("Img <>", value, "img"); + return (Criteria) this; + } + + public Criteria andImgGreaterThan(String value) { + addCriterion("Img >", value, "img"); + return (Criteria) this; + } + + public Criteria andImgGreaterThanOrEqualTo(String value) { + addCriterion("Img >=", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLessThan(String value) { + addCriterion("Img <", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLessThanOrEqualTo(String value) { + addCriterion("Img <=", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLike(String value) { + addCriterion("Img like", value, "img"); + return (Criteria) this; + } + + public Criteria andImgNotLike(String value) { + addCriterion("Img not like", value, "img"); + return (Criteria) this; + } + + public Criteria andImgIn(List values) { + addCriterion("Img in", values, "img"); + return (Criteria) this; + } + + public Criteria andImgNotIn(List values) { + addCriterion("Img not in", values, "img"); + return (Criteria) this; + } + + public Criteria andImgBetween(String value1, String value2) { + addCriterion("Img between", value1, value2, "img"); + return (Criteria) this; + } + + public Criteria andImgNotBetween(String value1, String value2) { + addCriterion("Img not between", value1, value2, "img"); + return (Criteria) this; + } + + public Criteria andIncidentalsIsNull() { + addCriterion("Incidentals is null"); + return (Criteria) this; + } + + public Criteria andIncidentalsIsNotNull() { + addCriterion("Incidentals is not null"); + return (Criteria) this; + } + + public Criteria andIncidentalsEqualTo(BigDecimal value) { + addCriterion("Incidentals =", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotEqualTo(BigDecimal value) { + addCriterion("Incidentals <>", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsGreaterThan(BigDecimal value) { + addCriterion("Incidentals >", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("Incidentals >=", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsLessThan(BigDecimal value) { + addCriterion("Incidentals <", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsLessThanOrEqualTo(BigDecimal value) { + addCriterion("Incidentals <=", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsIn(List values) { + addCriterion("Incidentals in", values, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotIn(List values) { + addCriterion("Incidentals not in", values, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("Incidentals between", value1, value2, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("Incidentals not between", value1, value2, "incidentals"); + return (Criteria) this; + } + + public Criteria andDepotidIsNull() { + addCriterion("DepotId is null"); + return (Criteria) this; + } + + public Criteria andDepotidIsNotNull() { + addCriterion("DepotId is not null"); + return (Criteria) this; + } + + public Criteria andDepotidEqualTo(Long value) { + addCriterion("DepotId =", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotEqualTo(Long value) { + addCriterion("DepotId <>", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidGreaterThan(Long value) { + addCriterion("DepotId >", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidGreaterThanOrEqualTo(Long value) { + addCriterion("DepotId >=", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidLessThan(Long value) { + addCriterion("DepotId <", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidLessThanOrEqualTo(Long value) { + addCriterion("DepotId <=", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidIn(List values) { + addCriterion("DepotId in", values, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotIn(List values) { + addCriterion("DepotId not in", values, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidBetween(Long value1, Long value2) { + addCriterion("DepotId between", value1, value2, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotBetween(Long value1, Long value2) { + addCriterion("DepotId not between", value1, value2, "depotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIsNull() { + addCriterion("AnotherDepotId is null"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIsNotNull() { + addCriterion("AnotherDepotId is not null"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidEqualTo(Long value) { + addCriterion("AnotherDepotId =", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotEqualTo(Long value) { + addCriterion("AnotherDepotId <>", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidGreaterThan(Long value) { + addCriterion("AnotherDepotId >", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidGreaterThanOrEqualTo(Long value) { + addCriterion("AnotherDepotId >=", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidLessThan(Long value) { + addCriterion("AnotherDepotId <", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidLessThanOrEqualTo(Long value) { + addCriterion("AnotherDepotId <=", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIn(List values) { + addCriterion("AnotherDepotId in", values, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotIn(List values) { + addCriterion("AnotherDepotId not in", values, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidBetween(Long value1, Long value2) { + addCriterion("AnotherDepotId between", value1, value2, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotBetween(Long value1, Long value2) { + addCriterion("AnotherDepotId not between", value1, value2, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNull() { + addCriterion("TaxRate is null"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNotNull() { + addCriterion("TaxRate is not null"); + return (Criteria) this; + } + + public Criteria andTaxrateEqualTo(BigDecimal value) { + addCriterion("TaxRate =", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotEqualTo(BigDecimal value) { + addCriterion("TaxRate <>", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThan(BigDecimal value) { + addCriterion("TaxRate >", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TaxRate >=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThan(BigDecimal value) { + addCriterion("TaxRate <", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThanOrEqualTo(BigDecimal value) { + addCriterion("TaxRate <=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateIn(List values) { + addCriterion("TaxRate in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotIn(List values) { + addCriterion("TaxRate not in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxRate between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxRate not between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIsNull() { + addCriterion("TaxMoney is null"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIsNotNull() { + addCriterion("TaxMoney is not null"); + return (Criteria) this; + } + + public Criteria andTaxmoneyEqualTo(BigDecimal value) { + addCriterion("TaxMoney =", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotEqualTo(BigDecimal value) { + addCriterion("TaxMoney <>", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyGreaterThan(BigDecimal value) { + addCriterion("TaxMoney >", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TaxMoney >=", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyLessThan(BigDecimal value) { + addCriterion("TaxMoney <", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyLessThanOrEqualTo(BigDecimal value) { + addCriterion("TaxMoney <=", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIn(List values) { + addCriterion("TaxMoney in", values, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotIn(List values) { + addCriterion("TaxMoney not in", values, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxMoney between", value1, value2, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxMoney not between", value1, value2, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIsNull() { + addCriterion("TaxLastMoney is null"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIsNotNull() { + addCriterion("TaxLastMoney is not null"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyEqualTo(BigDecimal value) { + addCriterion("TaxLastMoney =", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotEqualTo(BigDecimal value) { + addCriterion("TaxLastMoney <>", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyGreaterThan(BigDecimal value) { + addCriterion("TaxLastMoney >", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TaxLastMoney >=", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyLessThan(BigDecimal value) { + addCriterion("TaxLastMoney <", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyLessThanOrEqualTo(BigDecimal value) { + addCriterion("TaxLastMoney <=", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIn(List values) { + addCriterion("TaxLastMoney in", values, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotIn(List values) { + addCriterion("TaxLastMoney not in", values, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxLastMoney between", value1, value2, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("TaxLastMoney not between", value1, value2, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNull() { + addCriterion("OtherField1 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNotNull() { + addCriterion("OtherField1 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield1EqualTo(String value) { + addCriterion("OtherField1 =", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotEqualTo(String value) { + addCriterion("OtherField1 <>", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThan(String value) { + addCriterion("OtherField1 >", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { + addCriterion("OtherField1 >=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThan(String value) { + addCriterion("OtherField1 <", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThanOrEqualTo(String value) { + addCriterion("OtherField1 <=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Like(String value) { + addCriterion("OtherField1 like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotLike(String value) { + addCriterion("OtherField1 not like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1In(List values) { + addCriterion("OtherField1 in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotIn(List values) { + addCriterion("OtherField1 not in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Between(String value1, String value2) { + addCriterion("OtherField1 between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotBetween(String value1, String value2) { + addCriterion("OtherField1 not between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNull() { + addCriterion("OtherField2 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNotNull() { + addCriterion("OtherField2 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield2EqualTo(String value) { + addCriterion("OtherField2 =", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotEqualTo(String value) { + addCriterion("OtherField2 <>", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThan(String value) { + addCriterion("OtherField2 >", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { + addCriterion("OtherField2 >=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThan(String value) { + addCriterion("OtherField2 <", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThanOrEqualTo(String value) { + addCriterion("OtherField2 <=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Like(String value) { + addCriterion("OtherField2 like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotLike(String value) { + addCriterion("OtherField2 not like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2In(List values) { + addCriterion("OtherField2 in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotIn(List values) { + addCriterion("OtherField2 not in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Between(String value1, String value2) { + addCriterion("OtherField2 between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotBetween(String value1, String value2) { + addCriterion("OtherField2 not between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNull() { + addCriterion("OtherField3 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNotNull() { + addCriterion("OtherField3 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield3EqualTo(String value) { + addCriterion("OtherField3 =", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotEqualTo(String value) { + addCriterion("OtherField3 <>", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThan(String value) { + addCriterion("OtherField3 >", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { + addCriterion("OtherField3 >=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThan(String value) { + addCriterion("OtherField3 <", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThanOrEqualTo(String value) { + addCriterion("OtherField3 <=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Like(String value) { + addCriterion("OtherField3 like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotLike(String value) { + addCriterion("OtherField3 not like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3In(List values) { + addCriterion("OtherField3 in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotIn(List values) { + addCriterion("OtherField3 not in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Between(String value1, String value2) { + addCriterion("OtherField3 between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotBetween(String value1, String value2) { + addCriterion("OtherField3 not between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield4IsNull() { + addCriterion("OtherField4 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield4IsNotNull() { + addCriterion("OtherField4 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield4EqualTo(String value) { + addCriterion("OtherField4 =", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotEqualTo(String value) { + addCriterion("OtherField4 <>", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4GreaterThan(String value) { + addCriterion("OtherField4 >", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4GreaterThanOrEqualTo(String value) { + addCriterion("OtherField4 >=", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4LessThan(String value) { + addCriterion("OtherField4 <", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4LessThanOrEqualTo(String value) { + addCriterion("OtherField4 <=", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4Like(String value) { + addCriterion("OtherField4 like", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotLike(String value) { + addCriterion("OtherField4 not like", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4In(List values) { + addCriterion("OtherField4 in", values, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotIn(List values) { + addCriterion("OtherField4 not in", values, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4Between(String value1, String value2) { + addCriterion("OtherField4 between", value1, value2, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotBetween(String value1, String value2) { + addCriterion("OtherField4 not between", value1, value2, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield5IsNull() { + addCriterion("OtherField5 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield5IsNotNull() { + addCriterion("OtherField5 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield5EqualTo(String value) { + addCriterion("OtherField5 =", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotEqualTo(String value) { + addCriterion("OtherField5 <>", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5GreaterThan(String value) { + addCriterion("OtherField5 >", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5GreaterThanOrEqualTo(String value) { + addCriterion("OtherField5 >=", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5LessThan(String value) { + addCriterion("OtherField5 <", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5LessThanOrEqualTo(String value) { + addCriterion("OtherField5 <=", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5Like(String value) { + addCriterion("OtherField5 like", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotLike(String value) { + addCriterion("OtherField5 not like", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5In(List values) { + addCriterion("OtherField5 in", values, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotIn(List values) { + addCriterion("OtherField5 not in", values, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5Between(String value1, String value2) { + addCriterion("OtherField5 between", value1, value2, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotBetween(String value1, String value2) { + addCriterion("OtherField5 not between", value1, value2, "otherfield5"); + return (Criteria) this; + } + + public Criteria andMtypeIsNull() { + addCriterion("MType is null"); + return (Criteria) this; + } + + public Criteria andMtypeIsNotNull() { + addCriterion("MType is not null"); + return (Criteria) this; + } + + public Criteria andMtypeEqualTo(String value) { + addCriterion("MType =", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotEqualTo(String value) { + addCriterion("MType <>", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeGreaterThan(String value) { + addCriterion("MType >", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeGreaterThanOrEqualTo(String value) { + addCriterion("MType >=", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLessThan(String value) { + addCriterion("MType <", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLessThanOrEqualTo(String value) { + addCriterion("MType <=", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLike(String value) { + addCriterion("MType like", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotLike(String value) { + addCriterion("MType not like", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeIn(List values) { + addCriterion("MType in", values, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotIn(List values) { + addCriterion("MType not in", values, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeBetween(String value1, String value2) { + addCriterion("MType between", value1, value2, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotBetween(String value1, String value2) { + addCriterion("MType not between", value1, value2, "mtype"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depotitem + * + * @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_depotitem + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java index 9cf68c55..4b404d42 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java @@ -3,242 +3,12 @@ package com.jsh.erp.datasource.entities; import java.math.BigDecimal; import java.util.Date; -public class DepotItemVo4Material { - - private Long id; - - private Long headerid; - - private Long materialid; - - private String munit; - - private BigDecimal opernumber; - - private BigDecimal basicnumber; - - private BigDecimal unitprice; - - private BigDecimal taxunitprice; - - private BigDecimal allprice; - - private String remark; - - private String img; - - private BigDecimal incidentals; - - private Long depotid; - - private Long anotherdepotid; - - private BigDecimal taxrate; - - private BigDecimal taxmoney; - - private BigDecimal taxlastmoney; - - private String otherfield1; - - private String otherfield2; - - private String otherfield3; - - private String otherfield4; - - private String otherfield5; - - private String mtype; +public class DepotItemVo4Material extends DepotItem{ private String mname; private String mmodel; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getHeaderid() { - return headerid; - } - - public void setHeaderid(Long headerid) { - this.headerid = headerid; - } - - public Long getMaterialid() { - return materialid; - } - - public void setMaterialid(Long materialid) { - this.materialid = materialid; - } - - public String getMunit() { - return munit; - } - - public void setMunit(String munit) { - this.munit = munit; - } - - public BigDecimal getOpernumber() { - return opernumber; - } - - public void setOpernumber(BigDecimal opernumber) { - this.opernumber = opernumber; - } - - public BigDecimal getBasicnumber() { - return basicnumber; - } - - public void setBasicnumber(BigDecimal basicnumber) { - this.basicnumber = basicnumber; - } - - public BigDecimal getUnitprice() { - return unitprice; - } - - public void setUnitprice(BigDecimal unitprice) { - this.unitprice = unitprice; - } - - public BigDecimal getTaxunitprice() { - return taxunitprice; - } - - public void setTaxunitprice(BigDecimal taxunitprice) { - this.taxunitprice = taxunitprice; - } - - public BigDecimal getAllprice() { - return allprice; - } - - public void setAllprice(BigDecimal allprice) { - this.allprice = allprice; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getImg() { - return img; - } - - public void setImg(String img) { - this.img = img; - } - - public BigDecimal getIncidentals() { - return incidentals; - } - - public void setIncidentals(BigDecimal incidentals) { - this.incidentals = incidentals; - } - - public Long getDepotid() { - return depotid; - } - - public void setDepotid(Long depotid) { - this.depotid = depotid; - } - - public Long getAnotherdepotid() { - return anotherdepotid; - } - - public void setAnotherdepotid(Long anotherdepotid) { - this.anotherdepotid = anotherdepotid; - } - - public BigDecimal getTaxrate() { - return taxrate; - } - - public void setTaxrate(BigDecimal taxrate) { - this.taxrate = taxrate; - } - - public BigDecimal getTaxmoney() { - return taxmoney; - } - - public void setTaxmoney(BigDecimal taxmoney) { - this.taxmoney = taxmoney; - } - - public BigDecimal getTaxlastmoney() { - return taxlastmoney; - } - - public void setTaxlastmoney(BigDecimal taxlastmoney) { - this.taxlastmoney = taxlastmoney; - } - - public String getOtherfield1() { - return otherfield1; - } - - public void setOtherfield1(String otherfield1) { - this.otherfield1 = otherfield1; - } - - public String getOtherfield2() { - return otherfield2; - } - - public void setOtherfield2(String otherfield2) { - this.otherfield2 = otherfield2; - } - - public String getOtherfield3() { - return otherfield3; - } - - public void setOtherfield3(String otherfield3) { - this.otherfield3 = otherfield3; - } - - public String getOtherfield4() { - return otherfield4; - } - - public void setOtherfield4(String otherfield4) { - this.otherfield4 = otherfield4; - } - - public String getOtherfield5() { - return otherfield5; - } - - public void setOtherfield5(String otherfield5) { - this.otherfield5 = otherfield5; - } - - public String getMtype() { - return mtype; - } - - public void setMtype(String mtype) { - this.mtype = mtype; - } - public String getMname() { return mname; } diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java index 5e11dbf4..60e49fff 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java @@ -1,54 +1,6 @@ package com.jsh.erp.datasource.entities; -import java.math.BigDecimal; - -public class DepotItemVo4WithInfoEx { - - private Long id; - - private Long headerid; - - private Long materialid; - - private String munit; - - private BigDecimal opernumber; - - private BigDecimal basicnumber; - - private BigDecimal unitprice; - - private BigDecimal taxunitprice; - - private BigDecimal allprice; - - private String remark; - - private String img; - - private BigDecimal incidentals; - - private Long depotid; - - private Long anotherdepotid; - - private BigDecimal taxrate; - - private BigDecimal taxmoney; - - private BigDecimal taxlastmoney; - - private String otherfield1; - - private String otherfield2; - - private String otherfield3; - - private String otherfield4; - - private String otherfield5; - - private String mtype; +public class DepotItemVo4WithInfoEx extends DepotItem{ private Long MId; @@ -78,190 +30,6 @@ public class DepotItemVo4WithInfoEx { private String UName; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getHeaderid() { - return headerid; - } - - public void setHeaderid(Long headerid) { - this.headerid = headerid; - } - - public Long getMaterialid() { - return materialid; - } - - public void setMaterialid(Long materialid) { - this.materialid = materialid; - } - - public String getMunit() { - return munit; - } - - public void setMunit(String munit) { - this.munit = munit; - } - - public BigDecimal getOpernumber() { - return opernumber; - } - - public void setOpernumber(BigDecimal opernumber) { - this.opernumber = opernumber; - } - - public BigDecimal getBasicnumber() { - return basicnumber; - } - - public void setBasicnumber(BigDecimal basicnumber) { - this.basicnumber = basicnumber; - } - - public BigDecimal getUnitprice() { - return unitprice; - } - - public void setUnitprice(BigDecimal unitprice) { - this.unitprice = unitprice; - } - - public BigDecimal getTaxunitprice() { - return taxunitprice; - } - - public void setTaxunitprice(BigDecimal taxunitprice) { - this.taxunitprice = taxunitprice; - } - - public BigDecimal getAllprice() { - return allprice; - } - - public void setAllprice(BigDecimal allprice) { - this.allprice = allprice; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getImg() { - return img; - } - - public void setImg(String img) { - this.img = img; - } - - public BigDecimal getIncidentals() { - return incidentals; - } - - public void setIncidentals(BigDecimal incidentals) { - this.incidentals = incidentals; - } - - public Long getDepotid() { - return depotid; - } - - public void setDepotid(Long depotid) { - this.depotid = depotid; - } - - public Long getAnotherdepotid() { - return anotherdepotid; - } - - public void setAnotherdepotid(Long anotherdepotid) { - this.anotherdepotid = anotherdepotid; - } - - public BigDecimal getTaxrate() { - return taxrate; - } - - public void setTaxrate(BigDecimal taxrate) { - this.taxrate = taxrate; - } - - public BigDecimal getTaxmoney() { - return taxmoney; - } - - public void setTaxmoney(BigDecimal taxmoney) { - this.taxmoney = taxmoney; - } - - public BigDecimal getTaxlastmoney() { - return taxlastmoney; - } - - public void setTaxlastmoney(BigDecimal taxlastmoney) { - this.taxlastmoney = taxlastmoney; - } - - public String getOtherfield1() { - return otherfield1; - } - - public void setOtherfield1(String otherfield1) { - this.otherfield1 = otherfield1; - } - - public String getOtherfield2() { - return otherfield2; - } - - public void setOtherfield2(String otherfield2) { - this.otherfield2 = otherfield2; - } - - public String getOtherfield3() { - return otherfield3; - } - - public void setOtherfield3(String otherfield3) { - this.otherfield3 = otherfield3; - } - - public String getOtherfield4() { - return otherfield4; - } - - public void setOtherfield4(String otherfield4) { - this.otherfield4 = otherfield4; - } - - public String getOtherfield5() { - return otherfield5; - } - - public void setOtherfield5(String otherfield5) { - this.otherfield5 = otherfield5; - } - - public String getMtype() { - return mtype; - } - - public void setMtype(String mtype) { - this.mtype = mtype; - } - public Long getMId() { return MId; } diff --git a/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java b/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java index f38bf4fe..9a1c3cee 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java +++ b/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java @@ -33,6 +33,14 @@ public class InOutItem { */ private String remark; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_inoutitem.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_inoutitem.Id @@ -128,4 +136,28 @@ public class InOutItem { public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_inoutitem.tenant_id + * + * @return the value of jsh_inoutitem.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_inoutitem.tenant_id + * + * @param tenantId the value for jsh_inoutitem.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java index af5bf824..b58f79d2 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java @@ -463,6 +463,66 @@ public class InOutItemExample { addCriterion("Remark not between", value1, value2, "remark"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/Log.java b/src/main/java/com/jsh/erp/datasource/entities/Log.java index 103f3975..f7dbf55c 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Log.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Log.java @@ -67,6 +67,14 @@ public class Log { */ private String remark; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_log.id @@ -258,4 +266,28 @@ public class Log { public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.tenant_id + * + * @return the value of jsh_log.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_log.tenant_id + * + * @param tenantId the value for jsh_log.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/LogExample.java b/src/main/java/com/jsh/erp/datasource/entities/LogExample.java index 00b7687e..55e1ea6a 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/LogExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/LogExample.java @@ -714,6 +714,66 @@ public class LogExample { addCriterion("remark not between", value1, value2, "remark"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/Material.java b/src/main/java/com/jsh/erp/datasource/entities/Material.java index e7d2f0f1..1531ec88 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Material.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Material.java @@ -1,754 +1,805 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class Material { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.CategoryId - * - * @mbggenerated - */ - private Long categoryid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Name - * - * @mbggenerated - */ - private String name; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Mfrs - * - * @mbggenerated - */ - private String mfrs; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Packing - * - * @mbggenerated - */ - private BigDecimal packing; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.SafetyStock - * - * @mbggenerated - */ - private BigDecimal safetystock; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Model - * - * @mbggenerated - */ - private String model; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Standard - * - * @mbggenerated - */ - private String standard; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Color - * - * @mbggenerated - */ - private String color; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Unit - * - * @mbggenerated - */ - private String unit; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.RetailPrice - * - * @mbggenerated - */ - private BigDecimal retailprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.LowPrice - * - * @mbggenerated - */ - private BigDecimal lowprice; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.PresetPriceOne - * - * @mbggenerated - */ - private BigDecimal presetpriceone; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.PresetPriceTwo - * - * @mbggenerated - */ - private BigDecimal presetpricetwo; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.UnitId - * - * @mbggenerated - */ - private Long unitid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.FirstOutUnit - * - * @mbggenerated - */ - private String firstoutunit; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.FirstInUnit - * - * @mbggenerated - */ - private String firstinunit; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.PriceStrategy - * - * @mbggenerated - */ - private String pricestrategy; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.Enabled - * - * @mbggenerated - */ - private Boolean enabled; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.OtherField1 - * - * @mbggenerated - */ - private String otherfield1; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.OtherField2 - * - * @mbggenerated - */ - private String otherfield2; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_material.OtherField3 - * - * @mbggenerated - */ - private String otherfield3; - /** - * 2019-01-21新增字段enableSerialNumber - *是否开启序列号 - * */ - private String enableSerialNumber; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Id - * - * @return the value of jsh_material.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Id - * - * @param id the value for jsh_material.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_material.CategoryId - * - * @return the value of jsh_material.CategoryId - * - * @mbggenerated - */ - public Long getCategoryid() { - return categoryid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.CategoryId - * - * @param categoryid the value for jsh_material.CategoryId - * - * @mbggenerated - */ - public void setCategoryid(Long categoryid) { - this.categoryid = categoryid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Name - * - * @return the value of jsh_material.Name - * - * @mbggenerated - */ - public String getName() { - return name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Name - * - * @param name the value for jsh_material.Name - * - * @mbggenerated - */ - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Mfrs - * - * @return the value of jsh_material.Mfrs - * - * @mbggenerated - */ - public String getMfrs() { - return mfrs; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Mfrs - * - * @param mfrs the value for jsh_material.Mfrs - * - * @mbggenerated - */ - public void setMfrs(String mfrs) { - this.mfrs = mfrs == null ? null : mfrs.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Packing - * - * @return the value of jsh_material.Packing - * - * @mbggenerated - */ - public BigDecimal getPacking() { - return packing; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Packing - * - * @param packing the value for jsh_material.Packing - * - * @mbggenerated - */ - public void setPacking(BigDecimal packing) { - this.packing = packing; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.SafetyStock - * - * @return the value of jsh_material.SafetyStock - * - * @mbggenerated - */ - public BigDecimal getSafetystock() { - return safetystock; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.SafetyStock - * - * @param safetystock the value for jsh_material.SafetyStock - * - * @mbggenerated - */ - public void setSafetystock(BigDecimal safetystock) { - this.safetystock = safetystock; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Model - * - * @return the value of jsh_material.Model - * - * @mbggenerated - */ - public String getModel() { - return model; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Model - * - * @param model the value for jsh_material.Model - * - * @mbggenerated - */ - public void setModel(String model) { - this.model = model == null ? null : model.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Standard - * - * @return the value of jsh_material.Standard - * - * @mbggenerated - */ - public String getStandard() { - return standard; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Standard - * - * @param standard the value for jsh_material.Standard - * - * @mbggenerated - */ - public void setStandard(String standard) { - this.standard = standard == null ? null : standard.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Color - * - * @return the value of jsh_material.Color - * - * @mbggenerated - */ - public String getColor() { - return color; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Color - * - * @param color the value for jsh_material.Color - * - * @mbggenerated - */ - public void setColor(String color) { - this.color = color == null ? null : color.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Unit - * - * @return the value of jsh_material.Unit - * - * @mbggenerated - */ - public String getUnit() { - return unit; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Unit - * - * @param unit the value for jsh_material.Unit - * - * @mbggenerated - */ - public void setUnit(String unit) { - this.unit = unit == null ? null : unit.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Remark - * - * @return the value of jsh_material.Remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Remark - * - * @param remark the value for jsh_material.Remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.RetailPrice - * - * @return the value of jsh_material.RetailPrice - * - * @mbggenerated - */ - public BigDecimal getRetailprice() { - return retailprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.RetailPrice - * - * @param retailprice the value for jsh_material.RetailPrice - * - * @mbggenerated - */ - public void setRetailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.LowPrice - * - * @return the value of jsh_material.LowPrice - * - * @mbggenerated - */ - public BigDecimal getLowprice() { - return lowprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.LowPrice - * - * @param lowprice the value for jsh_material.LowPrice - * - * @mbggenerated - */ - public void setLowprice(BigDecimal lowprice) { - this.lowprice = lowprice; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.PresetPriceOne - * - * @return the value of jsh_material.PresetPriceOne - * - * @mbggenerated - */ - public BigDecimal getPresetpriceone() { - return presetpriceone; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.PresetPriceOne - * - * @param presetpriceone the value for jsh_material.PresetPriceOne - * - * @mbggenerated - */ - public void setPresetpriceone(BigDecimal presetpriceone) { - this.presetpriceone = presetpriceone; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.PresetPriceTwo - * - * @return the value of jsh_material.PresetPriceTwo - * - * @mbggenerated - */ - public BigDecimal getPresetpricetwo() { - return presetpricetwo; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.PresetPriceTwo - * - * @param presetpricetwo the value for jsh_material.PresetPriceTwo - * - * @mbggenerated - */ - public void setPresetpricetwo(BigDecimal presetpricetwo) { - this.presetpricetwo = presetpricetwo; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.UnitId - * - * @return the value of jsh_material.UnitId - * - * @mbggenerated - */ - public Long getUnitid() { - return unitid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.UnitId - * - * @param unitid the value for jsh_material.UnitId - * - * @mbggenerated - */ - public void setUnitid(Long unitid) { - this.unitid = unitid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.FirstOutUnit - * - * @return the value of jsh_material.FirstOutUnit - * - * @mbggenerated - */ - public String getFirstoutunit() { - return firstoutunit; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.FirstOutUnit - * - * @param firstoutunit the value for jsh_material.FirstOutUnit - * - * @mbggenerated - */ - public void setFirstoutunit(String firstoutunit) { - this.firstoutunit = firstoutunit == null ? null : firstoutunit.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.FirstInUnit - * - * @return the value of jsh_material.FirstInUnit - * - * @mbggenerated - */ - public String getFirstinunit() { - return firstinunit; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.FirstInUnit - * - * @param firstinunit the value for jsh_material.FirstInUnit - * - * @mbggenerated - */ - public void setFirstinunit(String firstinunit) { - this.firstinunit = firstinunit == null ? null : firstinunit.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.PriceStrategy - * - * @return the value of jsh_material.PriceStrategy - * - * @mbggenerated - */ - public String getPricestrategy() { - return pricestrategy; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.PriceStrategy - * - * @param pricestrategy the value for jsh_material.PriceStrategy - * - * @mbggenerated - */ - public void setPricestrategy(String pricestrategy) { - this.pricestrategy = pricestrategy == null ? null : pricestrategy.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.Enabled - * - * @return the value of jsh_material.Enabled - * - * @mbggenerated - */ - public Boolean getEnabled() { - return enabled; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.Enabled - * - * @param enabled the value for jsh_material.Enabled - * - * @mbggenerated - */ - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.OtherField1 - * - * @return the value of jsh_material.OtherField1 - * - * @mbggenerated - */ - public String getOtherfield1() { - return otherfield1; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.OtherField1 - * - * @param otherfield1 the value for jsh_material.OtherField1 - * - * @mbggenerated - */ - public void setOtherfield1(String otherfield1) { - this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.OtherField2 - * - * @return the value of jsh_material.OtherField2 - * - * @mbggenerated - */ - public String getOtherfield2() { - return otherfield2; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.OtherField2 - * - * @param otherfield2 the value for jsh_material.OtherField2 - * - * @mbggenerated - */ - public void setOtherfield2(String otherfield2) { - this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_material.OtherField3 - * - * @return the value of jsh_material.OtherField3 - * - * @mbggenerated - */ - public String getOtherfield3() { - return otherfield3; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_material.OtherField3 - * - * @param otherfield3 the value for jsh_material.OtherField3 - * - * @mbggenerated - */ - public void setOtherfield3(String otherfield3) { - this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); - } - - public String getEnableSerialNumber() { - return enableSerialNumber; - } - - public void setEnableSerialNumber(String enableSerialNumber) { - this.enableSerialNumber = enableSerialNumber; - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class Material { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.CategoryId + * + * @mbggenerated + */ + private Long categoryid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Mfrs + * + * @mbggenerated + */ + private String mfrs; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Packing + * + * @mbggenerated + */ + private BigDecimal packing; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.SafetyStock + * + * @mbggenerated + */ + private BigDecimal safetystock; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Model + * + * @mbggenerated + */ + private String model; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Standard + * + * @mbggenerated + */ + private String standard; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Color + * + * @mbggenerated + */ + private String color; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Unit + * + * @mbggenerated + */ + private String unit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.RetailPrice + * + * @mbggenerated + */ + private BigDecimal retailprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.LowPrice + * + * @mbggenerated + */ + private BigDecimal lowprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PresetPriceOne + * + * @mbggenerated + */ + private BigDecimal presetpriceone; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + private BigDecimal presetpricetwo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.UnitId + * + * @mbggenerated + */ + private Long unitid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.FirstOutUnit + * + * @mbggenerated + */ + private String firstoutunit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.FirstInUnit + * + * @mbggenerated + */ + private String firstinunit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PriceStrategy + * + * @mbggenerated + */ + private String pricestrategy; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField1 + * + * @mbggenerated + */ + private String otherfield1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField2 + * + * @mbggenerated + */ + private String otherfield2; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField3 + * + * @mbggenerated + */ + private String otherfield3; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.enableSerialNumber + * + * @mbggenerated + */ + private String enableserialnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Id + * + * @return the value of jsh_material.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Id + * + * @param id the value for jsh_material.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_material.CategoryId + * + * @return the value of jsh_material.CategoryId + * + * @mbggenerated + */ + public Long getCategoryid() { + return categoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.CategoryId + * + * @param categoryid the value for jsh_material.CategoryId + * + * @mbggenerated + */ + public void setCategoryid(Long categoryid) { + this.categoryid = categoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Name + * + * @return the value of jsh_material.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Name + * + * @param name the value for jsh_material.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Mfrs + * + * @return the value of jsh_material.Mfrs + * + * @mbggenerated + */ + public String getMfrs() { + return mfrs; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Mfrs + * + * @param mfrs the value for jsh_material.Mfrs + * + * @mbggenerated + */ + public void setMfrs(String mfrs) { + this.mfrs = mfrs == null ? null : mfrs.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Packing + * + * @return the value of jsh_material.Packing + * + * @mbggenerated + */ + public BigDecimal getPacking() { + return packing; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Packing + * + * @param packing the value for jsh_material.Packing + * + * @mbggenerated + */ + public void setPacking(BigDecimal packing) { + this.packing = packing; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.SafetyStock + * + * @return the value of jsh_material.SafetyStock + * + * @mbggenerated + */ + public BigDecimal getSafetystock() { + return safetystock; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.SafetyStock + * + * @param safetystock the value for jsh_material.SafetyStock + * + * @mbggenerated + */ + public void setSafetystock(BigDecimal safetystock) { + this.safetystock = safetystock; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Model + * + * @return the value of jsh_material.Model + * + * @mbggenerated + */ + public String getModel() { + return model; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Model + * + * @param model the value for jsh_material.Model + * + * @mbggenerated + */ + public void setModel(String model) { + this.model = model == null ? null : model.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Standard + * + * @return the value of jsh_material.Standard + * + * @mbggenerated + */ + public String getStandard() { + return standard; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Standard + * + * @param standard the value for jsh_material.Standard + * + * @mbggenerated + */ + public void setStandard(String standard) { + this.standard = standard == null ? null : standard.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Color + * + * @return the value of jsh_material.Color + * + * @mbggenerated + */ + public String getColor() { + return color; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Color + * + * @param color the value for jsh_material.Color + * + * @mbggenerated + */ + public void setColor(String color) { + this.color = color == null ? null : color.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Unit + * + * @return the value of jsh_material.Unit + * + * @mbggenerated + */ + public String getUnit() { + return unit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Unit + * + * @param unit the value for jsh_material.Unit + * + * @mbggenerated + */ + public void setUnit(String unit) { + this.unit = unit == null ? null : unit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Remark + * + * @return the value of jsh_material.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Remark + * + * @param remark the value for jsh_material.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.RetailPrice + * + * @return the value of jsh_material.RetailPrice + * + * @mbggenerated + */ + public BigDecimal getRetailprice() { + return retailprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.RetailPrice + * + * @param retailprice the value for jsh_material.RetailPrice + * + * @mbggenerated + */ + public void setRetailprice(BigDecimal retailprice) { + this.retailprice = retailprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.LowPrice + * + * @return the value of jsh_material.LowPrice + * + * @mbggenerated + */ + public BigDecimal getLowprice() { + return lowprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.LowPrice + * + * @param lowprice the value for jsh_material.LowPrice + * + * @mbggenerated + */ + public void setLowprice(BigDecimal lowprice) { + this.lowprice = lowprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PresetPriceOne + * + * @return the value of jsh_material.PresetPriceOne + * + * @mbggenerated + */ + public BigDecimal getPresetpriceone() { + return presetpriceone; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PresetPriceOne + * + * @param presetpriceone the value for jsh_material.PresetPriceOne + * + * @mbggenerated + */ + public void setPresetpriceone(BigDecimal presetpriceone) { + this.presetpriceone = presetpriceone; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PresetPriceTwo + * + * @return the value of jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + public BigDecimal getPresetpricetwo() { + return presetpricetwo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PresetPriceTwo + * + * @param presetpricetwo the value for jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + public void setPresetpricetwo(BigDecimal presetpricetwo) { + this.presetpricetwo = presetpricetwo; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.UnitId + * + * @return the value of jsh_material.UnitId + * + * @mbggenerated + */ + public Long getUnitid() { + return unitid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.UnitId + * + * @param unitid the value for jsh_material.UnitId + * + * @mbggenerated + */ + public void setUnitid(Long unitid) { + this.unitid = unitid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.FirstOutUnit + * + * @return the value of jsh_material.FirstOutUnit + * + * @mbggenerated + */ + public String getFirstoutunit() { + return firstoutunit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.FirstOutUnit + * + * @param firstoutunit the value for jsh_material.FirstOutUnit + * + * @mbggenerated + */ + public void setFirstoutunit(String firstoutunit) { + this.firstoutunit = firstoutunit == null ? null : firstoutunit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.FirstInUnit + * + * @return the value of jsh_material.FirstInUnit + * + * @mbggenerated + */ + public String getFirstinunit() { + return firstinunit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.FirstInUnit + * + * @param firstinunit the value for jsh_material.FirstInUnit + * + * @mbggenerated + */ + public void setFirstinunit(String firstinunit) { + this.firstinunit = firstinunit == null ? null : firstinunit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PriceStrategy + * + * @return the value of jsh_material.PriceStrategy + * + * @mbggenerated + */ + public String getPricestrategy() { + return pricestrategy; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PriceStrategy + * + * @param pricestrategy the value for jsh_material.PriceStrategy + * + * @mbggenerated + */ + public void setPricestrategy(String pricestrategy) { + this.pricestrategy = pricestrategy == null ? null : pricestrategy.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Enabled + * + * @return the value of jsh_material.Enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Enabled + * + * @param enabled the value for jsh_material.Enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField1 + * + * @return the value of jsh_material.OtherField1 + * + * @mbggenerated + */ + public String getOtherfield1() { + return otherfield1; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField1 + * + * @param otherfield1 the value for jsh_material.OtherField1 + * + * @mbggenerated + */ + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField2 + * + * @return the value of jsh_material.OtherField2 + * + * @mbggenerated + */ + public String getOtherfield2() { + return otherfield2; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField2 + * + * @param otherfield2 the value for jsh_material.OtherField2 + * + * @mbggenerated + */ + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField3 + * + * @return the value of jsh_material.OtherField3 + * + * @mbggenerated + */ + public String getOtherfield3() { + return otherfield3; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField3 + * + * @param otherfield3 the value for jsh_material.OtherField3 + * + * @mbggenerated + */ + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.enableSerialNumber + * + * @return the value of jsh_material.enableSerialNumber + * + * @mbggenerated + */ + public String getEnableserialnumber() { + return enableserialnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.enableSerialNumber + * + * @param enableserialnumber the value for jsh_material.enableSerialNumber + * + * @mbggenerated + */ + public void setEnableserialnumber(String enableserialnumber) { + this.enableserialnumber = enableserialnumber == null ? null : enableserialnumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.tenant_id + * + * @return the value of jsh_material.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_material.tenant_id + * + * @param tenantId the value for jsh_material.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java index 2f22622d..3bbb7402 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java @@ -1,389 +1,421 @@ -package com.jsh.erp.datasource.entities; - -import java.util.Date; - -public class MaterialCategory { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.Id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.Name - * - * @mbggenerated - */ - private String name; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.CategoryLevel - * - * @mbggenerated - */ - private Short categorylevel; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.ParentId - * - * @mbggenerated - */ - private Long parentid; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.sort - * - * @mbggenerated - */ - private String sort; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.status - * - * @mbggenerated - */ - private String status; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.serial_no - * - * @mbggenerated - */ - private String serialNo; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.create_time - * - * @mbggenerated - */ - private Date createTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.creator - * - * @mbggenerated - */ - private Long creator; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.update_time - * - * @mbggenerated - */ - private Date updateTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_materialcategory.updater - * - * @mbggenerated - */ - private Long updater; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.Id - * - * @return the value of jsh_materialcategory.Id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.Id - * - * @param id the value for jsh_materialcategory.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_materialcategory.Name - * - * @return the value of jsh_materialcategory.Name - * - * @mbggenerated - */ - public String getName() { - return name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.Name - * - * @param name the value for jsh_materialcategory.Name - * - * @mbggenerated - */ - public void setName(String name) { - this.name = name == null ? null : name.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.CategoryLevel - * - * @return the value of jsh_materialcategory.CategoryLevel - * - * @mbggenerated - */ - public Short getCategorylevel() { - return categorylevel; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.CategoryLevel - * - * @param categorylevel the value for jsh_materialcategory.CategoryLevel - * - * @mbggenerated - */ - public void setCategorylevel(Short categorylevel) { - this.categorylevel = categorylevel; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.ParentId - * - * @return the value of jsh_materialcategory.ParentId - * - * @mbggenerated - */ - public Long getParentid() { - return parentid; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.ParentId - * - * @param parentid the value for jsh_materialcategory.ParentId - * - * @mbggenerated - */ - public void setParentid(Long parentid) { - this.parentid = parentid; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.sort - * - * @return the value of jsh_materialcategory.sort - * - * @mbggenerated - */ - public String getSort() { - return sort; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.sort - * - * @param sort the value for jsh_materialcategory.sort - * - * @mbggenerated - */ - public void setSort(String sort) { - this.sort = sort == null ? null : sort.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.status - * - * @return the value of jsh_materialcategory.status - * - * @mbggenerated - */ - public String getStatus() { - return status; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.status - * - * @param status the value for jsh_materialcategory.status - * - * @mbggenerated - */ - public void setStatus(String status) { - this.status = status == null ? null : status.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.serial_no - * - * @return the value of jsh_materialcategory.serial_no - * - * @mbggenerated - */ - public String getSerialNo() { - return serialNo; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.serial_no - * - * @param serialNo the value for jsh_materialcategory.serial_no - * - * @mbggenerated - */ - public void setSerialNo(String serialNo) { - this.serialNo = serialNo == null ? null : serialNo.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.remark - * - * @return the value of jsh_materialcategory.remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.remark - * - * @param remark the value for jsh_materialcategory.remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_materialcategory.create_time - * - * @return the value of jsh_materialcategory.create_time - * - * @mbggenerated - */ - public Date getCreateTime() { - return createTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.create_time - * - * @param createTime the value for jsh_materialcategory.create_time - * - * @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_materialcategory.creator - * - * @return the value of jsh_materialcategory.creator - * - * @mbggenerated - */ - public Long getCreator() { - return creator; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.creator - * - * @param creator the value for jsh_materialcategory.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_materialcategory.update_time - * - * @return the value of jsh_materialcategory.update_time - * - * @mbggenerated - */ - public Date getUpdateTime() { - return updateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.update_time - * - * @param updateTime the value for jsh_materialcategory.update_time - * - * @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_materialcategory.updater - * - * @return the value of jsh_materialcategory.updater - * - * @mbggenerated - */ - public Long getUpdater() { - return updater; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_materialcategory.updater - * - * @param updater the value for jsh_materialcategory.updater - * - * @mbggenerated - */ - public void setUpdater(Long updater) { - this.updater = updater; - } +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class MaterialCategory { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + private Short categorylevel; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.ParentId + * + * @mbggenerated + */ + private Long parentid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.status + * + * @mbggenerated + */ + private String status; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.serial_no + * + * @mbggenerated + */ + private String serialNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.create_time + * + * @mbggenerated + */ + private Date createTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.creator + * + * @mbggenerated + */ + private Long creator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.update_time + * + * @mbggenerated + */ + private Date updateTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.updater + * + * @mbggenerated + */ + private Long updater; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.Id + * + * @return the value of jsh_materialcategory.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.Id + * + * @param id the value for jsh_materialcategory.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_materialcategory.Name + * + * @return the value of jsh_materialcategory.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.Name + * + * @param name the value for jsh_materialcategory.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.CategoryLevel + * + * @return the value of jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + public Short getCategorylevel() { + return categorylevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.CategoryLevel + * + * @param categorylevel the value for jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + public void setCategorylevel(Short categorylevel) { + this.categorylevel = categorylevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.ParentId + * + * @return the value of jsh_materialcategory.ParentId + * + * @mbggenerated + */ + public Long getParentid() { + return parentid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.ParentId + * + * @param parentid the value for jsh_materialcategory.ParentId + * + * @mbggenerated + */ + public void setParentid(Long parentid) { + this.parentid = parentid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.sort + * + * @return the value of jsh_materialcategory.sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.sort + * + * @param sort the value for jsh_materialcategory.sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.status + * + * @return the value of jsh_materialcategory.status + * + * @mbggenerated + */ + public String getStatus() { + return status; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.status + * + * @param status the value for jsh_materialcategory.status + * + * @mbggenerated + */ + public void setStatus(String status) { + this.status = status == null ? null : status.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.serial_no + * + * @return the value of jsh_materialcategory.serial_no + * + * @mbggenerated + */ + public String getSerialNo() { + return serialNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.serial_no + * + * @param serialNo the value for jsh_materialcategory.serial_no + * + * @mbggenerated + */ + public void setSerialNo(String serialNo) { + this.serialNo = serialNo == null ? null : serialNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.remark + * + * @return the value of jsh_materialcategory.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.remark + * + * @param remark the value for jsh_materialcategory.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.create_time + * + * @return the value of jsh_materialcategory.create_time + * + * @mbggenerated + */ + public Date getCreateTime() { + return createTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.create_time + * + * @param createTime the value for jsh_materialcategory.create_time + * + * @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_materialcategory.creator + * + * @return the value of jsh_materialcategory.creator + * + * @mbggenerated + */ + public Long getCreator() { + return creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.creator + * + * @param creator the value for jsh_materialcategory.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_materialcategory.update_time + * + * @return the value of jsh_materialcategory.update_time + * + * @mbggenerated + */ + public Date getUpdateTime() { + return updateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.update_time + * + * @param updateTime the value for jsh_materialcategory.update_time + * + * @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_materialcategory.updater + * + * @return the value of jsh_materialcategory.updater + * + * @mbggenerated + */ + public Long getUpdater() { + return updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.updater + * + * @param updater the value for jsh_materialcategory.updater + * + * @mbggenerated + */ + public void setUpdater(Long updater) { + this.updater = updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.tenant_id + * + * @return the value of jsh_materialcategory.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_materialcategory.tenant_id + * + * @param tenantId the value for jsh_materialcategory.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java index 49ef2ea1..97cc8f0b 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java @@ -1,1073 +1,1133 @@ -package com.jsh.erp.datasource.entities; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class MaterialCategoryExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public MaterialCategoryExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @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_materialcategory - * - * @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_materialcategory - * - * @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_materialcategory - * - * @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_materialcategory - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andNameIsNull() { - addCriterion("Name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("Name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("Name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("Name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("Name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("Name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("Name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("Name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("Name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("Name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("Name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("Name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("Name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("Name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andCategorylevelIsNull() { - addCriterion("CategoryLevel is null"); - return (Criteria) this; - } - - public Criteria andCategorylevelIsNotNull() { - addCriterion("CategoryLevel is not null"); - return (Criteria) this; - } - - public Criteria andCategorylevelEqualTo(Short value) { - addCriterion("CategoryLevel =", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelNotEqualTo(Short value) { - addCriterion("CategoryLevel <>", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelGreaterThan(Short value) { - addCriterion("CategoryLevel >", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelGreaterThanOrEqualTo(Short value) { - addCriterion("CategoryLevel >=", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelLessThan(Short value) { - addCriterion("CategoryLevel <", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelLessThanOrEqualTo(Short value) { - addCriterion("CategoryLevel <=", value, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelIn(List values) { - addCriterion("CategoryLevel in", values, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelNotIn(List values) { - addCriterion("CategoryLevel not in", values, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelBetween(Short value1, Short value2) { - addCriterion("CategoryLevel between", value1, value2, "categorylevel"); - return (Criteria) this; - } - - public Criteria andCategorylevelNotBetween(Short value1, Short value2) { - addCriterion("CategoryLevel not between", value1, value2, "categorylevel"); - return (Criteria) this; - } - - public Criteria andParentidIsNull() { - addCriterion("ParentId is null"); - return (Criteria) this; - } - - public Criteria andParentidIsNotNull() { - addCriterion("ParentId is not null"); - return (Criteria) this; - } - - public Criteria andParentidEqualTo(Long value) { - addCriterion("ParentId =", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidNotEqualTo(Long value) { - addCriterion("ParentId <>", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidGreaterThan(Long value) { - addCriterion("ParentId >", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidGreaterThanOrEqualTo(Long value) { - addCriterion("ParentId >=", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidLessThan(Long value) { - addCriterion("ParentId <", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidLessThanOrEqualTo(Long value) { - addCriterion("ParentId <=", value, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidIn(List values) { - addCriterion("ParentId in", values, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidNotIn(List values) { - addCriterion("ParentId not in", values, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidBetween(Long value1, Long value2) { - addCriterion("ParentId between", value1, value2, "parentid"); - return (Criteria) this; - } - - public Criteria andParentidNotBetween(Long value1, Long value2) { - addCriterion("ParentId not between", value1, value2, "parentid"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(String value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(String value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(String value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(String value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(String value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(String value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLike(String value) { - addCriterion("sort like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotLike(String value) { - addCriterion("sort not like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(String value1, String value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(String value1, String value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andStatusIsNull() { - addCriterion("status is null"); - return (Criteria) this; - } - - public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); - return (Criteria) this; - } - - public Criteria andStatusEqualTo(String value) { - addCriterion("status =", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotEqualTo(String value) { - addCriterion("status <>", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThan(String value) { - addCriterion("status >", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusGreaterThanOrEqualTo(String value) { - addCriterion("status >=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThan(String value) { - addCriterion("status <", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLessThanOrEqualTo(String value) { - addCriterion("status <=", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusLike(String value) { - addCriterion("status like", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotLike(String value) { - addCriterion("status not like", value, "status"); - return (Criteria) this; - } - - public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); - return (Criteria) this; - } - - public Criteria andStatusBetween(String value1, String value2) { - addCriterion("status between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andStatusNotBetween(String value1, String value2) { - addCriterion("status not between", value1, value2, "status"); - return (Criteria) this; - } - - public Criteria andSerialNoIsNull() { - addCriterion("serial_no is null"); - return (Criteria) this; - } - - public Criteria andSerialNoIsNotNull() { - addCriterion("serial_no is not null"); - return (Criteria) this; - } - - public Criteria andSerialNoEqualTo(String value) { - addCriterion("serial_no =", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoNotEqualTo(String value) { - addCriterion("serial_no <>", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoGreaterThan(String value) { - addCriterion("serial_no >", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoGreaterThanOrEqualTo(String value) { - addCriterion("serial_no >=", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoLessThan(String value) { - addCriterion("serial_no <", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoLessThanOrEqualTo(String value) { - addCriterion("serial_no <=", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoLike(String value) { - addCriterion("serial_no like", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoNotLike(String value) { - addCriterion("serial_no not like", value, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoIn(List values) { - addCriterion("serial_no in", values, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoNotIn(List values) { - addCriterion("serial_no not in", values, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoBetween(String value1, String value2) { - addCriterion("serial_no between", value1, value2, "serialNo"); - return (Criteria) this; - } - - public Criteria andSerialNoNotBetween(String value1, String value2) { - addCriterion("serial_no not between", value1, value2, "serialNo"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreatorIsNull() { - addCriterion("creator is null"); - return (Criteria) this; - } - - public Criteria andCreatorIsNotNull() { - addCriterion("creator is not null"); - return (Criteria) this; - } - - public Criteria andCreatorEqualTo(Long value) { - addCriterion("creator =", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotEqualTo(Long value) { - addCriterion("creator <>", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThan(Long value) { - addCriterion("creator >", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThanOrEqualTo(Long value) { - addCriterion("creator >=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThan(Long value) { - addCriterion("creator <", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThanOrEqualTo(Long value) { - addCriterion("creator <=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorIn(List values) { - addCriterion("creator in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotIn(List values) { - addCriterion("creator not in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorBetween(Long value1, Long value2) { - addCriterion("creator between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotBetween(Long value1, Long value2) { - addCriterion("creator not between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNull() { - addCriterion("update_time is null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNotNull() { - addCriterion("update_time is not null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeEqualTo(Date value) { - addCriterion("update_time =", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotEqualTo(Date value) { - addCriterion("update_time <>", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThan(Date value) { - addCriterion("update_time >", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("update_time >=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThan(Date value) { - addCriterion("update_time <", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { - addCriterion("update_time <=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIn(List values) { - addCriterion("update_time in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotIn(List values) { - addCriterion("update_time not in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeBetween(Date value1, Date value2) { - addCriterion("update_time between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { - addCriterion("update_time not between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNull() { - addCriterion("updater is null"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNotNull() { - addCriterion("updater is not null"); - return (Criteria) this; - } - - public Criteria andUpdaterEqualTo(Long value) { - addCriterion("updater =", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotEqualTo(Long value) { - addCriterion("updater <>", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThan(Long value) { - addCriterion("updater >", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { - addCriterion("updater >=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThan(Long value) { - addCriterion("updater <", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThanOrEqualTo(Long value) { - addCriterion("updater <=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterIn(List values) { - addCriterion("updater in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotIn(List values) { - addCriterion("updater not in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterBetween(Long value1, Long value2) { - addCriterion("updater between", value1, value2, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotBetween(Long value1, Long value2) { - addCriterion("updater not between", value1, value2, "updater"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_materialcategory - * - * @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_materialcategory - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class MaterialCategoryExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public MaterialCategoryExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @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_materialcategory + * + * @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_materialcategory + * + * @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_materialcategory + * + * @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_materialcategory + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCategorylevelIsNull() { + addCriterion("CategoryLevel is null"); + return (Criteria) this; + } + + public Criteria andCategorylevelIsNotNull() { + addCriterion("CategoryLevel is not null"); + return (Criteria) this; + } + + public Criteria andCategorylevelEqualTo(Short value) { + addCriterion("CategoryLevel =", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotEqualTo(Short value) { + addCriterion("CategoryLevel <>", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelGreaterThan(Short value) { + addCriterion("CategoryLevel >", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelGreaterThanOrEqualTo(Short value) { + addCriterion("CategoryLevel >=", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelLessThan(Short value) { + addCriterion("CategoryLevel <", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelLessThanOrEqualTo(Short value) { + addCriterion("CategoryLevel <=", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelIn(List values) { + addCriterion("CategoryLevel in", values, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotIn(List values) { + addCriterion("CategoryLevel not in", values, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelBetween(Short value1, Short value2) { + addCriterion("CategoryLevel between", value1, value2, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotBetween(Short value1, Short value2) { + addCriterion("CategoryLevel not between", value1, value2, "categorylevel"); + return (Criteria) this; + } + + public Criteria andParentidIsNull() { + addCriterion("ParentId is null"); + return (Criteria) this; + } + + public Criteria andParentidIsNotNull() { + addCriterion("ParentId is not null"); + return (Criteria) this; + } + + public Criteria andParentidEqualTo(Long value) { + addCriterion("ParentId =", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotEqualTo(Long value) { + addCriterion("ParentId <>", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidGreaterThan(Long value) { + addCriterion("ParentId >", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidGreaterThanOrEqualTo(Long value) { + addCriterion("ParentId >=", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidLessThan(Long value) { + addCriterion("ParentId <", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidLessThanOrEqualTo(Long value) { + addCriterion("ParentId <=", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidIn(List values) { + addCriterion("ParentId in", values, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotIn(List values) { + addCriterion("ParentId not in", values, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidBetween(Long value1, Long value2) { + addCriterion("ParentId between", value1, value2, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotBetween(Long value1, Long value2) { + addCriterion("ParentId not between", value1, value2, "parentid"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(String value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("status like", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("status not like", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(String value1, String value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andSerialNoIsNull() { + addCriterion("serial_no is null"); + return (Criteria) this; + } + + public Criteria andSerialNoIsNotNull() { + addCriterion("serial_no is not null"); + return (Criteria) this; + } + + public Criteria andSerialNoEqualTo(String value) { + addCriterion("serial_no =", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoNotEqualTo(String value) { + addCriterion("serial_no <>", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoGreaterThan(String value) { + addCriterion("serial_no >", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoGreaterThanOrEqualTo(String value) { + addCriterion("serial_no >=", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoLessThan(String value) { + addCriterion("serial_no <", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoLessThanOrEqualTo(String value) { + addCriterion("serial_no <=", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoLike(String value) { + addCriterion("serial_no like", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoNotLike(String value) { + addCriterion("serial_no not like", value, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoIn(List values) { + addCriterion("serial_no in", values, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoNotIn(List values) { + addCriterion("serial_no not in", values, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoBetween(String value1, String value2) { + addCriterion("serial_no between", value1, value2, "serialNo"); + return (Criteria) this; + } + + public Criteria andSerialNoNotBetween(String value1, String value2) { + addCriterion("serial_no not between", value1, value2, "serialNo"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNull() { + addCriterion("updater is null"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNotNull() { + addCriterion("updater is not null"); + return (Criteria) this; + } + + public Criteria andUpdaterEqualTo(Long value) { + addCriterion("updater =", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotEqualTo(Long value) { + addCriterion("updater <>", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThan(Long value) { + addCriterion("updater >", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { + addCriterion("updater >=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThan(Long value) { + addCriterion("updater <", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThanOrEqualTo(Long value) { + addCriterion("updater <=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterIn(List values) { + addCriterion("updater in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotIn(List values) { + addCriterion("updater not in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterBetween(Long value1, Long value2) { + addCriterion("updater between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotBetween(Long value1, Long value2) { + addCriterion("updater not between", value1, value2, "updater"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialcategory + * + * @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_materialcategory + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java index e74d0a68..10983cd5 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java @@ -1,1879 +1,1943 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class MaterialExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_material - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_material - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_material - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public MaterialExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @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_material - * - * @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_material - * - * @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_material - * - * @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_material - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("Id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("Id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("Id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("Id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andCategoryidIsNull() { - addCriterion("CategoryId is null"); - return (Criteria) this; - } - - public Criteria andCategoryidIsNotNull() { - addCriterion("CategoryId is not null"); - return (Criteria) this; - } - - public Criteria andCategoryidEqualTo(Long value) { - addCriterion("CategoryId =", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidNotEqualTo(Long value) { - addCriterion("CategoryId <>", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidGreaterThan(Long value) { - addCriterion("CategoryId >", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidGreaterThanOrEqualTo(Long value) { - addCriterion("CategoryId >=", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidLessThan(Long value) { - addCriterion("CategoryId <", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidLessThanOrEqualTo(Long value) { - addCriterion("CategoryId <=", value, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidIn(List values) { - addCriterion("CategoryId in", values, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidNotIn(List values) { - addCriterion("CategoryId not in", values, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidBetween(Long value1, Long value2) { - addCriterion("CategoryId between", value1, value2, "categoryid"); - return (Criteria) this; - } - - public Criteria andCategoryidNotBetween(Long value1, Long value2) { - addCriterion("CategoryId not between", value1, value2, "categoryid"); - return (Criteria) this; - } - - public Criteria andNameIsNull() { - addCriterion("Name is null"); - return (Criteria) this; - } - - public Criteria andNameIsNotNull() { - addCriterion("Name is not null"); - return (Criteria) this; - } - - public Criteria andNameEqualTo(String value) { - addCriterion("Name =", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotEqualTo(String value) { - addCriterion("Name <>", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThan(String value) { - addCriterion("Name >", value, "name"); - return (Criteria) this; - } - - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("Name >=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThan(String value) { - addCriterion("Name <", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("Name <=", value, "name"); - return (Criteria) this; - } - - public Criteria andNameLike(String value) { - addCriterion("Name like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameNotLike(String value) { - addCriterion("Name not like", value, "name"); - return (Criteria) this; - } - - public Criteria andNameIn(List values) { - addCriterion("Name in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameNotIn(List values) { - addCriterion("Name not in", values, "name"); - return (Criteria) this; - } - - public Criteria andNameBetween(String value1, String value2) { - addCriterion("Name between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("Name not between", value1, value2, "name"); - return (Criteria) this; - } - - public Criteria andMfrsIsNull() { - addCriterion("Mfrs is null"); - return (Criteria) this; - } - - public Criteria andMfrsIsNotNull() { - addCriterion("Mfrs is not null"); - return (Criteria) this; - } - - public Criteria andMfrsEqualTo(String value) { - addCriterion("Mfrs =", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsNotEqualTo(String value) { - addCriterion("Mfrs <>", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsGreaterThan(String value) { - addCriterion("Mfrs >", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsGreaterThanOrEqualTo(String value) { - addCriterion("Mfrs >=", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsLessThan(String value) { - addCriterion("Mfrs <", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsLessThanOrEqualTo(String value) { - addCriterion("Mfrs <=", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsLike(String value) { - addCriterion("Mfrs like", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsNotLike(String value) { - addCriterion("Mfrs not like", value, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsIn(List values) { - addCriterion("Mfrs in", values, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsNotIn(List values) { - addCriterion("Mfrs not in", values, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsBetween(String value1, String value2) { - addCriterion("Mfrs between", value1, value2, "mfrs"); - return (Criteria) this; - } - - public Criteria andMfrsNotBetween(String value1, String value2) { - addCriterion("Mfrs not between", value1, value2, "mfrs"); - return (Criteria) this; - } - - public Criteria andPackingIsNull() { - addCriterion("Packing is null"); - return (Criteria) this; - } - - public Criteria andPackingIsNotNull() { - addCriterion("Packing is not null"); - return (Criteria) this; - } - - public Criteria andPackingEqualTo(BigDecimal value) { - addCriterion("Packing =", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingNotEqualTo(BigDecimal value) { - addCriterion("Packing <>", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingGreaterThan(BigDecimal value) { - addCriterion("Packing >", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("Packing >=", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingLessThan(BigDecimal value) { - addCriterion("Packing <", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingLessThanOrEqualTo(BigDecimal value) { - addCriterion("Packing <=", value, "packing"); - return (Criteria) this; - } - - public Criteria andPackingIn(List values) { - addCriterion("Packing in", values, "packing"); - return (Criteria) this; - } - - public Criteria andPackingNotIn(List values) { - addCriterion("Packing not in", values, "packing"); - return (Criteria) this; - } - - public Criteria andPackingBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("Packing between", value1, value2, "packing"); - return (Criteria) this; - } - - public Criteria andPackingNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("Packing not between", value1, value2, "packing"); - return (Criteria) this; - } - - public Criteria andSafetystockIsNull() { - addCriterion("SafetyStock is null"); - return (Criteria) this; - } - - public Criteria andSafetystockIsNotNull() { - addCriterion("SafetyStock is not null"); - return (Criteria) this; - } - - public Criteria andSafetystockEqualTo(BigDecimal value) { - addCriterion("SafetyStock =", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockNotEqualTo(BigDecimal value) { - addCriterion("SafetyStock <>", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockGreaterThan(BigDecimal value) { - addCriterion("SafetyStock >", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("SafetyStock >=", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockLessThan(BigDecimal value) { - addCriterion("SafetyStock <", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockLessThanOrEqualTo(BigDecimal value) { - addCriterion("SafetyStock <=", value, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockIn(List values) { - addCriterion("SafetyStock in", values, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockNotIn(List values) { - addCriterion("SafetyStock not in", values, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SafetyStock between", value1, value2, "safetystock"); - return (Criteria) this; - } - - public Criteria andSafetystockNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("SafetyStock not between", value1, value2, "safetystock"); - return (Criteria) this; - } - - public Criteria andModelIsNull() { - addCriterion("Model is null"); - return (Criteria) this; - } - - public Criteria andModelIsNotNull() { - addCriterion("Model is not null"); - return (Criteria) this; - } - - public Criteria andModelEqualTo(String value) { - addCriterion("Model =", value, "model"); - return (Criteria) this; - } - - public Criteria andModelNotEqualTo(String value) { - addCriterion("Model <>", value, "model"); - return (Criteria) this; - } - - public Criteria andModelGreaterThan(String value) { - addCriterion("Model >", value, "model"); - return (Criteria) this; - } - - public Criteria andModelGreaterThanOrEqualTo(String value) { - addCriterion("Model >=", value, "model"); - return (Criteria) this; - } - - public Criteria andModelLessThan(String value) { - addCriterion("Model <", value, "model"); - return (Criteria) this; - } - - public Criteria andModelLessThanOrEqualTo(String value) { - addCriterion("Model <=", value, "model"); - return (Criteria) this; - } - - public Criteria andModelLike(String value) { - addCriterion("Model like", value, "model"); - return (Criteria) this; - } - - public Criteria andModelNotLike(String value) { - addCriterion("Model not like", value, "model"); - return (Criteria) this; - } - - public Criteria andModelIn(List values) { - addCriterion("Model in", values, "model"); - return (Criteria) this; - } - - public Criteria andModelNotIn(List values) { - addCriterion("Model not in", values, "model"); - return (Criteria) this; - } - - public Criteria andModelBetween(String value1, String value2) { - addCriterion("Model between", value1, value2, "model"); - return (Criteria) this; - } - - public Criteria andModelNotBetween(String value1, String value2) { - addCriterion("Model not between", value1, value2, "model"); - return (Criteria) this; - } - - public Criteria andStandardIsNull() { - addCriterion("Standard is null"); - return (Criteria) this; - } - - public Criteria andStandardIsNotNull() { - addCriterion("Standard is not null"); - return (Criteria) this; - } - - public Criteria andStandardEqualTo(String value) { - addCriterion("Standard =", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardNotEqualTo(String value) { - addCriterion("Standard <>", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardGreaterThan(String value) { - addCriterion("Standard >", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardGreaterThanOrEqualTo(String value) { - addCriterion("Standard >=", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardLessThan(String value) { - addCriterion("Standard <", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardLessThanOrEqualTo(String value) { - addCriterion("Standard <=", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardLike(String value) { - addCriterion("Standard like", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardNotLike(String value) { - addCriterion("Standard not like", value, "standard"); - return (Criteria) this; - } - - public Criteria andStandardIn(List values) { - addCriterion("Standard in", values, "standard"); - return (Criteria) this; - } - - public Criteria andStandardNotIn(List values) { - addCriterion("Standard not in", values, "standard"); - return (Criteria) this; - } - - public Criteria andStandardBetween(String value1, String value2) { - addCriterion("Standard between", value1, value2, "standard"); - return (Criteria) this; - } - - public Criteria andStandardNotBetween(String value1, String value2) { - addCriterion("Standard not between", value1, value2, "standard"); - return (Criteria) this; - } - - public Criteria andColorIsNull() { - addCriterion("Color is null"); - return (Criteria) this; - } - - public Criteria andColorIsNotNull() { - addCriterion("Color is not null"); - return (Criteria) this; - } - - public Criteria andColorEqualTo(String value) { - addCriterion("Color =", value, "color"); - return (Criteria) this; - } - - public Criteria andColorNotEqualTo(String value) { - addCriterion("Color <>", value, "color"); - return (Criteria) this; - } - - public Criteria andColorGreaterThan(String value) { - addCriterion("Color >", value, "color"); - return (Criteria) this; - } - - public Criteria andColorGreaterThanOrEqualTo(String value) { - addCriterion("Color >=", value, "color"); - return (Criteria) this; - } - - public Criteria andColorLessThan(String value) { - addCriterion("Color <", value, "color"); - return (Criteria) this; - } - - public Criteria andColorLessThanOrEqualTo(String value) { - addCriterion("Color <=", value, "color"); - return (Criteria) this; - } - - public Criteria andColorLike(String value) { - addCriterion("Color like", value, "color"); - return (Criteria) this; - } - - public Criteria andColorNotLike(String value) { - addCriterion("Color not like", value, "color"); - return (Criteria) this; - } - - public Criteria andColorIn(List values) { - addCriterion("Color in", values, "color"); - return (Criteria) this; - } - - public Criteria andColorNotIn(List values) { - addCriterion("Color not in", values, "color"); - return (Criteria) this; - } - - public Criteria andColorBetween(String value1, String value2) { - addCriterion("Color between", value1, value2, "color"); - return (Criteria) this; - } - - public Criteria andColorNotBetween(String value1, String value2) { - addCriterion("Color not between", value1, value2, "color"); - return (Criteria) this; - } - - public Criteria andUnitIsNull() { - addCriterion("Unit is null"); - return (Criteria) this; - } - - public Criteria andUnitIsNotNull() { - addCriterion("Unit is not null"); - return (Criteria) this; - } - - public Criteria andUnitEqualTo(String value) { - addCriterion("Unit =", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotEqualTo(String value) { - addCriterion("Unit <>", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThan(String value) { - addCriterion("Unit >", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitGreaterThanOrEqualTo(String value) { - addCriterion("Unit >=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThan(String value) { - addCriterion("Unit <", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLessThanOrEqualTo(String value) { - addCriterion("Unit <=", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitLike(String value) { - addCriterion("Unit like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotLike(String value) { - addCriterion("Unit not like", value, "unit"); - return (Criteria) this; - } - - public Criteria andUnitIn(List values) { - addCriterion("Unit in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotIn(List values) { - addCriterion("Unit not in", values, "unit"); - return (Criteria) this; - } - - public Criteria andUnitBetween(String value1, String value2) { - addCriterion("Unit between", value1, value2, "unit"); - return (Criteria) this; - } - - public Criteria andUnitNotBetween(String value1, String value2) { - addCriterion("Unit not between", value1, value2, "unit"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("Remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("Remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("Remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("Remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("Remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("Remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("Remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("Remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("Remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("Remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("Remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("Remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("Remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("Remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRetailpriceIsNull() { - addCriterion("RetailPrice is null"); - return (Criteria) this; - } - - public Criteria andRetailpriceIsNotNull() { - addCriterion("RetailPrice is not null"); - return (Criteria) this; - } - - public Criteria andRetailpriceEqualTo(BigDecimal value) { - addCriterion("RetailPrice =", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceNotEqualTo(BigDecimal value) { - addCriterion("RetailPrice <>", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceGreaterThan(BigDecimal value) { - addCriterion("RetailPrice >", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("RetailPrice >=", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceLessThan(BigDecimal value) { - addCriterion("RetailPrice <", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("RetailPrice <=", value, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceIn(List values) { - addCriterion("RetailPrice in", values, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceNotIn(List values) { - addCriterion("RetailPrice not in", values, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RetailPrice between", value1, value2, "retailprice"); - return (Criteria) this; - } - - public Criteria andRetailpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("RetailPrice not between", value1, value2, "retailprice"); - return (Criteria) this; - } - - public Criteria andLowpriceIsNull() { - addCriterion("LowPrice is null"); - return (Criteria) this; - } - - public Criteria andLowpriceIsNotNull() { - addCriterion("LowPrice is not null"); - return (Criteria) this; - } - - public Criteria andLowpriceEqualTo(BigDecimal value) { - addCriterion("LowPrice =", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceNotEqualTo(BigDecimal value) { - addCriterion("LowPrice <>", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceGreaterThan(BigDecimal value) { - addCriterion("LowPrice >", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("LowPrice >=", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceLessThan(BigDecimal value) { - addCriterion("LowPrice <", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("LowPrice <=", value, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceIn(List values) { - addCriterion("LowPrice in", values, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceNotIn(List values) { - addCriterion("LowPrice not in", values, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("LowPrice between", value1, value2, "lowprice"); - return (Criteria) this; - } - - public Criteria andLowpriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("LowPrice not between", value1, value2, "lowprice"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneIsNull() { - addCriterion("PresetPriceOne is null"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneIsNotNull() { - addCriterion("PresetPriceOne is not null"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneEqualTo(BigDecimal value) { - addCriterion("PresetPriceOne =", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneNotEqualTo(BigDecimal value) { - addCriterion("PresetPriceOne <>", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneGreaterThan(BigDecimal value) { - addCriterion("PresetPriceOne >", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("PresetPriceOne >=", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneLessThan(BigDecimal value) { - addCriterion("PresetPriceOne <", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneLessThanOrEqualTo(BigDecimal value) { - addCriterion("PresetPriceOne <=", value, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneIn(List values) { - addCriterion("PresetPriceOne in", values, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneNotIn(List values) { - addCriterion("PresetPriceOne not in", values, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("PresetPriceOne between", value1, value2, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpriceoneNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("PresetPriceOne not between", value1, value2, "presetpriceone"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoIsNull() { - addCriterion("PresetPriceTwo is null"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoIsNotNull() { - addCriterion("PresetPriceTwo is not null"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoEqualTo(BigDecimal value) { - addCriterion("PresetPriceTwo =", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoNotEqualTo(BigDecimal value) { - addCriterion("PresetPriceTwo <>", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoGreaterThan(BigDecimal value) { - addCriterion("PresetPriceTwo >", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("PresetPriceTwo >=", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoLessThan(BigDecimal value) { - addCriterion("PresetPriceTwo <", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoLessThanOrEqualTo(BigDecimal value) { - addCriterion("PresetPriceTwo <=", value, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoIn(List values) { - addCriterion("PresetPriceTwo in", values, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoNotIn(List values) { - addCriterion("PresetPriceTwo not in", values, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("PresetPriceTwo between", value1, value2, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andPresetpricetwoNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("PresetPriceTwo not between", value1, value2, "presetpricetwo"); - return (Criteria) this; - } - - public Criteria andUnitidIsNull() { - addCriterion("UnitId is null"); - return (Criteria) this; - } - - public Criteria andUnitidIsNotNull() { - addCriterion("UnitId is not null"); - return (Criteria) this; - } - - public Criteria andUnitidEqualTo(Long value) { - addCriterion("UnitId =", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidNotEqualTo(Long value) { - addCriterion("UnitId <>", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidGreaterThan(Long value) { - addCriterion("UnitId >", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidGreaterThanOrEqualTo(Long value) { - addCriterion("UnitId >=", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidLessThan(Long value) { - addCriterion("UnitId <", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidLessThanOrEqualTo(Long value) { - addCriterion("UnitId <=", value, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidIn(List values) { - addCriterion("UnitId in", values, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidNotIn(List values) { - addCriterion("UnitId not in", values, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidBetween(Long value1, Long value2) { - addCriterion("UnitId between", value1, value2, "unitid"); - return (Criteria) this; - } - - public Criteria andUnitidNotBetween(Long value1, Long value2) { - addCriterion("UnitId not between", value1, value2, "unitid"); - return (Criteria) this; - } - - public Criteria andFirstoutunitIsNull() { - addCriterion("FirstOutUnit is null"); - return (Criteria) this; - } - - public Criteria andFirstoutunitIsNotNull() { - addCriterion("FirstOutUnit is not null"); - return (Criteria) this; - } - - public Criteria andFirstoutunitEqualTo(String value) { - addCriterion("FirstOutUnit =", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitNotEqualTo(String value) { - addCriterion("FirstOutUnit <>", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitGreaterThan(String value) { - addCriterion("FirstOutUnit >", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitGreaterThanOrEqualTo(String value) { - addCriterion("FirstOutUnit >=", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitLessThan(String value) { - addCriterion("FirstOutUnit <", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitLessThanOrEqualTo(String value) { - addCriterion("FirstOutUnit <=", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitLike(String value) { - addCriterion("FirstOutUnit like", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitNotLike(String value) { - addCriterion("FirstOutUnit not like", value, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitIn(List values) { - addCriterion("FirstOutUnit in", values, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitNotIn(List values) { - addCriterion("FirstOutUnit not in", values, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitBetween(String value1, String value2) { - addCriterion("FirstOutUnit between", value1, value2, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstoutunitNotBetween(String value1, String value2) { - addCriterion("FirstOutUnit not between", value1, value2, "firstoutunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitIsNull() { - addCriterion("FirstInUnit is null"); - return (Criteria) this; - } - - public Criteria andFirstinunitIsNotNull() { - addCriterion("FirstInUnit is not null"); - return (Criteria) this; - } - - public Criteria andFirstinunitEqualTo(String value) { - addCriterion("FirstInUnit =", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitNotEqualTo(String value) { - addCriterion("FirstInUnit <>", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitGreaterThan(String value) { - addCriterion("FirstInUnit >", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitGreaterThanOrEqualTo(String value) { - addCriterion("FirstInUnit >=", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitLessThan(String value) { - addCriterion("FirstInUnit <", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitLessThanOrEqualTo(String value) { - addCriterion("FirstInUnit <=", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitLike(String value) { - addCriterion("FirstInUnit like", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitNotLike(String value) { - addCriterion("FirstInUnit not like", value, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitIn(List values) { - addCriterion("FirstInUnit in", values, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitNotIn(List values) { - addCriterion("FirstInUnit not in", values, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitBetween(String value1, String value2) { - addCriterion("FirstInUnit between", value1, value2, "firstinunit"); - return (Criteria) this; - } - - public Criteria andFirstinunitNotBetween(String value1, String value2) { - addCriterion("FirstInUnit not between", value1, value2, "firstinunit"); - return (Criteria) this; - } - - public Criteria andPricestrategyIsNull() { - addCriterion("PriceStrategy is null"); - return (Criteria) this; - } - - public Criteria andPricestrategyIsNotNull() { - addCriterion("PriceStrategy is not null"); - return (Criteria) this; - } - - public Criteria andPricestrategyEqualTo(String value) { - addCriterion("PriceStrategy =", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyNotEqualTo(String value) { - addCriterion("PriceStrategy <>", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyGreaterThan(String value) { - addCriterion("PriceStrategy >", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyGreaterThanOrEqualTo(String value) { - addCriterion("PriceStrategy >=", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyLessThan(String value) { - addCriterion("PriceStrategy <", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyLessThanOrEqualTo(String value) { - addCriterion("PriceStrategy <=", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyLike(String value) { - addCriterion("PriceStrategy like", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyNotLike(String value) { - addCriterion("PriceStrategy not like", value, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyIn(List values) { - addCriterion("PriceStrategy in", values, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyNotIn(List values) { - addCriterion("PriceStrategy not in", values, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyBetween(String value1, String value2) { - addCriterion("PriceStrategy between", value1, value2, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andPricestrategyNotBetween(String value1, String value2) { - addCriterion("PriceStrategy not between", value1, value2, "pricestrategy"); - return (Criteria) this; - } - - public Criteria andEnabledIsNull() { - addCriterion("Enabled is null"); - return (Criteria) this; - } - - public Criteria andEnabledIsNotNull() { - addCriterion("Enabled is not null"); - return (Criteria) this; - } - - public Criteria andEnabledEqualTo(Boolean value) { - addCriterion("Enabled =", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotEqualTo(Boolean value) { - addCriterion("Enabled <>", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledGreaterThan(Boolean value) { - addCriterion("Enabled >", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { - addCriterion("Enabled >=", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledLessThan(Boolean value) { - addCriterion("Enabled <", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledLessThanOrEqualTo(Boolean value) { - addCriterion("Enabled <=", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledIn(List values) { - addCriterion("Enabled in", values, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotIn(List values) { - addCriterion("Enabled not in", values, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledBetween(Boolean value1, Boolean value2) { - addCriterion("Enabled between", value1, value2, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { - addCriterion("Enabled not between", value1, value2, "enabled"); - return (Criteria) this; - } - - public Criteria andOtherfield1IsNull() { - addCriterion("OtherField1 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield1IsNotNull() { - addCriterion("OtherField1 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield1EqualTo(String value) { - addCriterion("OtherField1 =", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotEqualTo(String value) { - addCriterion("OtherField1 <>", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1GreaterThan(String value) { - addCriterion("OtherField1 >", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { - addCriterion("OtherField1 >=", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1LessThan(String value) { - addCriterion("OtherField1 <", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1LessThanOrEqualTo(String value) { - addCriterion("OtherField1 <=", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1Like(String value) { - addCriterion("OtherField1 like", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotLike(String value) { - addCriterion("OtherField1 not like", value, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1In(List values) { - addCriterion("OtherField1 in", values, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotIn(List values) { - addCriterion("OtherField1 not in", values, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1Between(String value1, String value2) { - addCriterion("OtherField1 between", value1, value2, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield1NotBetween(String value1, String value2) { - addCriterion("OtherField1 not between", value1, value2, "otherfield1"); - return (Criteria) this; - } - - public Criteria andOtherfield2IsNull() { - addCriterion("OtherField2 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield2IsNotNull() { - addCriterion("OtherField2 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield2EqualTo(String value) { - addCriterion("OtherField2 =", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotEqualTo(String value) { - addCriterion("OtherField2 <>", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2GreaterThan(String value) { - addCriterion("OtherField2 >", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { - addCriterion("OtherField2 >=", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2LessThan(String value) { - addCriterion("OtherField2 <", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2LessThanOrEqualTo(String value) { - addCriterion("OtherField2 <=", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2Like(String value) { - addCriterion("OtherField2 like", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotLike(String value) { - addCriterion("OtherField2 not like", value, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2In(List values) { - addCriterion("OtherField2 in", values, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotIn(List values) { - addCriterion("OtherField2 not in", values, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2Between(String value1, String value2) { - addCriterion("OtherField2 between", value1, value2, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield2NotBetween(String value1, String value2) { - addCriterion("OtherField2 not between", value1, value2, "otherfield2"); - return (Criteria) this; - } - - public Criteria andOtherfield3IsNull() { - addCriterion("OtherField3 is null"); - return (Criteria) this; - } - - public Criteria andOtherfield3IsNotNull() { - addCriterion("OtherField3 is not null"); - return (Criteria) this; - } - - public Criteria andOtherfield3EqualTo(String value) { - addCriterion("OtherField3 =", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotEqualTo(String value) { - addCriterion("OtherField3 <>", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3GreaterThan(String value) { - addCriterion("OtherField3 >", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { - addCriterion("OtherField3 >=", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3LessThan(String value) { - addCriterion("OtherField3 <", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3LessThanOrEqualTo(String value) { - addCriterion("OtherField3 <=", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3Like(String value) { - addCriterion("OtherField3 like", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotLike(String value) { - addCriterion("OtherField3 not like", value, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3In(List values) { - addCriterion("OtherField3 in", values, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotIn(List values) { - addCriterion("OtherField3 not in", values, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3Between(String value1, String value2) { - addCriterion("OtherField3 between", value1, value2, "otherfield3"); - return (Criteria) this; - } - - public Criteria andOtherfield3NotBetween(String value1, String value2) { - addCriterion("OtherField3 not between", value1, value2, "otherfield3"); - return (Criteria) this; - } - public Criteria andEnableSerialNumberIsNull() { - addCriterion("enableSerialNumber is null"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberIsNotNull() { - addCriterion("enableSerialNumber is not null"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberEqualTo(String value) { - addCriterion("enableSerialNumber =", value, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberNotEqualTo(String value) { - addCriterion("enableSerialNumber <>", value, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberGreaterThan(String value) { - addCriterion("enableSerialNumber >", value, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberGreaterThanOrEqualTo(String value) { - addCriterion("enableSerialNumber >=", value, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberLessThan(String value) { - addCriterion("enableSerialNumber <", value, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberLessThanOrEqualTo(String value) { - addCriterion("enableSerialNumber <=", value, "enableSerialNumber"); - return (Criteria) this; - } - public Criteria andEnableSerialNumberLike(String value) { - addCriterion("enableSerialNumber like", value, "enableSerialNumber"); - return (Criteria) this; - } - public Criteria andEnableSerialNumberNotLike(String value) { - addCriterion("enableSerialNumber not like", value, "enableSerialNumber"); - return (Criteria) this; - } - public Criteria andEnableSerialNumberIn(List values) { - addCriterion("enableSerialNumber in", values, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberNotIn(List values) { - addCriterion("enableSerialNumber not in", values, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberBetween(String value1, String value2) { - addCriterion("enableSerialNumber between", value1, value2, "enableSerialNumber"); - return (Criteria) this; - } - - public Criteria andEnableSerialNumberNotBetween(String value1, String value2) { - addCriterion("enableSerialNumber not between", value1, value2, "enableSerialNumber"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_material - * - * @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_material - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class MaterialExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public MaterialExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @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_material + * + * @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_material + * + * @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_material + * + * @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_material + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andCategoryidIsNull() { + addCriterion("CategoryId is null"); + return (Criteria) this; + } + + public Criteria andCategoryidIsNotNull() { + addCriterion("CategoryId is not null"); + return (Criteria) this; + } + + public Criteria andCategoryidEqualTo(Long value) { + addCriterion("CategoryId =", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotEqualTo(Long value) { + addCriterion("CategoryId <>", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidGreaterThan(Long value) { + addCriterion("CategoryId >", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidGreaterThanOrEqualTo(Long value) { + addCriterion("CategoryId >=", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidLessThan(Long value) { + addCriterion("CategoryId <", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidLessThanOrEqualTo(Long value) { + addCriterion("CategoryId <=", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidIn(List values) { + addCriterion("CategoryId in", values, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotIn(List values) { + addCriterion("CategoryId not in", values, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidBetween(Long value1, Long value2) { + addCriterion("CategoryId between", value1, value2, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotBetween(Long value1, Long value2) { + addCriterion("CategoryId not between", value1, value2, "categoryid"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andMfrsIsNull() { + addCriterion("Mfrs is null"); + return (Criteria) this; + } + + public Criteria andMfrsIsNotNull() { + addCriterion("Mfrs is not null"); + return (Criteria) this; + } + + public Criteria andMfrsEqualTo(String value) { + addCriterion("Mfrs =", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotEqualTo(String value) { + addCriterion("Mfrs <>", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsGreaterThan(String value) { + addCriterion("Mfrs >", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsGreaterThanOrEqualTo(String value) { + addCriterion("Mfrs >=", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLessThan(String value) { + addCriterion("Mfrs <", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLessThanOrEqualTo(String value) { + addCriterion("Mfrs <=", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLike(String value) { + addCriterion("Mfrs like", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotLike(String value) { + addCriterion("Mfrs not like", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsIn(List values) { + addCriterion("Mfrs in", values, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotIn(List values) { + addCriterion("Mfrs not in", values, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsBetween(String value1, String value2) { + addCriterion("Mfrs between", value1, value2, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotBetween(String value1, String value2) { + addCriterion("Mfrs not between", value1, value2, "mfrs"); + return (Criteria) this; + } + + public Criteria andPackingIsNull() { + addCriterion("Packing is null"); + return (Criteria) this; + } + + public Criteria andPackingIsNotNull() { + addCriterion("Packing is not null"); + return (Criteria) this; + } + + public Criteria andPackingEqualTo(BigDecimal value) { + addCriterion("Packing =", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotEqualTo(BigDecimal value) { + addCriterion("Packing <>", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingGreaterThan(BigDecimal value) { + addCriterion("Packing >", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("Packing >=", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingLessThan(BigDecimal value) { + addCriterion("Packing <", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingLessThanOrEqualTo(BigDecimal value) { + addCriterion("Packing <=", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingIn(List values) { + addCriterion("Packing in", values, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotIn(List values) { + addCriterion("Packing not in", values, "packing"); + return (Criteria) this; + } + + public Criteria andPackingBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("Packing between", value1, value2, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("Packing not between", value1, value2, "packing"); + return (Criteria) this; + } + + public Criteria andSafetystockIsNull() { + addCriterion("SafetyStock is null"); + return (Criteria) this; + } + + public Criteria andSafetystockIsNotNull() { + addCriterion("SafetyStock is not null"); + return (Criteria) this; + } + + public Criteria andSafetystockEqualTo(BigDecimal value) { + addCriterion("SafetyStock =", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotEqualTo(BigDecimal value) { + addCriterion("SafetyStock <>", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockGreaterThan(BigDecimal value) { + addCriterion("SafetyStock >", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("SafetyStock >=", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockLessThan(BigDecimal value) { + addCriterion("SafetyStock <", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockLessThanOrEqualTo(BigDecimal value) { + addCriterion("SafetyStock <=", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockIn(List values) { + addCriterion("SafetyStock in", values, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotIn(List values) { + addCriterion("SafetyStock not in", values, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("SafetyStock between", value1, value2, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("SafetyStock not between", value1, value2, "safetystock"); + return (Criteria) this; + } + + public Criteria andModelIsNull() { + addCriterion("Model is null"); + return (Criteria) this; + } + + public Criteria andModelIsNotNull() { + addCriterion("Model is not null"); + return (Criteria) this; + } + + public Criteria andModelEqualTo(String value) { + addCriterion("Model =", value, "model"); + return (Criteria) this; + } + + public Criteria andModelNotEqualTo(String value) { + addCriterion("Model <>", value, "model"); + return (Criteria) this; + } + + public Criteria andModelGreaterThan(String value) { + addCriterion("Model >", value, "model"); + return (Criteria) this; + } + + public Criteria andModelGreaterThanOrEqualTo(String value) { + addCriterion("Model >=", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLessThan(String value) { + addCriterion("Model <", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLessThanOrEqualTo(String value) { + addCriterion("Model <=", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLike(String value) { + addCriterion("Model like", value, "model"); + return (Criteria) this; + } + + public Criteria andModelNotLike(String value) { + addCriterion("Model not like", value, "model"); + return (Criteria) this; + } + + public Criteria andModelIn(List values) { + addCriterion("Model in", values, "model"); + return (Criteria) this; + } + + public Criteria andModelNotIn(List values) { + addCriterion("Model not in", values, "model"); + return (Criteria) this; + } + + public Criteria andModelBetween(String value1, String value2) { + addCriterion("Model between", value1, value2, "model"); + return (Criteria) this; + } + + public Criteria andModelNotBetween(String value1, String value2) { + addCriterion("Model not between", value1, value2, "model"); + return (Criteria) this; + } + + public Criteria andStandardIsNull() { + addCriterion("Standard is null"); + return (Criteria) this; + } + + public Criteria andStandardIsNotNull() { + addCriterion("Standard is not null"); + return (Criteria) this; + } + + public Criteria andStandardEqualTo(String value) { + addCriterion("Standard =", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotEqualTo(String value) { + addCriterion("Standard <>", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardGreaterThan(String value) { + addCriterion("Standard >", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardGreaterThanOrEqualTo(String value) { + addCriterion("Standard >=", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLessThan(String value) { + addCriterion("Standard <", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLessThanOrEqualTo(String value) { + addCriterion("Standard <=", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLike(String value) { + addCriterion("Standard like", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotLike(String value) { + addCriterion("Standard not like", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardIn(List values) { + addCriterion("Standard in", values, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotIn(List values) { + addCriterion("Standard not in", values, "standard"); + return (Criteria) this; + } + + public Criteria andStandardBetween(String value1, String value2) { + addCriterion("Standard between", value1, value2, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotBetween(String value1, String value2) { + addCriterion("Standard not between", value1, value2, "standard"); + return (Criteria) this; + } + + public Criteria andColorIsNull() { + addCriterion("Color is null"); + return (Criteria) this; + } + + public Criteria andColorIsNotNull() { + addCriterion("Color is not null"); + return (Criteria) this; + } + + public Criteria andColorEqualTo(String value) { + addCriterion("Color =", value, "color"); + return (Criteria) this; + } + + public Criteria andColorNotEqualTo(String value) { + addCriterion("Color <>", value, "color"); + return (Criteria) this; + } + + public Criteria andColorGreaterThan(String value) { + addCriterion("Color >", value, "color"); + return (Criteria) this; + } + + public Criteria andColorGreaterThanOrEqualTo(String value) { + addCriterion("Color >=", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLessThan(String value) { + addCriterion("Color <", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLessThanOrEqualTo(String value) { + addCriterion("Color <=", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLike(String value) { + addCriterion("Color like", value, "color"); + return (Criteria) this; + } + + public Criteria andColorNotLike(String value) { + addCriterion("Color not like", value, "color"); + return (Criteria) this; + } + + public Criteria andColorIn(List values) { + addCriterion("Color in", values, "color"); + return (Criteria) this; + } + + public Criteria andColorNotIn(List values) { + addCriterion("Color not in", values, "color"); + return (Criteria) this; + } + + public Criteria andColorBetween(String value1, String value2) { + addCriterion("Color between", value1, value2, "color"); + return (Criteria) this; + } + + public Criteria andColorNotBetween(String value1, String value2) { + addCriterion("Color not between", value1, value2, "color"); + return (Criteria) this; + } + + public Criteria andUnitIsNull() { + addCriterion("Unit is null"); + return (Criteria) this; + } + + public Criteria andUnitIsNotNull() { + addCriterion("Unit is not null"); + return (Criteria) this; + } + + public Criteria andUnitEqualTo(String value) { + addCriterion("Unit =", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotEqualTo(String value) { + addCriterion("Unit <>", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThan(String value) { + addCriterion("Unit >", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThanOrEqualTo(String value) { + addCriterion("Unit >=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThan(String value) { + addCriterion("Unit <", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThanOrEqualTo(String value) { + addCriterion("Unit <=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLike(String value) { + addCriterion("Unit like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotLike(String value) { + addCriterion("Unit not like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitIn(List values) { + addCriterion("Unit in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotIn(List values) { + addCriterion("Unit not in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitBetween(String value1, String value2) { + addCriterion("Unit between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotBetween(String value1, String value2) { + addCriterion("Unit not between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRetailpriceIsNull() { + addCriterion("RetailPrice is null"); + return (Criteria) this; + } + + public Criteria andRetailpriceIsNotNull() { + addCriterion("RetailPrice is not null"); + return (Criteria) this; + } + + public Criteria andRetailpriceEqualTo(BigDecimal value) { + addCriterion("RetailPrice =", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotEqualTo(BigDecimal value) { + addCriterion("RetailPrice <>", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceGreaterThan(BigDecimal value) { + addCriterion("RetailPrice >", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("RetailPrice >=", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceLessThan(BigDecimal value) { + addCriterion("RetailPrice <", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("RetailPrice <=", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceIn(List values) { + addCriterion("RetailPrice in", values, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotIn(List values) { + addCriterion("RetailPrice not in", values, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("RetailPrice between", value1, value2, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("RetailPrice not between", value1, value2, "retailprice"); + return (Criteria) this; + } + + public Criteria andLowpriceIsNull() { + addCriterion("LowPrice is null"); + return (Criteria) this; + } + + public Criteria andLowpriceIsNotNull() { + addCriterion("LowPrice is not null"); + return (Criteria) this; + } + + public Criteria andLowpriceEqualTo(BigDecimal value) { + addCriterion("LowPrice =", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotEqualTo(BigDecimal value) { + addCriterion("LowPrice <>", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceGreaterThan(BigDecimal value) { + addCriterion("LowPrice >", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("LowPrice >=", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceLessThan(BigDecimal value) { + addCriterion("LowPrice <", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("LowPrice <=", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceIn(List values) { + addCriterion("LowPrice in", values, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotIn(List values) { + addCriterion("LowPrice not in", values, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("LowPrice between", value1, value2, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("LowPrice not between", value1, value2, "lowprice"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIsNull() { + addCriterion("PresetPriceOne is null"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIsNotNull() { + addCriterion("PresetPriceOne is not null"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneEqualTo(BigDecimal value) { + addCriterion("PresetPriceOne =", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotEqualTo(BigDecimal value) { + addCriterion("PresetPriceOne <>", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneGreaterThan(BigDecimal value) { + addCriterion("PresetPriceOne >", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("PresetPriceOne >=", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneLessThan(BigDecimal value) { + addCriterion("PresetPriceOne <", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneLessThanOrEqualTo(BigDecimal value) { + addCriterion("PresetPriceOne <=", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIn(List values) { + addCriterion("PresetPriceOne in", values, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotIn(List values) { + addCriterion("PresetPriceOne not in", values, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("PresetPriceOne between", value1, value2, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("PresetPriceOne not between", value1, value2, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIsNull() { + addCriterion("PresetPriceTwo is null"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIsNotNull() { + addCriterion("PresetPriceTwo is not null"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoEqualTo(BigDecimal value) { + addCriterion("PresetPriceTwo =", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotEqualTo(BigDecimal value) { + addCriterion("PresetPriceTwo <>", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoGreaterThan(BigDecimal value) { + addCriterion("PresetPriceTwo >", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("PresetPriceTwo >=", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoLessThan(BigDecimal value) { + addCriterion("PresetPriceTwo <", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoLessThanOrEqualTo(BigDecimal value) { + addCriterion("PresetPriceTwo <=", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIn(List values) { + addCriterion("PresetPriceTwo in", values, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotIn(List values) { + addCriterion("PresetPriceTwo not in", values, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("PresetPriceTwo between", value1, value2, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("PresetPriceTwo not between", value1, value2, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andUnitidIsNull() { + addCriterion("UnitId is null"); + return (Criteria) this; + } + + public Criteria andUnitidIsNotNull() { + addCriterion("UnitId is not null"); + return (Criteria) this; + } + + public Criteria andUnitidEqualTo(Long value) { + addCriterion("UnitId =", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotEqualTo(Long value) { + addCriterion("UnitId <>", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidGreaterThan(Long value) { + addCriterion("UnitId >", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidGreaterThanOrEqualTo(Long value) { + addCriterion("UnitId >=", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidLessThan(Long value) { + addCriterion("UnitId <", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidLessThanOrEqualTo(Long value) { + addCriterion("UnitId <=", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidIn(List values) { + addCriterion("UnitId in", values, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotIn(List values) { + addCriterion("UnitId not in", values, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidBetween(Long value1, Long value2) { + addCriterion("UnitId between", value1, value2, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotBetween(Long value1, Long value2) { + addCriterion("UnitId not between", value1, value2, "unitid"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIsNull() { + addCriterion("FirstOutUnit is null"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIsNotNull() { + addCriterion("FirstOutUnit is not null"); + return (Criteria) this; + } + + public Criteria andFirstoutunitEqualTo(String value) { + addCriterion("FirstOutUnit =", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotEqualTo(String value) { + addCriterion("FirstOutUnit <>", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitGreaterThan(String value) { + addCriterion("FirstOutUnit >", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitGreaterThanOrEqualTo(String value) { + addCriterion("FirstOutUnit >=", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLessThan(String value) { + addCriterion("FirstOutUnit <", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLessThanOrEqualTo(String value) { + addCriterion("FirstOutUnit <=", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLike(String value) { + addCriterion("FirstOutUnit like", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotLike(String value) { + addCriterion("FirstOutUnit not like", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIn(List values) { + addCriterion("FirstOutUnit in", values, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotIn(List values) { + addCriterion("FirstOutUnit not in", values, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitBetween(String value1, String value2) { + addCriterion("FirstOutUnit between", value1, value2, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotBetween(String value1, String value2) { + addCriterion("FirstOutUnit not between", value1, value2, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitIsNull() { + addCriterion("FirstInUnit is null"); + return (Criteria) this; + } + + public Criteria andFirstinunitIsNotNull() { + addCriterion("FirstInUnit is not null"); + return (Criteria) this; + } + + public Criteria andFirstinunitEqualTo(String value) { + addCriterion("FirstInUnit =", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotEqualTo(String value) { + addCriterion("FirstInUnit <>", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitGreaterThan(String value) { + addCriterion("FirstInUnit >", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitGreaterThanOrEqualTo(String value) { + addCriterion("FirstInUnit >=", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLessThan(String value) { + addCriterion("FirstInUnit <", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLessThanOrEqualTo(String value) { + addCriterion("FirstInUnit <=", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLike(String value) { + addCriterion("FirstInUnit like", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotLike(String value) { + addCriterion("FirstInUnit not like", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitIn(List values) { + addCriterion("FirstInUnit in", values, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotIn(List values) { + addCriterion("FirstInUnit not in", values, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitBetween(String value1, String value2) { + addCriterion("FirstInUnit between", value1, value2, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotBetween(String value1, String value2) { + addCriterion("FirstInUnit not between", value1, value2, "firstinunit"); + return (Criteria) this; + } + + public Criteria andPricestrategyIsNull() { + addCriterion("PriceStrategy is null"); + return (Criteria) this; + } + + public Criteria andPricestrategyIsNotNull() { + addCriterion("PriceStrategy is not null"); + return (Criteria) this; + } + + public Criteria andPricestrategyEqualTo(String value) { + addCriterion("PriceStrategy =", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotEqualTo(String value) { + addCriterion("PriceStrategy <>", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyGreaterThan(String value) { + addCriterion("PriceStrategy >", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyGreaterThanOrEqualTo(String value) { + addCriterion("PriceStrategy >=", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLessThan(String value) { + addCriterion("PriceStrategy <", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLessThanOrEqualTo(String value) { + addCriterion("PriceStrategy <=", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLike(String value) { + addCriterion("PriceStrategy like", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotLike(String value) { + addCriterion("PriceStrategy not like", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyIn(List values) { + addCriterion("PriceStrategy in", values, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotIn(List values) { + addCriterion("PriceStrategy not in", values, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyBetween(String value1, String value2) { + addCriterion("PriceStrategy between", value1, value2, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotBetween(String value1, String value2) { + addCriterion("PriceStrategy not between", value1, value2, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("Enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("Enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("Enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("Enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("Enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("Enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("Enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("Enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("Enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("Enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNull() { + addCriterion("OtherField1 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNotNull() { + addCriterion("OtherField1 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield1EqualTo(String value) { + addCriterion("OtherField1 =", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotEqualTo(String value) { + addCriterion("OtherField1 <>", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThan(String value) { + addCriterion("OtherField1 >", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { + addCriterion("OtherField1 >=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThan(String value) { + addCriterion("OtherField1 <", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThanOrEqualTo(String value) { + addCriterion("OtherField1 <=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Like(String value) { + addCriterion("OtherField1 like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotLike(String value) { + addCriterion("OtherField1 not like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1In(List values) { + addCriterion("OtherField1 in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotIn(List values) { + addCriterion("OtherField1 not in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Between(String value1, String value2) { + addCriterion("OtherField1 between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotBetween(String value1, String value2) { + addCriterion("OtherField1 not between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNull() { + addCriterion("OtherField2 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNotNull() { + addCriterion("OtherField2 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield2EqualTo(String value) { + addCriterion("OtherField2 =", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotEqualTo(String value) { + addCriterion("OtherField2 <>", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThan(String value) { + addCriterion("OtherField2 >", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { + addCriterion("OtherField2 >=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThan(String value) { + addCriterion("OtherField2 <", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThanOrEqualTo(String value) { + addCriterion("OtherField2 <=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Like(String value) { + addCriterion("OtherField2 like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotLike(String value) { + addCriterion("OtherField2 not like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2In(List values) { + addCriterion("OtherField2 in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotIn(List values) { + addCriterion("OtherField2 not in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Between(String value1, String value2) { + addCriterion("OtherField2 between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotBetween(String value1, String value2) { + addCriterion("OtherField2 not between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNull() { + addCriterion("OtherField3 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNotNull() { + addCriterion("OtherField3 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield3EqualTo(String value) { + addCriterion("OtherField3 =", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotEqualTo(String value) { + addCriterion("OtherField3 <>", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThan(String value) { + addCriterion("OtherField3 >", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { + addCriterion("OtherField3 >=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThan(String value) { + addCriterion("OtherField3 <", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThanOrEqualTo(String value) { + addCriterion("OtherField3 <=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Like(String value) { + addCriterion("OtherField3 like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotLike(String value) { + addCriterion("OtherField3 not like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3In(List values) { + addCriterion("OtherField3 in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotIn(List values) { + addCriterion("OtherField3 not in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Between(String value1, String value2) { + addCriterion("OtherField3 between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotBetween(String value1, String value2) { + addCriterion("OtherField3 not between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberIsNull() { + addCriterion("enableSerialNumber is null"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberIsNotNull() { + addCriterion("enableSerialNumber is not null"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberEqualTo(String value) { + addCriterion("enableSerialNumber =", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberNotEqualTo(String value) { + addCriterion("enableSerialNumber <>", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberGreaterThan(String value) { + addCriterion("enableSerialNumber >", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberGreaterThanOrEqualTo(String value) { + addCriterion("enableSerialNumber >=", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberLessThan(String value) { + addCriterion("enableSerialNumber <", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberLessThanOrEqualTo(String value) { + addCriterion("enableSerialNumber <=", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberLike(String value) { + addCriterion("enableSerialNumber like", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberNotLike(String value) { + addCriterion("enableSerialNumber not like", value, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberIn(List values) { + addCriterion("enableSerialNumber in", values, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberNotIn(List values) { + addCriterion("enableSerialNumber not in", values, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberBetween(String value1, String value2) { + addCriterion("enableSerialNumber between", value1, value2, "enableserialnumber"); + return (Criteria) this; + } + + public Criteria andEnableserialnumberNotBetween(String value1, String value2) { + addCriterion("enableSerialNumber not between", value1, value2, "enableserialnumber"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_material + * + * @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_material + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java index 47101015..a22afb39 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java @@ -2,248 +2,13 @@ package com.jsh.erp.datasource.entities; import java.math.BigDecimal; -public class MaterialVo4Unit { - - private Long id; - - private Long categoryid; - - private String name; - - private String mfrs; - - private BigDecimal packing; - - private BigDecimal safetystock; - - private String model; - - private String standard; - - private String color; - - private String unit; - - private String remark; - - private BigDecimal retailprice; - - private BigDecimal lowprice; - - private BigDecimal presetpriceone; - - private BigDecimal presetpricetwo; - - private Long unitid; - - private String firstoutunit; - - private String firstinunit; - - private String pricestrategy; - - private Boolean enabled; - - private String otherfield1; - - private String otherfield2; - - private String otherfield3; +public class MaterialVo4Unit extends Material{ private String unitName; private String categoryName; private String materialOther; - /** - * 2019-01-21新增字段enableSerialNumber - *是否开启序列号 - * */ - private String enableSerialNumber; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getCategoryid() { - return categoryid; - } - - public void setCategoryid(Long categoryid) { - this.categoryid = categoryid; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getMfrs() { - return mfrs; - } - - public void setMfrs(String mfrs) { - this.mfrs = mfrs; - } - - public BigDecimal getPacking() { - return packing; - } - - public void setPacking(BigDecimal packing) { - this.packing = packing; - } - - public BigDecimal getSafetystock() { - return safetystock; - } - - public void setSafetystock(BigDecimal safetystock) { - this.safetystock = safetystock; - } - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model; - } - - public String getStandard() { - return standard; - } - - public void setStandard(String standard) { - this.standard = standard; - } - - public String getColor() { - return color; - } - - public void setColor(String color) { - this.color = color; - } - - public String getUnit() { - return unit; - } - - public void setUnit(String unit) { - this.unit = unit; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public BigDecimal getRetailprice() { - return retailprice; - } - - public void setRetailprice(BigDecimal retailprice) { - this.retailprice = retailprice; - } - - public BigDecimal getLowprice() { - return lowprice; - } - - public void setLowprice(BigDecimal lowprice) { - this.lowprice = lowprice; - } - - public BigDecimal getPresetpriceone() { - return presetpriceone; - } - - public void setPresetpriceone(BigDecimal presetpriceone) { - this.presetpriceone = presetpriceone; - } - - public BigDecimal getPresetpricetwo() { - return presetpricetwo; - } - - public void setPresetpricetwo(BigDecimal presetpricetwo) { - this.presetpricetwo = presetpricetwo; - } - - public Long getUnitid() { - return unitid; - } - - public void setUnitid(Long unitid) { - this.unitid = unitid; - } - - public String getFirstoutunit() { - return firstoutunit; - } - - public void setFirstoutunit(String firstoutunit) { - this.firstoutunit = firstoutunit; - } - - public String getFirstinunit() { - return firstinunit; - } - - public void setFirstinunit(String firstinunit) { - this.firstinunit = firstinunit; - } - - public String getPricestrategy() { - return pricestrategy; - } - - public void setPricestrategy(String pricestrategy) { - this.pricestrategy = pricestrategy; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getOtherfield1() { - return otherfield1; - } - - public void setOtherfield1(String otherfield1) { - this.otherfield1 = otherfield1; - } - - public String getOtherfield2() { - return otherfield2; - } - - public void setOtherfield2(String otherfield2) { - this.otherfield2 = otherfield2; - } - - public String getOtherfield3() { - return otherfield3; - } - - public void setOtherfield3(String otherfield3) { - this.otherfield3 = otherfield3; - } public String getUnitName() { return unitName; @@ -268,12 +33,4 @@ public class MaterialVo4Unit { public void setMaterialOther(String materialOther) { this.materialOther = materialOther; } - - public String getEnableSerialNumber() { - return enableSerialNumber; - } - - public void setEnableSerialNumber(String enableSerialNumber) { - this.enableSerialNumber = enableSerialNumber; - } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRel.java b/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRel.java index ad41ea9f..99705199 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRel.java +++ b/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRel.java @@ -1,293 +1,325 @@ -package com.jsh.erp.datasource.entities; - -import java.util.Date; - -public class OrgaUserRel { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.orga_id - * - * @mbggenerated - */ - private Long orgaId; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.user_id - * - * @mbggenerated - */ - private Long userId; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.user_blng_orga_dspl_seq - * - * @mbggenerated - */ - private String userBlngOrgaDsplSeq; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.delete_flag - * - * @mbggenerated - */ - private String deleteFlag; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.create_time - * - * @mbggenerated - */ - private Date createTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.creator - * - * @mbggenerated - */ - private Long creator; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.update_time - * - * @mbggenerated - */ - private Date updateTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_orga_user_rel.updater - * - * @mbggenerated - */ - private Long updater; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_orga_user_rel.id - * - * @return the value of jsh_orga_user_rel.id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.id - * - * @param id the value for jsh_orga_user_rel.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_orga_user_rel.orga_id - * - * @return the value of jsh_orga_user_rel.orga_id - * - * @mbggenerated - */ - public Long getOrgaId() { - return orgaId; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.orga_id - * - * @param orgaId the value for jsh_orga_user_rel.orga_id - * - * @mbggenerated - */ - public void setOrgaId(Long orgaId) { - this.orgaId = orgaId; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_orga_user_rel.user_id - * - * @return the value of jsh_orga_user_rel.user_id - * - * @mbggenerated - */ - public Long getUserId() { - return userId; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.user_id - * - * @param userId the value for jsh_orga_user_rel.user_id - * - * @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_orga_user_rel.user_blng_orga_dspl_seq - * - * @return the value of jsh_orga_user_rel.user_blng_orga_dspl_seq - * - * @mbggenerated - */ - public String getUserBlngOrgaDsplSeq() { - return userBlngOrgaDsplSeq; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.user_blng_orga_dspl_seq - * - * @param userBlngOrgaDsplSeq the value for jsh_orga_user_rel.user_blng_orga_dspl_seq - * - * @mbggenerated - */ - public void setUserBlngOrgaDsplSeq(String userBlngOrgaDsplSeq) { - this.userBlngOrgaDsplSeq = userBlngOrgaDsplSeq == null ? null : userBlngOrgaDsplSeq.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_orga_user_rel.delete_flag - * - * @return the value of jsh_orga_user_rel.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_orga_user_rel.delete_flag - * - * @param deleteFlag the value for jsh_orga_user_rel.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_orga_user_rel.create_time - * - * @return the value of jsh_orga_user_rel.create_time - * - * @mbggenerated - */ - public Date getCreateTime() { - return createTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.create_time - * - * @param createTime the value for jsh_orga_user_rel.create_time - * - * @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_orga_user_rel.creator - * - * @return the value of jsh_orga_user_rel.creator - * - * @mbggenerated - */ - public Long getCreator() { - return creator; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.creator - * - * @param creator the value for jsh_orga_user_rel.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_orga_user_rel.update_time - * - * @return the value of jsh_orga_user_rel.update_time - * - * @mbggenerated - */ - public Date getUpdateTime() { - return updateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.update_time - * - * @param updateTime the value for jsh_orga_user_rel.update_time - * - * @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_orga_user_rel.updater - * - * @return the value of jsh_orga_user_rel.updater - * - * @mbggenerated - */ - public Long getUpdater() { - return updater; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_orga_user_rel.updater - * - * @param updater the value for jsh_orga_user_rel.updater - * - * @mbggenerated - */ - public void setUpdater(Long updater) { - this.updater = updater; - } +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class OrgaUserRel { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.orga_id + * + * @mbggenerated + */ + private Long orgaId; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.user_id + * + * @mbggenerated + */ + private Long userId; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.user_blng_orga_dspl_seq + * + * @mbggenerated + */ + private String userBlngOrgaDsplSeq; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.delete_flag + * + * @mbggenerated + */ + private String deleteFlag; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.create_time + * + * @mbggenerated + */ + private Date createTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.creator + * + * @mbggenerated + */ + private Long creator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.update_time + * + * @mbggenerated + */ + private Date updateTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.updater + * + * @mbggenerated + */ + private Long updater; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_orga_user_rel.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_orga_user_rel.id + * + * @return the value of jsh_orga_user_rel.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.id + * + * @param id the value for jsh_orga_user_rel.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_orga_user_rel.orga_id + * + * @return the value of jsh_orga_user_rel.orga_id + * + * @mbggenerated + */ + public Long getOrgaId() { + return orgaId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.orga_id + * + * @param orgaId the value for jsh_orga_user_rel.orga_id + * + * @mbggenerated + */ + public void setOrgaId(Long orgaId) { + this.orgaId = orgaId; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_orga_user_rel.user_id + * + * @return the value of jsh_orga_user_rel.user_id + * + * @mbggenerated + */ + public Long getUserId() { + return userId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.user_id + * + * @param userId the value for jsh_orga_user_rel.user_id + * + * @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_orga_user_rel.user_blng_orga_dspl_seq + * + * @return the value of jsh_orga_user_rel.user_blng_orga_dspl_seq + * + * @mbggenerated + */ + public String getUserBlngOrgaDsplSeq() { + return userBlngOrgaDsplSeq; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.user_blng_orga_dspl_seq + * + * @param userBlngOrgaDsplSeq the value for jsh_orga_user_rel.user_blng_orga_dspl_seq + * + * @mbggenerated + */ + public void setUserBlngOrgaDsplSeq(String userBlngOrgaDsplSeq) { + this.userBlngOrgaDsplSeq = userBlngOrgaDsplSeq == null ? null : userBlngOrgaDsplSeq.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_orga_user_rel.delete_flag + * + * @return the value of jsh_orga_user_rel.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_orga_user_rel.delete_flag + * + * @param deleteFlag the value for jsh_orga_user_rel.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_orga_user_rel.create_time + * + * @return the value of jsh_orga_user_rel.create_time + * + * @mbggenerated + */ + public Date getCreateTime() { + return createTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.create_time + * + * @param createTime the value for jsh_orga_user_rel.create_time + * + * @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_orga_user_rel.creator + * + * @return the value of jsh_orga_user_rel.creator + * + * @mbggenerated + */ + public Long getCreator() { + return creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.creator + * + * @param creator the value for jsh_orga_user_rel.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_orga_user_rel.update_time + * + * @return the value of jsh_orga_user_rel.update_time + * + * @mbggenerated + */ + public Date getUpdateTime() { + return updateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.update_time + * + * @param updateTime the value for jsh_orga_user_rel.update_time + * + * @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_orga_user_rel.updater + * + * @return the value of jsh_orga_user_rel.updater + * + * @mbggenerated + */ + public Long getUpdater() { + return updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_orga_user_rel.updater + * + * @param updater the value for jsh_orga_user_rel.updater + * + * @mbggenerated + */ + public void setUpdater(Long updater) { + this.updater = updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_orga_user_rel.tenant_id + * + * @return the value of jsh_orga_user_rel.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_orga_user_rel.tenant_id + * + * @param tenantId the value for jsh_orga_user_rel.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRelExample.java b/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRelExample.java index 3d8bdbf7..72e39e38 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRelExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/OrgaUserRelExample.java @@ -1,863 +1,923 @@ -package com.jsh.erp.datasource.entities; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OrgaUserRelExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public OrgaUserRelExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @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_orga_user_rel - * - * @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_orga_user_rel - * - * @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_orga_user_rel - * - * @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_orga_user_rel - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andOrgaIdIsNull() { - addCriterion("orga_id is null"); - return (Criteria) this; - } - - public Criteria andOrgaIdIsNotNull() { - addCriterion("orga_id is not null"); - return (Criteria) this; - } - - public Criteria andOrgaIdEqualTo(Long value) { - addCriterion("orga_id =", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdNotEqualTo(Long value) { - addCriterion("orga_id <>", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdGreaterThan(Long value) { - addCriterion("orga_id >", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdGreaterThanOrEqualTo(Long value) { - addCriterion("orga_id >=", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdLessThan(Long value) { - addCriterion("orga_id <", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdLessThanOrEqualTo(Long value) { - addCriterion("orga_id <=", value, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdIn(List values) { - addCriterion("orga_id in", values, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdNotIn(List values) { - addCriterion("orga_id not in", values, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdBetween(Long value1, Long value2) { - addCriterion("orga_id between", value1, value2, "orgaId"); - return (Criteria) this; - } - - public Criteria andOrgaIdNotBetween(Long value1, Long value2) { - addCriterion("orga_id not between", value1, value2, "orgaId"); - return (Criteria) this; - } - - public Criteria andUserIdIsNull() { - addCriterion("user_id is null"); - return (Criteria) this; - } - - public Criteria andUserIdIsNotNull() { - addCriterion("user_id is not null"); - return (Criteria) this; - } - - public Criteria andUserIdEqualTo(Long value) { - addCriterion("user_id =", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdNotEqualTo(Long value) { - addCriterion("user_id <>", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdGreaterThan(Long value) { - addCriterion("user_id >", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdGreaterThanOrEqualTo(Long value) { - addCriterion("user_id >=", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdLessThan(Long value) { - addCriterion("user_id <", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdLessThanOrEqualTo(Long value) { - addCriterion("user_id <=", value, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdIn(List values) { - addCriterion("user_id in", values, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdNotIn(List values) { - addCriterion("user_id not in", values, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdBetween(Long value1, Long value2) { - addCriterion("user_id between", value1, value2, "userId"); - return (Criteria) this; - } - - public Criteria andUserIdNotBetween(Long value1, Long value2) { - addCriterion("user_id not between", value1, value2, "userId"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqIsNull() { - addCriterion("user_blng_orga_dspl_seq is null"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqIsNotNull() { - addCriterion("user_blng_orga_dspl_seq is not null"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqEqualTo(String value) { - addCriterion("user_blng_orga_dspl_seq =", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqNotEqualTo(String value) { - addCriterion("user_blng_orga_dspl_seq <>", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqGreaterThan(String value) { - addCriterion("user_blng_orga_dspl_seq >", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqGreaterThanOrEqualTo(String value) { - addCriterion("user_blng_orga_dspl_seq >=", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqLessThan(String value) { - addCriterion("user_blng_orga_dspl_seq <", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqLessThanOrEqualTo(String value) { - addCriterion("user_blng_orga_dspl_seq <=", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqLike(String value) { - addCriterion("user_blng_orga_dspl_seq like", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqNotLike(String value) { - addCriterion("user_blng_orga_dspl_seq not like", value, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqIn(List values) { - addCriterion("user_blng_orga_dspl_seq in", values, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqNotIn(List values) { - addCriterion("user_blng_orga_dspl_seq not in", values, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqBetween(String value1, String value2) { - addCriterion("user_blng_orga_dspl_seq between", value1, value2, "userBlngOrgaDsplSeq"); - return (Criteria) this; - } - - public Criteria andUserBlngOrgaDsplSeqNotBetween(String value1, String value2) { - addCriterion("user_blng_orga_dspl_seq not between", value1, value2, "userBlngOrgaDsplSeq"); - 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 values) { - addCriterion("delete_flag in", values, "deleteFlag"); - return (Criteria) this; - } - - public Criteria andDeleteFlagNotIn(List 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; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreatorIsNull() { - addCriterion("creator is null"); - return (Criteria) this; - } - - public Criteria andCreatorIsNotNull() { - addCriterion("creator is not null"); - return (Criteria) this; - } - - public Criteria andCreatorEqualTo(Long value) { - addCriterion("creator =", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotEqualTo(Long value) { - addCriterion("creator <>", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThan(Long value) { - addCriterion("creator >", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThanOrEqualTo(Long value) { - addCriterion("creator >=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThan(Long value) { - addCriterion("creator <", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThanOrEqualTo(Long value) { - addCriterion("creator <=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorIn(List values) { - addCriterion("creator in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotIn(List values) { - addCriterion("creator not in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorBetween(Long value1, Long value2) { - addCriterion("creator between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotBetween(Long value1, Long value2) { - addCriterion("creator not between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNull() { - addCriterion("update_time is null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNotNull() { - addCriterion("update_time is not null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeEqualTo(Date value) { - addCriterion("update_time =", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotEqualTo(Date value) { - addCriterion("update_time <>", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThan(Date value) { - addCriterion("update_time >", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("update_time >=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThan(Date value) { - addCriterion("update_time <", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { - addCriterion("update_time <=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIn(List values) { - addCriterion("update_time in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotIn(List values) { - addCriterion("update_time not in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeBetween(Date value1, Date value2) { - addCriterion("update_time between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { - addCriterion("update_time not between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNull() { - addCriterion("updater is null"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNotNull() { - addCriterion("updater is not null"); - return (Criteria) this; - } - - public Criteria andUpdaterEqualTo(Long value) { - addCriterion("updater =", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotEqualTo(Long value) { - addCriterion("updater <>", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThan(Long value) { - addCriterion("updater >", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { - addCriterion("updater >=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThan(Long value) { - addCriterion("updater <", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThanOrEqualTo(Long value) { - addCriterion("updater <=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterIn(List values) { - addCriterion("updater in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotIn(List values) { - addCriterion("updater not in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterBetween(Long value1, Long value2) { - addCriterion("updater between", value1, value2, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotBetween(Long value1, Long value2) { - addCriterion("updater not between", value1, value2, "updater"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_orga_user_rel - * - * @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_orga_user_rel - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OrgaUserRelExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public OrgaUserRelExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @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_orga_user_rel + * + * @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_orga_user_rel + * + * @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_orga_user_rel + * + * @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_orga_user_rel + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andOrgaIdIsNull() { + addCriterion("orga_id is null"); + return (Criteria) this; + } + + public Criteria andOrgaIdIsNotNull() { + addCriterion("orga_id is not null"); + return (Criteria) this; + } + + public Criteria andOrgaIdEqualTo(Long value) { + addCriterion("orga_id =", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdNotEqualTo(Long value) { + addCriterion("orga_id <>", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdGreaterThan(Long value) { + addCriterion("orga_id >", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdGreaterThanOrEqualTo(Long value) { + addCriterion("orga_id >=", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdLessThan(Long value) { + addCriterion("orga_id <", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdLessThanOrEqualTo(Long value) { + addCriterion("orga_id <=", value, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdIn(List values) { + addCriterion("orga_id in", values, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdNotIn(List values) { + addCriterion("orga_id not in", values, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdBetween(Long value1, Long value2) { + addCriterion("orga_id between", value1, value2, "orgaId"); + return (Criteria) this; + } + + public Criteria andOrgaIdNotBetween(Long value1, Long value2) { + addCriterion("orga_id not between", value1, value2, "orgaId"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqIsNull() { + addCriterion("user_blng_orga_dspl_seq is null"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqIsNotNull() { + addCriterion("user_blng_orga_dspl_seq is not null"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqEqualTo(String value) { + addCriterion("user_blng_orga_dspl_seq =", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqNotEqualTo(String value) { + addCriterion("user_blng_orga_dspl_seq <>", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqGreaterThan(String value) { + addCriterion("user_blng_orga_dspl_seq >", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqGreaterThanOrEqualTo(String value) { + addCriterion("user_blng_orga_dspl_seq >=", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqLessThan(String value) { + addCriterion("user_blng_orga_dspl_seq <", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqLessThanOrEqualTo(String value) { + addCriterion("user_blng_orga_dspl_seq <=", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqLike(String value) { + addCriterion("user_blng_orga_dspl_seq like", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqNotLike(String value) { + addCriterion("user_blng_orga_dspl_seq not like", value, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqIn(List values) { + addCriterion("user_blng_orga_dspl_seq in", values, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqNotIn(List values) { + addCriterion("user_blng_orga_dspl_seq not in", values, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqBetween(String value1, String value2) { + addCriterion("user_blng_orga_dspl_seq between", value1, value2, "userBlngOrgaDsplSeq"); + return (Criteria) this; + } + + public Criteria andUserBlngOrgaDsplSeqNotBetween(String value1, String value2) { + addCriterion("user_blng_orga_dspl_seq not between", value1, value2, "userBlngOrgaDsplSeq"); + 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 values) { + addCriterion("delete_flag in", values, "deleteFlag"); + return (Criteria) this; + } + + public Criteria andDeleteFlagNotIn(List 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; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNull() { + addCriterion("updater is null"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNotNull() { + addCriterion("updater is not null"); + return (Criteria) this; + } + + public Criteria andUpdaterEqualTo(Long value) { + addCriterion("updater =", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotEqualTo(Long value) { + addCriterion("updater <>", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThan(Long value) { + addCriterion("updater >", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { + addCriterion("updater >=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThan(Long value) { + addCriterion("updater <", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThanOrEqualTo(Long value) { + addCriterion("updater <=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterIn(List values) { + addCriterion("updater in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotIn(List values) { + addCriterion("updater not in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterBetween(Long value1, Long value2) { + addCriterion("updater between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotBetween(Long value1, Long value2) { + addCriterion("updater not between", value1, value2, "updater"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_orga_user_rel + * + * @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_orga_user_rel + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Organization.java b/src/main/java/com/jsh/erp/datasource/entities/Organization.java index 9ac9156a..a0f6fb0b 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Organization.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Organization.java @@ -1,485 +1,517 @@ -package com.jsh.erp.datasource.entities; - -import java.util.Date; - -public class Organization { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_no - * - * @mbggenerated - */ - private String orgNo; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_full_name - * - * @mbggenerated - */ - private String orgFullName; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_abr - * - * @mbggenerated - */ - private String orgAbr; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_tpcd - * - * @mbggenerated - */ - private String orgTpcd; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_stcd - * - * @mbggenerated - */ - private String orgStcd; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_parent_no - * - * @mbggenerated - */ - private String orgParentNo; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.sort - * - * @mbggenerated - */ - private String sort; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.create_time - * - * @mbggenerated - */ - private Date createTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.creator - * - * @mbggenerated - */ - private Long creator; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.update_time - * - * @mbggenerated - */ - private Date updateTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.updater - * - * @mbggenerated - */ - private Long updater; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_create_time - * - * @mbggenerated - */ - private Date orgCreateTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_organization.org_stop_time - * - * @mbggenerated - */ - private Date orgStopTime; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.id - * - * @return the value of jsh_organization.id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.id - * - * @param id the value for jsh_organization.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_organization.org_no - * - * @return the value of jsh_organization.org_no - * - * @mbggenerated - */ - public String getOrgNo() { - return orgNo; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_no - * - * @param orgNo the value for jsh_organization.org_no - * - * @mbggenerated - */ - public void setOrgNo(String orgNo) { - this.orgNo = orgNo == null ? null : orgNo.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_full_name - * - * @return the value of jsh_organization.org_full_name - * - * @mbggenerated - */ - public String getOrgFullName() { - return orgFullName; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_full_name - * - * @param orgFullName the value for jsh_organization.org_full_name - * - * @mbggenerated - */ - public void setOrgFullName(String orgFullName) { - this.orgFullName = orgFullName == null ? null : orgFullName.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_abr - * - * @return the value of jsh_organization.org_abr - * - * @mbggenerated - */ - public String getOrgAbr() { - return orgAbr; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_abr - * - * @param orgAbr the value for jsh_organization.org_abr - * - * @mbggenerated - */ - public void setOrgAbr(String orgAbr) { - this.orgAbr = orgAbr == null ? null : orgAbr.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_tpcd - * - * @return the value of jsh_organization.org_tpcd - * - * @mbggenerated - */ - public String getOrgTpcd() { - return orgTpcd; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_tpcd - * - * @param orgTpcd the value for jsh_organization.org_tpcd - * - * @mbggenerated - */ - public void setOrgTpcd(String orgTpcd) { - this.orgTpcd = orgTpcd == null ? null : orgTpcd.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_stcd - * - * @return the value of jsh_organization.org_stcd - * - * @mbggenerated - */ - public String getOrgStcd() { - return orgStcd; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_stcd - * - * @param orgStcd the value for jsh_organization.org_stcd - * - * @mbggenerated - */ - public void setOrgStcd(String orgStcd) { - this.orgStcd = orgStcd == null ? null : orgStcd.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_parent_no - * - * @return the value of jsh_organization.org_parent_no - * - * @mbggenerated - */ - public String getOrgParentNo() { - return orgParentNo; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_parent_no - * - * @param orgParentNo the value for jsh_organization.org_parent_no - * - * @mbggenerated - */ - public void setOrgParentNo(String orgParentNo) { - this.orgParentNo = orgParentNo == null ? null : orgParentNo.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.sort - * - * @return the value of jsh_organization.sort - * - * @mbggenerated - */ - public String getSort() { - return sort; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.sort - * - * @param sort the value for jsh_organization.sort - * - * @mbggenerated - */ - public void setSort(String sort) { - this.sort = sort == null ? null : sort.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.remark - * - * @return the value of jsh_organization.remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.remark - * - * @param remark the value for jsh_organization.remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.create_time - * - * @return the value of jsh_organization.create_time - * - * @mbggenerated - */ - public Date getCreateTime() { - return createTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.create_time - * - * @param createTime the value for jsh_organization.create_time - * - * @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_organization.creator - * - * @return the value of jsh_organization.creator - * - * @mbggenerated - */ - public Long getCreator() { - return creator; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.creator - * - * @param creator the value for jsh_organization.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_organization.update_time - * - * @return the value of jsh_organization.update_time - * - * @mbggenerated - */ - public Date getUpdateTime() { - return updateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.update_time - * - * @param updateTime the value for jsh_organization.update_time - * - * @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_organization.updater - * - * @return the value of jsh_organization.updater - * - * @mbggenerated - */ - public Long getUpdater() { - return updater; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.updater - * - * @param updater the value for jsh_organization.updater - * - * @mbggenerated - */ - public void setUpdater(Long updater) { - this.updater = updater; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_create_time - * - * @return the value of jsh_organization.org_create_time - * - * @mbggenerated - */ - public Date getOrgCreateTime() { - return orgCreateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_create_time - * - * @param orgCreateTime the value for jsh_organization.org_create_time - * - * @mbggenerated - */ - public void setOrgCreateTime(Date orgCreateTime) { - this.orgCreateTime = orgCreateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_organization.org_stop_time - * - * @return the value of jsh_organization.org_stop_time - * - * @mbggenerated - */ - public Date getOrgStopTime() { - return orgStopTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_organization.org_stop_time - * - * @param orgStopTime the value for jsh_organization.org_stop_time - * - * @mbggenerated - */ - public void setOrgStopTime(Date orgStopTime) { - this.orgStopTime = orgStopTime; - } +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class Organization { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_no + * + * @mbggenerated + */ + private String orgNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_full_name + * + * @mbggenerated + */ + private String orgFullName; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_abr + * + * @mbggenerated + */ + private String orgAbr; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_tpcd + * + * @mbggenerated + */ + private String orgTpcd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_stcd + * + * @mbggenerated + */ + private String orgStcd; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_parent_no + * + * @mbggenerated + */ + private String orgParentNo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.create_time + * + * @mbggenerated + */ + private Date createTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.creator + * + * @mbggenerated + */ + private Long creator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.update_time + * + * @mbggenerated + */ + private Date updateTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.updater + * + * @mbggenerated + */ + private Long updater; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_create_time + * + * @mbggenerated + */ + private Date orgCreateTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.org_stop_time + * + * @mbggenerated + */ + private Date orgStopTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_organization.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.id + * + * @return the value of jsh_organization.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.id + * + * @param id the value for jsh_organization.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_organization.org_no + * + * @return the value of jsh_organization.org_no + * + * @mbggenerated + */ + public String getOrgNo() { + return orgNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_no + * + * @param orgNo the value for jsh_organization.org_no + * + * @mbggenerated + */ + public void setOrgNo(String orgNo) { + this.orgNo = orgNo == null ? null : orgNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_full_name + * + * @return the value of jsh_organization.org_full_name + * + * @mbggenerated + */ + public String getOrgFullName() { + return orgFullName; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_full_name + * + * @param orgFullName the value for jsh_organization.org_full_name + * + * @mbggenerated + */ + public void setOrgFullName(String orgFullName) { + this.orgFullName = orgFullName == null ? null : orgFullName.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_abr + * + * @return the value of jsh_organization.org_abr + * + * @mbggenerated + */ + public String getOrgAbr() { + return orgAbr; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_abr + * + * @param orgAbr the value for jsh_organization.org_abr + * + * @mbggenerated + */ + public void setOrgAbr(String orgAbr) { + this.orgAbr = orgAbr == null ? null : orgAbr.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_tpcd + * + * @return the value of jsh_organization.org_tpcd + * + * @mbggenerated + */ + public String getOrgTpcd() { + return orgTpcd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_tpcd + * + * @param orgTpcd the value for jsh_organization.org_tpcd + * + * @mbggenerated + */ + public void setOrgTpcd(String orgTpcd) { + this.orgTpcd = orgTpcd == null ? null : orgTpcd.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_stcd + * + * @return the value of jsh_organization.org_stcd + * + * @mbggenerated + */ + public String getOrgStcd() { + return orgStcd; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_stcd + * + * @param orgStcd the value for jsh_organization.org_stcd + * + * @mbggenerated + */ + public void setOrgStcd(String orgStcd) { + this.orgStcd = orgStcd == null ? null : orgStcd.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_parent_no + * + * @return the value of jsh_organization.org_parent_no + * + * @mbggenerated + */ + public String getOrgParentNo() { + return orgParentNo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_parent_no + * + * @param orgParentNo the value for jsh_organization.org_parent_no + * + * @mbggenerated + */ + public void setOrgParentNo(String orgParentNo) { + this.orgParentNo = orgParentNo == null ? null : orgParentNo.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.sort + * + * @return the value of jsh_organization.sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.sort + * + * @param sort the value for jsh_organization.sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.remark + * + * @return the value of jsh_organization.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.remark + * + * @param remark the value for jsh_organization.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.create_time + * + * @return the value of jsh_organization.create_time + * + * @mbggenerated + */ + public Date getCreateTime() { + return createTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.create_time + * + * @param createTime the value for jsh_organization.create_time + * + * @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_organization.creator + * + * @return the value of jsh_organization.creator + * + * @mbggenerated + */ + public Long getCreator() { + return creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.creator + * + * @param creator the value for jsh_organization.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_organization.update_time + * + * @return the value of jsh_organization.update_time + * + * @mbggenerated + */ + public Date getUpdateTime() { + return updateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.update_time + * + * @param updateTime the value for jsh_organization.update_time + * + * @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_organization.updater + * + * @return the value of jsh_organization.updater + * + * @mbggenerated + */ + public Long getUpdater() { + return updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.updater + * + * @param updater the value for jsh_organization.updater + * + * @mbggenerated + */ + public void setUpdater(Long updater) { + this.updater = updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_create_time + * + * @return the value of jsh_organization.org_create_time + * + * @mbggenerated + */ + public Date getOrgCreateTime() { + return orgCreateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_create_time + * + * @param orgCreateTime the value for jsh_organization.org_create_time + * + * @mbggenerated + */ + public void setOrgCreateTime(Date orgCreateTime) { + this.orgCreateTime = orgCreateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.org_stop_time + * + * @return the value of jsh_organization.org_stop_time + * + * @mbggenerated + */ + public Date getOrgStopTime() { + return orgStopTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_organization.org_stop_time + * + * @param orgStopTime the value for jsh_organization.org_stop_time + * + * @mbggenerated + */ + public void setOrgStopTime(Date orgStopTime) { + this.orgStopTime = orgStopTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_organization.tenant_id + * + * @return the value of jsh_organization.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_organization.tenant_id + * + * @param tenantId the value for jsh_organization.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/OrganizationExample.java b/src/main/java/com/jsh/erp/datasource/entities/OrganizationExample.java index 81a8572e..930e4624 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/OrganizationExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/OrganizationExample.java @@ -1,1283 +1,1343 @@ -package com.jsh.erp.datasource.entities; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class OrganizationExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_organization - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_organization - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_organization - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public OrganizationExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @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_organization - * - * @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_organization - * - * @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_organization - * - * @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_organization - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andOrgNoIsNull() { - addCriterion("org_no is null"); - return (Criteria) this; - } - - public Criteria andOrgNoIsNotNull() { - addCriterion("org_no is not null"); - return (Criteria) this; - } - - public Criteria andOrgNoEqualTo(String value) { - addCriterion("org_no =", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoNotEqualTo(String value) { - addCriterion("org_no <>", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoGreaterThan(String value) { - addCriterion("org_no >", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoGreaterThanOrEqualTo(String value) { - addCriterion("org_no >=", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoLessThan(String value) { - addCriterion("org_no <", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoLessThanOrEqualTo(String value) { - addCriterion("org_no <=", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoLike(String value) { - addCriterion("org_no like", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoNotLike(String value) { - addCriterion("org_no not like", value, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoIn(List values) { - addCriterion("org_no in", values, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoNotIn(List values) { - addCriterion("org_no not in", values, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoBetween(String value1, String value2) { - addCriterion("org_no between", value1, value2, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgNoNotBetween(String value1, String value2) { - addCriterion("org_no not between", value1, value2, "orgNo"); - return (Criteria) this; - } - - public Criteria andOrgFullNameIsNull() { - addCriterion("org_full_name is null"); - return (Criteria) this; - } - - public Criteria andOrgFullNameIsNotNull() { - addCriterion("org_full_name is not null"); - return (Criteria) this; - } - - public Criteria andOrgFullNameEqualTo(String value) { - addCriterion("org_full_name =", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameNotEqualTo(String value) { - addCriterion("org_full_name <>", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameGreaterThan(String value) { - addCriterion("org_full_name >", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameGreaterThanOrEqualTo(String value) { - addCriterion("org_full_name >=", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameLessThan(String value) { - addCriterion("org_full_name <", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameLessThanOrEqualTo(String value) { - addCriterion("org_full_name <=", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameLike(String value) { - addCriterion("org_full_name like", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameNotLike(String value) { - addCriterion("org_full_name not like", value, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameIn(List values) { - addCriterion("org_full_name in", values, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameNotIn(List values) { - addCriterion("org_full_name not in", values, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameBetween(String value1, String value2) { - addCriterion("org_full_name between", value1, value2, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgFullNameNotBetween(String value1, String value2) { - addCriterion("org_full_name not between", value1, value2, "orgFullName"); - return (Criteria) this; - } - - public Criteria andOrgAbrIsNull() { - addCriterion("org_abr is null"); - return (Criteria) this; - } - - public Criteria andOrgAbrIsNotNull() { - addCriterion("org_abr is not null"); - return (Criteria) this; - } - - public Criteria andOrgAbrEqualTo(String value) { - addCriterion("org_abr =", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrNotEqualTo(String value) { - addCriterion("org_abr <>", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrGreaterThan(String value) { - addCriterion("org_abr >", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrGreaterThanOrEqualTo(String value) { - addCriterion("org_abr >=", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrLessThan(String value) { - addCriterion("org_abr <", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrLessThanOrEqualTo(String value) { - addCriterion("org_abr <=", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrLike(String value) { - addCriterion("org_abr like", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrNotLike(String value) { - addCriterion("org_abr not like", value, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrIn(List values) { - addCriterion("org_abr in", values, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrNotIn(List values) { - addCriterion("org_abr not in", values, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrBetween(String value1, String value2) { - addCriterion("org_abr between", value1, value2, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgAbrNotBetween(String value1, String value2) { - addCriterion("org_abr not between", value1, value2, "orgAbr"); - return (Criteria) this; - } - - public Criteria andOrgTpcdIsNull() { - addCriterion("org_tpcd is null"); - return (Criteria) this; - } - - public Criteria andOrgTpcdIsNotNull() { - addCriterion("org_tpcd is not null"); - return (Criteria) this; - } - - public Criteria andOrgTpcdEqualTo(String value) { - addCriterion("org_tpcd =", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdNotEqualTo(String value) { - addCriterion("org_tpcd <>", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdGreaterThan(String value) { - addCriterion("org_tpcd >", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdGreaterThanOrEqualTo(String value) { - addCriterion("org_tpcd >=", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdLessThan(String value) { - addCriterion("org_tpcd <", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdLessThanOrEqualTo(String value) { - addCriterion("org_tpcd <=", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdLike(String value) { - addCriterion("org_tpcd like", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdNotLike(String value) { - addCriterion("org_tpcd not like", value, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdIn(List values) { - addCriterion("org_tpcd in", values, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdNotIn(List values) { - addCriterion("org_tpcd not in", values, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdBetween(String value1, String value2) { - addCriterion("org_tpcd between", value1, value2, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgTpcdNotBetween(String value1, String value2) { - addCriterion("org_tpcd not between", value1, value2, "orgTpcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdIsNull() { - addCriterion("org_stcd is null"); - return (Criteria) this; - } - - public Criteria andOrgStcdIsNotNull() { - addCriterion("org_stcd is not null"); - return (Criteria) this; - } - - public Criteria andOrgStcdEqualTo(String value) { - addCriterion("org_stcd =", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdNotEqualTo(String value) { - addCriterion("org_stcd <>", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdGreaterThan(String value) { - addCriterion("org_stcd >", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdGreaterThanOrEqualTo(String value) { - addCriterion("org_stcd >=", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdLessThan(String value) { - addCriterion("org_stcd <", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdLessThanOrEqualTo(String value) { - addCriterion("org_stcd <=", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdLike(String value) { - addCriterion("org_stcd like", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdNotLike(String value) { - addCriterion("org_stcd not like", value, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdIn(List values) { - addCriterion("org_stcd in", values, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdNotIn(List values) { - addCriterion("org_stcd not in", values, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdBetween(String value1, String value2) { - addCriterion("org_stcd between", value1, value2, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgStcdNotBetween(String value1, String value2) { - addCriterion("org_stcd not between", value1, value2, "orgStcd"); - return (Criteria) this; - } - - public Criteria andOrgParentNoIsNull() { - addCriterion("org_parent_no is null"); - return (Criteria) this; - } - - public Criteria andOrgParentNoIsNotNull() { - addCriterion("org_parent_no is not null"); - return (Criteria) this; - } - - public Criteria andOrgParentNoEqualTo(String value) { - addCriterion("org_parent_no =", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoNotEqualTo(String value) { - addCriterion("org_parent_no <>", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoGreaterThan(String value) { - addCriterion("org_parent_no >", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoGreaterThanOrEqualTo(String value) { - addCriterion("org_parent_no >=", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoLessThan(String value) { - addCriterion("org_parent_no <", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoLessThanOrEqualTo(String value) { - addCriterion("org_parent_no <=", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoLike(String value) { - addCriterion("org_parent_no like", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoNotLike(String value) { - addCriterion("org_parent_no not like", value, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoIn(List values) { - addCriterion("org_parent_no in", values, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoNotIn(List values) { - addCriterion("org_parent_no not in", values, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoBetween(String value1, String value2) { - addCriterion("org_parent_no between", value1, value2, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andOrgParentNoNotBetween(String value1, String value2) { - addCriterion("org_parent_no not between", value1, value2, "orgParentNo"); - return (Criteria) this; - } - - public Criteria andSortIsNull() { - addCriterion("sort is null"); - return (Criteria) this; - } - - public Criteria andSortIsNotNull() { - addCriterion("sort is not null"); - return (Criteria) this; - } - - public Criteria andSortEqualTo(String value) { - addCriterion("sort =", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotEqualTo(String value) { - addCriterion("sort <>", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThan(String value) { - addCriterion("sort >", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortGreaterThanOrEqualTo(String value) { - addCriterion("sort >=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThan(String value) { - addCriterion("sort <", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLessThanOrEqualTo(String value) { - addCriterion("sort <=", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortLike(String value) { - addCriterion("sort like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotLike(String value) { - addCriterion("sort not like", value, "sort"); - return (Criteria) this; - } - - public Criteria andSortIn(List values) { - addCriterion("sort in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotIn(List values) { - addCriterion("sort not in", values, "sort"); - return (Criteria) this; - } - - public Criteria andSortBetween(String value1, String value2) { - addCriterion("sort between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andSortNotBetween(String value1, String value2) { - addCriterion("sort not between", value1, value2, "sort"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("remark not between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreatorIsNull() { - addCriterion("creator is null"); - return (Criteria) this; - } - - public Criteria andCreatorIsNotNull() { - addCriterion("creator is not null"); - return (Criteria) this; - } - - public Criteria andCreatorEqualTo(Long value) { - addCriterion("creator =", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotEqualTo(Long value) { - addCriterion("creator <>", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThan(Long value) { - addCriterion("creator >", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThanOrEqualTo(Long value) { - addCriterion("creator >=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThan(Long value) { - addCriterion("creator <", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThanOrEqualTo(Long value) { - addCriterion("creator <=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorIn(List values) { - addCriterion("creator in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotIn(List values) { - addCriterion("creator not in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorBetween(Long value1, Long value2) { - addCriterion("creator between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotBetween(Long value1, Long value2) { - addCriterion("creator not between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNull() { - addCriterion("update_time is null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNotNull() { - addCriterion("update_time is not null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeEqualTo(Date value) { - addCriterion("update_time =", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotEqualTo(Date value) { - addCriterion("update_time <>", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThan(Date value) { - addCriterion("update_time >", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("update_time >=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThan(Date value) { - addCriterion("update_time <", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { - addCriterion("update_time <=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIn(List values) { - addCriterion("update_time in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotIn(List values) { - addCriterion("update_time not in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeBetween(Date value1, Date value2) { - addCriterion("update_time between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { - addCriterion("update_time not between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNull() { - addCriterion("updater is null"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNotNull() { - addCriterion("updater is not null"); - return (Criteria) this; - } - - public Criteria andUpdaterEqualTo(Long value) { - addCriterion("updater =", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotEqualTo(Long value) { - addCriterion("updater <>", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThan(Long value) { - addCriterion("updater >", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { - addCriterion("updater >=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThan(Long value) { - addCriterion("updater <", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThanOrEqualTo(Long value) { - addCriterion("updater <=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterIn(List values) { - addCriterion("updater in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotIn(List values) { - addCriterion("updater not in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterBetween(Long value1, Long value2) { - addCriterion("updater between", value1, value2, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotBetween(Long value1, Long value2) { - addCriterion("updater not between", value1, value2, "updater"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeIsNull() { - addCriterion("org_create_time is null"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeIsNotNull() { - addCriterion("org_create_time is not null"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeEqualTo(Date value) { - addCriterion("org_create_time =", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeNotEqualTo(Date value) { - addCriterion("org_create_time <>", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeGreaterThan(Date value) { - addCriterion("org_create_time >", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("org_create_time >=", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeLessThan(Date value) { - addCriterion("org_create_time <", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("org_create_time <=", value, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeIn(List values) { - addCriterion("org_create_time in", values, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeNotIn(List values) { - addCriterion("org_create_time not in", values, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeBetween(Date value1, Date value2) { - addCriterion("org_create_time between", value1, value2, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("org_create_time not between", value1, value2, "orgCreateTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeIsNull() { - addCriterion("org_stop_time is null"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeIsNotNull() { - addCriterion("org_stop_time is not null"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeEqualTo(Date value) { - addCriterion("org_stop_time =", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeNotEqualTo(Date value) { - addCriterion("org_stop_time <>", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeGreaterThan(Date value) { - addCriterion("org_stop_time >", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeGreaterThanOrEqualTo(Date value) { - addCriterion("org_stop_time >=", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeLessThan(Date value) { - addCriterion("org_stop_time <", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeLessThanOrEqualTo(Date value) { - addCriterion("org_stop_time <=", value, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeIn(List values) { - addCriterion("org_stop_time in", values, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeNotIn(List values) { - addCriterion("org_stop_time not in", values, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeBetween(Date value1, Date value2) { - addCriterion("org_stop_time between", value1, value2, "orgStopTime"); - return (Criteria) this; - } - - public Criteria andOrgStopTimeNotBetween(Date value1, Date value2) { - addCriterion("org_stop_time not between", value1, value2, "orgStopTime"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_organization - * - * @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_organization - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OrganizationExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_organization + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_organization + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_organization + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public OrganizationExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @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_organization + * + * @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_organization + * + * @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_organization + * + * @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_organization + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andOrgNoIsNull() { + addCriterion("org_no is null"); + return (Criteria) this; + } + + public Criteria andOrgNoIsNotNull() { + addCriterion("org_no is not null"); + return (Criteria) this; + } + + public Criteria andOrgNoEqualTo(String value) { + addCriterion("org_no =", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoNotEqualTo(String value) { + addCriterion("org_no <>", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoGreaterThan(String value) { + addCriterion("org_no >", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoGreaterThanOrEqualTo(String value) { + addCriterion("org_no >=", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoLessThan(String value) { + addCriterion("org_no <", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoLessThanOrEqualTo(String value) { + addCriterion("org_no <=", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoLike(String value) { + addCriterion("org_no like", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoNotLike(String value) { + addCriterion("org_no not like", value, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoIn(List values) { + addCriterion("org_no in", values, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoNotIn(List values) { + addCriterion("org_no not in", values, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoBetween(String value1, String value2) { + addCriterion("org_no between", value1, value2, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgNoNotBetween(String value1, String value2) { + addCriterion("org_no not between", value1, value2, "orgNo"); + return (Criteria) this; + } + + public Criteria andOrgFullNameIsNull() { + addCriterion("org_full_name is null"); + return (Criteria) this; + } + + public Criteria andOrgFullNameIsNotNull() { + addCriterion("org_full_name is not null"); + return (Criteria) this; + } + + public Criteria andOrgFullNameEqualTo(String value) { + addCriterion("org_full_name =", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameNotEqualTo(String value) { + addCriterion("org_full_name <>", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameGreaterThan(String value) { + addCriterion("org_full_name >", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameGreaterThanOrEqualTo(String value) { + addCriterion("org_full_name >=", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameLessThan(String value) { + addCriterion("org_full_name <", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameLessThanOrEqualTo(String value) { + addCriterion("org_full_name <=", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameLike(String value) { + addCriterion("org_full_name like", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameNotLike(String value) { + addCriterion("org_full_name not like", value, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameIn(List values) { + addCriterion("org_full_name in", values, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameNotIn(List values) { + addCriterion("org_full_name not in", values, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameBetween(String value1, String value2) { + addCriterion("org_full_name between", value1, value2, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgFullNameNotBetween(String value1, String value2) { + addCriterion("org_full_name not between", value1, value2, "orgFullName"); + return (Criteria) this; + } + + public Criteria andOrgAbrIsNull() { + addCriterion("org_abr is null"); + return (Criteria) this; + } + + public Criteria andOrgAbrIsNotNull() { + addCriterion("org_abr is not null"); + return (Criteria) this; + } + + public Criteria andOrgAbrEqualTo(String value) { + addCriterion("org_abr =", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrNotEqualTo(String value) { + addCriterion("org_abr <>", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrGreaterThan(String value) { + addCriterion("org_abr >", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrGreaterThanOrEqualTo(String value) { + addCriterion("org_abr >=", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrLessThan(String value) { + addCriterion("org_abr <", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrLessThanOrEqualTo(String value) { + addCriterion("org_abr <=", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrLike(String value) { + addCriterion("org_abr like", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrNotLike(String value) { + addCriterion("org_abr not like", value, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrIn(List values) { + addCriterion("org_abr in", values, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrNotIn(List values) { + addCriterion("org_abr not in", values, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrBetween(String value1, String value2) { + addCriterion("org_abr between", value1, value2, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgAbrNotBetween(String value1, String value2) { + addCriterion("org_abr not between", value1, value2, "orgAbr"); + return (Criteria) this; + } + + public Criteria andOrgTpcdIsNull() { + addCriterion("org_tpcd is null"); + return (Criteria) this; + } + + public Criteria andOrgTpcdIsNotNull() { + addCriterion("org_tpcd is not null"); + return (Criteria) this; + } + + public Criteria andOrgTpcdEqualTo(String value) { + addCriterion("org_tpcd =", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdNotEqualTo(String value) { + addCriterion("org_tpcd <>", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdGreaterThan(String value) { + addCriterion("org_tpcd >", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdGreaterThanOrEqualTo(String value) { + addCriterion("org_tpcd >=", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdLessThan(String value) { + addCriterion("org_tpcd <", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdLessThanOrEqualTo(String value) { + addCriterion("org_tpcd <=", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdLike(String value) { + addCriterion("org_tpcd like", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdNotLike(String value) { + addCriterion("org_tpcd not like", value, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdIn(List values) { + addCriterion("org_tpcd in", values, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdNotIn(List values) { + addCriterion("org_tpcd not in", values, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdBetween(String value1, String value2) { + addCriterion("org_tpcd between", value1, value2, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgTpcdNotBetween(String value1, String value2) { + addCriterion("org_tpcd not between", value1, value2, "orgTpcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdIsNull() { + addCriterion("org_stcd is null"); + return (Criteria) this; + } + + public Criteria andOrgStcdIsNotNull() { + addCriterion("org_stcd is not null"); + return (Criteria) this; + } + + public Criteria andOrgStcdEqualTo(String value) { + addCriterion("org_stcd =", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdNotEqualTo(String value) { + addCriterion("org_stcd <>", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdGreaterThan(String value) { + addCriterion("org_stcd >", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdGreaterThanOrEqualTo(String value) { + addCriterion("org_stcd >=", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdLessThan(String value) { + addCriterion("org_stcd <", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdLessThanOrEqualTo(String value) { + addCriterion("org_stcd <=", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdLike(String value) { + addCriterion("org_stcd like", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdNotLike(String value) { + addCriterion("org_stcd not like", value, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdIn(List values) { + addCriterion("org_stcd in", values, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdNotIn(List values) { + addCriterion("org_stcd not in", values, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdBetween(String value1, String value2) { + addCriterion("org_stcd between", value1, value2, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgStcdNotBetween(String value1, String value2) { + addCriterion("org_stcd not between", value1, value2, "orgStcd"); + return (Criteria) this; + } + + public Criteria andOrgParentNoIsNull() { + addCriterion("org_parent_no is null"); + return (Criteria) this; + } + + public Criteria andOrgParentNoIsNotNull() { + addCriterion("org_parent_no is not null"); + return (Criteria) this; + } + + public Criteria andOrgParentNoEqualTo(String value) { + addCriterion("org_parent_no =", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoNotEqualTo(String value) { + addCriterion("org_parent_no <>", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoGreaterThan(String value) { + addCriterion("org_parent_no >", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoGreaterThanOrEqualTo(String value) { + addCriterion("org_parent_no >=", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoLessThan(String value) { + addCriterion("org_parent_no <", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoLessThanOrEqualTo(String value) { + addCriterion("org_parent_no <=", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoLike(String value) { + addCriterion("org_parent_no like", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoNotLike(String value) { + addCriterion("org_parent_no not like", value, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoIn(List values) { + addCriterion("org_parent_no in", values, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoNotIn(List values) { + addCriterion("org_parent_no not in", values, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoBetween(String value1, String value2) { + addCriterion("org_parent_no between", value1, value2, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andOrgParentNoNotBetween(String value1, String value2) { + addCriterion("org_parent_no not between", value1, value2, "orgParentNo"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNull() { + addCriterion("updater is null"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNotNull() { + addCriterion("updater is not null"); + return (Criteria) this; + } + + public Criteria andUpdaterEqualTo(Long value) { + addCriterion("updater =", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotEqualTo(Long value) { + addCriterion("updater <>", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThan(Long value) { + addCriterion("updater >", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { + addCriterion("updater >=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThan(Long value) { + addCriterion("updater <", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThanOrEqualTo(Long value) { + addCriterion("updater <=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterIn(List values) { + addCriterion("updater in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotIn(List values) { + addCriterion("updater not in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterBetween(Long value1, Long value2) { + addCriterion("updater between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotBetween(Long value1, Long value2) { + addCriterion("updater not between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeIsNull() { + addCriterion("org_create_time is null"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeIsNotNull() { + addCriterion("org_create_time is not null"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeEqualTo(Date value) { + addCriterion("org_create_time =", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeNotEqualTo(Date value) { + addCriterion("org_create_time <>", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeGreaterThan(Date value) { + addCriterion("org_create_time >", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("org_create_time >=", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeLessThan(Date value) { + addCriterion("org_create_time <", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("org_create_time <=", value, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeIn(List values) { + addCriterion("org_create_time in", values, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeNotIn(List values) { + addCriterion("org_create_time not in", values, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeBetween(Date value1, Date value2) { + addCriterion("org_create_time between", value1, value2, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("org_create_time not between", value1, value2, "orgCreateTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeIsNull() { + addCriterion("org_stop_time is null"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeIsNotNull() { + addCriterion("org_stop_time is not null"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeEqualTo(Date value) { + addCriterion("org_stop_time =", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeNotEqualTo(Date value) { + addCriterion("org_stop_time <>", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeGreaterThan(Date value) { + addCriterion("org_stop_time >", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeGreaterThanOrEqualTo(Date value) { + addCriterion("org_stop_time >=", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeLessThan(Date value) { + addCriterion("org_stop_time <", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeLessThanOrEqualTo(Date value) { + addCriterion("org_stop_time <=", value, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeIn(List values) { + addCriterion("org_stop_time in", values, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeNotIn(List values) { + addCriterion("org_stop_time not in", values, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeBetween(Date value1, Date value2) { + addCriterion("org_stop_time between", value1, value2, "orgStopTime"); + return (Criteria) this; + } + + public Criteria andOrgStopTimeNotBetween(Date value1, Date value2) { + addCriterion("org_stop_time not between", value1, value2, "orgStopTime"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_organization + * + * @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_organization + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Person.java b/src/main/java/com/jsh/erp/datasource/entities/Person.java index 03052d6f..7c37a5e9 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Person.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Person.java @@ -25,6 +25,14 @@ public class Person { */ private String name; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_person.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_person.Id @@ -96,4 +104,28 @@ public class Person { public void setName(String name) { this.name = name == null ? null : name.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_person.tenant_id + * + * @return the value of jsh_person.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_person.tenant_id + * + * @param tenantId the value for jsh_person.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java b/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java index dfd19780..909d6620 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java @@ -393,6 +393,66 @@ public class PersonExample { addCriterion("Name not between", value1, value2, "name"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/Role.java b/src/main/java/com/jsh/erp/datasource/entities/Role.java index 0f2d70ba..9fba4150 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Role.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Role.java @@ -41,6 +41,14 @@ public class Role { */ private String description; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_role.Id @@ -160,4 +168,28 @@ public class Role { 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_role.tenant_id + * + * @return the value of jsh_role.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_role.tenant_id + * + * @param tenantId the value for jsh_role.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java b/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java index e41faabe..2bd9ae24 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java @@ -533,6 +533,66 @@ public class RoleExample { 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/SerialNumber.java b/src/main/java/com/jsh/erp/datasource/entities/SerialNumber.java index e00648cc..8daa2ec9 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SerialNumber.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SerialNumber.java @@ -1,338 +1,389 @@ -package com.jsh.erp.datasource.entities; - -import java.util.Date; - -public class SerialNumber { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.material_Id - * - * @mbggenerated - */ - private Long materialId; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.serial_Number - * - * @mbggenerated - */ - private String serialNumber; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.is_Sell - * - * @mbggenerated - */ - private String isSell; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.remark - * - * @mbggenerated - */ - private String remark; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.delete_Flag - * - * @mbggenerated - */ - private String deleteFlag; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.create_Time - * - * @mbggenerated - */ - private Date createTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.creator - * - * @mbggenerated - */ - private Long creator; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.update_Time - * - * @mbggenerated - */ - private Date updateTime; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_serial_number.updater - * - * @mbggenerated - */ - private Long updater; - /** - * 单据主表id,用于跟踪序列号流向 - * */ - private Long depotheadId; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.id - * - * @return the value of jsh_serial_number.id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.id - * - * @param id the value for jsh_serial_number.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_serial_number.material_Id - * - * @return the value of jsh_serial_number.material_Id - * - * @mbggenerated - */ - public Long getMaterialId() { - return materialId; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.material_Id - * - * @param materialId the value for jsh_serial_number.material_Id - * - * @mbggenerated - */ - public void setMaterialId(Long materialId) { - this.materialId = materialId; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.serial_Number - * - * @return the value of jsh_serial_number.serial_Number - * - * @mbggenerated - */ - public String getSerialNumber() { - return serialNumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.serial_Number - * - * @param serialNumber the value for jsh_serial_number.serial_Number - * - * @mbggenerated - */ - public void setSerialNumber(String serialNumber) { - this.serialNumber = serialNumber == null ? null : serialNumber.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.is_Sell - * - * @return the value of jsh_serial_number.is_Sell - * - * @mbggenerated - */ - public String getIsSell() { - return isSell; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.is_Sell - * - * @param isSell the value for jsh_serial_number.is_Sell - * - * @mbggenerated - */ - public void setIsSell(String isSell) { - this.isSell = isSell; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.remark - * - * @return the value of jsh_serial_number.remark - * - * @mbggenerated - */ - public String getRemark() { - return remark; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.remark - * - * @param remark the value for jsh_serial_number.remark - * - * @mbggenerated - */ - public void setRemark(String remark) { - this.remark = remark == null ? null : remark.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.delete_Flag - * - * @return the value of jsh_serial_number.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_serial_number.delete_Flag - * - * @param deleteFlag the value for jsh_serial_number.delete_Flag - * - * @mbggenerated - */ - public void setDeleteFlag(String deleteFlag) { - this.deleteFlag = deleteFlag; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_serial_number.create_Time - * - * @return the value of jsh_serial_number.create_Time - * - * @mbggenerated - */ - public Date getCreateTime() { - return createTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.create_Time - * - * @param createTime the value for jsh_serial_number.create_Time - * - * @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_serial_number.creator - * - * @return the value of jsh_serial_number.creator - * - * @mbggenerated - */ - public Long getCreator() { - return creator; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.creator - * - * @param creator the value for jsh_serial_number.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_serial_number.update_Time - * - * @return the value of jsh_serial_number.update_Time - * - * @mbggenerated - */ - public Date getUpdateTime() { - return updateTime; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.update_Time - * - * @param updateTime the value for jsh_serial_number.update_Time - * - * @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_serial_number.updater - * - * @return the value of jsh_serial_number.updater - * - * @mbggenerated - */ - public Long getUpdater() { - return updater; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_serial_number.updater - * - * @param updater the value for jsh_serial_number.updater - * - * @mbggenerated - */ - public void setUpdater(Long updater) { - this.updater = updater; - } - - - public Long getDepotheadId() { - return depotheadId; - } - - public void setDepotheadId(Long depotheadId) { - this.depotheadId = depotheadId; - } +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class SerialNumber { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.material_Id + * + * @mbggenerated + */ + private Long materialId; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.serial_Number + * + * @mbggenerated + */ + private String serialNumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.is_Sell + * + * @mbggenerated + */ + private String isSell; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.delete_Flag + * + * @mbggenerated + */ + private String deleteFlag; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.create_Time + * + * @mbggenerated + */ + private Date createTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.creator + * + * @mbggenerated + */ + private Long creator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.update_Time + * + * @mbggenerated + */ + private Date updateTime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.updater + * + * @mbggenerated + */ + private Long updater; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.depothead_Id + * + * @mbggenerated + */ + private Long depotheadId; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_serial_number.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.id + * + * @return the value of jsh_serial_number.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.id + * + * @param id the value for jsh_serial_number.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_serial_number.material_Id + * + * @return the value of jsh_serial_number.material_Id + * + * @mbggenerated + */ + public Long getMaterialId() { + return materialId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.material_Id + * + * @param materialId the value for jsh_serial_number.material_Id + * + * @mbggenerated + */ + public void setMaterialId(Long materialId) { + this.materialId = materialId; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.serial_Number + * + * @return the value of jsh_serial_number.serial_Number + * + * @mbggenerated + */ + public String getSerialNumber() { + return serialNumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.serial_Number + * + * @param serialNumber the value for jsh_serial_number.serial_Number + * + * @mbggenerated + */ + public void setSerialNumber(String serialNumber) { + this.serialNumber = serialNumber == null ? null : serialNumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.is_Sell + * + * @return the value of jsh_serial_number.is_Sell + * + * @mbggenerated + */ + public String getIsSell() { + return isSell; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.is_Sell + * + * @param isSell the value for jsh_serial_number.is_Sell + * + * @mbggenerated + */ + public void setIsSell(String isSell) { + this.isSell = isSell == null ? null : isSell.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.remark + * + * @return the value of jsh_serial_number.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.remark + * + * @param remark the value for jsh_serial_number.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.delete_Flag + * + * @return the value of jsh_serial_number.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_serial_number.delete_Flag + * + * @param deleteFlag the value for jsh_serial_number.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_serial_number.create_Time + * + * @return the value of jsh_serial_number.create_Time + * + * @mbggenerated + */ + public Date getCreateTime() { + return createTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.create_Time + * + * @param createTime the value for jsh_serial_number.create_Time + * + * @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_serial_number.creator + * + * @return the value of jsh_serial_number.creator + * + * @mbggenerated + */ + public Long getCreator() { + return creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.creator + * + * @param creator the value for jsh_serial_number.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_serial_number.update_Time + * + * @return the value of jsh_serial_number.update_Time + * + * @mbggenerated + */ + public Date getUpdateTime() { + return updateTime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.update_Time + * + * @param updateTime the value for jsh_serial_number.update_Time + * + * @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_serial_number.updater + * + * @return the value of jsh_serial_number.updater + * + * @mbggenerated + */ + public Long getUpdater() { + return updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.updater + * + * @param updater the value for jsh_serial_number.updater + * + * @mbggenerated + */ + public void setUpdater(Long updater) { + this.updater = updater; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.depothead_Id + * + * @return the value of jsh_serial_number.depothead_Id + * + * @mbggenerated + */ + public Long getDepotheadId() { + return depotheadId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_serial_number.depothead_Id + * + * @param depotheadId the value for jsh_serial_number.depothead_Id + * + * @mbggenerated + */ + public void setDepotheadId(Long depotheadId) { + this.depotheadId = depotheadId; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_serial_number.tenant_id + * + * @return the value of jsh_serial_number.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_serial_number.tenant_id + * + * @param tenantId the value for jsh_serial_number.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SerialNumberExample.java b/src/main/java/com/jsh/erp/datasource/entities/SerialNumberExample.java index 33006783..f6b9e119 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SerialNumberExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SerialNumberExample.java @@ -1,1001 +1,1063 @@ -package com.jsh.erp.datasource.entities; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class SerialNumberExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public SerialNumberExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @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_serial_number - * - * @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_serial_number - * - * @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_serial_number - * - * @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_serial_number - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andMaterialIdIsNull() { - addCriterion("material_Id is null"); - return (Criteria) this; - } - - public Criteria andMaterialIdIsNotNull() { - addCriterion("material_Id is not null"); - return (Criteria) this; - } - - public Criteria andMaterialIdEqualTo(Long value) { - addCriterion("material_Id =", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdNotEqualTo(Long value) { - addCriterion("material_Id <>", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdGreaterThan(Long value) { - addCriterion("material_Id >", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdGreaterThanOrEqualTo(Long value) { - addCriterion("material_Id >=", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdLessThan(Long value) { - addCriterion("material_Id <", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdLessThanOrEqualTo(Long value) { - addCriterion("material_Id <=", value, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdIn(List values) { - addCriterion("material_Id in", values, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdNotIn(List values) { - addCriterion("material_Id not in", values, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdBetween(Long value1, Long value2) { - addCriterion("material_Id between", value1, value2, "materialId"); - return (Criteria) this; - } - - public Criteria andMaterialIdNotBetween(Long value1, Long value2) { - addCriterion("material_Id not between", value1, value2, "materialId"); - return (Criteria) this; - } - - public Criteria andSerialNumberIsNull() { - addCriterion("serial_Number is null"); - return (Criteria) this; - } - - public Criteria andSerialNumberIsNotNull() { - addCriterion("serial_Number is not null"); - return (Criteria) this; - } - - public Criteria andSerialNumberEqualTo(String value) { - addCriterion("serial_Number =", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberNotEqualTo(String value) { - addCriterion("serial_Number <>", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberGreaterThan(String value) { - addCriterion("serial_Number >", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberGreaterThanOrEqualTo(String value) { - addCriterion("serial_Number >=", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberLessThan(String value) { - addCriterion("serial_Number <", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberLessThanOrEqualTo(String value) { - addCriterion("serial_Number <=", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberLike(String value) { - addCriterion("serial_Number like", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberNotLike(String value) { - addCriterion("serial_Number not like", value, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberIn(List values) { - addCriterion("serial_Number in", values, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberNotIn(List values) { - addCriterion("serial_Number not in", values, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberBetween(String value1, String value2) { - addCriterion("serial_Number between", value1, value2, "serialNumber"); - return (Criteria) this; - } - - public Criteria andSerialNumberNotBetween(String value1, String value2) { - addCriterion("serial_Number not between", value1, value2, "serialNumber"); - return (Criteria) this; - } - - public Criteria andIsSellIsNull() { - addCriterion("is_Sell is null"); - return (Criteria) this; - } - - public Criteria andIsSellIsNotNull() { - addCriterion("is_Sell is not null"); - return (Criteria) this; - } - - public Criteria andIsSellEqualTo(String value) { - addCriterion("is_Sell =", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellNotEqualTo(String value) { - addCriterion("is_Sell <>", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellGreaterThan(String value) { - addCriterion("is_Sell >", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellGreaterThanOrEqualTo(String value) { - addCriterion("is_Sell >=", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellLessThan(String value) { - addCriterion("is_Sell <", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellLessThanOrEqualTo(String value) { - addCriterion("is_Sell <=", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellLike(String value) { - addCriterion("isSell like", value, "isSell"); - return (Criteria) this; - } - public Criteria andIsSellNotLike(String value) { - addCriterion("isSell not like", value, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellIn(List values) { - addCriterion("is_Sell in", values, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellNotIn(List values) { - addCriterion("is_Sell not in", values, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellBetween(String value1, String value2) { - addCriterion("is_Sell between", value1, value2, "isSell"); - return (Criteria) this; - } - - public Criteria andIsSellNotBetween(String value1, String value2) { - addCriterion("is_Sell not between", value1, value2, "isSell"); - return (Criteria) this; - } - - public Criteria andRemarkIsNull() { - addCriterion("remark is null"); - return (Criteria) this; - } - - public Criteria andRemarkIsNotNull() { - addCriterion("remark is not null"); - return (Criteria) this; - } - - public Criteria andRemarkEqualTo(String value) { - addCriterion("remark =", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotEqualTo(String value) { - addCriterion("remark <>", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThan(String value) { - addCriterion("remark >", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkGreaterThanOrEqualTo(String value) { - addCriterion("remark >=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThan(String value) { - addCriterion("remark <", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLessThanOrEqualTo(String value) { - addCriterion("remark <=", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkLike(String value) { - addCriterion("remark like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotLike(String value) { - addCriterion("remark not like", value, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkIn(List values) { - addCriterion("remark in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotIn(List values) { - addCriterion("remark not in", values, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkBetween(String value1, String value2) { - addCriterion("remark between", value1, value2, "remark"); - return (Criteria) this; - } - - public Criteria andRemarkNotBetween(String value1, String value2) { - addCriterion("remark not between", value1, value2, "remark"); - 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("deleteFlag like", value, "deleteFlag"); - return (Criteria) this; - } - public Criteria andDeleteFlagNotLike(String value) { - addCriterion("deleteFlag not like", value, "deleteFlag"); - return (Criteria) this; - } - public Criteria andDeleteFlagIn(List values) { - addCriterion("delete_Flag in", values, "deleteFlag"); - return (Criteria) this; - } - - public Criteria andDeleteFlagNotIn(List 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; - } - - public Criteria andCreateTimeIsNull() { - addCriterion("create_Time is null"); - return (Criteria) this; - } - - public Criteria andCreateTimeIsNotNull() { - addCriterion("create_Time is not null"); - return (Criteria) this; - } - - public Criteria andCreateTimeEqualTo(Date value) { - addCriterion("create_Time =", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotEqualTo(Date value) { - addCriterion("create_Time <>", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThan(Date value) { - addCriterion("create_Time >", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("create_Time >=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThan(Date value) { - addCriterion("create_Time <", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeLessThanOrEqualTo(Date value) { - addCriterion("create_Time <=", value, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeIn(List values) { - addCriterion("create_Time in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotIn(List values) { - addCriterion("create_Time not in", values, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeBetween(Date value1, Date value2) { - addCriterion("create_Time between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreateTimeNotBetween(Date value1, Date value2) { - addCriterion("create_Time not between", value1, value2, "createTime"); - return (Criteria) this; - } - - public Criteria andCreatorIsNull() { - addCriterion("creator is null"); - return (Criteria) this; - } - - public Criteria andCreatorIsNotNull() { - addCriterion("creator is not null"); - return (Criteria) this; - } - - public Criteria andCreatorEqualTo(Long value) { - addCriterion("creator =", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotEqualTo(Long value) { - addCriterion("creator <>", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThan(Long value) { - addCriterion("creator >", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorGreaterThanOrEqualTo(Long value) { - addCriterion("creator >=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThan(Long value) { - addCriterion("creator <", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorLessThanOrEqualTo(Long value) { - addCriterion("creator <=", value, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorIn(List values) { - addCriterion("creator in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotIn(List values) { - addCriterion("creator not in", values, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorBetween(Long value1, Long value2) { - addCriterion("creator between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andCreatorNotBetween(Long value1, Long value2) { - addCriterion("creator not between", value1, value2, "creator"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNull() { - addCriterion("update_Time is null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIsNotNull() { - addCriterion("update_Time is not null"); - return (Criteria) this; - } - - public Criteria andUpdateTimeEqualTo(Date value) { - addCriterion("update_Time =", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotEqualTo(Date value) { - addCriterion("update_Time <>", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThan(Date value) { - addCriterion("update_Time >", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { - addCriterion("update_Time >=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThan(Date value) { - addCriterion("update_Time <", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { - addCriterion("update_Time <=", value, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeIn(List values) { - addCriterion("update_Time in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotIn(List values) { - addCriterion("update_Time not in", values, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeBetween(Date value1, Date value2) { - addCriterion("update_Time between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { - addCriterion("update_Time not between", value1, value2, "updateTime"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNull() { - addCriterion("updater is null"); - return (Criteria) this; - } - - public Criteria andUpdaterIsNotNull() { - addCriterion("updater is not null"); - return (Criteria) this; - } - - public Criteria andUpdaterEqualTo(Long value) { - addCriterion("updater =", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotEqualTo(Long value) { - addCriterion("updater <>", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThan(Long value) { - addCriterion("updater >", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { - addCriterion("updater >=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThan(Long value) { - addCriterion("updater <", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterLessThanOrEqualTo(Long value) { - addCriterion("updater <=", value, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterIn(List values) { - addCriterion("updater in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotIn(List values) { - addCriterion("updater not in", values, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterBetween(Long value1, Long value2) { - addCriterion("updater between", value1, value2, "updater"); - return (Criteria) this; - } - - public Criteria andUpdaterNotBetween(Long value1, Long value2) { - addCriterion("updater not between", value1, value2, "updater"); - return (Criteria) this; - } - public Criteria andDepotheadIdIsNull() { - addCriterion("depotheadId is null"); - return (Criteria) this; - } - - public Criteria andDepotheadIdIsNotNull() { - addCriterion("depotheadId is not null"); - return (Criteria) this; - } - - public Criteria andDepotheadIdEqualTo(Long value) { - addCriterion("depotheadId =", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdNotEqualTo(Long value) { - addCriterion("depotheadId <>", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdGreaterThan(Long value) { - addCriterion("depotheadId >", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdGreaterThanOrEqualTo(Long value) { - addCriterion("depotheadId >=", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdLessThan(Long value) { - addCriterion("depotheadId <", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdLessThanOrEqualTo(Long value) { - addCriterion("depotheadId <=", value, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdIn(List values) { - addCriterion("depotheadId in", values, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdNotIn(List values) { - addCriterion("depotheadId not in", values, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdBetween(Long value1, Long value2) { - addCriterion("depotheadId between", value1, value2, "depotheadId"); - return (Criteria) this; - } - - public Criteria andDepotheadIdNotBetween(Long value1, Long value2) { - addCriterion("depotheadId not between", value1, value2, "depotheadId"); - return (Criteria) this; - } - - - - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_serial_number - * - * @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_serial_number - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SerialNumberExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public SerialNumberExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @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_serial_number + * + * @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_serial_number + * + * @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_serial_number + * + * @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_serial_number + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andMaterialIdIsNull() { + addCriterion("material_Id is null"); + return (Criteria) this; + } + + public Criteria andMaterialIdIsNotNull() { + addCriterion("material_Id is not null"); + return (Criteria) this; + } + + public Criteria andMaterialIdEqualTo(Long value) { + addCriterion("material_Id =", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotEqualTo(Long value) { + addCriterion("material_Id <>", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdGreaterThan(Long value) { + addCriterion("material_Id >", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdGreaterThanOrEqualTo(Long value) { + addCriterion("material_Id >=", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdLessThan(Long value) { + addCriterion("material_Id <", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdLessThanOrEqualTo(Long value) { + addCriterion("material_Id <=", value, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdIn(List values) { + addCriterion("material_Id in", values, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotIn(List values) { + addCriterion("material_Id not in", values, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdBetween(Long value1, Long value2) { + addCriterion("material_Id between", value1, value2, "materialId"); + return (Criteria) this; + } + + public Criteria andMaterialIdNotBetween(Long value1, Long value2) { + addCriterion("material_Id not between", value1, value2, "materialId"); + return (Criteria) this; + } + + public Criteria andSerialNumberIsNull() { + addCriterion("serial_Number is null"); + return (Criteria) this; + } + + public Criteria andSerialNumberIsNotNull() { + addCriterion("serial_Number is not null"); + return (Criteria) this; + } + + public Criteria andSerialNumberEqualTo(String value) { + addCriterion("serial_Number =", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotEqualTo(String value) { + addCriterion("serial_Number <>", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberGreaterThan(String value) { + addCriterion("serial_Number >", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberGreaterThanOrEqualTo(String value) { + addCriterion("serial_Number >=", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLessThan(String value) { + addCriterion("serial_Number <", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLessThanOrEqualTo(String value) { + addCriterion("serial_Number <=", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberLike(String value) { + addCriterion("serial_Number like", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotLike(String value) { + addCriterion("serial_Number not like", value, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberIn(List values) { + addCriterion("serial_Number in", values, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotIn(List values) { + addCriterion("serial_Number not in", values, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberBetween(String value1, String value2) { + addCriterion("serial_Number between", value1, value2, "serialNumber"); + return (Criteria) this; + } + + public Criteria andSerialNumberNotBetween(String value1, String value2) { + addCriterion("serial_Number not between", value1, value2, "serialNumber"); + return (Criteria) this; + } + + public Criteria andIsSellIsNull() { + addCriterion("is_Sell is null"); + return (Criteria) this; + } + + public Criteria andIsSellIsNotNull() { + addCriterion("is_Sell is not null"); + return (Criteria) this; + } + + public Criteria andIsSellEqualTo(String value) { + addCriterion("is_Sell =", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellNotEqualTo(String value) { + addCriterion("is_Sell <>", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellGreaterThan(String value) { + addCriterion("is_Sell >", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellGreaterThanOrEqualTo(String value) { + addCriterion("is_Sell >=", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellLessThan(String value) { + addCriterion("is_Sell <", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellLessThanOrEqualTo(String value) { + addCriterion("is_Sell <=", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellLike(String value) { + addCriterion("is_Sell like", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellNotLike(String value) { + addCriterion("is_Sell not like", value, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellIn(List values) { + addCriterion("is_Sell in", values, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellNotIn(List values) { + addCriterion("is_Sell not in", values, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellBetween(String value1, String value2) { + addCriterion("is_Sell between", value1, value2, "isSell"); + return (Criteria) this; + } + + public Criteria andIsSellNotBetween(String value1, String value2) { + addCriterion("is_Sell not between", value1, value2, "isSell"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + 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 values) { + addCriterion("delete_Flag in", values, "deleteFlag"); + return (Criteria) this; + } + + public Criteria andDeleteFlagNotIn(List 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; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_Time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_Time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_Time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_Time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_Time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_Time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_Time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_Time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_Time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_Time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_Time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_Time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_Time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_Time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_Time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_Time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_Time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_Time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_Time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_Time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_Time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_Time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_Time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_Time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNull() { + addCriterion("updater is null"); + return (Criteria) this; + } + + public Criteria andUpdaterIsNotNull() { + addCriterion("updater is not null"); + return (Criteria) this; + } + + public Criteria andUpdaterEqualTo(Long value) { + addCriterion("updater =", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotEqualTo(Long value) { + addCriterion("updater <>", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThan(Long value) { + addCriterion("updater >", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterGreaterThanOrEqualTo(Long value) { + addCriterion("updater >=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThan(Long value) { + addCriterion("updater <", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterLessThanOrEqualTo(Long value) { + addCriterion("updater <=", value, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterIn(List values) { + addCriterion("updater in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotIn(List values) { + addCriterion("updater not in", values, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterBetween(Long value1, Long value2) { + addCriterion("updater between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andUpdaterNotBetween(Long value1, Long value2) { + addCriterion("updater not between", value1, value2, "updater"); + return (Criteria) this; + } + + public Criteria andDepotheadIdIsNull() { + addCriterion("depothead_Id is null"); + return (Criteria) this; + } + + public Criteria andDepotheadIdIsNotNull() { + addCriterion("depothead_Id is not null"); + return (Criteria) this; + } + + public Criteria andDepotheadIdEqualTo(Long value) { + addCriterion("depothead_Id =", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdNotEqualTo(Long value) { + addCriterion("depothead_Id <>", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdGreaterThan(Long value) { + addCriterion("depothead_Id >", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdGreaterThanOrEqualTo(Long value) { + addCriterion("depothead_Id >=", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdLessThan(Long value) { + addCriterion("depothead_Id <", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdLessThanOrEqualTo(Long value) { + addCriterion("depothead_Id <=", value, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdIn(List values) { + addCriterion("depothead_Id in", values, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdNotIn(List values) { + addCriterion("depothead_Id not in", values, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdBetween(Long value1, Long value2) { + addCriterion("depothead_Id between", value1, value2, "depotheadId"); + return (Criteria) this; + } + + public Criteria andDepotheadIdNotBetween(Long value1, Long value2) { + addCriterion("depothead_Id not between", value1, value2, "depotheadId"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_serial_number + * + * @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_serial_number + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Supplier.java b/src/main/java/com/jsh/erp/datasource/entities/Supplier.java index 39a3f93a..0c0921de 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Supplier.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Supplier.java @@ -1,677 +1,709 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; - -public class Supplier { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.id - * - * @mbggenerated - */ - private Long id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.supplier - * - * @mbggenerated - */ - private String supplier; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.contacts - * - * @mbggenerated - */ - private String contacts; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.phonenum - * - * @mbggenerated - */ - private String phonenum; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.email - * - * @mbggenerated - */ - private String email; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.description - * - * @mbggenerated - */ - private String description; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.isystem - * - * @mbggenerated - */ - private Byte isystem; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.type - * - * @mbggenerated - */ - private String type; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.enabled - * - * @mbggenerated - */ - private Boolean enabled; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.AdvanceIn - * - * @mbggenerated - */ - private BigDecimal advancein; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.BeginNeedGet - * - * @mbggenerated - */ - private BigDecimal beginneedget; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.BeginNeedPay - * - * @mbggenerated - */ - private BigDecimal beginneedpay; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.AllNeedGet - * - * @mbggenerated - */ - private BigDecimal allneedget; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.AllNeedPay - * - * @mbggenerated - */ - private BigDecimal allneedpay; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.fax - * - * @mbggenerated - */ - private String fax; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.telephone - * - * @mbggenerated - */ - private String telephone; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.address - * - * @mbggenerated - */ - private String address; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.taxNum - * - * @mbggenerated - */ - private String taxnum; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.bankName - * - * @mbggenerated - */ - private String bankname; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.accountNumber - * - * @mbggenerated - */ - private String accountnumber; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_supplier.taxRate - * - * @mbggenerated - */ - private BigDecimal taxrate; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.id - * - * @return the value of jsh_supplier.id - * - * @mbggenerated - */ - public Long getId() { - return id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.id - * - * @param id the value for jsh_supplier.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_supplier.supplier - * - * @return the value of jsh_supplier.supplier - * - * @mbggenerated - */ - public String getSupplier() { - return supplier; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.supplier - * - * @param supplier the value for jsh_supplier.supplier - * - * @mbggenerated - */ - public void setSupplier(String supplier) { - this.supplier = supplier == null ? null : supplier.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.contacts - * - * @return the value of jsh_supplier.contacts - * - * @mbggenerated - */ - public String getContacts() { - return contacts; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.contacts - * - * @param contacts the value for jsh_supplier.contacts - * - * @mbggenerated - */ - public void setContacts(String contacts) { - this.contacts = contacts == null ? null : contacts.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.phonenum - * - * @return the value of jsh_supplier.phonenum - * - * @mbggenerated - */ - public String getPhonenum() { - return phonenum; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.phonenum - * - * @param phonenum the value for jsh_supplier.phonenum - * - * @mbggenerated - */ - public void setPhonenum(String phonenum) { - this.phonenum = phonenum == null ? null : phonenum.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.email - * - * @return the value of jsh_supplier.email - * - * @mbggenerated - */ - public String getEmail() { - return email; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.email - * - * @param email the value for jsh_supplier.email - * - * @mbggenerated - */ - public void setEmail(String email) { - this.email = email == null ? null : email.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.description - * - * @return the value of jsh_supplier.description - * - * @mbggenerated - */ - public String getDescription() { - return description; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.description - * - * @param description the value for jsh_supplier.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_supplier.isystem - * - * @return the value of jsh_supplier.isystem - * - * @mbggenerated - */ - public Byte getIsystem() { - return isystem; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.isystem - * - * @param isystem the value for jsh_supplier.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_supplier.type - * - * @return the value of jsh_supplier.type - * - * @mbggenerated - */ - public String getType() { - return type; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.type - * - * @param type the value for jsh_supplier.type - * - * @mbggenerated - */ - public void setType(String type) { - this.type = type == null ? null : type.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.enabled - * - * @return the value of jsh_supplier.enabled - * - * @mbggenerated - */ - public Boolean getEnabled() { - return enabled; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.enabled - * - * @param enabled the value for jsh_supplier.enabled - * - * @mbggenerated - */ - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.AdvanceIn - * - * @return the value of jsh_supplier.AdvanceIn - * - * @mbggenerated - */ - public BigDecimal getAdvancein() { - return advancein; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.AdvanceIn - * - * @param advancein the value for jsh_supplier.AdvanceIn - * - * @mbggenerated - */ - public void setAdvancein(BigDecimal advancein) { - this.advancein = advancein; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.BeginNeedGet - * - * @return the value of jsh_supplier.BeginNeedGet - * - * @mbggenerated - */ - public BigDecimal getBeginneedget() { - return beginneedget; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.BeginNeedGet - * - * @param beginneedget the value for jsh_supplier.BeginNeedGet - * - * @mbggenerated - */ - public void setBeginneedget(BigDecimal beginneedget) { - this.beginneedget = beginneedget; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.BeginNeedPay - * - * @return the value of jsh_supplier.BeginNeedPay - * - * @mbggenerated - */ - public BigDecimal getBeginneedpay() { - return beginneedpay; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.BeginNeedPay - * - * @param beginneedpay the value for jsh_supplier.BeginNeedPay - * - * @mbggenerated - */ - public void setBeginneedpay(BigDecimal beginneedpay) { - this.beginneedpay = beginneedpay; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.AllNeedGet - * - * @return the value of jsh_supplier.AllNeedGet - * - * @mbggenerated - */ - public BigDecimal getAllneedget() { - return allneedget; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.AllNeedGet - * - * @param allneedget the value for jsh_supplier.AllNeedGet - * - * @mbggenerated - */ - public void setAllneedget(BigDecimal allneedget) { - this.allneedget = allneedget; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.AllNeedPay - * - * @return the value of jsh_supplier.AllNeedPay - * - * @mbggenerated - */ - public BigDecimal getAllneedpay() { - return allneedpay; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.AllNeedPay - * - * @param allneedpay the value for jsh_supplier.AllNeedPay - * - * @mbggenerated - */ - public void setAllneedpay(BigDecimal allneedpay) { - this.allneedpay = allneedpay; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.fax - * - * @return the value of jsh_supplier.fax - * - * @mbggenerated - */ - public String getFax() { - return fax; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.fax - * - * @param fax the value for jsh_supplier.fax - * - * @mbggenerated - */ - public void setFax(String fax) { - this.fax = fax == null ? null : fax.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.telephone - * - * @return the value of jsh_supplier.telephone - * - * @mbggenerated - */ - public String getTelephone() { - return telephone; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.telephone - * - * @param telephone the value for jsh_supplier.telephone - * - * @mbggenerated - */ - public void setTelephone(String telephone) { - this.telephone = telephone == null ? null : telephone.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.address - * - * @return the value of jsh_supplier.address - * - * @mbggenerated - */ - public String getAddress() { - return address; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.address - * - * @param address the value for jsh_supplier.address - * - * @mbggenerated - */ - public void setAddress(String address) { - this.address = address == null ? null : address.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.taxNum - * - * @return the value of jsh_supplier.taxNum - * - * @mbggenerated - */ - public String getTaxnum() { - return taxnum; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.taxNum - * - * @param taxnum the value for jsh_supplier.taxNum - * - * @mbggenerated - */ - public void setTaxnum(String taxnum) { - this.taxnum = taxnum == null ? null : taxnum.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.bankName - * - * @return the value of jsh_supplier.bankName - * - * @mbggenerated - */ - public String getBankname() { - return bankname; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.bankName - * - * @param bankname the value for jsh_supplier.bankName - * - * @mbggenerated - */ - public void setBankname(String bankname) { - this.bankname = bankname == null ? null : bankname.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.accountNumber - * - * @return the value of jsh_supplier.accountNumber - * - * @mbggenerated - */ - public String getAccountnumber() { - return accountnumber; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.accountNumber - * - * @param accountnumber the value for jsh_supplier.accountNumber - * - * @mbggenerated - */ - public void setAccountnumber(String accountnumber) { - this.accountnumber = accountnumber == null ? null : accountnumber.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_supplier.taxRate - * - * @return the value of jsh_supplier.taxRate - * - * @mbggenerated - */ - public BigDecimal getTaxrate() { - return taxrate; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_supplier.taxRate - * - * @param taxrate the value for jsh_supplier.taxRate - * - * @mbggenerated - */ - public void setTaxrate(BigDecimal taxrate) { - this.taxrate = taxrate; - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; + +public class Supplier { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.supplier + * + * @mbggenerated + */ + private String supplier; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.contacts + * + * @mbggenerated + */ + private String contacts; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.phonenum + * + * @mbggenerated + */ + private String phonenum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.email + * + * @mbggenerated + */ + private String email; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.description + * + * @mbggenerated + */ + private String description; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.isystem + * + * @mbggenerated + */ + private Byte isystem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + private BigDecimal advancein; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + private BigDecimal beginneedget; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + private BigDecimal beginneedpay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + private BigDecimal allneedget; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + private BigDecimal allneedpay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.fax + * + * @mbggenerated + */ + private String fax; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.telephone + * + * @mbggenerated + */ + private String telephone; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.address + * + * @mbggenerated + */ + private String address; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.taxNum + * + * @mbggenerated + */ + private String taxnum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.bankName + * + * @mbggenerated + */ + private String bankname; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.accountNumber + * + * @mbggenerated + */ + private String accountnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.taxRate + * + * @mbggenerated + */ + private BigDecimal taxrate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.id + * + * @return the value of jsh_supplier.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.id + * + * @param id the value for jsh_supplier.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_supplier.supplier + * + * @return the value of jsh_supplier.supplier + * + * @mbggenerated + */ + public String getSupplier() { + return supplier; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.supplier + * + * @param supplier the value for jsh_supplier.supplier + * + * @mbggenerated + */ + public void setSupplier(String supplier) { + this.supplier = supplier == null ? null : supplier.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.contacts + * + * @return the value of jsh_supplier.contacts + * + * @mbggenerated + */ + public String getContacts() { + return contacts; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.contacts + * + * @param contacts the value for jsh_supplier.contacts + * + * @mbggenerated + */ + public void setContacts(String contacts) { + this.contacts = contacts == null ? null : contacts.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.phonenum + * + * @return the value of jsh_supplier.phonenum + * + * @mbggenerated + */ + public String getPhonenum() { + return phonenum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.phonenum + * + * @param phonenum the value for jsh_supplier.phonenum + * + * @mbggenerated + */ + public void setPhonenum(String phonenum) { + this.phonenum = phonenum == null ? null : phonenum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.email + * + * @return the value of jsh_supplier.email + * + * @mbggenerated + */ + public String getEmail() { + return email; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.email + * + * @param email the value for jsh_supplier.email + * + * @mbggenerated + */ + public void setEmail(String email) { + this.email = email == null ? null : email.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.description + * + * @return the value of jsh_supplier.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.description + * + * @param description the value for jsh_supplier.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_supplier.isystem + * + * @return the value of jsh_supplier.isystem + * + * @mbggenerated + */ + public Byte getIsystem() { + return isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.isystem + * + * @param isystem the value for jsh_supplier.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_supplier.type + * + * @return the value of jsh_supplier.type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.type + * + * @param type the value for jsh_supplier.type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.enabled + * + * @return the value of jsh_supplier.enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.enabled + * + * @param enabled the value for jsh_supplier.enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AdvanceIn + * + * @return the value of jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + public BigDecimal getAdvancein() { + return advancein; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AdvanceIn + * + * @param advancein the value for jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + public void setAdvancein(BigDecimal advancein) { + this.advancein = advancein; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.BeginNeedGet + * + * @return the value of jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + public BigDecimal getBeginneedget() { + return beginneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.BeginNeedGet + * + * @param beginneedget the value for jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + public void setBeginneedget(BigDecimal beginneedget) { + this.beginneedget = beginneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.BeginNeedPay + * + * @return the value of jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + public BigDecimal getBeginneedpay() { + return beginneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.BeginNeedPay + * + * @param beginneedpay the value for jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + public void setBeginneedpay(BigDecimal beginneedpay) { + this.beginneedpay = beginneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AllNeedGet + * + * @return the value of jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + public BigDecimal getAllneedget() { + return allneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AllNeedGet + * + * @param allneedget the value for jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + public void setAllneedget(BigDecimal allneedget) { + this.allneedget = allneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AllNeedPay + * + * @return the value of jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + public BigDecimal getAllneedpay() { + return allneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AllNeedPay + * + * @param allneedpay the value for jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + public void setAllneedpay(BigDecimal allneedpay) { + this.allneedpay = allneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.fax + * + * @return the value of jsh_supplier.fax + * + * @mbggenerated + */ + public String getFax() { + return fax; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.fax + * + * @param fax the value for jsh_supplier.fax + * + * @mbggenerated + */ + public void setFax(String fax) { + this.fax = fax == null ? null : fax.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.telephone + * + * @return the value of jsh_supplier.telephone + * + * @mbggenerated + */ + public String getTelephone() { + return telephone; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.telephone + * + * @param telephone the value for jsh_supplier.telephone + * + * @mbggenerated + */ + public void setTelephone(String telephone) { + this.telephone = telephone == null ? null : telephone.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.address + * + * @return the value of jsh_supplier.address + * + * @mbggenerated + */ + public String getAddress() { + return address; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.address + * + * @param address the value for jsh_supplier.address + * + * @mbggenerated + */ + public void setAddress(String address) { + this.address = address == null ? null : address.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.taxNum + * + * @return the value of jsh_supplier.taxNum + * + * @mbggenerated + */ + public String getTaxnum() { + return taxnum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.taxNum + * + * @param taxnum the value for jsh_supplier.taxNum + * + * @mbggenerated + */ + public void setTaxnum(String taxnum) { + this.taxnum = taxnum == null ? null : taxnum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.bankName + * + * @return the value of jsh_supplier.bankName + * + * @mbggenerated + */ + public String getBankname() { + return bankname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.bankName + * + * @param bankname the value for jsh_supplier.bankName + * + * @mbggenerated + */ + public void setBankname(String bankname) { + this.bankname = bankname == null ? null : bankname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.accountNumber + * + * @return the value of jsh_supplier.accountNumber + * + * @mbggenerated + */ + public String getAccountnumber() { + return accountnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.accountNumber + * + * @param accountnumber the value for jsh_supplier.accountNumber + * + * @mbggenerated + */ + public void setAccountnumber(String accountnumber) { + this.accountnumber = accountnumber == null ? null : accountnumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.taxRate + * + * @return the value of jsh_supplier.taxRate + * + * @mbggenerated + */ + public BigDecimal getTaxrate() { + return taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.taxRate + * + * @param taxrate the value for jsh_supplier.taxRate + * + * @mbggenerated + */ + public void setTaxrate(BigDecimal taxrate) { + this.taxrate = taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.tenant_id + * + * @return the value of jsh_supplier.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_supplier.tenant_id + * + * @param tenantId the value for jsh_supplier.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java b/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java index 85ec15ad..f632f079 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java @@ -1,1683 +1,1743 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class SupplierExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public SupplierExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @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_supplier - * - * @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_supplier - * - * @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_supplier - * - * @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_supplier - * - * @mbggenerated - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andIdIsNull() { - addCriterion("id is null"); - return (Criteria) this; - } - - public Criteria andIdIsNotNull() { - addCriterion("id is not null"); - return (Criteria) this; - } - - public Criteria andIdEqualTo(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 values) { - addCriterion("id in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdNotIn(List values) { - addCriterion("id not in", values, "id"); - return (Criteria) this; - } - - public Criteria andIdBetween(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 andSupplierIsNull() { - addCriterion("supplier is null"); - return (Criteria) this; - } - - public Criteria andSupplierIsNotNull() { - addCriterion("supplier is not null"); - return (Criteria) this; - } - - public Criteria andSupplierEqualTo(String value) { - addCriterion("supplier =", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotEqualTo(String value) { - addCriterion("supplier <>", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierGreaterThan(String value) { - addCriterion("supplier >", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierGreaterThanOrEqualTo(String value) { - addCriterion("supplier >=", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierLessThan(String value) { - addCriterion("supplier <", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierLessThanOrEqualTo(String value) { - addCriterion("supplier <=", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierLike(String value) { - addCriterion("supplier like", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotLike(String value) { - addCriterion("supplier not like", value, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierIn(List values) { - addCriterion("supplier in", values, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotIn(List values) { - addCriterion("supplier not in", values, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierBetween(String value1, String value2) { - addCriterion("supplier between", value1, value2, "supplier"); - return (Criteria) this; - } - - public Criteria andSupplierNotBetween(String value1, String value2) { - addCriterion("supplier not between", value1, value2, "supplier"); - return (Criteria) this; - } - - public Criteria andContactsIsNull() { - addCriterion("contacts is null"); - return (Criteria) this; - } - - public Criteria andContactsIsNotNull() { - addCriterion("contacts is not null"); - return (Criteria) this; - } - - public Criteria andContactsEqualTo(String value) { - addCriterion("contacts =", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsNotEqualTo(String value) { - addCriterion("contacts <>", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsGreaterThan(String value) { - addCriterion("contacts >", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsGreaterThanOrEqualTo(String value) { - addCriterion("contacts >=", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsLessThan(String value) { - addCriterion("contacts <", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsLessThanOrEqualTo(String value) { - addCriterion("contacts <=", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsLike(String value) { - addCriterion("contacts like", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsNotLike(String value) { - addCriterion("contacts not like", value, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsIn(List values) { - addCriterion("contacts in", values, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsNotIn(List values) { - addCriterion("contacts not in", values, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsBetween(String value1, String value2) { - addCriterion("contacts between", value1, value2, "contacts"); - return (Criteria) this; - } - - public Criteria andContactsNotBetween(String value1, String value2) { - addCriterion("contacts not between", value1, value2, "contacts"); - return (Criteria) this; - } - - public Criteria andPhonenumIsNull() { - addCriterion("phonenum is null"); - return (Criteria) this; - } - - public Criteria andPhonenumIsNotNull() { - addCriterion("phonenum is not null"); - return (Criteria) this; - } - - public Criteria andPhonenumEqualTo(String value) { - addCriterion("phonenum =", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumNotEqualTo(String value) { - addCriterion("phonenum <>", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumGreaterThan(String value) { - addCriterion("phonenum >", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumGreaterThanOrEqualTo(String value) { - addCriterion("phonenum >=", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumLessThan(String value) { - addCriterion("phonenum <", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumLessThanOrEqualTo(String value) { - addCriterion("phonenum <=", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumLike(String value) { - addCriterion("phonenum like", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumNotLike(String value) { - addCriterion("phonenum not like", value, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumIn(List values) { - addCriterion("phonenum in", values, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumNotIn(List values) { - addCriterion("phonenum not in", values, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumBetween(String value1, String value2) { - addCriterion("phonenum between", value1, value2, "phonenum"); - return (Criteria) this; - } - - public Criteria andPhonenumNotBetween(String value1, String value2) { - addCriterion("phonenum not between", value1, value2, "phonenum"); - return (Criteria) this; - } - - public Criteria andEmailIsNull() { - addCriterion("email is null"); - return (Criteria) this; - } - - public Criteria andEmailIsNotNull() { - addCriterion("email is not null"); - return (Criteria) this; - } - - public Criteria andEmailEqualTo(String value) { - addCriterion("email =", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotEqualTo(String value) { - addCriterion("email <>", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailGreaterThan(String value) { - addCriterion("email >", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailGreaterThanOrEqualTo(String value) { - addCriterion("email >=", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLessThan(String value) { - addCriterion("email <", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLessThanOrEqualTo(String value) { - addCriterion("email <=", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailLike(String value) { - addCriterion("email like", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotLike(String value) { - addCriterion("email not like", value, "email"); - return (Criteria) this; - } - - public Criteria andEmailIn(List values) { - addCriterion("email in", values, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotIn(List values) { - addCriterion("email not in", values, "email"); - return (Criteria) this; - } - - public Criteria andEmailBetween(String value1, String value2) { - addCriterion("email between", value1, value2, "email"); - return (Criteria) this; - } - - public Criteria andEmailNotBetween(String value1, String value2) { - addCriterion("email not between", value1, value2, "email"); - 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 values) { - addCriterion("description in", values, "description"); - return (Criteria) this; - } - - public Criteria andDescriptionNotIn(List 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 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 values) { - addCriterion("isystem in", values, "isystem"); - return (Criteria) this; - } - - public Criteria andIsystemNotIn(List 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 andTypeIsNull() { - addCriterion("type is null"); - return (Criteria) this; - } - - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); - return (Criteria) this; - } - - public Criteria andTypeEqualTo(String value) { - addCriterion("type =", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotEqualTo(String value) { - addCriterion("type <>", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThan(String value) { - addCriterion("type >", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeGreaterThanOrEqualTo(String value) { - addCriterion("type >=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThan(String value) { - addCriterion("type <", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLessThanOrEqualTo(String value) { - addCriterion("type <=", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeLike(String value) { - addCriterion("type like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotLike(String value) { - addCriterion("type not like", value, "type"); - return (Criteria) this; - } - - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); - return (Criteria) this; - } - - public Criteria andTypeBetween(String value1, String value2) { - addCriterion("type between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andTypeNotBetween(String value1, String value2) { - addCriterion("type not between", value1, value2, "type"); - return (Criteria) this; - } - - public Criteria andEnabledIsNull() { - addCriterion("enabled is null"); - return (Criteria) this; - } - - public Criteria andEnabledIsNotNull() { - addCriterion("enabled is not null"); - return (Criteria) this; - } - - public Criteria andEnabledEqualTo(Boolean value) { - addCriterion("enabled =", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotEqualTo(Boolean value) { - addCriterion("enabled <>", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledGreaterThan(Boolean value) { - addCriterion("enabled >", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { - addCriterion("enabled >=", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledLessThan(Boolean value) { - addCriterion("enabled <", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledLessThanOrEqualTo(Boolean value) { - addCriterion("enabled <=", value, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledIn(List values) { - addCriterion("enabled in", values, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotIn(List values) { - addCriterion("enabled not in", values, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledBetween(Boolean value1, Boolean value2) { - addCriterion("enabled between", value1, value2, "enabled"); - return (Criteria) this; - } - - public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { - addCriterion("enabled not between", value1, value2, "enabled"); - return (Criteria) this; - } - - public Criteria andAdvanceinIsNull() { - addCriterion("AdvanceIn is null"); - return (Criteria) this; - } - - public Criteria andAdvanceinIsNotNull() { - addCriterion("AdvanceIn is not null"); - return (Criteria) this; - } - - public Criteria andAdvanceinEqualTo(BigDecimal value) { - addCriterion("AdvanceIn =", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinNotEqualTo(BigDecimal value) { - addCriterion("AdvanceIn <>", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinGreaterThan(BigDecimal value) { - addCriterion("AdvanceIn >", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("AdvanceIn >=", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinLessThan(BigDecimal value) { - addCriterion("AdvanceIn <", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinLessThanOrEqualTo(BigDecimal value) { - addCriterion("AdvanceIn <=", value, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinIn(List values) { - addCriterion("AdvanceIn in", values, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinNotIn(List values) { - addCriterion("AdvanceIn not in", values, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AdvanceIn between", value1, value2, "advancein"); - return (Criteria) this; - } - - public Criteria andAdvanceinNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AdvanceIn not between", value1, value2, "advancein"); - return (Criteria) this; - } - - public Criteria andBeginneedgetIsNull() { - addCriterion("BeginNeedGet is null"); - return (Criteria) this; - } - - public Criteria andBeginneedgetIsNotNull() { - addCriterion("BeginNeedGet is not null"); - return (Criteria) this; - } - - public Criteria andBeginneedgetEqualTo(BigDecimal value) { - addCriterion("BeginNeedGet =", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetNotEqualTo(BigDecimal value) { - addCriterion("BeginNeedGet <>", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetGreaterThan(BigDecimal value) { - addCriterion("BeginNeedGet >", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("BeginNeedGet >=", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetLessThan(BigDecimal value) { - addCriterion("BeginNeedGet <", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetLessThanOrEqualTo(BigDecimal value) { - addCriterion("BeginNeedGet <=", value, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetIn(List values) { - addCriterion("BeginNeedGet in", values, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetNotIn(List values) { - addCriterion("BeginNeedGet not in", values, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BeginNeedGet between", value1, value2, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedgetNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BeginNeedGet not between", value1, value2, "beginneedget"); - return (Criteria) this; - } - - public Criteria andBeginneedpayIsNull() { - addCriterion("BeginNeedPay is null"); - return (Criteria) this; - } - - public Criteria andBeginneedpayIsNotNull() { - addCriterion("BeginNeedPay is not null"); - return (Criteria) this; - } - - public Criteria andBeginneedpayEqualTo(BigDecimal value) { - addCriterion("BeginNeedPay =", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayNotEqualTo(BigDecimal value) { - addCriterion("BeginNeedPay <>", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayGreaterThan(BigDecimal value) { - addCriterion("BeginNeedPay >", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("BeginNeedPay >=", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayLessThan(BigDecimal value) { - addCriterion("BeginNeedPay <", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayLessThanOrEqualTo(BigDecimal value) { - addCriterion("BeginNeedPay <=", value, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayIn(List values) { - addCriterion("BeginNeedPay in", values, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayNotIn(List values) { - addCriterion("BeginNeedPay not in", values, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BeginNeedPay between", value1, value2, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andBeginneedpayNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("BeginNeedPay not between", value1, value2, "beginneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedgetIsNull() { - addCriterion("AllNeedGet is null"); - return (Criteria) this; - } - - public Criteria andAllneedgetIsNotNull() { - addCriterion("AllNeedGet is not null"); - return (Criteria) this; - } - - public Criteria andAllneedgetEqualTo(BigDecimal value) { - addCriterion("AllNeedGet =", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetNotEqualTo(BigDecimal value) { - addCriterion("AllNeedGet <>", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetGreaterThan(BigDecimal value) { - addCriterion("AllNeedGet >", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("AllNeedGet >=", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetLessThan(BigDecimal value) { - addCriterion("AllNeedGet <", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetLessThanOrEqualTo(BigDecimal value) { - addCriterion("AllNeedGet <=", value, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetIn(List values) { - addCriterion("AllNeedGet in", values, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetNotIn(List values) { - addCriterion("AllNeedGet not in", values, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllNeedGet between", value1, value2, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedgetNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllNeedGet not between", value1, value2, "allneedget"); - return (Criteria) this; - } - - public Criteria andAllneedpayIsNull() { - addCriterion("AllNeedPay is null"); - return (Criteria) this; - } - - public Criteria andAllneedpayIsNotNull() { - addCriterion("AllNeedPay is not null"); - return (Criteria) this; - } - - public Criteria andAllneedpayEqualTo(BigDecimal value) { - addCriterion("AllNeedPay =", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayNotEqualTo(BigDecimal value) { - addCriterion("AllNeedPay <>", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayGreaterThan(BigDecimal value) { - addCriterion("AllNeedPay >", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("AllNeedPay >=", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayLessThan(BigDecimal value) { - addCriterion("AllNeedPay <", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayLessThanOrEqualTo(BigDecimal value) { - addCriterion("AllNeedPay <=", value, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayIn(List values) { - addCriterion("AllNeedPay in", values, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayNotIn(List values) { - addCriterion("AllNeedPay not in", values, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllNeedPay between", value1, value2, "allneedpay"); - return (Criteria) this; - } - - public Criteria andAllneedpayNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("AllNeedPay not between", value1, value2, "allneedpay"); - return (Criteria) this; - } - - public Criteria andFaxIsNull() { - addCriterion("fax is null"); - return (Criteria) this; - } - - public Criteria andFaxIsNotNull() { - addCriterion("fax is not null"); - return (Criteria) this; - } - - public Criteria andFaxEqualTo(String value) { - addCriterion("fax =", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxNotEqualTo(String value) { - addCriterion("fax <>", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxGreaterThan(String value) { - addCriterion("fax >", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxGreaterThanOrEqualTo(String value) { - addCriterion("fax >=", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxLessThan(String value) { - addCriterion("fax <", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxLessThanOrEqualTo(String value) { - addCriterion("fax <=", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxLike(String value) { - addCriterion("fax like", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxNotLike(String value) { - addCriterion("fax not like", value, "fax"); - return (Criteria) this; - } - - public Criteria andFaxIn(List values) { - addCriterion("fax in", values, "fax"); - return (Criteria) this; - } - - public Criteria andFaxNotIn(List values) { - addCriterion("fax not in", values, "fax"); - return (Criteria) this; - } - - public Criteria andFaxBetween(String value1, String value2) { - addCriterion("fax between", value1, value2, "fax"); - return (Criteria) this; - } - - public Criteria andFaxNotBetween(String value1, String value2) { - addCriterion("fax not between", value1, value2, "fax"); - return (Criteria) this; - } - - public Criteria andTelephoneIsNull() { - addCriterion("telephone is null"); - return (Criteria) this; - } - - public Criteria andTelephoneIsNotNull() { - addCriterion("telephone is not null"); - return (Criteria) this; - } - - public Criteria andTelephoneEqualTo(String value) { - addCriterion("telephone =", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneNotEqualTo(String value) { - addCriterion("telephone <>", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneGreaterThan(String value) { - addCriterion("telephone >", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneGreaterThanOrEqualTo(String value) { - addCriterion("telephone >=", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneLessThan(String value) { - addCriterion("telephone <", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneLessThanOrEqualTo(String value) { - addCriterion("telephone <=", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneLike(String value) { - addCriterion("telephone like", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneNotLike(String value) { - addCriterion("telephone not like", value, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneIn(List values) { - addCriterion("telephone in", values, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneNotIn(List values) { - addCriterion("telephone not in", values, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneBetween(String value1, String value2) { - addCriterion("telephone between", value1, value2, "telephone"); - return (Criteria) this; - } - - public Criteria andTelephoneNotBetween(String value1, String value2) { - addCriterion("telephone not between", value1, value2, "telephone"); - return (Criteria) this; - } - - public Criteria andAddressIsNull() { - addCriterion("address is null"); - return (Criteria) this; - } - - public Criteria andAddressIsNotNull() { - addCriterion("address is not null"); - return (Criteria) this; - } - - public Criteria andAddressEqualTo(String value) { - addCriterion("address =", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotEqualTo(String value) { - addCriterion("address <>", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThan(String value) { - addCriterion("address >", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressGreaterThanOrEqualTo(String value) { - addCriterion("address >=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThan(String value) { - addCriterion("address <", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLessThanOrEqualTo(String value) { - addCriterion("address <=", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressLike(String value) { - addCriterion("address like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotLike(String value) { - addCriterion("address not like", value, "address"); - return (Criteria) this; - } - - public Criteria andAddressIn(List values) { - addCriterion("address in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotIn(List values) { - addCriterion("address not in", values, "address"); - return (Criteria) this; - } - - public Criteria andAddressBetween(String value1, String value2) { - addCriterion("address between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andAddressNotBetween(String value1, String value2) { - addCriterion("address not between", value1, value2, "address"); - return (Criteria) this; - } - - public Criteria andTaxnumIsNull() { - addCriterion("taxNum is null"); - return (Criteria) this; - } - - public Criteria andTaxnumIsNotNull() { - addCriterion("taxNum is not null"); - return (Criteria) this; - } - - public Criteria andTaxnumEqualTo(String value) { - addCriterion("taxNum =", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumNotEqualTo(String value) { - addCriterion("taxNum <>", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumGreaterThan(String value) { - addCriterion("taxNum >", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumGreaterThanOrEqualTo(String value) { - addCriterion("taxNum >=", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumLessThan(String value) { - addCriterion("taxNum <", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumLessThanOrEqualTo(String value) { - addCriterion("taxNum <=", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumLike(String value) { - addCriterion("taxNum like", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumNotLike(String value) { - addCriterion("taxNum not like", value, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumIn(List values) { - addCriterion("taxNum in", values, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumNotIn(List values) { - addCriterion("taxNum not in", values, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumBetween(String value1, String value2) { - addCriterion("taxNum between", value1, value2, "taxnum"); - return (Criteria) this; - } - - public Criteria andTaxnumNotBetween(String value1, String value2) { - addCriterion("taxNum not between", value1, value2, "taxnum"); - return (Criteria) this; - } - - public Criteria andBanknameIsNull() { - addCriterion("bankName is null"); - return (Criteria) this; - } - - public Criteria andBanknameIsNotNull() { - addCriterion("bankName is not null"); - return (Criteria) this; - } - - public Criteria andBanknameEqualTo(String value) { - addCriterion("bankName =", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameNotEqualTo(String value) { - addCriterion("bankName <>", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameGreaterThan(String value) { - addCriterion("bankName >", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameGreaterThanOrEqualTo(String value) { - addCriterion("bankName >=", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameLessThan(String value) { - addCriterion("bankName <", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameLessThanOrEqualTo(String value) { - addCriterion("bankName <=", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameLike(String value) { - addCriterion("bankName like", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameNotLike(String value) { - addCriterion("bankName not like", value, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameIn(List values) { - addCriterion("bankName in", values, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameNotIn(List values) { - addCriterion("bankName not in", values, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameBetween(String value1, String value2) { - addCriterion("bankName between", value1, value2, "bankname"); - return (Criteria) this; - } - - public Criteria andBanknameNotBetween(String value1, String value2) { - addCriterion("bankName not between", value1, value2, "bankname"); - return (Criteria) this; - } - - public Criteria andAccountnumberIsNull() { - addCriterion("accountNumber is null"); - return (Criteria) this; - } - - public Criteria andAccountnumberIsNotNull() { - addCriterion("accountNumber is not null"); - return (Criteria) this; - } - - public Criteria andAccountnumberEqualTo(String value) { - addCriterion("accountNumber =", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberNotEqualTo(String value) { - addCriterion("accountNumber <>", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberGreaterThan(String value) { - addCriterion("accountNumber >", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberGreaterThanOrEqualTo(String value) { - addCriterion("accountNumber >=", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberLessThan(String value) { - addCriterion("accountNumber <", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberLessThanOrEqualTo(String value) { - addCriterion("accountNumber <=", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberLike(String value) { - addCriterion("accountNumber like", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberNotLike(String value) { - addCriterion("accountNumber not like", value, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberIn(List values) { - addCriterion("accountNumber in", values, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberNotIn(List values) { - addCriterion("accountNumber not in", values, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberBetween(String value1, String value2) { - addCriterion("accountNumber between", value1, value2, "accountnumber"); - return (Criteria) this; - } - - public Criteria andAccountnumberNotBetween(String value1, String value2) { - addCriterion("accountNumber not between", value1, value2, "accountnumber"); - return (Criteria) this; - } - - public Criteria andTaxrateIsNull() { - addCriterion("taxRate is null"); - return (Criteria) this; - } - - public Criteria andTaxrateIsNotNull() { - addCriterion("taxRate is not null"); - return (Criteria) this; - } - - public Criteria andTaxrateEqualTo(BigDecimal value) { - addCriterion("taxRate =", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotEqualTo(BigDecimal value) { - addCriterion("taxRate <>", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateGreaterThan(BigDecimal value) { - addCriterion("taxRate >", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("taxRate >=", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateLessThan(BigDecimal value) { - addCriterion("taxRate <", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateLessThanOrEqualTo(BigDecimal value) { - addCriterion("taxRate <=", value, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateIn(List values) { - addCriterion("taxRate in", values, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotIn(List values) { - addCriterion("taxRate not in", values, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("taxRate between", value1, value2, "taxrate"); - return (Criteria) this; - } - - public Criteria andTaxrateNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("taxRate not between", value1, value2, "taxrate"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table jsh_supplier - * - * @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_supplier - * - * @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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class SupplierExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public SupplierExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @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_supplier + * + * @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_supplier + * + * @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_supplier + * + * @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_supplier + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(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 values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(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 andSupplierIsNull() { + addCriterion("supplier is null"); + return (Criteria) this; + } + + public Criteria andSupplierIsNotNull() { + addCriterion("supplier is not null"); + return (Criteria) this; + } + + public Criteria andSupplierEqualTo(String value) { + addCriterion("supplier =", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotEqualTo(String value) { + addCriterion("supplier <>", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThan(String value) { + addCriterion("supplier >", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThanOrEqualTo(String value) { + addCriterion("supplier >=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThan(String value) { + addCriterion("supplier <", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThanOrEqualTo(String value) { + addCriterion("supplier <=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLike(String value) { + addCriterion("supplier like", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotLike(String value) { + addCriterion("supplier not like", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierIn(List values) { + addCriterion("supplier in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotIn(List values) { + addCriterion("supplier not in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierBetween(String value1, String value2) { + addCriterion("supplier between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotBetween(String value1, String value2) { + addCriterion("supplier not between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andContactsIsNull() { + addCriterion("contacts is null"); + return (Criteria) this; + } + + public Criteria andContactsIsNotNull() { + addCriterion("contacts is not null"); + return (Criteria) this; + } + + public Criteria andContactsEqualTo(String value) { + addCriterion("contacts =", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotEqualTo(String value) { + addCriterion("contacts <>", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsGreaterThan(String value) { + addCriterion("contacts >", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsGreaterThanOrEqualTo(String value) { + addCriterion("contacts >=", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLessThan(String value) { + addCriterion("contacts <", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLessThanOrEqualTo(String value) { + addCriterion("contacts <=", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLike(String value) { + addCriterion("contacts like", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotLike(String value) { + addCriterion("contacts not like", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsIn(List values) { + addCriterion("contacts in", values, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotIn(List values) { + addCriterion("contacts not in", values, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsBetween(String value1, String value2) { + addCriterion("contacts between", value1, value2, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotBetween(String value1, String value2) { + addCriterion("contacts not between", value1, value2, "contacts"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNull() { + addCriterion("phonenum is null"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNotNull() { + addCriterion("phonenum is not null"); + return (Criteria) this; + } + + public Criteria andPhonenumEqualTo(String value) { + addCriterion("phonenum =", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotEqualTo(String value) { + addCriterion("phonenum <>", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThan(String value) { + addCriterion("phonenum >", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThanOrEqualTo(String value) { + addCriterion("phonenum >=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThan(String value) { + addCriterion("phonenum <", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThanOrEqualTo(String value) { + addCriterion("phonenum <=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLike(String value) { + addCriterion("phonenum like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotLike(String value) { + addCriterion("phonenum not like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumIn(List values) { + addCriterion("phonenum in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotIn(List values) { + addCriterion("phonenum not in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumBetween(String value1, String value2) { + addCriterion("phonenum between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotBetween(String value1, String value2) { + addCriterion("phonenum not between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + 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 values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List 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 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 values) { + addCriterion("isystem in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotIn(List 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 andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andAdvanceinIsNull() { + addCriterion("AdvanceIn is null"); + return (Criteria) this; + } + + public Criteria andAdvanceinIsNotNull() { + addCriterion("AdvanceIn is not null"); + return (Criteria) this; + } + + public Criteria andAdvanceinEqualTo(BigDecimal value) { + addCriterion("AdvanceIn =", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotEqualTo(BigDecimal value) { + addCriterion("AdvanceIn <>", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinGreaterThan(BigDecimal value) { + addCriterion("AdvanceIn >", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("AdvanceIn >=", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinLessThan(BigDecimal value) { + addCriterion("AdvanceIn <", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinLessThanOrEqualTo(BigDecimal value) { + addCriterion("AdvanceIn <=", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinIn(List values) { + addCriterion("AdvanceIn in", values, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotIn(List values) { + addCriterion("AdvanceIn not in", values, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AdvanceIn between", value1, value2, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AdvanceIn not between", value1, value2, "advancein"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIsNull() { + addCriterion("BeginNeedGet is null"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIsNotNull() { + addCriterion("BeginNeedGet is not null"); + return (Criteria) this; + } + + public Criteria andBeginneedgetEqualTo(BigDecimal value) { + addCriterion("BeginNeedGet =", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotEqualTo(BigDecimal value) { + addCriterion("BeginNeedGet <>", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetGreaterThan(BigDecimal value) { + addCriterion("BeginNeedGet >", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("BeginNeedGet >=", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetLessThan(BigDecimal value) { + addCriterion("BeginNeedGet <", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetLessThanOrEqualTo(BigDecimal value) { + addCriterion("BeginNeedGet <=", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIn(List values) { + addCriterion("BeginNeedGet in", values, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotIn(List values) { + addCriterion("BeginNeedGet not in", values, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BeginNeedGet between", value1, value2, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BeginNeedGet not between", value1, value2, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIsNull() { + addCriterion("BeginNeedPay is null"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIsNotNull() { + addCriterion("BeginNeedPay is not null"); + return (Criteria) this; + } + + public Criteria andBeginneedpayEqualTo(BigDecimal value) { + addCriterion("BeginNeedPay =", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotEqualTo(BigDecimal value) { + addCriterion("BeginNeedPay <>", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayGreaterThan(BigDecimal value) { + addCriterion("BeginNeedPay >", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("BeginNeedPay >=", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayLessThan(BigDecimal value) { + addCriterion("BeginNeedPay <", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayLessThanOrEqualTo(BigDecimal value) { + addCriterion("BeginNeedPay <=", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIn(List values) { + addCriterion("BeginNeedPay in", values, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotIn(List values) { + addCriterion("BeginNeedPay not in", values, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BeginNeedPay between", value1, value2, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("BeginNeedPay not between", value1, value2, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedgetIsNull() { + addCriterion("AllNeedGet is null"); + return (Criteria) this; + } + + public Criteria andAllneedgetIsNotNull() { + addCriterion("AllNeedGet is not null"); + return (Criteria) this; + } + + public Criteria andAllneedgetEqualTo(BigDecimal value) { + addCriterion("AllNeedGet =", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotEqualTo(BigDecimal value) { + addCriterion("AllNeedGet <>", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetGreaterThan(BigDecimal value) { + addCriterion("AllNeedGet >", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("AllNeedGet >=", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetLessThan(BigDecimal value) { + addCriterion("AllNeedGet <", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetLessThanOrEqualTo(BigDecimal value) { + addCriterion("AllNeedGet <=", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetIn(List values) { + addCriterion("AllNeedGet in", values, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotIn(List values) { + addCriterion("AllNeedGet not in", values, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllNeedGet between", value1, value2, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllNeedGet not between", value1, value2, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedpayIsNull() { + addCriterion("AllNeedPay is null"); + return (Criteria) this; + } + + public Criteria andAllneedpayIsNotNull() { + addCriterion("AllNeedPay is not null"); + return (Criteria) this; + } + + public Criteria andAllneedpayEqualTo(BigDecimal value) { + addCriterion("AllNeedPay =", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotEqualTo(BigDecimal value) { + addCriterion("AllNeedPay <>", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayGreaterThan(BigDecimal value) { + addCriterion("AllNeedPay >", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("AllNeedPay >=", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayLessThan(BigDecimal value) { + addCriterion("AllNeedPay <", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayLessThanOrEqualTo(BigDecimal value) { + addCriterion("AllNeedPay <=", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayIn(List values) { + addCriterion("AllNeedPay in", values, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotIn(List values) { + addCriterion("AllNeedPay not in", values, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllNeedPay between", value1, value2, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("AllNeedPay not between", value1, value2, "allneedpay"); + return (Criteria) this; + } + + public Criteria andFaxIsNull() { + addCriterion("fax is null"); + return (Criteria) this; + } + + public Criteria andFaxIsNotNull() { + addCriterion("fax is not null"); + return (Criteria) this; + } + + public Criteria andFaxEqualTo(String value) { + addCriterion("fax =", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotEqualTo(String value) { + addCriterion("fax <>", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxGreaterThan(String value) { + addCriterion("fax >", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxGreaterThanOrEqualTo(String value) { + addCriterion("fax >=", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLessThan(String value) { + addCriterion("fax <", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLessThanOrEqualTo(String value) { + addCriterion("fax <=", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLike(String value) { + addCriterion("fax like", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotLike(String value) { + addCriterion("fax not like", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxIn(List values) { + addCriterion("fax in", values, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotIn(List values) { + addCriterion("fax not in", values, "fax"); + return (Criteria) this; + } + + public Criteria andFaxBetween(String value1, String value2) { + addCriterion("fax between", value1, value2, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotBetween(String value1, String value2) { + addCriterion("fax not between", value1, value2, "fax"); + return (Criteria) this; + } + + public Criteria andTelephoneIsNull() { + addCriterion("telephone is null"); + return (Criteria) this; + } + + public Criteria andTelephoneIsNotNull() { + addCriterion("telephone is not null"); + return (Criteria) this; + } + + public Criteria andTelephoneEqualTo(String value) { + addCriterion("telephone =", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotEqualTo(String value) { + addCriterion("telephone <>", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneGreaterThan(String value) { + addCriterion("telephone >", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneGreaterThanOrEqualTo(String value) { + addCriterion("telephone >=", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLessThan(String value) { + addCriterion("telephone <", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLessThanOrEqualTo(String value) { + addCriterion("telephone <=", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLike(String value) { + addCriterion("telephone like", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotLike(String value) { + addCriterion("telephone not like", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneIn(List values) { + addCriterion("telephone in", values, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotIn(List values) { + addCriterion("telephone not in", values, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneBetween(String value1, String value2) { + addCriterion("telephone between", value1, value2, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotBetween(String value1, String value2) { + addCriterion("telephone not between", value1, value2, "telephone"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andTaxnumIsNull() { + addCriterion("taxNum is null"); + return (Criteria) this; + } + + public Criteria andTaxnumIsNotNull() { + addCriterion("taxNum is not null"); + return (Criteria) this; + } + + public Criteria andTaxnumEqualTo(String value) { + addCriterion("taxNum =", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotEqualTo(String value) { + addCriterion("taxNum <>", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumGreaterThan(String value) { + addCriterion("taxNum >", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumGreaterThanOrEqualTo(String value) { + addCriterion("taxNum >=", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLessThan(String value) { + addCriterion("taxNum <", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLessThanOrEqualTo(String value) { + addCriterion("taxNum <=", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLike(String value) { + addCriterion("taxNum like", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotLike(String value) { + addCriterion("taxNum not like", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumIn(List values) { + addCriterion("taxNum in", values, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotIn(List values) { + addCriterion("taxNum not in", values, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumBetween(String value1, String value2) { + addCriterion("taxNum between", value1, value2, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotBetween(String value1, String value2) { + addCriterion("taxNum not between", value1, value2, "taxnum"); + return (Criteria) this; + } + + public Criteria andBanknameIsNull() { + addCriterion("bankName is null"); + return (Criteria) this; + } + + public Criteria andBanknameIsNotNull() { + addCriterion("bankName is not null"); + return (Criteria) this; + } + + public Criteria andBanknameEqualTo(String value) { + addCriterion("bankName =", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotEqualTo(String value) { + addCriterion("bankName <>", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameGreaterThan(String value) { + addCriterion("bankName >", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameGreaterThanOrEqualTo(String value) { + addCriterion("bankName >=", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLessThan(String value) { + addCriterion("bankName <", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLessThanOrEqualTo(String value) { + addCriterion("bankName <=", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLike(String value) { + addCriterion("bankName like", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotLike(String value) { + addCriterion("bankName not like", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameIn(List values) { + addCriterion("bankName in", values, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotIn(List values) { + addCriterion("bankName not in", values, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameBetween(String value1, String value2) { + addCriterion("bankName between", value1, value2, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotBetween(String value1, String value2) { + addCriterion("bankName not between", value1, value2, "bankname"); + return (Criteria) this; + } + + public Criteria andAccountnumberIsNull() { + addCriterion("accountNumber is null"); + return (Criteria) this; + } + + public Criteria andAccountnumberIsNotNull() { + addCriterion("accountNumber is not null"); + return (Criteria) this; + } + + public Criteria andAccountnumberEqualTo(String value) { + addCriterion("accountNumber =", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotEqualTo(String value) { + addCriterion("accountNumber <>", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberGreaterThan(String value) { + addCriterion("accountNumber >", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberGreaterThanOrEqualTo(String value) { + addCriterion("accountNumber >=", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLessThan(String value) { + addCriterion("accountNumber <", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLessThanOrEqualTo(String value) { + addCriterion("accountNumber <=", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLike(String value) { + addCriterion("accountNumber like", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotLike(String value) { + addCriterion("accountNumber not like", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberIn(List values) { + addCriterion("accountNumber in", values, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotIn(List values) { + addCriterion("accountNumber not in", values, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberBetween(String value1, String value2) { + addCriterion("accountNumber between", value1, value2, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotBetween(String value1, String value2) { + addCriterion("accountNumber not between", value1, value2, "accountnumber"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNull() { + addCriterion("taxRate is null"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNotNull() { + addCriterion("taxRate is not null"); + return (Criteria) this; + } + + public Criteria andTaxrateEqualTo(BigDecimal value) { + addCriterion("taxRate =", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotEqualTo(BigDecimal value) { + addCriterion("taxRate <>", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThan(BigDecimal value) { + addCriterion("taxRate >", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("taxRate >=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThan(BigDecimal value) { + addCriterion("taxRate <", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThanOrEqualTo(BigDecimal value) { + addCriterion("taxRate <=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateIn(List values) { + addCriterion("taxRate in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotIn(List values) { + addCriterion("taxRate not in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("taxRate between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("taxRate not between", value1, value2, "taxrate"); + 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_supplier + * + * @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_supplier + * + * @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); + } + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java index a083073c..84848cf2 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java @@ -57,6 +57,14 @@ public class SystemConfig { */ private String companyPostCode; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_systemconfig.id @@ -224,4 +232,28 @@ public class SystemConfig { public void setCompanyPostCode(String companyPostCode) { this.companyPostCode = companyPostCode == null ? null : companyPostCode.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.tenant_id + * + * @return the value of jsh_systemconfig.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_systemconfig.tenant_id + * + * @param tenantId the value for jsh_systemconfig.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java b/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java index 35efad8a..1ef4739a 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java @@ -673,6 +673,66 @@ public class SystemConfigExample { addCriterion("company_post_code not between", value1, value2, "companyPostCode"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/Unit.java b/src/main/java/com/jsh/erp/datasource/entities/Unit.java index 8fef6931..815b0f0c 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/Unit.java +++ b/src/main/java/com/jsh/erp/datasource/entities/Unit.java @@ -17,6 +17,14 @@ public class Unit { */ private String uname; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_unit.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_unit.id @@ -64,4 +72,28 @@ public class Unit { public void setUname(String uname) { this.uname = uname == null ? null : uname.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_unit.tenant_id + * + * @return the value of jsh_unit.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_unit.tenant_id + * + * @param tenantId the value for jsh_unit.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java b/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java index 089d41b0..0f5c2042 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java @@ -323,6 +323,66 @@ public class UnitExample { addCriterion("UName not between", value1, value2, "uname"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/entities/User.java b/src/main/java/com/jsh/erp/datasource/entities/User.java index a283516b..cb28bbf3 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/User.java +++ b/src/main/java/com/jsh/erp/datasource/entities/User.java @@ -83,7 +83,7 @@ public class User { /** * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_user.status + * This field corresponds to the database column jsh_user.Status * * @mbggenerated */ @@ -105,6 +105,14 @@ public class User { */ private String remark; + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.tenant_id + * + * @mbggenerated + */ + private Long tenantId; + /** * This method was generated by MyBatis Generator. * This method returns the value of the database column jsh_user.id @@ -347,9 +355,9 @@ public class User { /** * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_user.status + * This method returns the value of the database column jsh_user.Status * - * @return the value of jsh_user.status + * @return the value of jsh_user.Status * * @mbggenerated */ @@ -359,9 +367,9 @@ public class User { /** * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_user.status + * This method sets the value of the database column jsh_user.Status * - * @param status the value for jsh_user.status + * @param status the value for jsh_user.Status * * @mbggenerated */ @@ -416,4 +424,28 @@ public class User { public void setRemark(String remark) { this.remark = remark == null ? null : remark.trim(); } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.tenant_id + * + * @return the value of jsh_user.tenant_id + * + * @mbggenerated + */ + public Long getTenantId() { + return tenantId; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.tenant_id + * + * @param tenantId the value for jsh_user.tenant_id + * + * @mbggenerated + */ + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UserExample.java b/src/main/java/com/jsh/erp/datasource/entities/UserExample.java index e4412b6a..4aa6854e 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/UserExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/UserExample.java @@ -865,62 +865,62 @@ public class UserExample { } public Criteria andStatusIsNull() { - addCriterion("status is null"); + addCriterion("Status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { - addCriterion("status is not null"); + addCriterion("Status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { - addCriterion("status =", value, "status"); + addCriterion("Status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { - addCriterion("status <>", value, "status"); + addCriterion("Status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { - addCriterion("status >", value, "status"); + addCriterion("Status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { - addCriterion("status >=", value, "status"); + addCriterion("Status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { - addCriterion("status <", value, "status"); + addCriterion("Status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { - addCriterion("status <=", value, "status"); + addCriterion("Status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { - addCriterion("status in", values, "status"); + addCriterion("Status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { - addCriterion("status not in", values, "status"); + addCriterion("Status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { - addCriterion("status between", value1, value2, "status"); + addCriterion("Status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { - addCriterion("status not between", value1, value2, "status"); + addCriterion("Status not between", value1, value2, "status"); return (Criteria) this; } @@ -1063,6 +1063,66 @@ public class UserExample { addCriterion("remark not between", value1, value2, "remark"); 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 values) { + addCriterion("tenant_id in", values, "tenantId"); + return (Criteria) this; + } + + public Criteria andTenantIdNotIn(List 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; + } } /** diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java index 98a09cd6..a677dc4c 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java @@ -1,100 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.AccountHead; -import com.jsh.erp.datasource.entities.AccountHeadExample; - -import java.math.BigDecimal; -import java.util.List; - -import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx; -import org.apache.ibatis.annotations.Param; - -public interface AccountHeadMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int countByExample(AccountHeadExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int deleteByExample(AccountHeadExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int insert(AccountHead record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int insertSelective(AccountHead record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - List selectByExample(AccountHeadExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - AccountHead selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int updateByExample(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(AccountHead record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_accounthead - * - * @mbggenerated - */ - int updateByPrimaryKey(AccountHead record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.AccountHead; +import com.jsh.erp.datasource.entities.AccountHeadExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface AccountHeadMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int countByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int deleteByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int insert(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int insertSelective(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + List selectByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + AccountHead selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByExample(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByPrimaryKey(AccountHead record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java index 475c85ed..54d4f395 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java @@ -3,8 +3,6 @@ package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.AccountItem; import com.jsh.erp.datasource.entities.AccountItemExample; import java.util.List; - -import com.jsh.erp.datasource.vo.AccountItemVo4List; import org.apache.ibatis.annotations.Param; public interface AccountItemMapper { diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java index d84b5c29..f8f8327c 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java @@ -3,9 +3,6 @@ package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.Account; import com.jsh.erp.datasource.entities.AccountExample; import java.util.List; - -import com.jsh.erp.datasource.vo.AccountVo4InOutList; -import com.jsh.erp.datasource.vo.AccountVo4List; import org.apache.ibatis.annotations.Param; public interface AccountMapper { diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java index 4c28acc4..a5f4e98f 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java @@ -93,5 +93,4 @@ public interface AppMapper { * @mbggenerated */ int updateByPrimaryKey(App record); - } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java index 85e843fa..1724e726 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java @@ -1,98 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.*; - -import java.math.BigDecimal; -import java.util.List; - -import org.apache.ibatis.annotations.Param; - -public interface DepotItemMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int countByExample(DepotItemExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int deleteByExample(DepotItemExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int insert(DepotItem record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int insertSelective(DepotItem record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - List selectByExample(DepotItemExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - DepotItem selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") DepotItem record, @Param("example") DepotItemExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int updateByExample(@Param("record") DepotItem record, @Param("example") DepotItemExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(DepotItem record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_depotitem - * - * @mbggenerated - */ - int updateByPrimaryKey(DepotItem record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.DepotItem; +import com.jsh.erp.datasource.entities.DepotItemExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface DepotItemMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int countByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int deleteByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int insert(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int insertSelective(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + List selectByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + DepotItem selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") DepotItem record, @Param("example") DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByExample(@Param("record") DepotItem record, @Param("example") DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByPrimaryKey(DepotItem record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java index 2f84db33..8672c003 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java @@ -3,8 +3,6 @@ package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.Log; import com.jsh.erp.datasource.entities.LogExample; import java.util.List; - -import com.jsh.erp.datasource.vo.LogVo4List; import org.apache.ibatis.annotations.Param; public interface LogMapper { diff --git a/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java index f594f394..8ad1290b 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java @@ -1,96 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.MaterialCategory; -import com.jsh.erp.datasource.entities.MaterialCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface MaterialCategoryMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int countByExample(MaterialCategoryExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int deleteByExample(MaterialCategoryExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int insert(MaterialCategory record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int insertSelective(MaterialCategory record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - List selectByExample(MaterialCategoryExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - MaterialCategory selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int updateByExample(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(MaterialCategory record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_materialcategory - * - * @mbggenerated - */ - int updateByPrimaryKey(MaterialCategory record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.MaterialCategory; +import com.jsh.erp.datasource.entities.MaterialCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface MaterialCategoryMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int countByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int deleteByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int insert(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int insertSelective(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + List selectByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + MaterialCategory selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByExample(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByPrimaryKey(MaterialCategory record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java index 3f0176c1..f7848bbe 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java @@ -1,100 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.Material; -import com.jsh.erp.datasource.entities.MaterialExample; -import java.util.List; - -import com.jsh.erp.datasource.entities.MaterialVo4Unit; -import org.apache.ibatis.annotations.Param; - -public interface MaterialMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int countByExample(MaterialExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int deleteByExample(MaterialExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int insert(Material record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int insertSelective(Material record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - List selectByExample(MaterialExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - Material selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") Material record, @Param("example") MaterialExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int updateByExample(@Param("record") Material record, @Param("example") MaterialExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(Material record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_material - * - * @mbggenerated - */ - int updateByPrimaryKey(Material record); - - +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Material; +import com.jsh.erp.datasource.entities.MaterialExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface MaterialMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int countByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int deleteByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int insert(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int insertSelective(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + List selectByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + Material selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Material record, @Param("example") MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByExample(@Param("record") Material record, @Param("example") MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByPrimaryKey(Material record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/OrgaUserRelMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/OrgaUserRelMapper.java index bde231f8..aaedd247 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/OrgaUserRelMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/OrgaUserRelMapper.java @@ -1,96 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.OrgaUserRel; -import com.jsh.erp.datasource.entities.OrgaUserRelExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OrgaUserRelMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int countByExample(OrgaUserRelExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int deleteByExample(OrgaUserRelExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int insert(OrgaUserRel record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int insertSelective(OrgaUserRel record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - List selectByExample(OrgaUserRelExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - OrgaUserRel selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int updateByExample(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(OrgaUserRel record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_orga_user_rel - * - * @mbggenerated - */ - int updateByPrimaryKey(OrgaUserRel record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.OrgaUserRel; +import com.jsh.erp.datasource.entities.OrgaUserRelExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OrgaUserRelMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int countByExample(OrgaUserRelExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int deleteByExample(OrgaUserRelExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int insert(OrgaUserRel record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int insertSelective(OrgaUserRel record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + List selectByExample(OrgaUserRelExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + OrgaUserRel selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int updateByExample(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(OrgaUserRel record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_orga_user_rel + * + * @mbggenerated + */ + int updateByPrimaryKey(OrgaUserRel record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/OrganizationMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/OrganizationMapper.java index 797fb6e5..d3b018c6 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/OrganizationMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/OrganizationMapper.java @@ -1,96 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.Organization; -import com.jsh.erp.datasource.entities.OrganizationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OrganizationMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int countByExample(OrganizationExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int deleteByExample(OrganizationExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int insert(Organization record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int insertSelective(Organization record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - List selectByExample(OrganizationExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - Organization selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") Organization record, @Param("example") OrganizationExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int updateByExample(@Param("record") Organization record, @Param("example") OrganizationExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(Organization record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_organization - * - * @mbggenerated - */ - int updateByPrimaryKey(Organization record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Organization; +import com.jsh.erp.datasource.entities.OrganizationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OrganizationMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int countByExample(OrganizationExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int deleteByExample(OrganizationExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int insert(Organization record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int insertSelective(Organization record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + List selectByExample(OrganizationExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + Organization selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Organization record, @Param("example") OrganizationExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int updateByExample(@Param("record") Organization record, @Param("example") OrganizationExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Organization record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_organization + * + * @mbggenerated + */ + int updateByPrimaryKey(Organization record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/SerialNumberMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/SerialNumberMapper.java index 2fee8176..f1b7a47c 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/SerialNumberMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/SerialNumberMapper.java @@ -1,97 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.SerialNumber; -import com.jsh.erp.datasource.entities.SerialNumberExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SerialNumberMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int countByExample(SerialNumberExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int deleteByExample(SerialNumberExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int insert(SerialNumber record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int insertSelective(SerialNumber record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - List selectByExample(SerialNumberExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - SerialNumber selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int updateByExample(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(SerialNumber record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_serial_number - * - * @mbggenerated - */ - int updateByPrimaryKey(SerialNumber record); - +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.SerialNumber; +import com.jsh.erp.datasource.entities.SerialNumberExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SerialNumberMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int countByExample(SerialNumberExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int deleteByExample(SerialNumberExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int insert(SerialNumber record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int insertSelective(SerialNumber record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + List selectByExample(SerialNumberExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + SerialNumber selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int updateByExample(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(SerialNumber record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_serial_number + * + * @mbggenerated + */ + int updateByPrimaryKey(SerialNumber record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java index 51213ec8..20cafaf9 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java @@ -1,96 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.Supplier; -import com.jsh.erp.datasource.entities.SupplierExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SupplierMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int countByExample(SupplierExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int deleteByExample(SupplierExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int deleteByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int insert(Supplier record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int insertSelective(Supplier record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - List selectByExample(SupplierExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - Supplier selectByPrimaryKey(Long id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int updateByPrimaryKeySelective(Supplier record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table jsh_supplier - * - * @mbggenerated - */ - int updateByPrimaryKey(Supplier record); +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Supplier; +import com.jsh.erp.datasource.entities.SupplierExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SupplierMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int countByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int deleteByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int insert(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int insertSelective(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + List selectByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + Supplier selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByPrimaryKey(Supplier record); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java index 0ae76b6b..d3da5ada 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java @@ -1,73 +1,13 @@ package com.jsh.erp.datasource.vo; -import java.math.BigDecimal; +import com.jsh.erp.datasource.entities.AccountItem; -public class AccountItemVo4List { - - private Long id; - - private Long headerid; - - private Long accountid; - - private Long inoutitemid; - - private BigDecimal eachamount; - - private String remark; +public class AccountItemVo4List extends AccountItem { private String accountName; private String inOutItemName; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getHeaderid() { - return headerid; - } - - public void setHeaderid(Long headerid) { - this.headerid = headerid; - } - - public Long getAccountid() { - return accountid; - } - - public void setAccountid(Long accountid) { - this.accountid = accountid; - } - - public Long getInoutitemid() { - return inoutitemid; - } - - public void setInoutitemid(Long inoutitemid) { - this.inoutitemid = inoutitemid; - } - - public BigDecimal getEachamount() { - return eachamount; - } - - public void setEachamount(BigDecimal eachamount) { - this.eachamount = eachamount; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - public String getAccountName() { return accountName; } diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java index 1e36f1bc..544f2573 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java @@ -20,6 +20,8 @@ public class AccountVo4InOutList { private String amList; + private Long tenantId; + public String getNumber() { return number; } @@ -83,4 +85,12 @@ public class AccountVo4InOutList { public void setAmList(String amList) { this.amList = amList; } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java index b52a450d..649cd480 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java @@ -1,81 +1,11 @@ package com.jsh.erp.datasource.vo; -import java.math.BigDecimal; +import com.jsh.erp.datasource.entities.Account; -public class AccountVo4List { - - private Long id; - - private String name; - - private String serialno; - - private BigDecimal initialamount; - - private BigDecimal currentamount; - - private String remark; - - private Boolean isdefault; +public class AccountVo4List extends Account{ private String thismonthamount; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getSerialno() { - return serialno; - } - - public void setSerialno(String serialno) { - this.serialno = serialno; - } - - public BigDecimal getInitialamount() { - return initialamount; - } - - public void setInitialamount(BigDecimal initialamount) { - this.initialamount = initialamount; - } - - public BigDecimal getCurrentamount() { - return currentamount; - } - - public void setCurrentamount(BigDecimal currentamount) { - this.currentamount = currentamount; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Boolean getIsdefault() { - return isdefault; - } - - public void setIsdefault(Boolean isdefault) { - this.isdefault = isdefault; - } - public String getThismonthamount() { return thismonthamount; } diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java index 3378bcd9..5832e405 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java @@ -26,6 +26,8 @@ public class DepotHeadVo4InDetail { private String NewType; + private Long tenantId; + public String getNumber() { return Number; } @@ -105,4 +107,12 @@ public class DepotHeadVo4InDetail { public void setNewType(String newType) { NewType = newType; } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java index 70feb3e9..8b603179 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java @@ -17,6 +17,8 @@ public class DepotHeadVo4InOutMCount { private BigDecimal priceSum; + private Long tenantId; + public Long getMaterialId() { return MaterialId; } @@ -64,4 +66,12 @@ public class DepotHeadVo4InOutMCount { public void setPriceSum(BigDecimal priceSum) { this.priceSum = priceSum; } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java index fa8372fb..727330f9 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java @@ -1,67 +1,11 @@ package com.jsh.erp.datasource.vo; +import com.jsh.erp.datasource.entities.DepotHead; + import java.math.BigDecimal; import java.util.Date; -public class DepotHeadVo4List { - - private Long id; - - private String type; - - private String subtype; - - private Long projectid; - - private String defaultnumber; - - private String number; - - private String operpersonname; - - private Date createtime; - - private Date opertime; - - private Long organid; - - private Long handspersonid; - - private Long accountid; - - private BigDecimal changeamount; - - private Long allocationprojectid; - - private BigDecimal totalprice; - - private String paytype; - - private String remark; - - private String salesman; - - private String accountidlist; - - private String accountmoneylist; - - private BigDecimal discount; - - private BigDecimal discountmoney; - - private BigDecimal discountlastmoney; - - private BigDecimal othermoney; - - private String othermoneylist; - - private String othermoneyitem; - - private Integer accountday; - - private String status; - - private String linknumber; +public class DepotHeadVo4List extends DepotHead{ private String projectName; @@ -77,238 +21,6 @@ public class DepotHeadVo4List { private String opertimeStr; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getSubtype() { - return subtype; - } - - public void setSubtype(String subtype) { - this.subtype = subtype; - } - - public Long getProjectid() { - return projectid; - } - - public void setProjectid(Long projectid) { - this.projectid = projectid; - } - - public String getDefaultnumber() { - return defaultnumber; - } - - public void setDefaultnumber(String defaultnumber) { - this.defaultnumber = defaultnumber; - } - - public String getNumber() { - return number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getOperpersonname() { - return operpersonname; - } - - public void setOperpersonname(String operpersonname) { - this.operpersonname = operpersonname; - } - - public Date getCreatetime() { - return createtime; - } - - public void setCreatetime(Date createtime) { - this.createtime = createtime; - } - - public Date getOpertime() { - return opertime; - } - - public void setOpertime(Date opertime) { - this.opertime = opertime; - } - - public Long getOrganid() { - return organid; - } - - public void setOrganid(Long organid) { - this.organid = organid; - } - - public Long getHandspersonid() { - return handspersonid; - } - - public void setHandspersonid(Long handspersonid) { - this.handspersonid = handspersonid; - } - - public Long getAccountid() { - return accountid; - } - - public void setAccountid(Long accountid) { - this.accountid = accountid; - } - - public BigDecimal getChangeamount() { - return changeamount; - } - - public void setChangeamount(BigDecimal changeamount) { - this.changeamount = changeamount; - } - - public Long getAllocationprojectid() { - return allocationprojectid; - } - - public void setAllocationprojectid(Long allocationprojectid) { - this.allocationprojectid = allocationprojectid; - } - - public BigDecimal getTotalprice() { - return totalprice; - } - - public void setTotalprice(BigDecimal totalprice) { - this.totalprice = totalprice; - } - - public String getPaytype() { - return paytype; - } - - public void setPaytype(String paytype) { - this.paytype = paytype; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getSalesman() { - return salesman; - } - - public void setSalesman(String salesman) { - this.salesman = salesman; - } - - public String getAccountidlist() { - return accountidlist; - } - - public void setAccountidlist(String accountidlist) { - this.accountidlist = accountidlist; - } - - public String getAccountmoneylist() { - return accountmoneylist; - } - - public void setAccountmoneylist(String accountmoneylist) { - this.accountmoneylist = accountmoneylist; - } - - public BigDecimal getDiscount() { - return discount; - } - - public void setDiscount(BigDecimal discount) { - this.discount = discount; - } - - public BigDecimal getDiscountmoney() { - return discountmoney; - } - - public void setDiscountmoney(BigDecimal discountmoney) { - this.discountmoney = discountmoney; - } - - public BigDecimal getDiscountlastmoney() { - return discountlastmoney; - } - - public void setDiscountlastmoney(BigDecimal discountlastmoney) { - this.discountlastmoney = discountlastmoney; - } - - public BigDecimal getOthermoney() { - return othermoney; - } - - public void setOthermoney(BigDecimal othermoney) { - this.othermoney = othermoney; - } - - public String getOthermoneylist() { - return othermoneylist; - } - - public void setOthermoneylist(String othermoneylist) { - this.othermoneylist = othermoneylist; - } - - public String getOthermoneyitem() { - return othermoneyitem; - } - - public void setOthermoneyitem(String othermoneyitem) { - this.othermoneyitem = othermoneyitem; - } - - public Integer getAccountday() { - return accountday; - } - - public void setAccountday(Integer accountday) { - this.accountday = accountday; - } - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getLinknumber() { - return linknumber; - } - - public void setLinknumber(String linknumber) { - this.linknumber = linknumber; - } - public String getProjectName() { return projectName; } diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java index 3f769ea4..92a1097d 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java @@ -19,6 +19,8 @@ public class DepotHeadVo4StatementAccount { private String oTime; + private Long tenantId; + public String getNumber() { return number; } @@ -74,4 +76,12 @@ public class DepotHeadVo4StatementAccount { public void setoTime(String oTime) { this.oTime = oTime; } + + public Long getTenantId() { + return tenantId; + } + + public void setTenantId(Long tenantId) { + this.tenantId = tenantId; + } } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java index 30b3f36b..f493a6e2 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java +++ b/src/main/java/com/jsh/erp/datasource/vo/LogVo4List.java @@ -1,91 +1,11 @@ package com.jsh.erp.datasource.vo; -import java.util.Date; +import com.jsh.erp.datasource.entities.Log; -public class LogVo4List { - - private Long id; - - private Long userid; - - private String operation; - - private String clientip; - - private Date createtime; - - private Byte status; - - private String contentdetails; - - private String remark; +public class LogVo4List extends Log { private String username; - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getUserid() { - return userid; - } - - public void setUserid(Long userid) { - this.userid = userid; - } - - public String getOperation() { - return operation; - } - - public void setOperation(String operation) { - this.operation = operation; - } - - public String getClientip() { - return clientip; - } - - public void setClientip(String clientip) { - this.clientip = clientip; - } - - public Date getCreatetime() { - return createtime; - } - - public void setCreatetime(Date createtime) { - this.createtime = createtime; - } - - public Byte getStatus() { - return status; - } - - public void setStatus(Byte status) { - this.status = status; - } - - public String getContentdetails() { - return contentdetails; - } - - public void setContentdetails(String contentdetails) { - this.contentdetails = contentdetails; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - public String getUsername() { return username; } diff --git a/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java b/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java index d260ad62..f3e057bc 100644 --- a/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java +++ b/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java @@ -255,7 +255,7 @@ public class DepotItemService { if(material==null){ continue; } - if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableSerialNumber())){ + if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableserialnumber())){ serialNumberMapperEx.cancelSerialNumber(depotItem.getMaterialid(),depotItem.getHeaderid(),depotItem.getBasicnumber().intValue(), new Date(),userInfo==null?null:userInfo.getId()); } @@ -364,7 +364,7 @@ public class DepotItemService { /** * 判断商品是否开启序列号,开启的收回序列号,未开启的跳过 * */ - if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableSerialNumber())) { + if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableserialnumber())) { //查询单据子表中开启序列号的数据列表 serialNumberService.checkAndUpdateSerialNumber(depotItem, userInfo); } @@ -391,7 +391,7 @@ public class DepotItemService { /** * 判断商品是否开启序列号,开启的收回序列号,未开启的跳过 * */ - if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableSerialNumber())) { + if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableserialnumber())) { serialNumberMapperEx.cancelSerialNumber(depotItem.getMaterialid(), depotItem.getHeaderid(), depotItem.getBasicnumber().intValue(), new Date(), userInfo == null ? null : userInfo.getId()); } @@ -471,7 +471,7 @@ public class DepotItemService { /** * 判断商品是否开启序列号,开启的收回序列号,未开启的跳过 * */ - if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableSerialNumber())) { + if(BusinessConstants.ENABLE_SERIAL_NUMBER_ENABLED.equals(material.getEnableserialnumber())) { //查询单据子表中开启序列号的数据列表 serialNumberService.checkAndUpdateSerialNumber(depotItem, userInfo); } diff --git a/src/main/java/com/jsh/erp/service/serialNumber/SerialNumberService.java b/src/main/java/com/jsh/erp/service/serialNumber/SerialNumberService.java index a8a57a49..adfd97e7 100644 --- a/src/main/java/com/jsh/erp/service/serialNumber/SerialNumberService.java +++ b/src/main/java/com/jsh/erp/service/serialNumber/SerialNumberService.java @@ -229,7 +229,7 @@ public class SerialNumberService { } //获得唯一商品 - if (BusinessConstants.ENABLE_SERIAL_NUMBER_NOT_ENABLED.equals(mlist.get(0).getEnableSerialNumber())) { + if (BusinessConstants.ENABLE_SERIAL_NUMBER_NOT_ENABLED.equals(mlist.get(0).getEnableserialnumber())) { //商品未开启序列号 throw new BusinessRunTimeException(ExceptionConstants.MATERIAL_NOT_ENABLE_SERIAL_NUMBER_CODE, ExceptionConstants.MATERIAL_NOT_ENABLE_SERIAL_NUMBER_MSG); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 03004ad4..9e592d6b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -23,6 +23,10 @@ pagehelper.pageSizeZero=true pagehelper.reasonable=false pagehelper.params=pageNum=pageHelperStart;pageSize=pageHelperRows; pagehelper.supportMethodsArguments=false +#mybatis-plus配置 +#open开启 close关闭 +mybatis-plus.status=close +mybatis-plus.mapper-locations=classpath:./mapper_xml/*.xml diff --git a/src/main/resources/mapper_xml/AccountHeadMapper.xml b/src/main/resources/mapper_xml/AccountHeadMapper.xml index 67e5390b..f914ffee 100644 --- a/src/main/resources/mapper_xml/AccountHeadMapper.xml +++ b/src/main/resources/mapper_xml/AccountHeadMapper.xml @@ -1,5 +1,5 @@ - - + + Id, Type, OrganId, HandsPersonId, ChangeAmount, TotalPrice, AccountId, BillNo, BillTime, - Remark + Remark, tenant_id insert into jsh_accountitem (Id, HeaderId, AccountId, - InOutItemId, EachAmount, Remark - ) + InOutItemId, EachAmount, Remark, + tenant_id) values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT}, - #{inoutitemid,jdbcType=BIGINT}, #{eachamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR} - ) + #{inoutitemid,jdbcType=BIGINT}, #{eachamount,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, + #{tenantId,jdbcType=BIGINT}) - Id, Name, SerialNo, InitialAmount, CurrentAmount, Remark, IsDefault + Id, Name, SerialNo, InitialAmount, CurrentAmount, Remark, IsDefault, tenant_id insert into jsh_assetcategory (id, assetname, isystem, - description) + description, tenant_id) values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{isystem,jdbcType=TINYINT}, - #{description,jdbcType=VARCHAR}) + #{description,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}) id, assetnameID, location, labels, status, userID, price, purchasedate, periodofvalidity, - warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator + warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator, + tenant_id - id, assetname, assetcategoryID, isystem, isconsumables + id, assetname, assetcategoryID, isystem, isconsumables, tenant_id insert into jsh_assetname (id, assetname, assetcategoryID, - isystem, isconsumables, description - ) + isystem, isconsumables, tenant_id, + description) values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{assetcategoryid,jdbcType=BIGINT}, - #{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{description,jdbcType=LONGVARCHAR} - ) + #{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{tenantId,jdbcType=BIGINT}, + #{description,jdbcType=LONGVARCHAR}) Id, HeaderId, MaterialId, MUnit, OperNumber, BasicNumber, UnitPrice, TaxUnitPrice, AllPrice, Remark, Img, Incidentals, DepotId, AnotherDepotId, TaxRate, TaxMoney, TaxLastMoney, - OtherField1, OtherField2, OtherField3, OtherField4, OtherField5, MType + OtherField1, OtherField2, OtherField3, OtherField4, OtherField5, MType, tenant_id insert into jsh_depot (id, name, address, warehousing, truckage, type, - sort, remark, principal - ) + sort, remark, principal, + tenant_id) values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{warehousing,jdbcType=DECIMAL}, #{truckage,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, - #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{principal,jdbcType=BIGINT} - ) + #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{principal,jdbcType=BIGINT}, + #{tenantId,jdbcType=BIGINT}) - Id, Name, Type, Remark + Id, Name, Type, Remark, tenant_id insert into jsh_log (id, userID, operation, clientIP, createtime, status, - contentdetails, remark) + contentdetails, remark, tenant_id + ) values (#{id,jdbcType=BIGINT}, #{userid,jdbcType=BIGINT}, #{operation,jdbcType=VARCHAR}, #{clientip,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{status,jdbcType=TINYINT}, - #{contentdetails,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}) + #{contentdetails,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT} + ) Id, Name, CategoryLevel, ParentId, sort, status, serial_no, remark, create_time, - creator, update_time, updater + creator, update_time, updater, tenant_id - - - - - - - - - + + + + + + + + + + - + - - - - - - - + + + + + + + and ${criterion.condition} - + and ${criterion.condition} #{criterion.value} - + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - + and ${criterion.condition} - + #{listItem} @@ -49,29 +50,29 @@ - + - - - - - - - + + + + + + + and ${criterion.condition} - + and ${criterion.condition} #{criterion.value} - + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - + and ${criterion.condition} - + #{listItem} @@ -82,33 +83,33 @@ - + id, orga_id, user_id, user_blng_orga_dspl_seq, delete_flag, create_time, creator, - update_time, updater + update_time, updater, tenant_id - select - + distinct from jsh_orga_user_rel - + - + order by ${orderByClause} - delete from jsh_orga_user_rel - + - + insert into jsh_orga_user_rel (id, orga_id, user_id, user_blng_orga_dspl_seq, delete_flag, create_time, - creator, update_time, updater - ) + creator, update_time, updater, + tenant_id) values (#{id,jdbcType=BIGINT}, #{orgaId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{userBlngOrgaDsplSeq,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{creator,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updater,jdbcType=BIGINT} - ) + #{creator,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updater,jdbcType=BIGINT}, + #{tenantId,jdbcType=BIGINT}) - + insert into jsh_orga_user_rel - - + + id, - + orga_id, - + user_id, - + user_blng_orga_dspl_seq, - + delete_flag, - + create_time, - + creator, - + update_time, - + updater, + + tenant_id, + - - + + #{id,jdbcType=BIGINT}, - + #{orgaId,jdbcType=BIGINT}, - + #{userId,jdbcType=BIGINT}, - + #{userBlngOrgaDsplSeq,jdbcType=VARCHAR}, - + #{deleteFlag,jdbcType=CHAR}, - + #{createTime,jdbcType=TIMESTAMP}, - + #{creator,jdbcType=BIGINT}, - + #{updateTime,jdbcType=TIMESTAMP}, - + #{updater,jdbcType=BIGINT}, + + #{tenantId,jdbcType=BIGINT}, + - select count(*) from jsh_orga_user_rel - + - + update jsh_orga_user_rel - - + + id = #{record.id,jdbcType=BIGINT}, - + orga_id = #{record.orgaId,jdbcType=BIGINT}, - + user_id = #{record.userId,jdbcType=BIGINT}, - + user_blng_orga_dspl_seq = #{record.userBlngOrgaDsplSeq,jdbcType=VARCHAR}, - + delete_flag = #{record.deleteFlag,jdbcType=CHAR}, - + create_time = #{record.createTime,jdbcType=TIMESTAMP}, - + creator = #{record.creator,jdbcType=BIGINT}, - + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, - + updater = #{record.updater,jdbcType=BIGINT}, + + tenant_id = #{record.tenantId,jdbcType=BIGINT}, + - + - + update jsh_orga_user_rel - - + + orga_id = #{orgaId,jdbcType=BIGINT}, - + user_id = #{userId,jdbcType=BIGINT}, - + user_blng_orga_dspl_seq = #{userBlngOrgaDsplSeq,jdbcType=VARCHAR}, - + delete_flag = #{deleteFlag,jdbcType=CHAR}, - + create_time = #{createTime,jdbcType=TIMESTAMP}, - + creator = #{creator,jdbcType=BIGINT}, - + update_time = #{updateTime,jdbcType=TIMESTAMP}, - + updater = #{updater,jdbcType=BIGINT}, + + tenant_id = #{tenantId,jdbcType=BIGINT}, + where id = #{id,jdbcType=BIGINT} - + id, org_no, org_full_name, org_abr, org_tpcd, org_stcd, org_parent_no, sort, remark, - create_time, creator, update_time, updater, org_create_time, org_stop_time + create_time, creator, update_time, updater, org_create_time, org_stop_time, tenant_id - insert into jsh_person (Id, Type, Name - ) - values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR} - ) + insert into jsh_person (Id, Type, Name, + tenant_id) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, + #{tenantId,jdbcType=BIGINT}) update jsh_person set Type = #{type,jdbcType=VARCHAR}, - Name = #{name,jdbcType=VARCHAR} + Name = #{name,jdbcType=VARCHAR}, + tenant_id = #{tenantId,jdbcType=BIGINT} where Id = #{id,jdbcType=BIGINT} \ No newline at end of file diff --git a/src/main/resources/mapper_xml/RoleMapper.xml b/src/main/resources/mapper_xml/RoleMapper.xml index 0a9ecee0..f6b93fc7 100644 --- a/src/main/resources/mapper_xml/RoleMapper.xml +++ b/src/main/resources/mapper_xml/RoleMapper.xml @@ -11,6 +11,7 @@ + - Id, Name, type, value, description + Id, Name, type, value, description, tenant_id id, supplier, contacts, phonenum, email, description, isystem, type, enabled, AdvanceIn, BeginNeedGet, BeginNeedPay, AllNeedGet, AllNeedPay, fax, telephone, address, taxNum, - bankName, accountNumber, taxRate + bankName, accountNumber, taxRate, tenant_id insert into jsh_systemconfig (id, company_name, company_contacts, company_address, company_tel, company_fax, - company_post_code) + company_post_code, tenant_id) values (#{id,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, #{companyContacts,jdbcType=VARCHAR}, #{companyAddress,jdbcType=VARCHAR}, #{companyTel,jdbcType=VARCHAR}, #{companyFax,jdbcType=VARCHAR}, - #{companyPostCode,jdbcType=VARCHAR}) + #{companyPostCode,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT}) + - id, UName + id, UName, tenant_id - - +
- +
- +
-->