Commit 5e3e54ff authored by eddie.woo's avatar eddie.woo

1.add longi api;2.add dao;3.add filter

parent e6c04417
......@@ -192,7 +192,7 @@
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
<version>1.11</version>
</dependency>
<dependency>
......
......@@ -25,7 +25,7 @@ public class SwaggerConfig {
@Bean
public Docket petApi() {
return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()).select()
.apis(RequestHandlerSelectors.basePackage("pwc.taxtech.atms.controller"))
.apis(RequestHandlerSelectors.basePackage("pwc.taxtech.atms.controller.*"))
.paths(PathSelectors.regex("/api/.*")).build()
.globalOperationParameters(buildGlobalOperationParameters());
......
package pwc.taxtech.atms.common.util;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.TreeMap;
public class SignatureUtil {
private static final Logger LOGGER = LoggerFactory.getLogger(SignatureUtil.class);
public static final String SIGN_NONCE_STR = "nonceStr"; //随机数
public static final String SIGN_TIMESTAMP = "timestamp"; //时间戳
public static final String SIGN_APP_ID = "appId"; //应用ID
public static final String SIGN_SIGNATURE = "signature"; //生成的签名
public static final String SIGN_API = "api"; //接口地址
public static final String SIGN_API_TOKEN = "apiToken"; //密钥
public static final String AND = "=";
public static final String SPLIT = "&";
public static final int TIME_RANGE = 120;//2分钟
/**
* 生成签名
*
* @param key 密钥
* @param api 请求地址
* @param nonceStr 随机字符串
* @param timestamp 时间戳
* @return string
*/
public static String generate(String key, String api, String nonceStr, String timestamp) {
TreeMap<String, String> paramMap = new TreeMap<>();
paramMap.put(SIGN_API_TOKEN, key);
paramMap.put(SIGN_API, api);
paramMap.put(SIGN_NONCE_STR, nonceStr);
paramMap.put(SIGN_TIMESTAMP, timestamp);
StringBuilder sb = new StringBuilder();
paramMap.forEach((k, v) -> {
sb.append(k).append(AND).append(v).append(SPLIT);
});
String tmp = sb.substring(0, sb.length() - 1);
return DigestUtils.sha1Hex(tmp);
}
/**
* 校验签名
*
* @param key 密钥
* @param api 请求地址
* @param nonceStr 随机字符串
* @param timestamp 时间戳
* @param signature 接收的签名
* @return boolean
*/
public static boolean validate(String key, String api, String nonceStr, String timestamp, String signature) {
try {
int now = (int) (System.currentTimeMillis() / 1000);
int time = Integer.valueOf(timestamp);
if (now - time <= TIME_RANGE) {
return StringUtils.equals(signature, generate(key, api, nonceStr, timestamp));
}
} catch (Exception e) {
LOGGER.error("invalid signature.", e);
}
return false;
}
}
package pwc.taxtech.atms.controller.vendor;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import pwc.taxtech.atms.controller.BaseController;
import pwc.taxtech.atms.dto.OperationResultDto;
import pwc.taxtech.atms.dto.vendor.LgItemDto;
import pwc.taxtech.atms.service.vendor.LongiService;
import java.util.List;
@RestController
@RequestMapping("/vendor/api/v1/lg")
public class LongiController extends BaseController {
@Autowired
private LongiService longiService;
@ApiOperation(value = "批量更新物料信息")
@RequestMapping(value = "updateItems", method = RequestMethod.POST)
public OperationResultDto updateItems(@RequestBody List<LgItemDto> lgItemDtoList) {
return OperationResultDto.success();
}
}
package pwc.taxtech.atms.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entitiy.InputMaterialCategory;
import pwc.taxtech.atms.entitiy.InputMaterialCategoryExample;
@Mapper
public interface InputMaterialCategoryMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
long countByExample(InputMaterialCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int deleteByExample(InputMaterialCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int insert(InputMaterialCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int insertSelective(InputMaterialCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
List<InputMaterialCategory> selectByExampleWithRowbounds(InputMaterialCategoryExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
List<InputMaterialCategory> selectByExample(InputMaterialCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
InputMaterialCategory selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputMaterialCategory record, @Param("example") InputMaterialCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputMaterialCategory record, @Param("example") InputMaterialCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(InputMaterialCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
int updateByPrimaryKey(InputMaterialCategory record);
}
\ No newline at end of file
package pwc.taxtech.atms.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entitiy.InputMaterialItemCategory;
import pwc.taxtech.atms.entitiy.InputMaterialItemCategoryExample;
@Mapper
public interface InputMaterialItemCategoryMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
long countByExample(InputMaterialItemCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int deleteByExample(InputMaterialItemCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int insert(InputMaterialItemCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int insertSelective(InputMaterialItemCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
List<InputMaterialItemCategory> selectByExampleWithRowbounds(InputMaterialItemCategoryExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
List<InputMaterialItemCategory> selectByExample(InputMaterialItemCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
InputMaterialItemCategory selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputMaterialItemCategory record, @Param("example") InputMaterialItemCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputMaterialItemCategory record, @Param("example") InputMaterialItemCategoryExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(InputMaterialItemCategory record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
int updateByPrimaryKey(InputMaterialItemCategory record);
}
\ No newline at end of file
package pwc.taxtech.atms.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entitiy.InputMaterialItem;
import pwc.taxtech.atms.entitiy.InputMaterialItemExample;
@Mapper
public interface InputMaterialItemMapper extends MyMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
long countByExample(InputMaterialItemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int deleteByExample(InputMaterialItemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int insert(InputMaterialItem record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int insertSelective(InputMaterialItem record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
List<InputMaterialItem> selectByExampleWithRowbounds(InputMaterialItemExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
List<InputMaterialItem> selectByExample(InputMaterialItemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
InputMaterialItem selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") InputMaterialItem record, @Param("example") InputMaterialItemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int updateByExample(@Param("record") InputMaterialItem record, @Param("example") InputMaterialItemExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(InputMaterialItem record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
int updateByPrimaryKey(InputMaterialItem record);
}
\ No newline at end of file
package pwc.taxtech.atms.dto.vendor;
import pwc.taxtech.atms.entitiy.InputMaterialCategory;
import pwc.taxtech.atms.entitiy.InputMaterialItem;
import java.util.List;
public class LgItemDto extends InputMaterialItem {
private List<InputMaterialCategory> categorySets;
public List<InputMaterialCategory> getCategorySets() {
return categorySets;
}
public void setCategorySets(List<InputMaterialCategory> categorySets) {
this.categorySets = categorySets;
}
}
package pwc.taxtech.atms.entitiy;
import java.io.Serializable;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_category
*
* @mbg.generated do_not_delete_during_merge
*/
public class InputMaterialCategory extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 类别集代码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.category_set_code
*
* @mbg.generated
*/
private String categorySetCode;
/**
* Database Column Remarks:
* 类别集名称(ZHS)
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.category_set_name_zhs
*
* @mbg.generated
*/
private String categorySetNameZhs;
/**
* Database Column Remarks:
* 类别集名称(US)
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.category_set_name_us
*
* @mbg.generated
*/
private String categorySetNameUs;
/**
* Database Column Remarks:
* 类别值
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.set_value
*
* @mbg.generated
*/
private String setValue;
/**
* Database Column Remarks:
* 类别说明-ZHS
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.set_value_desc_zhs
*
* @mbg.generated
*/
private String setValueDescZhs;
/**
* Database Column Remarks:
* 类别说明-US
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_category.set_value_desc_us
*
* @mbg.generated
*/
private String setValueDescUs;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_category
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.id
*
* @return the value of input_material_category.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.id
*
* @param id the value for input_material_category.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.category_set_code
*
* @return the value of input_material_category.category_set_code
*
* @mbg.generated
*/
public String getCategorySetCode() {
return categorySetCode;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.category_set_code
*
* @param categorySetCode the value for input_material_category.category_set_code
*
* @mbg.generated
*/
public void setCategorySetCode(String categorySetCode) {
this.categorySetCode = categorySetCode == null ? null : categorySetCode.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.category_set_name_zhs
*
* @return the value of input_material_category.category_set_name_zhs
*
* @mbg.generated
*/
public String getCategorySetNameZhs() {
return categorySetNameZhs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.category_set_name_zhs
*
* @param categorySetNameZhs the value for input_material_category.category_set_name_zhs
*
* @mbg.generated
*/
public void setCategorySetNameZhs(String categorySetNameZhs) {
this.categorySetNameZhs = categorySetNameZhs == null ? null : categorySetNameZhs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.category_set_name_us
*
* @return the value of input_material_category.category_set_name_us
*
* @mbg.generated
*/
public String getCategorySetNameUs() {
return categorySetNameUs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.category_set_name_us
*
* @param categorySetNameUs the value for input_material_category.category_set_name_us
*
* @mbg.generated
*/
public void setCategorySetNameUs(String categorySetNameUs) {
this.categorySetNameUs = categorySetNameUs == null ? null : categorySetNameUs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.set_value
*
* @return the value of input_material_category.set_value
*
* @mbg.generated
*/
public String getSetValue() {
return setValue;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.set_value
*
* @param setValue the value for input_material_category.set_value
*
* @mbg.generated
*/
public void setSetValue(String setValue) {
this.setValue = setValue == null ? null : setValue.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.set_value_desc_zhs
*
* @return the value of input_material_category.set_value_desc_zhs
*
* @mbg.generated
*/
public String getSetValueDescZhs() {
return setValueDescZhs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.set_value_desc_zhs
*
* @param setValueDescZhs the value for input_material_category.set_value_desc_zhs
*
* @mbg.generated
*/
public void setSetValueDescZhs(String setValueDescZhs) {
this.setValueDescZhs = setValueDescZhs == null ? null : setValueDescZhs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_category.set_value_desc_us
*
* @return the value of input_material_category.set_value_desc_us
*
* @mbg.generated
*/
public String getSetValueDescUs() {
return setValueDescUs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_category.set_value_desc_us
*
* @param setValueDescUs the value for input_material_category.set_value_desc_us
*
* @mbg.generated
*/
public void setSetValueDescUs(String setValueDescUs) {
this.setValueDescUs = setValueDescUs == null ? null : setValueDescUs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", categorySetCode=").append(categorySetCode);
sb.append(", categorySetNameZhs=").append(categorySetNameZhs);
sb.append(", categorySetNameUs=").append(categorySetNameUs);
sb.append(", setValue=").append(setValue);
sb.append(", setValueDescZhs=").append(setValueDescZhs);
sb.append(", setValueDescUs=").append(setValueDescUs);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.entitiy;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class InputMaterialCategoryExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_category
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_category
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_category
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public InputMaterialCategoryExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
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 input_material_category
*
* @mbg.generated
*/
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 input_material_category
*
* @mbg.generated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_category
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_category
*
* @mbg.generated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andCategorySetCodeIsNull() {
addCriterion("category_set_code is null");
return (Criteria) this;
}
public Criteria andCategorySetCodeIsNotNull() {
addCriterion("category_set_code is not null");
return (Criteria) this;
}
public Criteria andCategorySetCodeEqualTo(String value) {
addCriterion("category_set_code =", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeNotEqualTo(String value) {
addCriterion("category_set_code <>", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeGreaterThan(String value) {
addCriterion("category_set_code >", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeGreaterThanOrEqualTo(String value) {
addCriterion("category_set_code >=", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeLessThan(String value) {
addCriterion("category_set_code <", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeLessThanOrEqualTo(String value) {
addCriterion("category_set_code <=", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeLike(String value) {
addCriterion("category_set_code like", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeNotLike(String value) {
addCriterion("category_set_code not like", value, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeIn(List<String> values) {
addCriterion("category_set_code in", values, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeNotIn(List<String> values) {
addCriterion("category_set_code not in", values, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeBetween(String value1, String value2) {
addCriterion("category_set_code between", value1, value2, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetCodeNotBetween(String value1, String value2) {
addCriterion("category_set_code not between", value1, value2, "categorySetCode");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsIsNull() {
addCriterion("category_set_name_zhs is null");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsIsNotNull() {
addCriterion("category_set_name_zhs is not null");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsEqualTo(String value) {
addCriterion("category_set_name_zhs =", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsNotEqualTo(String value) {
addCriterion("category_set_name_zhs <>", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsGreaterThan(String value) {
addCriterion("category_set_name_zhs >", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsGreaterThanOrEqualTo(String value) {
addCriterion("category_set_name_zhs >=", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsLessThan(String value) {
addCriterion("category_set_name_zhs <", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsLessThanOrEqualTo(String value) {
addCriterion("category_set_name_zhs <=", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsLike(String value) {
addCriterion("category_set_name_zhs like", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsNotLike(String value) {
addCriterion("category_set_name_zhs not like", value, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsIn(List<String> values) {
addCriterion("category_set_name_zhs in", values, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsNotIn(List<String> values) {
addCriterion("category_set_name_zhs not in", values, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsBetween(String value1, String value2) {
addCriterion("category_set_name_zhs between", value1, value2, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameZhsNotBetween(String value1, String value2) {
addCriterion("category_set_name_zhs not between", value1, value2, "categorySetNameZhs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsIsNull() {
addCriterion("category_set_name_us is null");
return (Criteria) this;
}
public Criteria andCategorySetNameUsIsNotNull() {
addCriterion("category_set_name_us is not null");
return (Criteria) this;
}
public Criteria andCategorySetNameUsEqualTo(String value) {
addCriterion("category_set_name_us =", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsNotEqualTo(String value) {
addCriterion("category_set_name_us <>", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsGreaterThan(String value) {
addCriterion("category_set_name_us >", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsGreaterThanOrEqualTo(String value) {
addCriterion("category_set_name_us >=", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsLessThan(String value) {
addCriterion("category_set_name_us <", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsLessThanOrEqualTo(String value) {
addCriterion("category_set_name_us <=", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsLike(String value) {
addCriterion("category_set_name_us like", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsNotLike(String value) {
addCriterion("category_set_name_us not like", value, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsIn(List<String> values) {
addCriterion("category_set_name_us in", values, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsNotIn(List<String> values) {
addCriterion("category_set_name_us not in", values, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsBetween(String value1, String value2) {
addCriterion("category_set_name_us between", value1, value2, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andCategorySetNameUsNotBetween(String value1, String value2) {
addCriterion("category_set_name_us not between", value1, value2, "categorySetNameUs");
return (Criteria) this;
}
public Criteria andSetValueIsNull() {
addCriterion("set_value is null");
return (Criteria) this;
}
public Criteria andSetValueIsNotNull() {
addCriterion("set_value is not null");
return (Criteria) this;
}
public Criteria andSetValueEqualTo(String value) {
addCriterion("set_value =", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueNotEqualTo(String value) {
addCriterion("set_value <>", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueGreaterThan(String value) {
addCriterion("set_value >", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueGreaterThanOrEqualTo(String value) {
addCriterion("set_value >=", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueLessThan(String value) {
addCriterion("set_value <", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueLessThanOrEqualTo(String value) {
addCriterion("set_value <=", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueLike(String value) {
addCriterion("set_value like", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueNotLike(String value) {
addCriterion("set_value not like", value, "setValue");
return (Criteria) this;
}
public Criteria andSetValueIn(List<String> values) {
addCriterion("set_value in", values, "setValue");
return (Criteria) this;
}
public Criteria andSetValueNotIn(List<String> values) {
addCriterion("set_value not in", values, "setValue");
return (Criteria) this;
}
public Criteria andSetValueBetween(String value1, String value2) {
addCriterion("set_value between", value1, value2, "setValue");
return (Criteria) this;
}
public Criteria andSetValueNotBetween(String value1, String value2) {
addCriterion("set_value not between", value1, value2, "setValue");
return (Criteria) this;
}
public Criteria andSetValueDescZhsIsNull() {
addCriterion("set_value_desc_zhs is null");
return (Criteria) this;
}
public Criteria andSetValueDescZhsIsNotNull() {
addCriterion("set_value_desc_zhs is not null");
return (Criteria) this;
}
public Criteria andSetValueDescZhsEqualTo(String value) {
addCriterion("set_value_desc_zhs =", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsNotEqualTo(String value) {
addCriterion("set_value_desc_zhs <>", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsGreaterThan(String value) {
addCriterion("set_value_desc_zhs >", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsGreaterThanOrEqualTo(String value) {
addCriterion("set_value_desc_zhs >=", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsLessThan(String value) {
addCriterion("set_value_desc_zhs <", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsLessThanOrEqualTo(String value) {
addCriterion("set_value_desc_zhs <=", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsLike(String value) {
addCriterion("set_value_desc_zhs like", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsNotLike(String value) {
addCriterion("set_value_desc_zhs not like", value, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsIn(List<String> values) {
addCriterion("set_value_desc_zhs in", values, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsNotIn(List<String> values) {
addCriterion("set_value_desc_zhs not in", values, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsBetween(String value1, String value2) {
addCriterion("set_value_desc_zhs between", value1, value2, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescZhsNotBetween(String value1, String value2) {
addCriterion("set_value_desc_zhs not between", value1, value2, "setValueDescZhs");
return (Criteria) this;
}
public Criteria andSetValueDescUsIsNull() {
addCriterion("set_value_desc_us is null");
return (Criteria) this;
}
public Criteria andSetValueDescUsIsNotNull() {
addCriterion("set_value_desc_us is not null");
return (Criteria) this;
}
public Criteria andSetValueDescUsEqualTo(String value) {
addCriterion("set_value_desc_us =", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsNotEqualTo(String value) {
addCriterion("set_value_desc_us <>", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsGreaterThan(String value) {
addCriterion("set_value_desc_us >", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsGreaterThanOrEqualTo(String value) {
addCriterion("set_value_desc_us >=", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsLessThan(String value) {
addCriterion("set_value_desc_us <", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsLessThanOrEqualTo(String value) {
addCriterion("set_value_desc_us <=", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsLike(String value) {
addCriterion("set_value_desc_us like", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsNotLike(String value) {
addCriterion("set_value_desc_us not like", value, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsIn(List<String> values) {
addCriterion("set_value_desc_us in", values, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsNotIn(List<String> values) {
addCriterion("set_value_desc_us not in", values, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsBetween(String value1, String value2) {
addCriterion("set_value_desc_us between", value1, value2, "setValueDescUs");
return (Criteria) this;
}
public Criteria andSetValueDescUsNotBetween(String value1, String value2) {
addCriterion("set_value_desc_us not between", value1, value2, "setValueDescUs");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andCreateByIsNull() {
addCriterion("create_by is null");
return (Criteria) this;
}
public Criteria andCreateByIsNotNull() {
addCriterion("create_by is not null");
return (Criteria) this;
}
public Criteria andCreateByEqualTo(String value) {
addCriterion("create_by =", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotEqualTo(String value) {
addCriterion("create_by <>", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThan(String value) {
addCriterion("create_by >", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThanOrEqualTo(String value) {
addCriterion("create_by >=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThan(String value) {
addCriterion("create_by <", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThanOrEqualTo(String value) {
addCriterion("create_by <=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLike(String value) {
addCriterion("create_by like", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotLike(String value) {
addCriterion("create_by not like", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByIn(List<String> values) {
addCriterion("create_by in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotIn(List<String> values) {
addCriterion("create_by not in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByBetween(String value1, String value2) {
addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotBetween(String value1, String value2) {
addCriterion("create_by not between", value1, value2, "createBy");
return (Criteria) this;
}
public Criteria andUpdateByIsNull() {
addCriterion("update_by is null");
return (Criteria) this;
}
public Criteria andUpdateByIsNotNull() {
addCriterion("update_by is not null");
return (Criteria) this;
}
public Criteria andUpdateByEqualTo(String value) {
addCriterion("update_by =", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotEqualTo(String value) {
addCriterion("update_by <>", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThan(String value) {
addCriterion("update_by >", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
addCriterion("update_by >=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThan(String value) {
addCriterion("update_by <", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThanOrEqualTo(String value) {
addCriterion("update_by <=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLike(String value) {
addCriterion("update_by like", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotLike(String value) {
addCriterion("update_by not like", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByIn(List<String> values) {
addCriterion("update_by in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotIn(List<String> values) {
addCriterion("update_by not in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByBetween(String value1, String value2) {
addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotBetween(String value1, String value2) {
addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_category
*
* @mbg.generated 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 input_material_category
*
* @mbg.generated
*/
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
package pwc.taxtech.atms.entitiy;
import java.io.Serializable;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item
*
* @mbg.generated do_not_delete_during_merge
*/
public class InputMaterialItem extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 组织
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.org_code
*
* @mbg.generated
*/
private String orgCode;
/**
* Database Column Remarks:
* 物料编码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_number
*
* @mbg.generated
*/
private String itemNumber;
/**
* Database Column Remarks:
* 物料说明(ZHS)
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_desc_zhs
*
* @mbg.generated
*/
private String itemDescZhs;
/**
* Database Column Remarks:
* 物料说明(US)
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_desc_us
*
* @mbg.generated
*/
private String itemDescUs;
/**
* Database Column Remarks:
* 物料长描述-ZHS
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_long_desc_zhs
*
* @mbg.generated
*/
private String itemLongDescZhs;
/**
* Database Column Remarks:
* 物料长描述-US
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_long_desc_us
*
* @mbg.generated
*/
private String itemLongDescUs;
/**
* Database Column Remarks:
* 物料主单位
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.primary_unit_of_measure
*
* @mbg.generated
*/
private String primaryUnitOfMeasure;
/**
* Database Column Remarks:
* 物料辅助单位
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.unit_of_measure
*
* @mbg.generated
*/
private String unitOfMeasure;
/**
* Database Column Remarks:
* 批次控制 1、不控制;2存储期限;4、自定义;
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.lot_control
*
* @mbg.generated
*/
private String lotControl;
/**
* Database Column Remarks:
* 存储期限
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.shelflife_days
*
* @mbg.generated
*/
private Integer shelflifeDays;
/**
* Database Column Remarks:
* 物料状态
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.item_status
*
* @mbg.generated
*/
private String itemStatus;
/**
* Database Column Remarks:
* 可存储
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.stock_enable_flag
*
* @mbg.generated
*/
private String stockEnableFlag;
/**
* Database Column Remarks:
* 可采购
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.purchasing_enable_flag
*
* @mbg.generated
*/
private String purchasingEnableFlag;
/**
* Database Column Remarks:
* 使用批准供应商
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.must_approve_vendor
*
* @mbg.generated
*/
private String mustApproveVendor;
/**
* Database Column Remarks:
* 默认采购员编码
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.default_buyer_num
*
* @mbg.generated
*/
private String defaultBuyerNum;
/**
* Database Column Remarks:
* 默认采购员姓名
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.default_buyer
*
* @mbg.generated
*/
private String defaultBuyer;
/**
* Database Column Remarks:
* 允许BOM
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.bom_enabled_flag
*
* @mbg.generated
*/
private String bomEnabledFlag;
/**
* Database Column Remarks:
* 在WIP中制造
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.build_in_wip_flag
*
* @mbg.generated
*/
private String buildInWipFlag;
/**
* Database Column Remarks:
* 启用客户订单
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.custmoer_order_flag
*
* @mbg.generated
*/
private String custmoerOrderFlag;
/**
* Database Column Remarks:
* 启用内部订单
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.internal_order_flag
*
* @mbg.generated
*/
private String internalOrderFlag;
/**
* Database Column Remarks:
* 启用开票
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.invoiced_enable_flag
*
* @mbg.generated
*/
private String invoicedEnableFlag;
/**
* Database Column Remarks:
* 可处理
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.transaction_enable_flag
*
* @mbg.generated
*/
private String transactionEnableFlag;
/**
* Database Column Remarks:
* 接收方式 1、标准;2、检验;3、直接
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.receive_routing_id
*
* @mbg.generated
*/
private String receiveRoutingId;
/**
* Database Column Remarks:
* 物料扩展属性
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.extend_attributes
*
* @mbg.generated
*/
private String extendAttributes;
/**
* Database Column Remarks:
* 备用字段1
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.attr1
*
* @mbg.generated
*/
private String attr1;
/**
* Database Column Remarks:
* 备用字段2
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.attr2
*
* @mbg.generated
*/
private String attr2;
/**
* Database Column Remarks:
* 备用字段3
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.attr3
*
* @mbg.generated
*/
private String attr3;
/**
* Database Column Remarks:
* 备用字段4
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.attr4
*
* @mbg.generated
*/
private String attr4;
/**
* Database Column Remarks:
* 备用字段5
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item.attr5
*
* @mbg.generated
*/
private String attr5;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.id
*
* @return the value of input_material_item.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.id
*
* @param id the value for input_material_item.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.org_code
*
* @return the value of input_material_item.org_code
*
* @mbg.generated
*/
public String getOrgCode() {
return orgCode;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.org_code
*
* @param orgCode the value for input_material_item.org_code
*
* @mbg.generated
*/
public void setOrgCode(String orgCode) {
this.orgCode = orgCode == null ? null : orgCode.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_number
*
* @return the value of input_material_item.item_number
*
* @mbg.generated
*/
public String getItemNumber() {
return itemNumber;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_number
*
* @param itemNumber the value for input_material_item.item_number
*
* @mbg.generated
*/
public void setItemNumber(String itemNumber) {
this.itemNumber = itemNumber == null ? null : itemNumber.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_desc_zhs
*
* @return the value of input_material_item.item_desc_zhs
*
* @mbg.generated
*/
public String getItemDescZhs() {
return itemDescZhs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_desc_zhs
*
* @param itemDescZhs the value for input_material_item.item_desc_zhs
*
* @mbg.generated
*/
public void setItemDescZhs(String itemDescZhs) {
this.itemDescZhs = itemDescZhs == null ? null : itemDescZhs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_desc_us
*
* @return the value of input_material_item.item_desc_us
*
* @mbg.generated
*/
public String getItemDescUs() {
return itemDescUs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_desc_us
*
* @param itemDescUs the value for input_material_item.item_desc_us
*
* @mbg.generated
*/
public void setItemDescUs(String itemDescUs) {
this.itemDescUs = itemDescUs == null ? null : itemDescUs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_long_desc_zhs
*
* @return the value of input_material_item.item_long_desc_zhs
*
* @mbg.generated
*/
public String getItemLongDescZhs() {
return itemLongDescZhs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_long_desc_zhs
*
* @param itemLongDescZhs the value for input_material_item.item_long_desc_zhs
*
* @mbg.generated
*/
public void setItemLongDescZhs(String itemLongDescZhs) {
this.itemLongDescZhs = itemLongDescZhs == null ? null : itemLongDescZhs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_long_desc_us
*
* @return the value of input_material_item.item_long_desc_us
*
* @mbg.generated
*/
public String getItemLongDescUs() {
return itemLongDescUs;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_long_desc_us
*
* @param itemLongDescUs the value for input_material_item.item_long_desc_us
*
* @mbg.generated
*/
public void setItemLongDescUs(String itemLongDescUs) {
this.itemLongDescUs = itemLongDescUs == null ? null : itemLongDescUs.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.primary_unit_of_measure
*
* @return the value of input_material_item.primary_unit_of_measure
*
* @mbg.generated
*/
public String getPrimaryUnitOfMeasure() {
return primaryUnitOfMeasure;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.primary_unit_of_measure
*
* @param primaryUnitOfMeasure the value for input_material_item.primary_unit_of_measure
*
* @mbg.generated
*/
public void setPrimaryUnitOfMeasure(String primaryUnitOfMeasure) {
this.primaryUnitOfMeasure = primaryUnitOfMeasure == null ? null : primaryUnitOfMeasure.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.unit_of_measure
*
* @return the value of input_material_item.unit_of_measure
*
* @mbg.generated
*/
public String getUnitOfMeasure() {
return unitOfMeasure;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.unit_of_measure
*
* @param unitOfMeasure the value for input_material_item.unit_of_measure
*
* @mbg.generated
*/
public void setUnitOfMeasure(String unitOfMeasure) {
this.unitOfMeasure = unitOfMeasure == null ? null : unitOfMeasure.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.lot_control
*
* @return the value of input_material_item.lot_control
*
* @mbg.generated
*/
public String getLotControl() {
return lotControl;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.lot_control
*
* @param lotControl the value for input_material_item.lot_control
*
* @mbg.generated
*/
public void setLotControl(String lotControl) {
this.lotControl = lotControl == null ? null : lotControl.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.shelflife_days
*
* @return the value of input_material_item.shelflife_days
*
* @mbg.generated
*/
public Integer getShelflifeDays() {
return shelflifeDays;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.shelflife_days
*
* @param shelflifeDays the value for input_material_item.shelflife_days
*
* @mbg.generated
*/
public void setShelflifeDays(Integer shelflifeDays) {
this.shelflifeDays = shelflifeDays;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.item_status
*
* @return the value of input_material_item.item_status
*
* @mbg.generated
*/
public String getItemStatus() {
return itemStatus;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.item_status
*
* @param itemStatus the value for input_material_item.item_status
*
* @mbg.generated
*/
public void setItemStatus(String itemStatus) {
this.itemStatus = itemStatus == null ? null : itemStatus.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.stock_enable_flag
*
* @return the value of input_material_item.stock_enable_flag
*
* @mbg.generated
*/
public String getStockEnableFlag() {
return stockEnableFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.stock_enable_flag
*
* @param stockEnableFlag the value for input_material_item.stock_enable_flag
*
* @mbg.generated
*/
public void setStockEnableFlag(String stockEnableFlag) {
this.stockEnableFlag = stockEnableFlag == null ? null : stockEnableFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.purchasing_enable_flag
*
* @return the value of input_material_item.purchasing_enable_flag
*
* @mbg.generated
*/
public String getPurchasingEnableFlag() {
return purchasingEnableFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.purchasing_enable_flag
*
* @param purchasingEnableFlag the value for input_material_item.purchasing_enable_flag
*
* @mbg.generated
*/
public void setPurchasingEnableFlag(String purchasingEnableFlag) {
this.purchasingEnableFlag = purchasingEnableFlag == null ? null : purchasingEnableFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.must_approve_vendor
*
* @return the value of input_material_item.must_approve_vendor
*
* @mbg.generated
*/
public String getMustApproveVendor() {
return mustApproveVendor;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.must_approve_vendor
*
* @param mustApproveVendor the value for input_material_item.must_approve_vendor
*
* @mbg.generated
*/
public void setMustApproveVendor(String mustApproveVendor) {
this.mustApproveVendor = mustApproveVendor == null ? null : mustApproveVendor.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.default_buyer_num
*
* @return the value of input_material_item.default_buyer_num
*
* @mbg.generated
*/
public String getDefaultBuyerNum() {
return defaultBuyerNum;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.default_buyer_num
*
* @param defaultBuyerNum the value for input_material_item.default_buyer_num
*
* @mbg.generated
*/
public void setDefaultBuyerNum(String defaultBuyerNum) {
this.defaultBuyerNum = defaultBuyerNum == null ? null : defaultBuyerNum.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.default_buyer
*
* @return the value of input_material_item.default_buyer
*
* @mbg.generated
*/
public String getDefaultBuyer() {
return defaultBuyer;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.default_buyer
*
* @param defaultBuyer the value for input_material_item.default_buyer
*
* @mbg.generated
*/
public void setDefaultBuyer(String defaultBuyer) {
this.defaultBuyer = defaultBuyer == null ? null : defaultBuyer.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.bom_enabled_flag
*
* @return the value of input_material_item.bom_enabled_flag
*
* @mbg.generated
*/
public String getBomEnabledFlag() {
return bomEnabledFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.bom_enabled_flag
*
* @param bomEnabledFlag the value for input_material_item.bom_enabled_flag
*
* @mbg.generated
*/
public void setBomEnabledFlag(String bomEnabledFlag) {
this.bomEnabledFlag = bomEnabledFlag == null ? null : bomEnabledFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.build_in_wip_flag
*
* @return the value of input_material_item.build_in_wip_flag
*
* @mbg.generated
*/
public String getBuildInWipFlag() {
return buildInWipFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.build_in_wip_flag
*
* @param buildInWipFlag the value for input_material_item.build_in_wip_flag
*
* @mbg.generated
*/
public void setBuildInWipFlag(String buildInWipFlag) {
this.buildInWipFlag = buildInWipFlag == null ? null : buildInWipFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.custmoer_order_flag
*
* @return the value of input_material_item.custmoer_order_flag
*
* @mbg.generated
*/
public String getCustmoerOrderFlag() {
return custmoerOrderFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.custmoer_order_flag
*
* @param custmoerOrderFlag the value for input_material_item.custmoer_order_flag
*
* @mbg.generated
*/
public void setCustmoerOrderFlag(String custmoerOrderFlag) {
this.custmoerOrderFlag = custmoerOrderFlag == null ? null : custmoerOrderFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.internal_order_flag
*
* @return the value of input_material_item.internal_order_flag
*
* @mbg.generated
*/
public String getInternalOrderFlag() {
return internalOrderFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.internal_order_flag
*
* @param internalOrderFlag the value for input_material_item.internal_order_flag
*
* @mbg.generated
*/
public void setInternalOrderFlag(String internalOrderFlag) {
this.internalOrderFlag = internalOrderFlag == null ? null : internalOrderFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.invoiced_enable_flag
*
* @return the value of input_material_item.invoiced_enable_flag
*
* @mbg.generated
*/
public String getInvoicedEnableFlag() {
return invoicedEnableFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.invoiced_enable_flag
*
* @param invoicedEnableFlag the value for input_material_item.invoiced_enable_flag
*
* @mbg.generated
*/
public void setInvoicedEnableFlag(String invoicedEnableFlag) {
this.invoicedEnableFlag = invoicedEnableFlag == null ? null : invoicedEnableFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.transaction_enable_flag
*
* @return the value of input_material_item.transaction_enable_flag
*
* @mbg.generated
*/
public String getTransactionEnableFlag() {
return transactionEnableFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.transaction_enable_flag
*
* @param transactionEnableFlag the value for input_material_item.transaction_enable_flag
*
* @mbg.generated
*/
public void setTransactionEnableFlag(String transactionEnableFlag) {
this.transactionEnableFlag = transactionEnableFlag == null ? null : transactionEnableFlag.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.receive_routing_id
*
* @return the value of input_material_item.receive_routing_id
*
* @mbg.generated
*/
public String getReceiveRoutingId() {
return receiveRoutingId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.receive_routing_id
*
* @param receiveRoutingId the value for input_material_item.receive_routing_id
*
* @mbg.generated
*/
public void setReceiveRoutingId(String receiveRoutingId) {
this.receiveRoutingId = receiveRoutingId == null ? null : receiveRoutingId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.extend_attributes
*
* @return the value of input_material_item.extend_attributes
*
* @mbg.generated
*/
public String getExtendAttributes() {
return extendAttributes;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.extend_attributes
*
* @param extendAttributes the value for input_material_item.extend_attributes
*
* @mbg.generated
*/
public void setExtendAttributes(String extendAttributes) {
this.extendAttributes = extendAttributes == null ? null : extendAttributes.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.attr1
*
* @return the value of input_material_item.attr1
*
* @mbg.generated
*/
public String getAttr1() {
return attr1;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.attr1
*
* @param attr1 the value for input_material_item.attr1
*
* @mbg.generated
*/
public void setAttr1(String attr1) {
this.attr1 = attr1 == null ? null : attr1.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.attr2
*
* @return the value of input_material_item.attr2
*
* @mbg.generated
*/
public String getAttr2() {
return attr2;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.attr2
*
* @param attr2 the value for input_material_item.attr2
*
* @mbg.generated
*/
public void setAttr2(String attr2) {
this.attr2 = attr2 == null ? null : attr2.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.attr3
*
* @return the value of input_material_item.attr3
*
* @mbg.generated
*/
public String getAttr3() {
return attr3;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.attr3
*
* @param attr3 the value for input_material_item.attr3
*
* @mbg.generated
*/
public void setAttr3(String attr3) {
this.attr3 = attr3 == null ? null : attr3.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.attr4
*
* @return the value of input_material_item.attr4
*
* @mbg.generated
*/
public String getAttr4() {
return attr4;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.attr4
*
* @param attr4 the value for input_material_item.attr4
*
* @mbg.generated
*/
public void setAttr4(String attr4) {
this.attr4 = attr4 == null ? null : attr4.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item.attr5
*
* @return the value of input_material_item.attr5
*
* @mbg.generated
*/
public String getAttr5() {
return attr5;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item.attr5
*
* @param attr5 the value for input_material_item.attr5
*
* @mbg.generated
*/
public void setAttr5(String attr5) {
this.attr5 = attr5 == null ? null : attr5.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", orgCode=").append(orgCode);
sb.append(", itemNumber=").append(itemNumber);
sb.append(", itemDescZhs=").append(itemDescZhs);
sb.append(", itemDescUs=").append(itemDescUs);
sb.append(", itemLongDescZhs=").append(itemLongDescZhs);
sb.append(", itemLongDescUs=").append(itemLongDescUs);
sb.append(", primaryUnitOfMeasure=").append(primaryUnitOfMeasure);
sb.append(", unitOfMeasure=").append(unitOfMeasure);
sb.append(", lotControl=").append(lotControl);
sb.append(", shelflifeDays=").append(shelflifeDays);
sb.append(", itemStatus=").append(itemStatus);
sb.append(", stockEnableFlag=").append(stockEnableFlag);
sb.append(", purchasingEnableFlag=").append(purchasingEnableFlag);
sb.append(", mustApproveVendor=").append(mustApproveVendor);
sb.append(", defaultBuyerNum=").append(defaultBuyerNum);
sb.append(", defaultBuyer=").append(defaultBuyer);
sb.append(", bomEnabledFlag=").append(bomEnabledFlag);
sb.append(", buildInWipFlag=").append(buildInWipFlag);
sb.append(", custmoerOrderFlag=").append(custmoerOrderFlag);
sb.append(", internalOrderFlag=").append(internalOrderFlag);
sb.append(", invoicedEnableFlag=").append(invoicedEnableFlag);
sb.append(", transactionEnableFlag=").append(transactionEnableFlag);
sb.append(", receiveRoutingId=").append(receiveRoutingId);
sb.append(", extendAttributes=").append(extendAttributes);
sb.append(", attr1=").append(attr1);
sb.append(", attr2=").append(attr2);
sb.append(", attr3=").append(attr3);
sb.append(", attr4=").append(attr4);
sb.append(", attr5=").append(attr5);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.entitiy;
import java.io.Serializable;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item_category
*
* @mbg.generated do_not_delete_during_merge
*/
public class InputMaterialItemCategory extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item_category.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 物料ID
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item_category.item_id
*
* @mbg.generated
*/
private Long itemId;
/**
* Database Column Remarks:
* 品类ID
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column input_material_item_category.category_id
*
* @mbg.generated
*/
private Long categoryId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item_category.id
*
* @return the value of input_material_item_category.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item_category.id
*
* @param id the value for input_material_item_category.id
*
* @mbg.generated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item_category.item_id
*
* @return the value of input_material_item_category.item_id
*
* @mbg.generated
*/
public Long getItemId() {
return itemId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item_category.item_id
*
* @param itemId the value for input_material_item_category.item_id
*
* @mbg.generated
*/
public void setItemId(Long itemId) {
this.itemId = itemId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column input_material_item_category.category_id
*
* @return the value of input_material_item_category.category_id
*
* @mbg.generated
*/
public Long getCategoryId() {
return categoryId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column input_material_item_category.category_id
*
* @param categoryId the value for input_material_item_category.category_id
*
* @mbg.generated
*/
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", itemId=").append(itemId);
sb.append(", categoryId=").append(categoryId);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.entitiy;
import java.util.ArrayList;
import java.util.List;
public class InputMaterialItemCategoryExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public InputMaterialItemCategoryExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
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 input_material_item_category
*
* @mbg.generated
*/
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 input_material_item_category
*
* @mbg.generated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item_category
*
* @mbg.generated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andItemIdIsNull() {
addCriterion("item_id is null");
return (Criteria) this;
}
public Criteria andItemIdIsNotNull() {
addCriterion("item_id is not null");
return (Criteria) this;
}
public Criteria andItemIdEqualTo(Long value) {
addCriterion("item_id =", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdNotEqualTo(Long value) {
addCriterion("item_id <>", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdGreaterThan(Long value) {
addCriterion("item_id >", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdGreaterThanOrEqualTo(Long value) {
addCriterion("item_id >=", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdLessThan(Long value) {
addCriterion("item_id <", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdLessThanOrEqualTo(Long value) {
addCriterion("item_id <=", value, "itemId");
return (Criteria) this;
}
public Criteria andItemIdIn(List<Long> values) {
addCriterion("item_id in", values, "itemId");
return (Criteria) this;
}
public Criteria andItemIdNotIn(List<Long> values) {
addCriterion("item_id not in", values, "itemId");
return (Criteria) this;
}
public Criteria andItemIdBetween(Long value1, Long value2) {
addCriterion("item_id between", value1, value2, "itemId");
return (Criteria) this;
}
public Criteria andItemIdNotBetween(Long value1, Long value2) {
addCriterion("item_id not between", value1, value2, "itemId");
return (Criteria) this;
}
public Criteria andCategoryIdIsNull() {
addCriterion("category_id is null");
return (Criteria) this;
}
public Criteria andCategoryIdIsNotNull() {
addCriterion("category_id is not null");
return (Criteria) this;
}
public Criteria andCategoryIdEqualTo(Long value) {
addCriterion("category_id =", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotEqualTo(Long value) {
addCriterion("category_id <>", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdGreaterThan(Long value) {
addCriterion("category_id >", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) {
addCriterion("category_id >=", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdLessThan(Long value) {
addCriterion("category_id <", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdLessThanOrEqualTo(Long value) {
addCriterion("category_id <=", value, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdIn(List<Long> values) {
addCriterion("category_id in", values, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotIn(List<Long> values) {
addCriterion("category_id not in", values, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdBetween(Long value1, Long value2) {
addCriterion("category_id between", value1, value2, "categoryId");
return (Criteria) this;
}
public Criteria andCategoryIdNotBetween(Long value1, Long value2) {
addCriterion("category_id not between", value1, value2, "categoryId");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item_category
*
* @mbg.generated 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 input_material_item_category
*
* @mbg.generated
*/
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
package pwc.taxtech.atms.entitiy;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class InputMaterialItemExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table input_material_item
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public InputMaterialItemExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
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 input_material_item
*
* @mbg.generated
*/
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 input_material_item
*
* @mbg.generated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table input_material_item
*
* @mbg.generated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item
*
* @mbg.generated
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andOrgCodeIsNull() {
addCriterion("org_code is null");
return (Criteria) this;
}
public Criteria andOrgCodeIsNotNull() {
addCriterion("org_code is not null");
return (Criteria) this;
}
public Criteria andOrgCodeEqualTo(String value) {
addCriterion("org_code =", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeNotEqualTo(String value) {
addCriterion("org_code <>", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeGreaterThan(String value) {
addCriterion("org_code >", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
addCriterion("org_code >=", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeLessThan(String value) {
addCriterion("org_code <", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeLessThanOrEqualTo(String value) {
addCriterion("org_code <=", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeLike(String value) {
addCriterion("org_code like", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeNotLike(String value) {
addCriterion("org_code not like", value, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeIn(List<String> values) {
addCriterion("org_code in", values, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeNotIn(List<String> values) {
addCriterion("org_code not in", values, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeBetween(String value1, String value2) {
addCriterion("org_code between", value1, value2, "orgCode");
return (Criteria) this;
}
public Criteria andOrgCodeNotBetween(String value1, String value2) {
addCriterion("org_code not between", value1, value2, "orgCode");
return (Criteria) this;
}
public Criteria andItemNumberIsNull() {
addCriterion("item_number is null");
return (Criteria) this;
}
public Criteria andItemNumberIsNotNull() {
addCriterion("item_number is not null");
return (Criteria) this;
}
public Criteria andItemNumberEqualTo(String value) {
addCriterion("item_number =", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberNotEqualTo(String value) {
addCriterion("item_number <>", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberGreaterThan(String value) {
addCriterion("item_number >", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberGreaterThanOrEqualTo(String value) {
addCriterion("item_number >=", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberLessThan(String value) {
addCriterion("item_number <", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberLessThanOrEqualTo(String value) {
addCriterion("item_number <=", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberLike(String value) {
addCriterion("item_number like", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberNotLike(String value) {
addCriterion("item_number not like", value, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberIn(List<String> values) {
addCriterion("item_number in", values, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberNotIn(List<String> values) {
addCriterion("item_number not in", values, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberBetween(String value1, String value2) {
addCriterion("item_number between", value1, value2, "itemNumber");
return (Criteria) this;
}
public Criteria andItemNumberNotBetween(String value1, String value2) {
addCriterion("item_number not between", value1, value2, "itemNumber");
return (Criteria) this;
}
public Criteria andItemDescZhsIsNull() {
addCriterion("item_desc_zhs is null");
return (Criteria) this;
}
public Criteria andItemDescZhsIsNotNull() {
addCriterion("item_desc_zhs is not null");
return (Criteria) this;
}
public Criteria andItemDescZhsEqualTo(String value) {
addCriterion("item_desc_zhs =", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsNotEqualTo(String value) {
addCriterion("item_desc_zhs <>", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsGreaterThan(String value) {
addCriterion("item_desc_zhs >", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsGreaterThanOrEqualTo(String value) {
addCriterion("item_desc_zhs >=", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsLessThan(String value) {
addCriterion("item_desc_zhs <", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsLessThanOrEqualTo(String value) {
addCriterion("item_desc_zhs <=", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsLike(String value) {
addCriterion("item_desc_zhs like", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsNotLike(String value) {
addCriterion("item_desc_zhs not like", value, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsIn(List<String> values) {
addCriterion("item_desc_zhs in", values, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsNotIn(List<String> values) {
addCriterion("item_desc_zhs not in", values, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsBetween(String value1, String value2) {
addCriterion("item_desc_zhs between", value1, value2, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescZhsNotBetween(String value1, String value2) {
addCriterion("item_desc_zhs not between", value1, value2, "itemDescZhs");
return (Criteria) this;
}
public Criteria andItemDescUsIsNull() {
addCriterion("item_desc_us is null");
return (Criteria) this;
}
public Criteria andItemDescUsIsNotNull() {
addCriterion("item_desc_us is not null");
return (Criteria) this;
}
public Criteria andItemDescUsEqualTo(String value) {
addCriterion("item_desc_us =", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsNotEqualTo(String value) {
addCriterion("item_desc_us <>", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsGreaterThan(String value) {
addCriterion("item_desc_us >", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsGreaterThanOrEqualTo(String value) {
addCriterion("item_desc_us >=", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsLessThan(String value) {
addCriterion("item_desc_us <", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsLessThanOrEqualTo(String value) {
addCriterion("item_desc_us <=", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsLike(String value) {
addCriterion("item_desc_us like", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsNotLike(String value) {
addCriterion("item_desc_us not like", value, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsIn(List<String> values) {
addCriterion("item_desc_us in", values, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsNotIn(List<String> values) {
addCriterion("item_desc_us not in", values, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsBetween(String value1, String value2) {
addCriterion("item_desc_us between", value1, value2, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemDescUsNotBetween(String value1, String value2) {
addCriterion("item_desc_us not between", value1, value2, "itemDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsIsNull() {
addCriterion("item_long_desc_zhs is null");
return (Criteria) this;
}
public Criteria andItemLongDescZhsIsNotNull() {
addCriterion("item_long_desc_zhs is not null");
return (Criteria) this;
}
public Criteria andItemLongDescZhsEqualTo(String value) {
addCriterion("item_long_desc_zhs =", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsNotEqualTo(String value) {
addCriterion("item_long_desc_zhs <>", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsGreaterThan(String value) {
addCriterion("item_long_desc_zhs >", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsGreaterThanOrEqualTo(String value) {
addCriterion("item_long_desc_zhs >=", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsLessThan(String value) {
addCriterion("item_long_desc_zhs <", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsLessThanOrEqualTo(String value) {
addCriterion("item_long_desc_zhs <=", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsLike(String value) {
addCriterion("item_long_desc_zhs like", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsNotLike(String value) {
addCriterion("item_long_desc_zhs not like", value, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsIn(List<String> values) {
addCriterion("item_long_desc_zhs in", values, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsNotIn(List<String> values) {
addCriterion("item_long_desc_zhs not in", values, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsBetween(String value1, String value2) {
addCriterion("item_long_desc_zhs between", value1, value2, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescZhsNotBetween(String value1, String value2) {
addCriterion("item_long_desc_zhs not between", value1, value2, "itemLongDescZhs");
return (Criteria) this;
}
public Criteria andItemLongDescUsIsNull() {
addCriterion("item_long_desc_us is null");
return (Criteria) this;
}
public Criteria andItemLongDescUsIsNotNull() {
addCriterion("item_long_desc_us is not null");
return (Criteria) this;
}
public Criteria andItemLongDescUsEqualTo(String value) {
addCriterion("item_long_desc_us =", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsNotEqualTo(String value) {
addCriterion("item_long_desc_us <>", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsGreaterThan(String value) {
addCriterion("item_long_desc_us >", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsGreaterThanOrEqualTo(String value) {
addCriterion("item_long_desc_us >=", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsLessThan(String value) {
addCriterion("item_long_desc_us <", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsLessThanOrEqualTo(String value) {
addCriterion("item_long_desc_us <=", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsLike(String value) {
addCriterion("item_long_desc_us like", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsNotLike(String value) {
addCriterion("item_long_desc_us not like", value, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsIn(List<String> values) {
addCriterion("item_long_desc_us in", values, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsNotIn(List<String> values) {
addCriterion("item_long_desc_us not in", values, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsBetween(String value1, String value2) {
addCriterion("item_long_desc_us between", value1, value2, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andItemLongDescUsNotBetween(String value1, String value2) {
addCriterion("item_long_desc_us not between", value1, value2, "itemLongDescUs");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureIsNull() {
addCriterion("primary_unit_of_measure is null");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureIsNotNull() {
addCriterion("primary_unit_of_measure is not null");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureEqualTo(String value) {
addCriterion("primary_unit_of_measure =", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureNotEqualTo(String value) {
addCriterion("primary_unit_of_measure <>", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureGreaterThan(String value) {
addCriterion("primary_unit_of_measure >", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureGreaterThanOrEqualTo(String value) {
addCriterion("primary_unit_of_measure >=", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureLessThan(String value) {
addCriterion("primary_unit_of_measure <", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureLessThanOrEqualTo(String value) {
addCriterion("primary_unit_of_measure <=", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureLike(String value) {
addCriterion("primary_unit_of_measure like", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureNotLike(String value) {
addCriterion("primary_unit_of_measure not like", value, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureIn(List<String> values) {
addCriterion("primary_unit_of_measure in", values, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureNotIn(List<String> values) {
addCriterion("primary_unit_of_measure not in", values, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureBetween(String value1, String value2) {
addCriterion("primary_unit_of_measure between", value1, value2, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andPrimaryUnitOfMeasureNotBetween(String value1, String value2) {
addCriterion("primary_unit_of_measure not between", value1, value2, "primaryUnitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureIsNull() {
addCriterion("unit_of_measure is null");
return (Criteria) this;
}
public Criteria andUnitOfMeasureIsNotNull() {
addCriterion("unit_of_measure is not null");
return (Criteria) this;
}
public Criteria andUnitOfMeasureEqualTo(String value) {
addCriterion("unit_of_measure =", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureNotEqualTo(String value) {
addCriterion("unit_of_measure <>", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureGreaterThan(String value) {
addCriterion("unit_of_measure >", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureGreaterThanOrEqualTo(String value) {
addCriterion("unit_of_measure >=", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureLessThan(String value) {
addCriterion("unit_of_measure <", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureLessThanOrEqualTo(String value) {
addCriterion("unit_of_measure <=", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureLike(String value) {
addCriterion("unit_of_measure like", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureNotLike(String value) {
addCriterion("unit_of_measure not like", value, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureIn(List<String> values) {
addCriterion("unit_of_measure in", values, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureNotIn(List<String> values) {
addCriterion("unit_of_measure not in", values, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureBetween(String value1, String value2) {
addCriterion("unit_of_measure between", value1, value2, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andUnitOfMeasureNotBetween(String value1, String value2) {
addCriterion("unit_of_measure not between", value1, value2, "unitOfMeasure");
return (Criteria) this;
}
public Criteria andLotControlIsNull() {
addCriterion("lot_control is null");
return (Criteria) this;
}
public Criteria andLotControlIsNotNull() {
addCriterion("lot_control is not null");
return (Criteria) this;
}
public Criteria andLotControlEqualTo(String value) {
addCriterion("lot_control =", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlNotEqualTo(String value) {
addCriterion("lot_control <>", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlGreaterThan(String value) {
addCriterion("lot_control >", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlGreaterThanOrEqualTo(String value) {
addCriterion("lot_control >=", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlLessThan(String value) {
addCriterion("lot_control <", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlLessThanOrEqualTo(String value) {
addCriterion("lot_control <=", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlLike(String value) {
addCriterion("lot_control like", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlNotLike(String value) {
addCriterion("lot_control not like", value, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlIn(List<String> values) {
addCriterion("lot_control in", values, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlNotIn(List<String> values) {
addCriterion("lot_control not in", values, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlBetween(String value1, String value2) {
addCriterion("lot_control between", value1, value2, "lotControl");
return (Criteria) this;
}
public Criteria andLotControlNotBetween(String value1, String value2) {
addCriterion("lot_control not between", value1, value2, "lotControl");
return (Criteria) this;
}
public Criteria andShelflifeDaysIsNull() {
addCriterion("shelflife_days is null");
return (Criteria) this;
}
public Criteria andShelflifeDaysIsNotNull() {
addCriterion("shelflife_days is not null");
return (Criteria) this;
}
public Criteria andShelflifeDaysEqualTo(Integer value) {
addCriterion("shelflife_days =", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysNotEqualTo(Integer value) {
addCriterion("shelflife_days <>", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysGreaterThan(Integer value) {
addCriterion("shelflife_days >", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysGreaterThanOrEqualTo(Integer value) {
addCriterion("shelflife_days >=", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysLessThan(Integer value) {
addCriterion("shelflife_days <", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysLessThanOrEqualTo(Integer value) {
addCriterion("shelflife_days <=", value, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysIn(List<Integer> values) {
addCriterion("shelflife_days in", values, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysNotIn(List<Integer> values) {
addCriterion("shelflife_days not in", values, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysBetween(Integer value1, Integer value2) {
addCriterion("shelflife_days between", value1, value2, "shelflifeDays");
return (Criteria) this;
}
public Criteria andShelflifeDaysNotBetween(Integer value1, Integer value2) {
addCriterion("shelflife_days not between", value1, value2, "shelflifeDays");
return (Criteria) this;
}
public Criteria andItemStatusIsNull() {
addCriterion("item_status is null");
return (Criteria) this;
}
public Criteria andItemStatusIsNotNull() {
addCriterion("item_status is not null");
return (Criteria) this;
}
public Criteria andItemStatusEqualTo(String value) {
addCriterion("item_status =", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusNotEqualTo(String value) {
addCriterion("item_status <>", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusGreaterThan(String value) {
addCriterion("item_status >", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusGreaterThanOrEqualTo(String value) {
addCriterion("item_status >=", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusLessThan(String value) {
addCriterion("item_status <", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusLessThanOrEqualTo(String value) {
addCriterion("item_status <=", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusLike(String value) {
addCriterion("item_status like", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusNotLike(String value) {
addCriterion("item_status not like", value, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusIn(List<String> values) {
addCriterion("item_status in", values, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusNotIn(List<String> values) {
addCriterion("item_status not in", values, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusBetween(String value1, String value2) {
addCriterion("item_status between", value1, value2, "itemStatus");
return (Criteria) this;
}
public Criteria andItemStatusNotBetween(String value1, String value2) {
addCriterion("item_status not between", value1, value2, "itemStatus");
return (Criteria) this;
}
public Criteria andStockEnableFlagIsNull() {
addCriterion("stock_enable_flag is null");
return (Criteria) this;
}
public Criteria andStockEnableFlagIsNotNull() {
addCriterion("stock_enable_flag is not null");
return (Criteria) this;
}
public Criteria andStockEnableFlagEqualTo(String value) {
addCriterion("stock_enable_flag =", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagNotEqualTo(String value) {
addCriterion("stock_enable_flag <>", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagGreaterThan(String value) {
addCriterion("stock_enable_flag >", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagGreaterThanOrEqualTo(String value) {
addCriterion("stock_enable_flag >=", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagLessThan(String value) {
addCriterion("stock_enable_flag <", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagLessThanOrEqualTo(String value) {
addCriterion("stock_enable_flag <=", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagLike(String value) {
addCriterion("stock_enable_flag like", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagNotLike(String value) {
addCriterion("stock_enable_flag not like", value, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagIn(List<String> values) {
addCriterion("stock_enable_flag in", values, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagNotIn(List<String> values) {
addCriterion("stock_enable_flag not in", values, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagBetween(String value1, String value2) {
addCriterion("stock_enable_flag between", value1, value2, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andStockEnableFlagNotBetween(String value1, String value2) {
addCriterion("stock_enable_flag not between", value1, value2, "stockEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagIsNull() {
addCriterion("purchasing_enable_flag is null");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagIsNotNull() {
addCriterion("purchasing_enable_flag is not null");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagEqualTo(String value) {
addCriterion("purchasing_enable_flag =", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagNotEqualTo(String value) {
addCriterion("purchasing_enable_flag <>", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagGreaterThan(String value) {
addCriterion("purchasing_enable_flag >", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagGreaterThanOrEqualTo(String value) {
addCriterion("purchasing_enable_flag >=", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagLessThan(String value) {
addCriterion("purchasing_enable_flag <", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagLessThanOrEqualTo(String value) {
addCriterion("purchasing_enable_flag <=", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagLike(String value) {
addCriterion("purchasing_enable_flag like", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagNotLike(String value) {
addCriterion("purchasing_enable_flag not like", value, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagIn(List<String> values) {
addCriterion("purchasing_enable_flag in", values, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagNotIn(List<String> values) {
addCriterion("purchasing_enable_flag not in", values, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagBetween(String value1, String value2) {
addCriterion("purchasing_enable_flag between", value1, value2, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andPurchasingEnableFlagNotBetween(String value1, String value2) {
addCriterion("purchasing_enable_flag not between", value1, value2, "purchasingEnableFlag");
return (Criteria) this;
}
public Criteria andMustApproveVendorIsNull() {
addCriterion("must_approve_vendor is null");
return (Criteria) this;
}
public Criteria andMustApproveVendorIsNotNull() {
addCriterion("must_approve_vendor is not null");
return (Criteria) this;
}
public Criteria andMustApproveVendorEqualTo(String value) {
addCriterion("must_approve_vendor =", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorNotEqualTo(String value) {
addCriterion("must_approve_vendor <>", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorGreaterThan(String value) {
addCriterion("must_approve_vendor >", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorGreaterThanOrEqualTo(String value) {
addCriterion("must_approve_vendor >=", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorLessThan(String value) {
addCriterion("must_approve_vendor <", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorLessThanOrEqualTo(String value) {
addCriterion("must_approve_vendor <=", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorLike(String value) {
addCriterion("must_approve_vendor like", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorNotLike(String value) {
addCriterion("must_approve_vendor not like", value, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorIn(List<String> values) {
addCriterion("must_approve_vendor in", values, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorNotIn(List<String> values) {
addCriterion("must_approve_vendor not in", values, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorBetween(String value1, String value2) {
addCriterion("must_approve_vendor between", value1, value2, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andMustApproveVendorNotBetween(String value1, String value2) {
addCriterion("must_approve_vendor not between", value1, value2, "mustApproveVendor");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumIsNull() {
addCriterion("default_buyer_num is null");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumIsNotNull() {
addCriterion("default_buyer_num is not null");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumEqualTo(String value) {
addCriterion("default_buyer_num =", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumNotEqualTo(String value) {
addCriterion("default_buyer_num <>", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumGreaterThan(String value) {
addCriterion("default_buyer_num >", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumGreaterThanOrEqualTo(String value) {
addCriterion("default_buyer_num >=", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumLessThan(String value) {
addCriterion("default_buyer_num <", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumLessThanOrEqualTo(String value) {
addCriterion("default_buyer_num <=", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumLike(String value) {
addCriterion("default_buyer_num like", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumNotLike(String value) {
addCriterion("default_buyer_num not like", value, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumIn(List<String> values) {
addCriterion("default_buyer_num in", values, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumNotIn(List<String> values) {
addCriterion("default_buyer_num not in", values, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumBetween(String value1, String value2) {
addCriterion("default_buyer_num between", value1, value2, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerNumNotBetween(String value1, String value2) {
addCriterion("default_buyer_num not between", value1, value2, "defaultBuyerNum");
return (Criteria) this;
}
public Criteria andDefaultBuyerIsNull() {
addCriterion("default_buyer is null");
return (Criteria) this;
}
public Criteria andDefaultBuyerIsNotNull() {
addCriterion("default_buyer is not null");
return (Criteria) this;
}
public Criteria andDefaultBuyerEqualTo(String value) {
addCriterion("default_buyer =", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerNotEqualTo(String value) {
addCriterion("default_buyer <>", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerGreaterThan(String value) {
addCriterion("default_buyer >", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerGreaterThanOrEqualTo(String value) {
addCriterion("default_buyer >=", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerLessThan(String value) {
addCriterion("default_buyer <", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerLessThanOrEqualTo(String value) {
addCriterion("default_buyer <=", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerLike(String value) {
addCriterion("default_buyer like", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerNotLike(String value) {
addCriterion("default_buyer not like", value, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerIn(List<String> values) {
addCriterion("default_buyer in", values, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerNotIn(List<String> values) {
addCriterion("default_buyer not in", values, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerBetween(String value1, String value2) {
addCriterion("default_buyer between", value1, value2, "defaultBuyer");
return (Criteria) this;
}
public Criteria andDefaultBuyerNotBetween(String value1, String value2) {
addCriterion("default_buyer not between", value1, value2, "defaultBuyer");
return (Criteria) this;
}
public Criteria andBomEnabledFlagIsNull() {
addCriterion("bom_enabled_flag is null");
return (Criteria) this;
}
public Criteria andBomEnabledFlagIsNotNull() {
addCriterion("bom_enabled_flag is not null");
return (Criteria) this;
}
public Criteria andBomEnabledFlagEqualTo(String value) {
addCriterion("bom_enabled_flag =", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagNotEqualTo(String value) {
addCriterion("bom_enabled_flag <>", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagGreaterThan(String value) {
addCriterion("bom_enabled_flag >", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagGreaterThanOrEqualTo(String value) {
addCriterion("bom_enabled_flag >=", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagLessThan(String value) {
addCriterion("bom_enabled_flag <", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagLessThanOrEqualTo(String value) {
addCriterion("bom_enabled_flag <=", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagLike(String value) {
addCriterion("bom_enabled_flag like", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagNotLike(String value) {
addCriterion("bom_enabled_flag not like", value, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagIn(List<String> values) {
addCriterion("bom_enabled_flag in", values, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagNotIn(List<String> values) {
addCriterion("bom_enabled_flag not in", values, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagBetween(String value1, String value2) {
addCriterion("bom_enabled_flag between", value1, value2, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBomEnabledFlagNotBetween(String value1, String value2) {
addCriterion("bom_enabled_flag not between", value1, value2, "bomEnabledFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagIsNull() {
addCriterion("build_in_wip_flag is null");
return (Criteria) this;
}
public Criteria andBuildInWipFlagIsNotNull() {
addCriterion("build_in_wip_flag is not null");
return (Criteria) this;
}
public Criteria andBuildInWipFlagEqualTo(String value) {
addCriterion("build_in_wip_flag =", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagNotEqualTo(String value) {
addCriterion("build_in_wip_flag <>", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagGreaterThan(String value) {
addCriterion("build_in_wip_flag >", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagGreaterThanOrEqualTo(String value) {
addCriterion("build_in_wip_flag >=", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagLessThan(String value) {
addCriterion("build_in_wip_flag <", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagLessThanOrEqualTo(String value) {
addCriterion("build_in_wip_flag <=", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagLike(String value) {
addCriterion("build_in_wip_flag like", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagNotLike(String value) {
addCriterion("build_in_wip_flag not like", value, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagIn(List<String> values) {
addCriterion("build_in_wip_flag in", values, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagNotIn(List<String> values) {
addCriterion("build_in_wip_flag not in", values, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagBetween(String value1, String value2) {
addCriterion("build_in_wip_flag between", value1, value2, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andBuildInWipFlagNotBetween(String value1, String value2) {
addCriterion("build_in_wip_flag not between", value1, value2, "buildInWipFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagIsNull() {
addCriterion("custmoer_order_flag is null");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagIsNotNull() {
addCriterion("custmoer_order_flag is not null");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagEqualTo(String value) {
addCriterion("custmoer_order_flag =", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagNotEqualTo(String value) {
addCriterion("custmoer_order_flag <>", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagGreaterThan(String value) {
addCriterion("custmoer_order_flag >", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagGreaterThanOrEqualTo(String value) {
addCriterion("custmoer_order_flag >=", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagLessThan(String value) {
addCriterion("custmoer_order_flag <", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagLessThanOrEqualTo(String value) {
addCriterion("custmoer_order_flag <=", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagLike(String value) {
addCriterion("custmoer_order_flag like", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagNotLike(String value) {
addCriterion("custmoer_order_flag not like", value, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagIn(List<String> values) {
addCriterion("custmoer_order_flag in", values, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagNotIn(List<String> values) {
addCriterion("custmoer_order_flag not in", values, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagBetween(String value1, String value2) {
addCriterion("custmoer_order_flag between", value1, value2, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andCustmoerOrderFlagNotBetween(String value1, String value2) {
addCriterion("custmoer_order_flag not between", value1, value2, "custmoerOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagIsNull() {
addCriterion("internal_order_flag is null");
return (Criteria) this;
}
public Criteria andInternalOrderFlagIsNotNull() {
addCriterion("internal_order_flag is not null");
return (Criteria) this;
}
public Criteria andInternalOrderFlagEqualTo(String value) {
addCriterion("internal_order_flag =", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagNotEqualTo(String value) {
addCriterion("internal_order_flag <>", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagGreaterThan(String value) {
addCriterion("internal_order_flag >", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagGreaterThanOrEqualTo(String value) {
addCriterion("internal_order_flag >=", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagLessThan(String value) {
addCriterion("internal_order_flag <", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagLessThanOrEqualTo(String value) {
addCriterion("internal_order_flag <=", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagLike(String value) {
addCriterion("internal_order_flag like", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagNotLike(String value) {
addCriterion("internal_order_flag not like", value, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagIn(List<String> values) {
addCriterion("internal_order_flag in", values, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagNotIn(List<String> values) {
addCriterion("internal_order_flag not in", values, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagBetween(String value1, String value2) {
addCriterion("internal_order_flag between", value1, value2, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInternalOrderFlagNotBetween(String value1, String value2) {
addCriterion("internal_order_flag not between", value1, value2, "internalOrderFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagIsNull() {
addCriterion("invoiced_enable_flag is null");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagIsNotNull() {
addCriterion("invoiced_enable_flag is not null");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagEqualTo(String value) {
addCriterion("invoiced_enable_flag =", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagNotEqualTo(String value) {
addCriterion("invoiced_enable_flag <>", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagGreaterThan(String value) {
addCriterion("invoiced_enable_flag >", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagGreaterThanOrEqualTo(String value) {
addCriterion("invoiced_enable_flag >=", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagLessThan(String value) {
addCriterion("invoiced_enable_flag <", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagLessThanOrEqualTo(String value) {
addCriterion("invoiced_enable_flag <=", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagLike(String value) {
addCriterion("invoiced_enable_flag like", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagNotLike(String value) {
addCriterion("invoiced_enable_flag not like", value, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagIn(List<String> values) {
addCriterion("invoiced_enable_flag in", values, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagNotIn(List<String> values) {
addCriterion("invoiced_enable_flag not in", values, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagBetween(String value1, String value2) {
addCriterion("invoiced_enable_flag between", value1, value2, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andInvoicedEnableFlagNotBetween(String value1, String value2) {
addCriterion("invoiced_enable_flag not between", value1, value2, "invoicedEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagIsNull() {
addCriterion("transaction_enable_flag is null");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagIsNotNull() {
addCriterion("transaction_enable_flag is not null");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagEqualTo(String value) {
addCriterion("transaction_enable_flag =", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagNotEqualTo(String value) {
addCriterion("transaction_enable_flag <>", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagGreaterThan(String value) {
addCriterion("transaction_enable_flag >", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagGreaterThanOrEqualTo(String value) {
addCriterion("transaction_enable_flag >=", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagLessThan(String value) {
addCriterion("transaction_enable_flag <", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagLessThanOrEqualTo(String value) {
addCriterion("transaction_enable_flag <=", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagLike(String value) {
addCriterion("transaction_enable_flag like", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagNotLike(String value) {
addCriterion("transaction_enable_flag not like", value, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagIn(List<String> values) {
addCriterion("transaction_enable_flag in", values, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagNotIn(List<String> values) {
addCriterion("transaction_enable_flag not in", values, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagBetween(String value1, String value2) {
addCriterion("transaction_enable_flag between", value1, value2, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andTransactionEnableFlagNotBetween(String value1, String value2) {
addCriterion("transaction_enable_flag not between", value1, value2, "transactionEnableFlag");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdIsNull() {
addCriterion("receive_routing_id is null");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdIsNotNull() {
addCriterion("receive_routing_id is not null");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdEqualTo(String value) {
addCriterion("receive_routing_id =", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdNotEqualTo(String value) {
addCriterion("receive_routing_id <>", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdGreaterThan(String value) {
addCriterion("receive_routing_id >", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdGreaterThanOrEqualTo(String value) {
addCriterion("receive_routing_id >=", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdLessThan(String value) {
addCriterion("receive_routing_id <", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdLessThanOrEqualTo(String value) {
addCriterion("receive_routing_id <=", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdLike(String value) {
addCriterion("receive_routing_id like", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdNotLike(String value) {
addCriterion("receive_routing_id not like", value, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdIn(List<String> values) {
addCriterion("receive_routing_id in", values, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdNotIn(List<String> values) {
addCriterion("receive_routing_id not in", values, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdBetween(String value1, String value2) {
addCriterion("receive_routing_id between", value1, value2, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andReceiveRoutingIdNotBetween(String value1, String value2) {
addCriterion("receive_routing_id not between", value1, value2, "receiveRoutingId");
return (Criteria) this;
}
public Criteria andExtendAttributesIsNull() {
addCriterion("extend_attributes is null");
return (Criteria) this;
}
public Criteria andExtendAttributesIsNotNull() {
addCriterion("extend_attributes is not null");
return (Criteria) this;
}
public Criteria andExtendAttributesEqualTo(String value) {
addCriterion("extend_attributes =", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesNotEqualTo(String value) {
addCriterion("extend_attributes <>", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesGreaterThan(String value) {
addCriterion("extend_attributes >", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesGreaterThanOrEqualTo(String value) {
addCriterion("extend_attributes >=", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesLessThan(String value) {
addCriterion("extend_attributes <", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesLessThanOrEqualTo(String value) {
addCriterion("extend_attributes <=", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesLike(String value) {
addCriterion("extend_attributes like", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesNotLike(String value) {
addCriterion("extend_attributes not like", value, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesIn(List<String> values) {
addCriterion("extend_attributes in", values, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesNotIn(List<String> values) {
addCriterion("extend_attributes not in", values, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesBetween(String value1, String value2) {
addCriterion("extend_attributes between", value1, value2, "extendAttributes");
return (Criteria) this;
}
public Criteria andExtendAttributesNotBetween(String value1, String value2) {
addCriterion("extend_attributes not between", value1, value2, "extendAttributes");
return (Criteria) this;
}
public Criteria andAttr1IsNull() {
addCriterion("attr1 is null");
return (Criteria) this;
}
public Criteria andAttr1IsNotNull() {
addCriterion("attr1 is not null");
return (Criteria) this;
}
public Criteria andAttr1EqualTo(String value) {
addCriterion("attr1 =", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotEqualTo(String value) {
addCriterion("attr1 <>", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1GreaterThan(String value) {
addCriterion("attr1 >", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1GreaterThanOrEqualTo(String value) {
addCriterion("attr1 >=", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1LessThan(String value) {
addCriterion("attr1 <", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1LessThanOrEqualTo(String value) {
addCriterion("attr1 <=", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1Like(String value) {
addCriterion("attr1 like", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotLike(String value) {
addCriterion("attr1 not like", value, "attr1");
return (Criteria) this;
}
public Criteria andAttr1In(List<String> values) {
addCriterion("attr1 in", values, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotIn(List<String> values) {
addCriterion("attr1 not in", values, "attr1");
return (Criteria) this;
}
public Criteria andAttr1Between(String value1, String value2) {
addCriterion("attr1 between", value1, value2, "attr1");
return (Criteria) this;
}
public Criteria andAttr1NotBetween(String value1, String value2) {
addCriterion("attr1 not between", value1, value2, "attr1");
return (Criteria) this;
}
public Criteria andAttr2IsNull() {
addCriterion("attr2 is null");
return (Criteria) this;
}
public Criteria andAttr2IsNotNull() {
addCriterion("attr2 is not null");
return (Criteria) this;
}
public Criteria andAttr2EqualTo(String value) {
addCriterion("attr2 =", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotEqualTo(String value) {
addCriterion("attr2 <>", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2GreaterThan(String value) {
addCriterion("attr2 >", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2GreaterThanOrEqualTo(String value) {
addCriterion("attr2 >=", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2LessThan(String value) {
addCriterion("attr2 <", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2LessThanOrEqualTo(String value) {
addCriterion("attr2 <=", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2Like(String value) {
addCriterion("attr2 like", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotLike(String value) {
addCriterion("attr2 not like", value, "attr2");
return (Criteria) this;
}
public Criteria andAttr2In(List<String> values) {
addCriterion("attr2 in", values, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotIn(List<String> values) {
addCriterion("attr2 not in", values, "attr2");
return (Criteria) this;
}
public Criteria andAttr2Between(String value1, String value2) {
addCriterion("attr2 between", value1, value2, "attr2");
return (Criteria) this;
}
public Criteria andAttr2NotBetween(String value1, String value2) {
addCriterion("attr2 not between", value1, value2, "attr2");
return (Criteria) this;
}
public Criteria andAttr3IsNull() {
addCriterion("attr3 is null");
return (Criteria) this;
}
public Criteria andAttr3IsNotNull() {
addCriterion("attr3 is not null");
return (Criteria) this;
}
public Criteria andAttr3EqualTo(String value) {
addCriterion("attr3 =", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotEqualTo(String value) {
addCriterion("attr3 <>", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3GreaterThan(String value) {
addCriterion("attr3 >", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3GreaterThanOrEqualTo(String value) {
addCriterion("attr3 >=", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3LessThan(String value) {
addCriterion("attr3 <", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3LessThanOrEqualTo(String value) {
addCriterion("attr3 <=", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3Like(String value) {
addCriterion("attr3 like", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotLike(String value) {
addCriterion("attr3 not like", value, "attr3");
return (Criteria) this;
}
public Criteria andAttr3In(List<String> values) {
addCriterion("attr3 in", values, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotIn(List<String> values) {
addCriterion("attr3 not in", values, "attr3");
return (Criteria) this;
}
public Criteria andAttr3Between(String value1, String value2) {
addCriterion("attr3 between", value1, value2, "attr3");
return (Criteria) this;
}
public Criteria andAttr3NotBetween(String value1, String value2) {
addCriterion("attr3 not between", value1, value2, "attr3");
return (Criteria) this;
}
public Criteria andAttr4IsNull() {
addCriterion("attr4 is null");
return (Criteria) this;
}
public Criteria andAttr4IsNotNull() {
addCriterion("attr4 is not null");
return (Criteria) this;
}
public Criteria andAttr4EqualTo(String value) {
addCriterion("attr4 =", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotEqualTo(String value) {
addCriterion("attr4 <>", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4GreaterThan(String value) {
addCriterion("attr4 >", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4GreaterThanOrEqualTo(String value) {
addCriterion("attr4 >=", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4LessThan(String value) {
addCriterion("attr4 <", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4LessThanOrEqualTo(String value) {
addCriterion("attr4 <=", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4Like(String value) {
addCriterion("attr4 like", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotLike(String value) {
addCriterion("attr4 not like", value, "attr4");
return (Criteria) this;
}
public Criteria andAttr4In(List<String> values) {
addCriterion("attr4 in", values, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotIn(List<String> values) {
addCriterion("attr4 not in", values, "attr4");
return (Criteria) this;
}
public Criteria andAttr4Between(String value1, String value2) {
addCriterion("attr4 between", value1, value2, "attr4");
return (Criteria) this;
}
public Criteria andAttr4NotBetween(String value1, String value2) {
addCriterion("attr4 not between", value1, value2, "attr4");
return (Criteria) this;
}
public Criteria andAttr5IsNull() {
addCriterion("attr5 is null");
return (Criteria) this;
}
public Criteria andAttr5IsNotNull() {
addCriterion("attr5 is not null");
return (Criteria) this;
}
public Criteria andAttr5EqualTo(String value) {
addCriterion("attr5 =", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotEqualTo(String value) {
addCriterion("attr5 <>", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5GreaterThan(String value) {
addCriterion("attr5 >", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5GreaterThanOrEqualTo(String value) {
addCriterion("attr5 >=", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5LessThan(String value) {
addCriterion("attr5 <", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5LessThanOrEqualTo(String value) {
addCriterion("attr5 <=", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5Like(String value) {
addCriterion("attr5 like", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotLike(String value) {
addCriterion("attr5 not like", value, "attr5");
return (Criteria) this;
}
public Criteria andAttr5In(List<String> values) {
addCriterion("attr5 in", values, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotIn(List<String> values) {
addCriterion("attr5 not in", values, "attr5");
return (Criteria) this;
}
public Criteria andAttr5Between(String value1, String value2) {
addCriterion("attr5 between", value1, value2, "attr5");
return (Criteria) this;
}
public Criteria andAttr5NotBetween(String value1, String value2) {
addCriterion("attr5 not between", value1, value2, "attr5");
return (Criteria) this;
}
public Criteria andCreateByIsNull() {
addCriterion("create_by is null");
return (Criteria) this;
}
public Criteria andCreateByIsNotNull() {
addCriterion("create_by is not null");
return (Criteria) this;
}
public Criteria andCreateByEqualTo(String value) {
addCriterion("create_by =", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotEqualTo(String value) {
addCriterion("create_by <>", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThan(String value) {
addCriterion("create_by >", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThanOrEqualTo(String value) {
addCriterion("create_by >=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThan(String value) {
addCriterion("create_by <", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThanOrEqualTo(String value) {
addCriterion("create_by <=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLike(String value) {
addCriterion("create_by like", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotLike(String value) {
addCriterion("create_by not like", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByIn(List<String> values) {
addCriterion("create_by in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotIn(List<String> values) {
addCriterion("create_by not in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByBetween(String value1, String value2) {
addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotBetween(String value1, String value2) {
addCriterion("create_by not between", value1, value2, "createBy");
return (Criteria) this;
}
public Criteria andUpdateByIsNull() {
addCriterion("update_by is null");
return (Criteria) this;
}
public Criteria andUpdateByIsNotNull() {
addCriterion("update_by is not null");
return (Criteria) this;
}
public Criteria andUpdateByEqualTo(String value) {
addCriterion("update_by =", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotEqualTo(String value) {
addCriterion("update_by <>", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThan(String value) {
addCriterion("update_by >", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
addCriterion("update_by >=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThan(String value) {
addCriterion("update_by <", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThanOrEqualTo(String value) {
addCriterion("update_by <=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLike(String value) {
addCriterion("update_by like", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotLike(String value) {
addCriterion("update_by not like", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByIn(List<String> values) {
addCriterion("update_by in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotIn(List<String> values) {
addCriterion("update_by not in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByBetween(String value1, String value2) {
addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotBetween(String value1, String value2) {
addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table input_material_item
*
* @mbg.generated 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 input_material_item
*
* @mbg.generated
*/
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
package pwc.taxtech.atms.security.vendor;
import com.alibaba.fastjson.JSON;
import com.google.common.collect.ImmutableMap;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pwc.taxtech.atms.common.util.SignatureUtil;
import pwc.taxtech.atms.dto.OperationResultDto;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;
public class ApiSignatureFilter implements Filter {
private static final Logger LOGGER = LoggerFactory.getLogger(ApiSignatureFilter.class);
private static String INVALID_RESULT = JSON.toJSONString(OperationResultDto.error("invalid api signature"));
private static Map<String, String> keyMap = new ImmutableMap.Builder<String, String>()
.put("longi", "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJsb25naSIsImV4cCI6MzI0ODczMDE1NjAsImlhdCI6MTUyOTkyMjM2MSwibmJmIjoxNTI5OTIxNzYxLCJqdGkiOiIyNURFRDEyRi0yRTBBLTRERDUtQjkyOS0xRjlCOTI1QzA2MjciLCJhcHBJZCI6ImxvbmdpIn0.fPddvBGXjViEXNrYA7BesndVjM5eYHA0cX_sKZprHbIasD75Sn8vWNVKb5hMDk3wk3M34k7VgkTFHnpj9BF2uw")
.build();
@Override
public void init(FilterConfig filterConfig) throws ServletException {
}
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
try {
HttpServletRequest request = (HttpServletRequest) servletRequest;
String appId = StringUtils.defaultString(request.getParameter(SignatureUtil.SIGN_APP_ID));
String nonceStr = StringUtils.defaultString(request.getParameter(SignatureUtil.SIGN_NONCE_STR));
String timestamp = StringUtils.defaultString(request.getParameter(SignatureUtil.SIGN_TIMESTAMP));
String signature = StringUtils.defaultString(request.getParameter(SignatureUtil.SIGN_SIGNATURE));
String api = StringUtils.defaultString(request.getParameter(SignatureUtil.SIGN_API));
if (StringUtils.isAnyBlank(appId, signature, timestamp, nonceStr, api)) {
servletResponse.getWriter().print(INVALID_RESULT);
return;
}
String key = keyMap.get(appId);
if (StringUtils.isBlank(key)) {
servletResponse.getWriter().print(INVALID_RESULT);
return;
}
if (SignatureUtil.validate(key, api, nonceStr, timestamp, signature)) {
filterChain.doFilter(servletRequest, servletResponse);
}
} catch (Exception e) {
LOGGER.error("invalid api signature: {}", JSON.toJSONString(servletRequest.getParameterMap()), e);
}
servletResponse.getWriter().print(INVALID_RESULT);
}
@Override
public void destroy() {
}
}
package pwc.taxtech.atms.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import pwc.taxtech.atms.common.AtmsApiSettings;
import pwc.taxtech.atms.common.AuthUserHelper;
import pwc.taxtech.atms.service.OperationLogService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import pwc.taxtech.atms.common.AtmsApiSettings;
import pwc.taxtech.atms.common.AuthUserHelper;
import pwc.taxtech.atms.service.OperationLogService;
public class BaseService {
protected final Logger logger = LoggerFactory.getLogger(this.getClass());
......
package pwc.taxtech.atms.service.vendor;
import org.springframework.stereotype.Service;
import pwc.taxtech.atms.common.ServiceException;
import pwc.taxtech.atms.dto.vendor.LgItemDto;
import pwc.taxtech.atms.service.impl.BaseService;
import java.util.List;
@Service
public class LongiService extends BaseService {
/**
* 更新物料信息
*
* @param itemDtoList list
* @throws ServiceException ex
*/
public void updateItems(List<LgItemDto> itemDtoList) throws ServiceException {
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.dao.InputMaterialCategoryMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.InputMaterialCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="category_set_code" jdbcType="VARCHAR" property="categorySetCode" />
<result column="category_set_name_zhs" jdbcType="VARCHAR" property="categorySetNameZhs" />
<result column="category_set_name_us" jdbcType="VARCHAR" property="categorySetNameUs" />
<result column="set_value" jdbcType="VARCHAR" property="setValue" />
<result column="set_value_desc_zhs" jdbcType="VARCHAR" property="setValueDescZhs" />
<result column="set_value_desc_us" jdbcType="VARCHAR" property="setValueDescUs" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, category_set_code, category_set_name_zhs, category_set_name_us, set_value, set_value_desc_zhs,
set_value_desc_us, create_time, update_time, create_by, update_by
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategoryExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from input_material_category
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_category
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategoryExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_category (id, category_set_code, category_set_name_zhs,
category_set_name_us, set_value, set_value_desc_zhs,
set_value_desc_us, create_time, update_time,
create_by, update_by)
values (#{id,jdbcType=BIGINT}, #{categorySetCode,jdbcType=VARCHAR}, #{categorySetNameZhs,jdbcType=VARCHAR},
#{categorySetNameUs,jdbcType=VARCHAR}, #{setValue,jdbcType=VARCHAR}, #{setValueDescZhs,jdbcType=VARCHAR},
#{setValueDescUs,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_category
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="categorySetCode != null">
category_set_code,
</if>
<if test="categorySetNameZhs != null">
category_set_name_zhs,
</if>
<if test="categorySetNameUs != null">
category_set_name_us,
</if>
<if test="setValue != null">
set_value,
</if>
<if test="setValueDescZhs != null">
set_value_desc_zhs,
</if>
<if test="setValueDescUs != null">
set_value_desc_us,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="createBy != null">
create_by,
</if>
<if test="updateBy != null">
update_by,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="categorySetCode != null">
#{categorySetCode,jdbcType=VARCHAR},
</if>
<if test="categorySetNameZhs != null">
#{categorySetNameZhs,jdbcType=VARCHAR},
</if>
<if test="categorySetNameUs != null">
#{categorySetNameUs,jdbcType=VARCHAR},
</if>
<if test="setValue != null">
#{setValue,jdbcType=VARCHAR},
</if>
<if test="setValueDescZhs != null">
#{setValueDescZhs,jdbcType=VARCHAR},
</if>
<if test="setValueDescUs != null">
#{setValueDescUs,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="createBy != null">
#{createBy,jdbcType=VARCHAR},
</if>
<if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategoryExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from input_material_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_category
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.categorySetCode != null">
category_set_code = #{record.categorySetCode,jdbcType=VARCHAR},
</if>
<if test="record.categorySetNameZhs != null">
category_set_name_zhs = #{record.categorySetNameZhs,jdbcType=VARCHAR},
</if>
<if test="record.categorySetNameUs != null">
category_set_name_us = #{record.categorySetNameUs,jdbcType=VARCHAR},
</if>
<if test="record.setValue != null">
set_value = #{record.setValue,jdbcType=VARCHAR},
</if>
<if test="record.setValueDescZhs != null">
set_value_desc_zhs = #{record.setValueDescZhs,jdbcType=VARCHAR},
</if>
<if test="record.setValueDescUs != null">
set_value_desc_us = #{record.setValueDescUs,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.createBy != null">
create_by = #{record.createBy,jdbcType=VARCHAR},
</if>
<if test="record.updateBy != null">
update_by = #{record.updateBy,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_category
set id = #{record.id,jdbcType=BIGINT},
category_set_code = #{record.categorySetCode,jdbcType=VARCHAR},
category_set_name_zhs = #{record.categorySetNameZhs,jdbcType=VARCHAR},
category_set_name_us = #{record.categorySetNameUs,jdbcType=VARCHAR},
set_value = #{record.setValue,jdbcType=VARCHAR},
set_value_desc_zhs = #{record.setValueDescZhs,jdbcType=VARCHAR},
set_value_desc_us = #{record.setValueDescUs,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
create_by = #{record.createBy,jdbcType=VARCHAR},
update_by = #{record.updateBy,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_category
<set>
<if test="categorySetCode != null">
category_set_code = #{categorySetCode,jdbcType=VARCHAR},
</if>
<if test="categorySetNameZhs != null">
category_set_name_zhs = #{categorySetNameZhs,jdbcType=VARCHAR},
</if>
<if test="categorySetNameUs != null">
category_set_name_us = #{categorySetNameUs,jdbcType=VARCHAR},
</if>
<if test="setValue != null">
set_value = #{setValue,jdbcType=VARCHAR},
</if>
<if test="setValueDescZhs != null">
set_value_desc_zhs = #{setValueDescZhs,jdbcType=VARCHAR},
</if>
<if test="setValueDescUs != null">
set_value_desc_us = #{setValueDescUs,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR},
</if>
<if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_category
set category_set_code = #{categorySetCode,jdbcType=VARCHAR},
category_set_name_zhs = #{categorySetNameZhs,jdbcType=VARCHAR},
category_set_name_us = #{categorySetNameUs,jdbcType=VARCHAR},
set_value = #{setValue,jdbcType=VARCHAR},
set_value_desc_zhs = #{setValueDescZhs,jdbcType=VARCHAR},
set_value_desc_us = #{setValueDescUs,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.InputMaterialCategoryExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.dao.InputMaterialItemCategoryMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.InputMaterialItemCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="item_id" jdbcType="BIGINT" property="itemId" />
<result column="category_id" jdbcType="BIGINT" property="categoryId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, item_id, category_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategoryExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_item_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from input_material_item_category
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_item_category
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategoryExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_item_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_item_category (id, item_id, category_id
)
values (#{id,jdbcType=BIGINT}, #{itemId,jdbcType=BIGINT}, #{categoryId,jdbcType=BIGINT}
)
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_item_category
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="itemId != null">
item_id,
</if>
<if test="categoryId != null">
category_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="itemId != null">
#{itemId,jdbcType=BIGINT},
</if>
<if test="categoryId != null">
#{categoryId,jdbcType=BIGINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategoryExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from input_material_item_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item_category
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.itemId != null">
item_id = #{record.itemId,jdbcType=BIGINT},
</if>
<if test="record.categoryId != null">
category_id = #{record.categoryId,jdbcType=BIGINT},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item_category
set id = #{record.id,jdbcType=BIGINT},
item_id = #{record.itemId,jdbcType=BIGINT},
category_id = #{record.categoryId,jdbcType=BIGINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item_category
<set>
<if test="itemId != null">
item_id = #{itemId,jdbcType=BIGINT},
</if>
<if test="categoryId != null">
category_id = #{categoryId,jdbcType=BIGINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategory">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item_category
set item_id = #{itemId,jdbcType=BIGINT},
category_id = #{categoryId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemCategoryExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_item_category
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pwc.taxtech.atms.dao.InputMaterialItemMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.entitiy.InputMaterialItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="org_code" jdbcType="VARCHAR" property="orgCode" />
<result column="item_number" jdbcType="VARCHAR" property="itemNumber" />
<result column="item_desc_zhs" jdbcType="VARCHAR" property="itemDescZhs" />
<result column="item_desc_us" jdbcType="VARCHAR" property="itemDescUs" />
<result column="item_long_desc_zhs" jdbcType="VARCHAR" property="itemLongDescZhs" />
<result column="item_long_desc_us" jdbcType="VARCHAR" property="itemLongDescUs" />
<result column="primary_unit_of_measure" jdbcType="VARCHAR" property="primaryUnitOfMeasure" />
<result column="unit_of_measure" jdbcType="VARCHAR" property="unitOfMeasure" />
<result column="lot_control" jdbcType="VARCHAR" property="lotControl" />
<result column="shelflife_days" jdbcType="INTEGER" property="shelflifeDays" />
<result column="item_status" jdbcType="VARCHAR" property="itemStatus" />
<result column="stock_enable_flag" jdbcType="VARCHAR" property="stockEnableFlag" />
<result column="purchasing_enable_flag" jdbcType="VARCHAR" property="purchasingEnableFlag" />
<result column="must_approve_vendor" jdbcType="VARCHAR" property="mustApproveVendor" />
<result column="default_buyer_num" jdbcType="VARCHAR" property="defaultBuyerNum" />
<result column="default_buyer" jdbcType="VARCHAR" property="defaultBuyer" />
<result column="bom_enabled_flag" jdbcType="VARCHAR" property="bomEnabledFlag" />
<result column="build_in_wip_flag" jdbcType="VARCHAR" property="buildInWipFlag" />
<result column="custmoer_order_flag" jdbcType="VARCHAR" property="custmoerOrderFlag" />
<result column="internal_order_flag" jdbcType="VARCHAR" property="internalOrderFlag" />
<result column="invoiced_enable_flag" jdbcType="VARCHAR" property="invoicedEnableFlag" />
<result column="transaction_enable_flag" jdbcType="VARCHAR" property="transactionEnableFlag" />
<result column="receive_routing_id" jdbcType="VARCHAR" property="receiveRoutingId" />
<result column="extend_attributes" jdbcType="VARCHAR" property="extendAttributes" />
<result column="attr1" jdbcType="VARCHAR" property="attr1" />
<result column="attr2" jdbcType="VARCHAR" property="attr2" />
<result column="attr3" jdbcType="VARCHAR" property="attr3" />
<result column="attr4" jdbcType="VARCHAR" property="attr4" />
<result column="attr5" jdbcType="VARCHAR" property="attr5" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, org_code, item_number, item_desc_zhs, item_desc_us, item_long_desc_zhs, item_long_desc_us,
primary_unit_of_measure, unit_of_measure, lot_control, shelflife_days, item_status,
stock_enable_flag, purchasing_enable_flag, must_approve_vendor, default_buyer_num,
default_buyer, bom_enabled_flag, build_in_wip_flag, custmoer_order_flag, internal_order_flag,
invoiced_enable_flag, transaction_enable_flag, receive_routing_id, extend_attributes,
attr1, attr2, attr3, attr4, attr5, create_by, update_by, create_time, update_time
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_item
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include refid="Base_Column_List" />
from input_material_item
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_item
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from input_material_item
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_item (id, org_code, item_number,
item_desc_zhs, item_desc_us, item_long_desc_zhs,
item_long_desc_us, primary_unit_of_measure, unit_of_measure,
lot_control, shelflife_days, item_status,
stock_enable_flag, purchasing_enable_flag,
must_approve_vendor, default_buyer_num, default_buyer,
bom_enabled_flag, build_in_wip_flag, custmoer_order_flag,
internal_order_flag, invoiced_enable_flag,
transaction_enable_flag, receive_routing_id,
extend_attributes, attr1, attr2,
attr3, attr4, attr5,
create_by, update_by, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{orgCode,jdbcType=VARCHAR}, #{itemNumber,jdbcType=VARCHAR},
#{itemDescZhs,jdbcType=VARCHAR}, #{itemDescUs,jdbcType=VARCHAR}, #{itemLongDescZhs,jdbcType=VARCHAR},
#{itemLongDescUs,jdbcType=VARCHAR}, #{primaryUnitOfMeasure,jdbcType=VARCHAR}, #{unitOfMeasure,jdbcType=VARCHAR},
#{lotControl,jdbcType=VARCHAR}, #{shelflifeDays,jdbcType=INTEGER}, #{itemStatus,jdbcType=VARCHAR},
#{stockEnableFlag,jdbcType=VARCHAR}, #{purchasingEnableFlag,jdbcType=VARCHAR},
#{mustApproveVendor,jdbcType=VARCHAR}, #{defaultBuyerNum,jdbcType=VARCHAR}, #{defaultBuyer,jdbcType=VARCHAR},
#{bomEnabledFlag,jdbcType=VARCHAR}, #{buildInWipFlag,jdbcType=VARCHAR}, #{custmoerOrderFlag,jdbcType=VARCHAR},
#{internalOrderFlag,jdbcType=VARCHAR}, #{invoicedEnableFlag,jdbcType=VARCHAR},
#{transactionEnableFlag,jdbcType=VARCHAR}, #{receiveRoutingId,jdbcType=VARCHAR},
#{extendAttributes,jdbcType=VARCHAR}, #{attr1,jdbcType=VARCHAR}, #{attr2,jdbcType=VARCHAR},
#{attr3,jdbcType=VARCHAR}, #{attr4,jdbcType=VARCHAR}, #{attr5,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into input_material_item
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="orgCode != null">
org_code,
</if>
<if test="itemNumber != null">
item_number,
</if>
<if test="itemDescZhs != null">
item_desc_zhs,
</if>
<if test="itemDescUs != null">
item_desc_us,
</if>
<if test="itemLongDescZhs != null">
item_long_desc_zhs,
</if>
<if test="itemLongDescUs != null">
item_long_desc_us,
</if>
<if test="primaryUnitOfMeasure != null">
primary_unit_of_measure,
</if>
<if test="unitOfMeasure != null">
unit_of_measure,
</if>
<if test="lotControl != null">
lot_control,
</if>
<if test="shelflifeDays != null">
shelflife_days,
</if>
<if test="itemStatus != null">
item_status,
</if>
<if test="stockEnableFlag != null">
stock_enable_flag,
</if>
<if test="purchasingEnableFlag != null">
purchasing_enable_flag,
</if>
<if test="mustApproveVendor != null">
must_approve_vendor,
</if>
<if test="defaultBuyerNum != null">
default_buyer_num,
</if>
<if test="defaultBuyer != null">
default_buyer,
</if>
<if test="bomEnabledFlag != null">
bom_enabled_flag,
</if>
<if test="buildInWipFlag != null">
build_in_wip_flag,
</if>
<if test="custmoerOrderFlag != null">
custmoer_order_flag,
</if>
<if test="internalOrderFlag != null">
internal_order_flag,
</if>
<if test="invoicedEnableFlag != null">
invoiced_enable_flag,
</if>
<if test="transactionEnableFlag != null">
transaction_enable_flag,
</if>
<if test="receiveRoutingId != null">
receive_routing_id,
</if>
<if test="extendAttributes != null">
extend_attributes,
</if>
<if test="attr1 != null">
attr1,
</if>
<if test="attr2 != null">
attr2,
</if>
<if test="attr3 != null">
attr3,
</if>
<if test="attr4 != null">
attr4,
</if>
<if test="attr5 != null">
attr5,
</if>
<if test="createBy != null">
create_by,
</if>
<if test="updateBy != null">
update_by,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="orgCode != null">
#{orgCode,jdbcType=VARCHAR},
</if>
<if test="itemNumber != null">
#{itemNumber,jdbcType=VARCHAR},
</if>
<if test="itemDescZhs != null">
#{itemDescZhs,jdbcType=VARCHAR},
</if>
<if test="itemDescUs != null">
#{itemDescUs,jdbcType=VARCHAR},
</if>
<if test="itemLongDescZhs != null">
#{itemLongDescZhs,jdbcType=VARCHAR},
</if>
<if test="itemLongDescUs != null">
#{itemLongDescUs,jdbcType=VARCHAR},
</if>
<if test="primaryUnitOfMeasure != null">
#{primaryUnitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="unitOfMeasure != null">
#{unitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="lotControl != null">
#{lotControl,jdbcType=VARCHAR},
</if>
<if test="shelflifeDays != null">
#{shelflifeDays,jdbcType=INTEGER},
</if>
<if test="itemStatus != null">
#{itemStatus,jdbcType=VARCHAR},
</if>
<if test="stockEnableFlag != null">
#{stockEnableFlag,jdbcType=VARCHAR},
</if>
<if test="purchasingEnableFlag != null">
#{purchasingEnableFlag,jdbcType=VARCHAR},
</if>
<if test="mustApproveVendor != null">
#{mustApproveVendor,jdbcType=VARCHAR},
</if>
<if test="defaultBuyerNum != null">
#{defaultBuyerNum,jdbcType=VARCHAR},
</if>
<if test="defaultBuyer != null">
#{defaultBuyer,jdbcType=VARCHAR},
</if>
<if test="bomEnabledFlag != null">
#{bomEnabledFlag,jdbcType=VARCHAR},
</if>
<if test="buildInWipFlag != null">
#{buildInWipFlag,jdbcType=VARCHAR},
</if>
<if test="custmoerOrderFlag != null">
#{custmoerOrderFlag,jdbcType=VARCHAR},
</if>
<if test="internalOrderFlag != null">
#{internalOrderFlag,jdbcType=VARCHAR},
</if>
<if test="invoicedEnableFlag != null">
#{invoicedEnableFlag,jdbcType=VARCHAR},
</if>
<if test="transactionEnableFlag != null">
#{transactionEnableFlag,jdbcType=VARCHAR},
</if>
<if test="receiveRoutingId != null">
#{receiveRoutingId,jdbcType=VARCHAR},
</if>
<if test="extendAttributes != null">
#{extendAttributes,jdbcType=VARCHAR},
</if>
<if test="attr1 != null">
#{attr1,jdbcType=VARCHAR},
</if>
<if test="attr2 != null">
#{attr2,jdbcType=VARCHAR},
</if>
<if test="attr3 != null">
#{attr3,jdbcType=VARCHAR},
</if>
<if test="attr4 != null">
#{attr4,jdbcType=VARCHAR},
</if>
<if test="attr5 != null">
#{attr5,jdbcType=VARCHAR},
</if>
<if test="createBy != null">
#{createBy,jdbcType=VARCHAR},
</if>
<if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from input_material_item
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.orgCode != null">
org_code = #{record.orgCode,jdbcType=VARCHAR},
</if>
<if test="record.itemNumber != null">
item_number = #{record.itemNumber,jdbcType=VARCHAR},
</if>
<if test="record.itemDescZhs != null">
item_desc_zhs = #{record.itemDescZhs,jdbcType=VARCHAR},
</if>
<if test="record.itemDescUs != null">
item_desc_us = #{record.itemDescUs,jdbcType=VARCHAR},
</if>
<if test="record.itemLongDescZhs != null">
item_long_desc_zhs = #{record.itemLongDescZhs,jdbcType=VARCHAR},
</if>
<if test="record.itemLongDescUs != null">
item_long_desc_us = #{record.itemLongDescUs,jdbcType=VARCHAR},
</if>
<if test="record.primaryUnitOfMeasure != null">
primary_unit_of_measure = #{record.primaryUnitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="record.unitOfMeasure != null">
unit_of_measure = #{record.unitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="record.lotControl != null">
lot_control = #{record.lotControl,jdbcType=VARCHAR},
</if>
<if test="record.shelflifeDays != null">
shelflife_days = #{record.shelflifeDays,jdbcType=INTEGER},
</if>
<if test="record.itemStatus != null">
item_status = #{record.itemStatus,jdbcType=VARCHAR},
</if>
<if test="record.stockEnableFlag != null">
stock_enable_flag = #{record.stockEnableFlag,jdbcType=VARCHAR},
</if>
<if test="record.purchasingEnableFlag != null">
purchasing_enable_flag = #{record.purchasingEnableFlag,jdbcType=VARCHAR},
</if>
<if test="record.mustApproveVendor != null">
must_approve_vendor = #{record.mustApproveVendor,jdbcType=VARCHAR},
</if>
<if test="record.defaultBuyerNum != null">
default_buyer_num = #{record.defaultBuyerNum,jdbcType=VARCHAR},
</if>
<if test="record.defaultBuyer != null">
default_buyer = #{record.defaultBuyer,jdbcType=VARCHAR},
</if>
<if test="record.bomEnabledFlag != null">
bom_enabled_flag = #{record.bomEnabledFlag,jdbcType=VARCHAR},
</if>
<if test="record.buildInWipFlag != null">
build_in_wip_flag = #{record.buildInWipFlag,jdbcType=VARCHAR},
</if>
<if test="record.custmoerOrderFlag != null">
custmoer_order_flag = #{record.custmoerOrderFlag,jdbcType=VARCHAR},
</if>
<if test="record.internalOrderFlag != null">
internal_order_flag = #{record.internalOrderFlag,jdbcType=VARCHAR},
</if>
<if test="record.invoicedEnableFlag != null">
invoiced_enable_flag = #{record.invoicedEnableFlag,jdbcType=VARCHAR},
</if>
<if test="record.transactionEnableFlag != null">
transaction_enable_flag = #{record.transactionEnableFlag,jdbcType=VARCHAR},
</if>
<if test="record.receiveRoutingId != null">
receive_routing_id = #{record.receiveRoutingId,jdbcType=VARCHAR},
</if>
<if test="record.extendAttributes != null">
extend_attributes = #{record.extendAttributes,jdbcType=VARCHAR},
</if>
<if test="record.attr1 != null">
attr1 = #{record.attr1,jdbcType=VARCHAR},
</if>
<if test="record.attr2 != null">
attr2 = #{record.attr2,jdbcType=VARCHAR},
</if>
<if test="record.attr3 != null">
attr3 = #{record.attr3,jdbcType=VARCHAR},
</if>
<if test="record.attr4 != null">
attr4 = #{record.attr4,jdbcType=VARCHAR},
</if>
<if test="record.attr5 != null">
attr5 = #{record.attr5,jdbcType=VARCHAR},
</if>
<if test="record.createBy != null">
create_by = #{record.createBy,jdbcType=VARCHAR},
</if>
<if test="record.updateBy != null">
update_by = #{record.updateBy,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item
set id = #{record.id,jdbcType=BIGINT},
org_code = #{record.orgCode,jdbcType=VARCHAR},
item_number = #{record.itemNumber,jdbcType=VARCHAR},
item_desc_zhs = #{record.itemDescZhs,jdbcType=VARCHAR},
item_desc_us = #{record.itemDescUs,jdbcType=VARCHAR},
item_long_desc_zhs = #{record.itemLongDescZhs,jdbcType=VARCHAR},
item_long_desc_us = #{record.itemLongDescUs,jdbcType=VARCHAR},
primary_unit_of_measure = #{record.primaryUnitOfMeasure,jdbcType=VARCHAR},
unit_of_measure = #{record.unitOfMeasure,jdbcType=VARCHAR},
lot_control = #{record.lotControl,jdbcType=VARCHAR},
shelflife_days = #{record.shelflifeDays,jdbcType=INTEGER},
item_status = #{record.itemStatus,jdbcType=VARCHAR},
stock_enable_flag = #{record.stockEnableFlag,jdbcType=VARCHAR},
purchasing_enable_flag = #{record.purchasingEnableFlag,jdbcType=VARCHAR},
must_approve_vendor = #{record.mustApproveVendor,jdbcType=VARCHAR},
default_buyer_num = #{record.defaultBuyerNum,jdbcType=VARCHAR},
default_buyer = #{record.defaultBuyer,jdbcType=VARCHAR},
bom_enabled_flag = #{record.bomEnabledFlag,jdbcType=VARCHAR},
build_in_wip_flag = #{record.buildInWipFlag,jdbcType=VARCHAR},
custmoer_order_flag = #{record.custmoerOrderFlag,jdbcType=VARCHAR},
internal_order_flag = #{record.internalOrderFlag,jdbcType=VARCHAR},
invoiced_enable_flag = #{record.invoicedEnableFlag,jdbcType=VARCHAR},
transaction_enable_flag = #{record.transactionEnableFlag,jdbcType=VARCHAR},
receive_routing_id = #{record.receiveRoutingId,jdbcType=VARCHAR},
extend_attributes = #{record.extendAttributes,jdbcType=VARCHAR},
attr1 = #{record.attr1,jdbcType=VARCHAR},
attr2 = #{record.attr2,jdbcType=VARCHAR},
attr3 = #{record.attr3,jdbcType=VARCHAR},
attr4 = #{record.attr4,jdbcType=VARCHAR},
attr5 = #{record.attr5,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
update_by = #{record.updateBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item
<set>
<if test="orgCode != null">
org_code = #{orgCode,jdbcType=VARCHAR},
</if>
<if test="itemNumber != null">
item_number = #{itemNumber,jdbcType=VARCHAR},
</if>
<if test="itemDescZhs != null">
item_desc_zhs = #{itemDescZhs,jdbcType=VARCHAR},
</if>
<if test="itemDescUs != null">
item_desc_us = #{itemDescUs,jdbcType=VARCHAR},
</if>
<if test="itemLongDescZhs != null">
item_long_desc_zhs = #{itemLongDescZhs,jdbcType=VARCHAR},
</if>
<if test="itemLongDescUs != null">
item_long_desc_us = #{itemLongDescUs,jdbcType=VARCHAR},
</if>
<if test="primaryUnitOfMeasure != null">
primary_unit_of_measure = #{primaryUnitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="unitOfMeasure != null">
unit_of_measure = #{unitOfMeasure,jdbcType=VARCHAR},
</if>
<if test="lotControl != null">
lot_control = #{lotControl,jdbcType=VARCHAR},
</if>
<if test="shelflifeDays != null">
shelflife_days = #{shelflifeDays,jdbcType=INTEGER},
</if>
<if test="itemStatus != null">
item_status = #{itemStatus,jdbcType=VARCHAR},
</if>
<if test="stockEnableFlag != null">
stock_enable_flag = #{stockEnableFlag,jdbcType=VARCHAR},
</if>
<if test="purchasingEnableFlag != null">
purchasing_enable_flag = #{purchasingEnableFlag,jdbcType=VARCHAR},
</if>
<if test="mustApproveVendor != null">
must_approve_vendor = #{mustApproveVendor,jdbcType=VARCHAR},
</if>
<if test="defaultBuyerNum != null">
default_buyer_num = #{defaultBuyerNum,jdbcType=VARCHAR},
</if>
<if test="defaultBuyer != null">
default_buyer = #{defaultBuyer,jdbcType=VARCHAR},
</if>
<if test="bomEnabledFlag != null">
bom_enabled_flag = #{bomEnabledFlag,jdbcType=VARCHAR},
</if>
<if test="buildInWipFlag != null">
build_in_wip_flag = #{buildInWipFlag,jdbcType=VARCHAR},
</if>
<if test="custmoerOrderFlag != null">
custmoer_order_flag = #{custmoerOrderFlag,jdbcType=VARCHAR},
</if>
<if test="internalOrderFlag != null">
internal_order_flag = #{internalOrderFlag,jdbcType=VARCHAR},
</if>
<if test="invoicedEnableFlag != null">
invoiced_enable_flag = #{invoicedEnableFlag,jdbcType=VARCHAR},
</if>
<if test="transactionEnableFlag != null">
transaction_enable_flag = #{transactionEnableFlag,jdbcType=VARCHAR},
</if>
<if test="receiveRoutingId != null">
receive_routing_id = #{receiveRoutingId,jdbcType=VARCHAR},
</if>
<if test="extendAttributes != null">
extend_attributes = #{extendAttributes,jdbcType=VARCHAR},
</if>
<if test="attr1 != null">
attr1 = #{attr1,jdbcType=VARCHAR},
</if>
<if test="attr2 != null">
attr2 = #{attr2,jdbcType=VARCHAR},
</if>
<if test="attr3 != null">
attr3 = #{attr3,jdbcType=VARCHAR},
</if>
<if test="attr4 != null">
attr4 = #{attr4,jdbcType=VARCHAR},
</if>
<if test="attr5 != null">
attr5 = #{attr5,jdbcType=VARCHAR},
</if>
<if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR},
</if>
<if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItem">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update input_material_item
set org_code = #{orgCode,jdbcType=VARCHAR},
item_number = #{itemNumber,jdbcType=VARCHAR},
item_desc_zhs = #{itemDescZhs,jdbcType=VARCHAR},
item_desc_us = #{itemDescUs,jdbcType=VARCHAR},
item_long_desc_zhs = #{itemLongDescZhs,jdbcType=VARCHAR},
item_long_desc_us = #{itemLongDescUs,jdbcType=VARCHAR},
primary_unit_of_measure = #{primaryUnitOfMeasure,jdbcType=VARCHAR},
unit_of_measure = #{unitOfMeasure,jdbcType=VARCHAR},
lot_control = #{lotControl,jdbcType=VARCHAR},
shelflife_days = #{shelflifeDays,jdbcType=INTEGER},
item_status = #{itemStatus,jdbcType=VARCHAR},
stock_enable_flag = #{stockEnableFlag,jdbcType=VARCHAR},
purchasing_enable_flag = #{purchasingEnableFlag,jdbcType=VARCHAR},
must_approve_vendor = #{mustApproveVendor,jdbcType=VARCHAR},
default_buyer_num = #{defaultBuyerNum,jdbcType=VARCHAR},
default_buyer = #{defaultBuyer,jdbcType=VARCHAR},
bom_enabled_flag = #{bomEnabledFlag,jdbcType=VARCHAR},
build_in_wip_flag = #{buildInWipFlag,jdbcType=VARCHAR},
custmoer_order_flag = #{custmoerOrderFlag,jdbcType=VARCHAR},
internal_order_flag = #{internalOrderFlag,jdbcType=VARCHAR},
invoiced_enable_flag = #{invoicedEnableFlag,jdbcType=VARCHAR},
transaction_enable_flag = #{transactionEnableFlag,jdbcType=VARCHAR},
receive_routing_id = #{receiveRoutingId,jdbcType=VARCHAR},
extend_attributes = #{extendAttributes,jdbcType=VARCHAR},
attr1 = #{attr1,jdbcType=VARCHAR},
attr2 = #{attr2,jdbcType=VARCHAR},
attr3 = #{attr3,jdbcType=VARCHAR},
attr4 = #{attr4,jdbcType=VARCHAR},
attr5 = #{attr5,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entitiy.InputMaterialItemExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from input_material_item
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
......@@ -25,6 +25,10 @@
</param-value>
</context-param>
<filter>
<filter-name>apiSignatureFilter</filter-name>
<filter-class>pwc.taxtech.atms.security.vendor.ApiSignatureFilter</filter-class>
</filter>
<filter>
<filter-name>corsFilter</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
......@@ -46,6 +50,10 @@
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>apiSignatureFilter</filter-name>
<url-pattern>/vendor/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>corsFilter</filter-name>
<url-pattern>/*</url-pattern>
......
package pwc.taxtech.atms.security;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.jsonwebtoken.JwtBuilder;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import org.junit.Test;
import org.nutz.lang.Times;
import pwc.taxtech.atms.common.CommonUtils;
import pwc.taxtech.atms.dto.vendor.LgItemDto;
import pwc.taxtech.atms.entitiy.InputMaterialCategory;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
public class JwtGneratorTest {
public static void main(String[] args) {
Calendar calendar = Calendar.getInstance();
calendar.set(Calendar.YEAR, 2999);
Date now = new Date();
JwtBuilder jwtBuilder = Jwts.builder();
// 设置Subject为登录用户名
jwtBuilder.setSubject("longi");
jwtBuilder.setExpiration(calendar.getTime());
jwtBuilder.setIssuedAt(now);
// 设置时钟误差偏移量,即10分钟
Date notBefore = Times.nextSecond(now, -600);
jwtBuilder.setNotBefore(notBefore);
jwtBuilder.setId(CommonUtils.getUUID());
jwtBuilder.claim("appId", "longi");
// 设置body.username为数据库用户名
jwtBuilder.signWith(SignatureAlgorithm.HS512, "TXppQjFlZFBSbnJzMHc0Tg==");
System.out.println(jwtBuilder.compact());
}
@Test
public void tt() {
LgItemDto item = new LgItemDto();
InputMaterialCategory category = new InputMaterialCategory();
List<InputMaterialCategory> list = new ArrayList<>();
list.add(category);
item.setCategorySets(list);
System.out.println(JSON.toJSONString(item, SerializerFeature.WriteNullStringAsEmpty));
}
}
......@@ -97,9 +97,21 @@
<!--<columnOverride column="is_red_invoice" javaType="java.lang.Boolean"/>-->
<!--</table>-->
<table tableName="api_cache" domainObjectName="ApiCache">
<!--<table tableName="api_cache" domainObjectName="ApiCache">-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--<columnOverride column="source_type" javaType="java.lang.Integer"/>-->
<!--</table>-->
<table tableName="input_material_category" domainObjectName="InputMaterialCategory">
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="input_material_item" domainObjectName="InputMaterialItem">
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<table tableName="input_material_item_category" domainObjectName="InputMaterialItemCategory">
<property name="ignoreQualifiersAtRuntime" value="true"/>
<columnOverride column="source_type" javaType="java.lang.Integer"/>
</table>
</context>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment