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

1.spreedJs license;2.开票映射

parent b27e0d44
......@@ -41,15 +41,20 @@
<property name="rootInterface" value="pwc.taxtech.atms.MyVatMapper" />
</javaClientGenerator>
<!-- <table tableName="trial_balance_final" domainObjectName="TrialBalanceFinal">
<table tableName="revenue_type_mapping" domainObjectName="RevenueTypeMapping">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>-->
</table>
<table tableName="pwc_report_attach" domainObjectName="PwcReportAttach">
<!-- <table tableName="trial_balance_final" domainObjectName="TrialBalanceFinal">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
</table>-->
<!--<table tableName="pwc_report_attach" domainObjectName="PwcReportAttach">-->
<!--<property name="useActualColumnNames" value="false"/>-->
<!--<property name="ignoreQualifiersAtRuntime" value="true"/>-->
<!--</table>-->
<!--<table tableName="certified_invoices_list" domainObjectName="CertifiedInvoicesList">
<property name="useActualColumnNames" value="false"/>
......
package pwc.taxtech.atms.vat.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.MyVatMapper;
import pwc.taxtech.atms.vat.entity.RevenueTypeMapping;
import pwc.taxtech.atms.vat.entity.RevenueTypeMappingExample;
@Mapper
public interface RevenueTypeMappingMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
long countByExample(RevenueTypeMappingExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int deleteByExample(RevenueTypeMappingExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int insert(RevenueTypeMapping record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int insertSelective(RevenueTypeMapping record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
List<RevenueTypeMapping> selectByExampleWithRowbounds(RevenueTypeMappingExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
List<RevenueTypeMapping> selectByExample(RevenueTypeMappingExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
RevenueTypeMapping selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") RevenueTypeMapping record, @Param("example") RevenueTypeMappingExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int updateByExample(@Param("record") RevenueTypeMapping record, @Param("example") RevenueTypeMappingExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(RevenueTypeMapping record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
int updateByPrimaryKey(RevenueTypeMapping record);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table revenue_type_mapping
*
* @mbg.generated do_not_delete_during_merge
*/
public class RevenueTypeMapping extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 机构ID
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.org_id
*
* @mbg.generated
*/
private String orgId;
/**
* Database Column Remarks:
* 申请部门
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.ou_name
*
* @mbg.generated
*/
private String ouName;
/**
* Database Column Remarks:
* 开票内容
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.content
*
* @mbg.generated
*/
private String content;
/**
* Database Column Remarks:
* 税率
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.tax_rate
*
* @mbg.generated
*/
private BigDecimal taxRate;
/**
* Database Column Remarks:
* 收入类型名
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.revenue_type_name
*
* @mbg.generated
*/
private String revenueTypeName;
/**
* Database Column Remarks:
* 启用日期
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.start_date
*
* @mbg.generated
*/
private String startDate;
/**
* Database Column Remarks:
* 终止日期
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.end_date
*
* @mbg.generated
*/
private String endDate;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.create_by
*
* @mbg.generated
*/
private String createBy;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.update_by
*
* @mbg.generated
*/
private String updateBy;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column revenue_type_mapping.update_time
*
* @mbg.generated
*/
private Date updateTime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.id
*
* @return the value of revenue_type_mapping.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.id
*
* @param id the value for revenue_type_mapping.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 revenue_type_mapping.org_id
*
* @return the value of revenue_type_mapping.org_id
*
* @mbg.generated
*/
public String getOrgId() {
return orgId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.org_id
*
* @param orgId the value for revenue_type_mapping.org_id
*
* @mbg.generated
*/
public void setOrgId(String orgId) {
this.orgId = orgId == null ? null : orgId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.ou_name
*
* @return the value of revenue_type_mapping.ou_name
*
* @mbg.generated
*/
public String getOuName() {
return ouName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.ou_name
*
* @param ouName the value for revenue_type_mapping.ou_name
*
* @mbg.generated
*/
public void setOuName(String ouName) {
this.ouName = ouName == null ? null : ouName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.content
*
* @return the value of revenue_type_mapping.content
*
* @mbg.generated
*/
public String getContent() {
return content;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.content
*
* @param content the value for revenue_type_mapping.content
*
* @mbg.generated
*/
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.tax_rate
*
* @return the value of revenue_type_mapping.tax_rate
*
* @mbg.generated
*/
public BigDecimal getTaxRate() {
return taxRate;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.tax_rate
*
* @param taxRate the value for revenue_type_mapping.tax_rate
*
* @mbg.generated
*/
public void setTaxRate(BigDecimal taxRate) {
this.taxRate = taxRate;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.revenue_type_name
*
* @return the value of revenue_type_mapping.revenue_type_name
*
* @mbg.generated
*/
public String getRevenueTypeName() {
return revenueTypeName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.revenue_type_name
*
* @param revenueTypeName the value for revenue_type_mapping.revenue_type_name
*
* @mbg.generated
*/
public void setRevenueTypeName(String revenueTypeName) {
this.revenueTypeName = revenueTypeName == null ? null : revenueTypeName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.start_date
*
* @return the value of revenue_type_mapping.start_date
*
* @mbg.generated
*/
public String getStartDate() {
return startDate;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.start_date
*
* @param startDate the value for revenue_type_mapping.start_date
*
* @mbg.generated
*/
public void setStartDate(String startDate) {
this.startDate = startDate == null ? null : startDate.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.end_date
*
* @return the value of revenue_type_mapping.end_date
*
* @mbg.generated
*/
public String getEndDate() {
return endDate;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.end_date
*
* @param endDate the value for revenue_type_mapping.end_date
*
* @mbg.generated
*/
public void setEndDate(String endDate) {
this.endDate = endDate == null ? null : endDate.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.create_by
*
* @return the value of revenue_type_mapping.create_by
*
* @mbg.generated
*/
public String getCreateBy() {
return createBy;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.create_by
*
* @param createBy the value for revenue_type_mapping.create_by
*
* @mbg.generated
*/
public void setCreateBy(String createBy) {
this.createBy = createBy == null ? null : createBy.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.update_by
*
* @return the value of revenue_type_mapping.update_by
*
* @mbg.generated
*/
public String getUpdateBy() {
return updateBy;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.update_by
*
* @param updateBy the value for revenue_type_mapping.update_by
*
* @mbg.generated
*/
public void setUpdateBy(String updateBy) {
this.updateBy = updateBy == null ? null : updateBy.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.create_time
*
* @return the value of revenue_type_mapping.create_time
*
* @mbg.generated
*/
public Date getCreateTime() {
return createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.create_time
*
* @param createTime the value for revenue_type_mapping.create_time
*
* @mbg.generated
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column revenue_type_mapping.update_time
*
* @return the value of revenue_type_mapping.update_time
*
* @mbg.generated
*/
public Date getUpdateTime() {
return updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column revenue_type_mapping.update_time
*
* @param updateTime the value for revenue_type_mapping.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @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(", orgId=").append(orgId);
sb.append(", ouName=").append(ouName);
sb.append(", content=").append(content);
sb.append(", taxRate=").append(taxRate);
sb.append(", revenueTypeName=").append(revenueTypeName);
sb.append(", startDate=").append(startDate);
sb.append(", endDate=").append(endDate);
sb.append(", createBy=").append(createBy);
sb.append(", updateBy=").append(updateBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class RevenueTypeMappingExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public RevenueTypeMappingExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table revenue_type_mapping
*
* @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 revenue_type_mapping
*
* @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 revenue_type_mapping
*
* @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 revenue_type_mapping
*
* @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 revenue_type_mapping
*
* @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 andOrgIdIsNull() {
addCriterion("org_id is null");
return (Criteria) this;
}
public Criteria andOrgIdIsNotNull() {
addCriterion("org_id is not null");
return (Criteria) this;
}
public Criteria andOrgIdEqualTo(String value) {
addCriterion("org_id =", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdNotEqualTo(String value) {
addCriterion("org_id <>", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdGreaterThan(String value) {
addCriterion("org_id >", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
addCriterion("org_id >=", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdLessThan(String value) {
addCriterion("org_id <", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdLessThanOrEqualTo(String value) {
addCriterion("org_id <=", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdLike(String value) {
addCriterion("org_id like", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdNotLike(String value) {
addCriterion("org_id not like", value, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdIn(List<String> values) {
addCriterion("org_id in", values, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdNotIn(List<String> values) {
addCriterion("org_id not in", values, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdBetween(String value1, String value2) {
addCriterion("org_id between", value1, value2, "orgId");
return (Criteria) this;
}
public Criteria andOrgIdNotBetween(String value1, String value2) {
addCriterion("org_id not between", value1, value2, "orgId");
return (Criteria) this;
}
public Criteria andOuNameIsNull() {
addCriterion("ou_name is null");
return (Criteria) this;
}
public Criteria andOuNameIsNotNull() {
addCriterion("ou_name is not null");
return (Criteria) this;
}
public Criteria andOuNameEqualTo(String value) {
addCriterion("ou_name =", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameNotEqualTo(String value) {
addCriterion("ou_name <>", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameGreaterThan(String value) {
addCriterion("ou_name >", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameGreaterThanOrEqualTo(String value) {
addCriterion("ou_name >=", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameLessThan(String value) {
addCriterion("ou_name <", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameLessThanOrEqualTo(String value) {
addCriterion("ou_name <=", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameLike(String value) {
addCriterion("ou_name like", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameNotLike(String value) {
addCriterion("ou_name not like", value, "ouName");
return (Criteria) this;
}
public Criteria andOuNameIn(List<String> values) {
addCriterion("ou_name in", values, "ouName");
return (Criteria) this;
}
public Criteria andOuNameNotIn(List<String> values) {
addCriterion("ou_name not in", values, "ouName");
return (Criteria) this;
}
public Criteria andOuNameBetween(String value1, String value2) {
addCriterion("ou_name between", value1, value2, "ouName");
return (Criteria) this;
}
public Criteria andOuNameNotBetween(String value1, String value2) {
addCriterion("ou_name not between", value1, value2, "ouName");
return (Criteria) this;
}
public Criteria andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
}
public Criteria andContentIsNotNull() {
addCriterion("content is not null");
return (Criteria) this;
}
public Criteria andContentEqualTo(String value) {
addCriterion("content =", value, "content");
return (Criteria) this;
}
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
}
public Criteria andContentNotLike(String value) {
addCriterion("content not like", value, "content");
return (Criteria) this;
}
public Criteria andContentIn(List<String> values) {
addCriterion("content in", values, "content");
return (Criteria) this;
}
public Criteria andContentNotIn(List<String> values) {
addCriterion("content not in", values, "content");
return (Criteria) this;
}
public Criteria andContentBetween(String value1, String value2) {
addCriterion("content between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andContentNotBetween(String value1, String value2) {
addCriterion("content not between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andTaxRateIsNull() {
addCriterion("tax_rate is null");
return (Criteria) this;
}
public Criteria andTaxRateIsNotNull() {
addCriterion("tax_rate is not null");
return (Criteria) this;
}
public Criteria andTaxRateEqualTo(BigDecimal value) {
addCriterion("tax_rate =", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateNotEqualTo(BigDecimal value) {
addCriterion("tax_rate <>", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateGreaterThan(BigDecimal value) {
addCriterion("tax_rate >", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("tax_rate >=", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateLessThan(BigDecimal value) {
addCriterion("tax_rate <", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateLessThanOrEqualTo(BigDecimal value) {
addCriterion("tax_rate <=", value, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateIn(List<BigDecimal> values) {
addCriterion("tax_rate in", values, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateNotIn(List<BigDecimal> values) {
addCriterion("tax_rate not in", values, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("tax_rate between", value1, value2, "taxRate");
return (Criteria) this;
}
public Criteria andTaxRateNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("tax_rate not between", value1, value2, "taxRate");
return (Criteria) this;
}
public Criteria andRevenueTypeNameIsNull() {
addCriterion("revenue_type_name is null");
return (Criteria) this;
}
public Criteria andRevenueTypeNameIsNotNull() {
addCriterion("revenue_type_name is not null");
return (Criteria) this;
}
public Criteria andRevenueTypeNameEqualTo(String value) {
addCriterion("revenue_type_name =", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameNotEqualTo(String value) {
addCriterion("revenue_type_name <>", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameGreaterThan(String value) {
addCriterion("revenue_type_name >", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameGreaterThanOrEqualTo(String value) {
addCriterion("revenue_type_name >=", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameLessThan(String value) {
addCriterion("revenue_type_name <", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameLessThanOrEqualTo(String value) {
addCriterion("revenue_type_name <=", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameLike(String value) {
addCriterion("revenue_type_name like", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameNotLike(String value) {
addCriterion("revenue_type_name not like", value, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameIn(List<String> values) {
addCriterion("revenue_type_name in", values, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameNotIn(List<String> values) {
addCriterion("revenue_type_name not in", values, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameBetween(String value1, String value2) {
addCriterion("revenue_type_name between", value1, value2, "revenueTypeName");
return (Criteria) this;
}
public Criteria andRevenueTypeNameNotBetween(String value1, String value2) {
addCriterion("revenue_type_name not between", value1, value2, "revenueTypeName");
return (Criteria) this;
}
public Criteria andStartDateIsNull() {
addCriterion("start_date is null");
return (Criteria) this;
}
public Criteria andStartDateIsNotNull() {
addCriterion("start_date is not null");
return (Criteria) this;
}
public Criteria andStartDateEqualTo(String value) {
addCriterion("start_date =", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateNotEqualTo(String value) {
addCriterion("start_date <>", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateGreaterThan(String value) {
addCriterion("start_date >", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateGreaterThanOrEqualTo(String value) {
addCriterion("start_date >=", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateLessThan(String value) {
addCriterion("start_date <", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateLessThanOrEqualTo(String value) {
addCriterion("start_date <=", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateLike(String value) {
addCriterion("start_date like", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateNotLike(String value) {
addCriterion("start_date not like", value, "startDate");
return (Criteria) this;
}
public Criteria andStartDateIn(List<String> values) {
addCriterion("start_date in", values, "startDate");
return (Criteria) this;
}
public Criteria andStartDateNotIn(List<String> values) {
addCriterion("start_date not in", values, "startDate");
return (Criteria) this;
}
public Criteria andStartDateBetween(String value1, String value2) {
addCriterion("start_date between", value1, value2, "startDate");
return (Criteria) this;
}
public Criteria andStartDateNotBetween(String value1, String value2) {
addCriterion("start_date not between", value1, value2, "startDate");
return (Criteria) this;
}
public Criteria andEndDateIsNull() {
addCriterion("end_date is null");
return (Criteria) this;
}
public Criteria andEndDateIsNotNull() {
addCriterion("end_date is not null");
return (Criteria) this;
}
public Criteria andEndDateEqualTo(String value) {
addCriterion("end_date =", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateNotEqualTo(String value) {
addCriterion("end_date <>", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateGreaterThan(String value) {
addCriterion("end_date >", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateGreaterThanOrEqualTo(String value) {
addCriterion("end_date >=", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateLessThan(String value) {
addCriterion("end_date <", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateLessThanOrEqualTo(String value) {
addCriterion("end_date <=", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateLike(String value) {
addCriterion("end_date like", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateNotLike(String value) {
addCriterion("end_date not like", value, "endDate");
return (Criteria) this;
}
public Criteria andEndDateIn(List<String> values) {
addCriterion("end_date in", values, "endDate");
return (Criteria) this;
}
public Criteria andEndDateNotIn(List<String> values) {
addCriterion("end_date not in", values, "endDate");
return (Criteria) this;
}
public Criteria andEndDateBetween(String value1, String value2) {
addCriterion("end_date between", value1, value2, "endDate");
return (Criteria) this;
}
public Criteria andEndDateNotBetween(String value1, String value2) {
addCriterion("end_date not between", value1, value2, "endDate");
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 revenue_type_mapping
*
* @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 revenue_type_mapping
*
* @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
<?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.vat.dao.RevenueTypeMappingMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.RevenueTypeMapping">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="org_id" jdbcType="VARCHAR" property="orgId" />
<result column="ou_name" jdbcType="VARCHAR" property="ouName" />
<result column="content" jdbcType="VARCHAR" property="content" />
<result column="tax_rate" jdbcType="DECIMAL" property="taxRate" />
<result column="revenue_type_name" jdbcType="VARCHAR" property="revenueTypeName" />
<result column="start_date" jdbcType="VARCHAR" property="startDate" />
<result column="end_date" jdbcType="VARCHAR" property="endDate" />
<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_id, ou_name, content, tax_rate, revenue_type_name, start_date, end_date,
create_by, update_by, create_time, update_time
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.RevenueTypeMappingExample" 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 revenue_type_mapping
<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 revenue_type_mapping
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 revenue_type_mapping
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.RevenueTypeMappingExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from revenue_type_mapping
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.RevenueTypeMapping">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into revenue_type_mapping (id, org_id, ou_name,
content, tax_rate, revenue_type_name,
start_date, end_date, create_by,
update_by, create_time, update_time
)
values (#{id,jdbcType=BIGINT}, #{orgId,jdbcType=VARCHAR}, #{ouName,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR}, #{taxRate,jdbcType=DECIMAL}, #{revenueTypeName,jdbcType=VARCHAR},
#{startDate,jdbcType=VARCHAR}, #{endDate,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
#{updateBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.RevenueTypeMapping">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into revenue_type_mapping
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="orgId != null">
org_id,
</if>
<if test="ouName != null">
ou_name,
</if>
<if test="content != null">
content,
</if>
<if test="taxRate != null">
tax_rate,
</if>
<if test="revenueTypeName != null">
revenue_type_name,
</if>
<if test="startDate != null">
start_date,
</if>
<if test="endDate != null">
end_date,
</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="orgId != null">
#{orgId,jdbcType=VARCHAR},
</if>
<if test="ouName != null">
#{ouName,jdbcType=VARCHAR},
</if>
<if test="content != null">
#{content,jdbcType=VARCHAR},
</if>
<if test="taxRate != null">
#{taxRate,jdbcType=DECIMAL},
</if>
<if test="revenueTypeName != null">
#{revenueTypeName,jdbcType=VARCHAR},
</if>
<if test="startDate != null">
#{startDate,jdbcType=VARCHAR},
</if>
<if test="endDate != null">
#{endDate,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.vat.entity.RevenueTypeMappingExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from revenue_type_mapping
<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 revenue_type_mapping
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.orgId != null">
org_id = #{record.orgId,jdbcType=VARCHAR},
</if>
<if test="record.ouName != null">
ou_name = #{record.ouName,jdbcType=VARCHAR},
</if>
<if test="record.content != null">
content = #{record.content,jdbcType=VARCHAR},
</if>
<if test="record.taxRate != null">
tax_rate = #{record.taxRate,jdbcType=DECIMAL},
</if>
<if test="record.revenueTypeName != null">
revenue_type_name = #{record.revenueTypeName,jdbcType=VARCHAR},
</if>
<if test="record.startDate != null">
start_date = #{record.startDate,jdbcType=VARCHAR},
</if>
<if test="record.endDate != null">
end_date = #{record.endDate,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 revenue_type_mapping
set id = #{record.id,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=VARCHAR},
ou_name = #{record.ouName,jdbcType=VARCHAR},
content = #{record.content,jdbcType=VARCHAR},
tax_rate = #{record.taxRate,jdbcType=DECIMAL},
revenue_type_name = #{record.revenueTypeName,jdbcType=VARCHAR},
start_date = #{record.startDate,jdbcType=VARCHAR},
end_date = #{record.endDate,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.vat.entity.RevenueTypeMapping">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update revenue_type_mapping
<set>
<if test="orgId != null">
org_id = #{orgId,jdbcType=VARCHAR},
</if>
<if test="ouName != null">
ou_name = #{ouName,jdbcType=VARCHAR},
</if>
<if test="content != null">
content = #{content,jdbcType=VARCHAR},
</if>
<if test="taxRate != null">
tax_rate = #{taxRate,jdbcType=DECIMAL},
</if>
<if test="revenueTypeName != null">
revenue_type_name = #{revenueTypeName,jdbcType=VARCHAR},
</if>
<if test="startDate != null">
start_date = #{startDate,jdbcType=VARCHAR},
</if>
<if test="endDate != null">
end_date = #{endDate,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.vat.entity.RevenueTypeMapping">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update revenue_type_mapping
set org_id = #{orgId,jdbcType=VARCHAR},
ou_name = #{ouName,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
tax_rate = #{taxRate,jdbcType=DECIMAL},
revenue_type_name = #{revenueTypeName,jdbcType=VARCHAR},
start_date = #{startDate,jdbcType=VARCHAR},
end_date = #{endDate,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.vat.entity.RevenueTypeMappingExample" 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 revenue_type_mapping
<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
......@@ -2,12 +2,12 @@
constant.regesterInformation = {
active: true,
userKey: "etms.longi-silicon.com,164826354976336#A0KNoIsIiNzMjN7kDN5MjNygDN6EjI0ICZJJCL3V6csFmZ0IiczRmI1pjIs9WQisnOiQkIsISP3E5cvdzNjB5bkNUc9E7U8l6UolVZG3UcVNmcZBTYUZEWRFVSpdkT7gXSvUkVy8UdnpER6c4VZFVN7gTM584aQNjQldEMlhlTwBzZ856Qzl6MvUkbhVzQiojITJCL9EDMyYDO5cjM0IicfJye#4Xfd5nIzImNnJiOiMkIsISMx8idgMlSgQWYlJHcTJiOi8kI1tlOiQmcQJCLiAjM5IzMwAiMxATM8EDMyIiOiQncDJCLi46bj9ibvNWasl6ctk6Zu3GbuMXb4VmI0IyctRkIsICuPWOrFWuhIW+t5aui8SOuPWOrFWOkZmeicaei2++scWes7aOi2+uoviOqSW+kBmOuwaujNWurZauIsI9Y"
}
userKey: "dts.erp.didichuxing.com,164826354976336#A0jDtCLiYzMzYzN9QTNzYjM8QjNxIiOiQWSiwSflNHbhZmOiI7ckJye0ICbuFkI1pjIEJCLi4TP7JGMrVjMIV5YHh4L5BTUMNGa9wkc4hzL4QURnpGVPxWWulVQQZDRkRGV7d4NvlVNll5RvJVVohWT98GN5QjQHV5LDlWTNN6SIdVb9Y4QzZUNsZWdwVnI0IyUiwCM8kjMxIjNwQTM0IicfJye&Qf35VfiMjY6cmI0IyQiwiIxEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsISO5UDMxADI7IjMwkTMwIjI0ICdyNkIsISbvNmLn9Wa8VHajlGZpRmLwJXZuMHdkJiOiMXbEJCLig1jlzahlbIilfbtmrIukj1jlzahlDZmpnInmnIvvPLnlH1tmjIvvL0rojqklPZgpjLsm1Yjl1ammLieiom"
};
constant.guid = {
empty: '00000000-0000-0000-0000-000000000000'
}
};
//数据验证起始值范围
constant.startNum = -1000000000000;
......
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