Commit fa56df0c authored by kevin's avatar kevin

#

parent 3f550fd8
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.EbitCellData;
import pwc.taxtech.atms.vat.entity.EbitCellDataExample;
@Mapper
public interface EbitCellDataMapper extends MyVatMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
long countByExample(EbitCellDataExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int deleteByExample(EbitCellDataExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int insert(EbitCellData record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int insertSelective(EbitCellData record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
List<EbitCellData> selectByExampleWithRowbounds(EbitCellDataExample example, RowBounds rowBounds);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
List<EbitCellData> selectByExample(EbitCellDataExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
EbitCellData selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int updateByExampleSelective(@Param("record") EbitCellData record, @Param("example") EbitCellDataExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int updateByExample(@Param("record") EbitCellData record, @Param("example") EbitCellDataExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int updateByPrimaryKeySelective(EbitCellData record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
int updateByPrimaryKey(EbitCellData record);
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.io.Serializable;
import java.util.Date;
import pwc.taxtech.atms.entity.BaseEntity;
/**
*
* This class was generated by MyBatis Generator.
* This class corresponds to the database table ebit_cell_data
*
* @mbg.generated do_not_delete_during_merge
*/
public class EbitCellData extends BaseEntity implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.id
*
* @mbg.generated
*/
private Long id;
/**
* Database Column Remarks:
* 模板id
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.template_id
*
* @mbg.generated
*/
private String templateId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.data
*
* @mbg.generated
*/
private String data;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.create_by
*
* @mbg.generated
*/
private String createBy;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.create_time
*
* @mbg.generated
*/
private Date createTime;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.update_by
*
* @mbg.generated
*/
private String updateBy;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.update_time
*
* @mbg.generated
*/
private Date updateTime;
/**
* Database Column Remarks:
* 项目id
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.project_id
*
* @mbg.generated
*/
private String projectId;
/**
* Database Column Remarks:
* 期间
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.period
*
* @mbg.generated
*/
private Integer period;
/**
* Database Column Remarks:
* 组织机构id
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.organization_id
*
* @mbg.generated
*/
private String organizationId;
/**
* Database Column Remarks:
* 单元格名称
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.sheet_name
*
* @mbg.generated
*/
private String sheetName;
/**
* Database Column Remarks:
* 文件名称
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.file_name
*
* @mbg.generated
*/
private String fileName;
/**
* Database Column Remarks:
* 行
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.row
*
* @mbg.generated
*/
private Integer row;
/**
* Database Column Remarks:
* 列
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column ebit_cell_data.col
*
* @mbg.generated
*/
private Integer col;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.id
*
* @return the value of ebit_cell_data.id
*
* @mbg.generated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.id
*
* @param id the value for ebit_cell_data.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 ebit_cell_data.template_id
*
* @return the value of ebit_cell_data.template_id
*
* @mbg.generated
*/
public String getTemplateId() {
return templateId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.template_id
*
* @param templateId the value for ebit_cell_data.template_id
*
* @mbg.generated
*/
public void setTemplateId(String templateId) {
this.templateId = templateId == null ? null : templateId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.data
*
* @return the value of ebit_cell_data.data
*
* @mbg.generated
*/
public String getData() {
return data;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.data
*
* @param data the value for ebit_cell_data.data
*
* @mbg.generated
*/
public void setData(String data) {
this.data = data == null ? null : data.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.create_by
*
* @return the value of ebit_cell_data.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 ebit_cell_data.create_by
*
* @param createBy the value for ebit_cell_data.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 ebit_cell_data.create_time
*
* @return the value of ebit_cell_data.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 ebit_cell_data.create_time
*
* @param createTime the value for ebit_cell_data.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 ebit_cell_data.update_by
*
* @return the value of ebit_cell_data.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 ebit_cell_data.update_by
*
* @param updateBy the value for ebit_cell_data.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 ebit_cell_data.update_time
*
* @return the value of ebit_cell_data.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 ebit_cell_data.update_time
*
* @param updateTime the value for ebit_cell_data.update_time
*
* @mbg.generated
*/
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.project_id
*
* @return the value of ebit_cell_data.project_id
*
* @mbg.generated
*/
public String getProjectId() {
return projectId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.project_id
*
* @param projectId the value for ebit_cell_data.project_id
*
* @mbg.generated
*/
public void setProjectId(String projectId) {
this.projectId = projectId == null ? null : projectId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.period
*
* @return the value of ebit_cell_data.period
*
* @mbg.generated
*/
public Integer getPeriod() {
return period;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.period
*
* @param period the value for ebit_cell_data.period
*
* @mbg.generated
*/
public void setPeriod(Integer period) {
this.period = period;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.organization_id
*
* @return the value of ebit_cell_data.organization_id
*
* @mbg.generated
*/
public String getOrganizationId() {
return organizationId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.organization_id
*
* @param organizationId the value for ebit_cell_data.organization_id
*
* @mbg.generated
*/
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId == null ? null : organizationId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.sheet_name
*
* @return the value of ebit_cell_data.sheet_name
*
* @mbg.generated
*/
public String getSheetName() {
return sheetName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.sheet_name
*
* @param sheetName the value for ebit_cell_data.sheet_name
*
* @mbg.generated
*/
public void setSheetName(String sheetName) {
this.sheetName = sheetName == null ? null : sheetName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.file_name
*
* @return the value of ebit_cell_data.file_name
*
* @mbg.generated
*/
public String getFileName() {
return fileName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.file_name
*
* @param fileName the value for ebit_cell_data.file_name
*
* @mbg.generated
*/
public void setFileName(String fileName) {
this.fileName = fileName == null ? null : fileName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.row
*
* @return the value of ebit_cell_data.row
*
* @mbg.generated
*/
public Integer getRow() {
return row;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.row
*
* @param row the value for ebit_cell_data.row
*
* @mbg.generated
*/
public void setRow(Integer row) {
this.row = row;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column ebit_cell_data.col
*
* @return the value of ebit_cell_data.col
*
* @mbg.generated
*/
public Integer getCol() {
return col;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column ebit_cell_data.col
*
* @param col the value for ebit_cell_data.col
*
* @mbg.generated
*/
public void setCol(Integer col) {
this.col = col;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @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(", templateId=").append(templateId);
sb.append(", data=").append(data);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", projectId=").append(projectId);
sb.append(", period=").append(period);
sb.append(", organizationId=").append(organizationId);
sb.append(", sheetName=").append(sheetName);
sb.append(", fileName=").append(fileName);
sb.append(", row=").append(row);
sb.append(", col=").append(col);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package pwc.taxtech.atms.vat.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class EbitCellDataExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public EbitCellDataExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @mbg.generated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table ebit_cell_data
*
* @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 ebit_cell_data
*
* @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 ebit_cell_data
*
* @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 ebit_cell_data
*
* @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 ebit_cell_data
*
* @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 andTemplateIdIsNull() {
addCriterion("template_id is null");
return (Criteria) this;
}
public Criteria andTemplateIdIsNotNull() {
addCriterion("template_id is not null");
return (Criteria) this;
}
public Criteria andTemplateIdEqualTo(String value) {
addCriterion("template_id =", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdNotEqualTo(String value) {
addCriterion("template_id <>", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdGreaterThan(String value) {
addCriterion("template_id >", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdGreaterThanOrEqualTo(String value) {
addCriterion("template_id >=", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdLessThan(String value) {
addCriterion("template_id <", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdLessThanOrEqualTo(String value) {
addCriterion("template_id <=", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdLike(String value) {
addCriterion("template_id like", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdNotLike(String value) {
addCriterion("template_id not like", value, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdIn(List<String> values) {
addCriterion("template_id in", values, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdNotIn(List<String> values) {
addCriterion("template_id not in", values, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdBetween(String value1, String value2) {
addCriterion("template_id between", value1, value2, "templateId");
return (Criteria) this;
}
public Criteria andTemplateIdNotBetween(String value1, String value2) {
addCriterion("template_id not between", value1, value2, "templateId");
return (Criteria) this;
}
public Criteria andDataIsNull() {
addCriterion("`data` is null");
return (Criteria) this;
}
public Criteria andDataIsNotNull() {
addCriterion("`data` is not null");
return (Criteria) this;
}
public Criteria andDataEqualTo(String value) {
addCriterion("`data` =", value, "data");
return (Criteria) this;
}
public Criteria andDataNotEqualTo(String value) {
addCriterion("`data` <>", value, "data");
return (Criteria) this;
}
public Criteria andDataGreaterThan(String value) {
addCriterion("`data` >", value, "data");
return (Criteria) this;
}
public Criteria andDataGreaterThanOrEqualTo(String value) {
addCriterion("`data` >=", value, "data");
return (Criteria) this;
}
public Criteria andDataLessThan(String value) {
addCriterion("`data` <", value, "data");
return (Criteria) this;
}
public Criteria andDataLessThanOrEqualTo(String value) {
addCriterion("`data` <=", value, "data");
return (Criteria) this;
}
public Criteria andDataLike(String value) {
addCriterion("`data` like", value, "data");
return (Criteria) this;
}
public Criteria andDataNotLike(String value) {
addCriterion("`data` not like", value, "data");
return (Criteria) this;
}
public Criteria andDataIn(List<String> values) {
addCriterion("`data` in", values, "data");
return (Criteria) this;
}
public Criteria andDataNotIn(List<String> values) {
addCriterion("`data` not in", values, "data");
return (Criteria) this;
}
public Criteria andDataBetween(String value1, String value2) {
addCriterion("`data` between", value1, value2, "data");
return (Criteria) this;
}
public Criteria andDataNotBetween(String value1, String value2) {
addCriterion("`data` not between", value1, value2, "data");
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 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 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 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 andProjectIdIsNull() {
addCriterion("project_id is null");
return (Criteria) this;
}
public Criteria andProjectIdIsNotNull() {
addCriterion("project_id is not null");
return (Criteria) this;
}
public Criteria andProjectIdEqualTo(String value) {
addCriterion("project_id =", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotEqualTo(String value) {
addCriterion("project_id <>", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdGreaterThan(String value) {
addCriterion("project_id >", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
addCriterion("project_id >=", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdLessThan(String value) {
addCriterion("project_id <", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdLessThanOrEqualTo(String value) {
addCriterion("project_id <=", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdLike(String value) {
addCriterion("project_id like", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotLike(String value) {
addCriterion("project_id not like", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdIn(List<String> values) {
addCriterion("project_id in", values, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotIn(List<String> values) {
addCriterion("project_id not in", values, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdBetween(String value1, String value2) {
addCriterion("project_id between", value1, value2, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotBetween(String value1, String value2) {
addCriterion("project_id not between", value1, value2, "projectId");
return (Criteria) this;
}
public Criteria andPeriodIsNull() {
addCriterion("period is null");
return (Criteria) this;
}
public Criteria andPeriodIsNotNull() {
addCriterion("period is not null");
return (Criteria) this;
}
public Criteria andPeriodEqualTo(Integer value) {
addCriterion("period =", value, "period");
return (Criteria) this;
}
public Criteria andPeriodNotEqualTo(Integer value) {
addCriterion("period <>", value, "period");
return (Criteria) this;
}
public Criteria andPeriodGreaterThan(Integer value) {
addCriterion("period >", value, "period");
return (Criteria) this;
}
public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
addCriterion("period >=", value, "period");
return (Criteria) this;
}
public Criteria andPeriodLessThan(Integer value) {
addCriterion("period <", value, "period");
return (Criteria) this;
}
public Criteria andPeriodLessThanOrEqualTo(Integer value) {
addCriterion("period <=", value, "period");
return (Criteria) this;
}
public Criteria andPeriodIn(List<Integer> values) {
addCriterion("period in", values, "period");
return (Criteria) this;
}
public Criteria andPeriodNotIn(List<Integer> values) {
addCriterion("period not in", values, "period");
return (Criteria) this;
}
public Criteria andPeriodBetween(Integer value1, Integer value2) {
addCriterion("period between", value1, value2, "period");
return (Criteria) this;
}
public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
addCriterion("period not between", value1, value2, "period");
return (Criteria) this;
}
public Criteria andOrganizationIdIsNull() {
addCriterion("organization_id is null");
return (Criteria) this;
}
public Criteria andOrganizationIdIsNotNull() {
addCriterion("organization_id is not null");
return (Criteria) this;
}
public Criteria andOrganizationIdEqualTo(String value) {
addCriterion("organization_id =", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdNotEqualTo(String value) {
addCriterion("organization_id <>", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdGreaterThan(String value) {
addCriterion("organization_id >", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
addCriterion("organization_id >=", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdLessThan(String value) {
addCriterion("organization_id <", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
addCriterion("organization_id <=", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdLike(String value) {
addCriterion("organization_id like", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdNotLike(String value) {
addCriterion("organization_id not like", value, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdIn(List<String> values) {
addCriterion("organization_id in", values, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdNotIn(List<String> values) {
addCriterion("organization_id not in", values, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdBetween(String value1, String value2) {
addCriterion("organization_id between", value1, value2, "organizationId");
return (Criteria) this;
}
public Criteria andOrganizationIdNotBetween(String value1, String value2) {
addCriterion("organization_id not between", value1, value2, "organizationId");
return (Criteria) this;
}
public Criteria andSheetNameIsNull() {
addCriterion("sheet_name is null");
return (Criteria) this;
}
public Criteria andSheetNameIsNotNull() {
addCriterion("sheet_name is not null");
return (Criteria) this;
}
public Criteria andSheetNameEqualTo(String value) {
addCriterion("sheet_name =", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameNotEqualTo(String value) {
addCriterion("sheet_name <>", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameGreaterThan(String value) {
addCriterion("sheet_name >", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameGreaterThanOrEqualTo(String value) {
addCriterion("sheet_name >=", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameLessThan(String value) {
addCriterion("sheet_name <", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameLessThanOrEqualTo(String value) {
addCriterion("sheet_name <=", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameLike(String value) {
addCriterion("sheet_name like", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameNotLike(String value) {
addCriterion("sheet_name not like", value, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameIn(List<String> values) {
addCriterion("sheet_name in", values, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameNotIn(List<String> values) {
addCriterion("sheet_name not in", values, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameBetween(String value1, String value2) {
addCriterion("sheet_name between", value1, value2, "sheetName");
return (Criteria) this;
}
public Criteria andSheetNameNotBetween(String value1, String value2) {
addCriterion("sheet_name not between", value1, value2, "sheetName");
return (Criteria) this;
}
public Criteria andFileNameIsNull() {
addCriterion("file_name is null");
return (Criteria) this;
}
public Criteria andFileNameIsNotNull() {
addCriterion("file_name is not null");
return (Criteria) this;
}
public Criteria andFileNameEqualTo(String value) {
addCriterion("file_name =", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotEqualTo(String value) {
addCriterion("file_name <>", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameGreaterThan(String value) {
addCriterion("file_name >", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameGreaterThanOrEqualTo(String value) {
addCriterion("file_name >=", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLessThan(String value) {
addCriterion("file_name <", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLessThanOrEqualTo(String value) {
addCriterion("file_name <=", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameLike(String value) {
addCriterion("file_name like", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotLike(String value) {
addCriterion("file_name not like", value, "fileName");
return (Criteria) this;
}
public Criteria andFileNameIn(List<String> values) {
addCriterion("file_name in", values, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotIn(List<String> values) {
addCriterion("file_name not in", values, "fileName");
return (Criteria) this;
}
public Criteria andFileNameBetween(String value1, String value2) {
addCriterion("file_name between", value1, value2, "fileName");
return (Criteria) this;
}
public Criteria andFileNameNotBetween(String value1, String value2) {
addCriterion("file_name not between", value1, value2, "fileName");
return (Criteria) this;
}
public Criteria andRowIsNull() {
addCriterion("`row` is null");
return (Criteria) this;
}
public Criteria andRowIsNotNull() {
addCriterion("`row` is not null");
return (Criteria) this;
}
public Criteria andRowEqualTo(Integer value) {
addCriterion("`row` =", value, "row");
return (Criteria) this;
}
public Criteria andRowNotEqualTo(Integer value) {
addCriterion("`row` <>", value, "row");
return (Criteria) this;
}
public Criteria andRowGreaterThan(Integer value) {
addCriterion("`row` >", value, "row");
return (Criteria) this;
}
public Criteria andRowGreaterThanOrEqualTo(Integer value) {
addCriterion("`row` >=", value, "row");
return (Criteria) this;
}
public Criteria andRowLessThan(Integer value) {
addCriterion("`row` <", value, "row");
return (Criteria) this;
}
public Criteria andRowLessThanOrEqualTo(Integer value) {
addCriterion("`row` <=", value, "row");
return (Criteria) this;
}
public Criteria andRowIn(List<Integer> values) {
addCriterion("`row` in", values, "row");
return (Criteria) this;
}
public Criteria andRowNotIn(List<Integer> values) {
addCriterion("`row` not in", values, "row");
return (Criteria) this;
}
public Criteria andRowBetween(Integer value1, Integer value2) {
addCriterion("`row` between", value1, value2, "row");
return (Criteria) this;
}
public Criteria andRowNotBetween(Integer value1, Integer value2) {
addCriterion("`row` not between", value1, value2, "row");
return (Criteria) this;
}
public Criteria andColIsNull() {
addCriterion("col is null");
return (Criteria) this;
}
public Criteria andColIsNotNull() {
addCriterion("col is not null");
return (Criteria) this;
}
public Criteria andColEqualTo(Integer value) {
addCriterion("col =", value, "col");
return (Criteria) this;
}
public Criteria andColNotEqualTo(Integer value) {
addCriterion("col <>", value, "col");
return (Criteria) this;
}
public Criteria andColGreaterThan(Integer value) {
addCriterion("col >", value, "col");
return (Criteria) this;
}
public Criteria andColGreaterThanOrEqualTo(Integer value) {
addCriterion("col >=", value, "col");
return (Criteria) this;
}
public Criteria andColLessThan(Integer value) {
addCriterion("col <", value, "col");
return (Criteria) this;
}
public Criteria andColLessThanOrEqualTo(Integer value) {
addCriterion("col <=", value, "col");
return (Criteria) this;
}
public Criteria andColIn(List<Integer> values) {
addCriterion("col in", values, "col");
return (Criteria) this;
}
public Criteria andColNotIn(List<Integer> values) {
addCriterion("col not in", values, "col");
return (Criteria) this;
}
public Criteria andColBetween(Integer value1, Integer value2) {
addCriterion("col between", value1, value2, "col");
return (Criteria) this;
}
public Criteria andColNotBetween(Integer value1, Integer value2) {
addCriterion("col not between", value1, value2, "col");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table ebit_cell_data
*
* @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 ebit_cell_data
*
* @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.EbitCellDataMapper">
<resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.EbitCellData">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="template_id" jdbcType="VARCHAR" property="templateId" />
<result column="data" jdbcType="VARCHAR" property="data" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="project_id" jdbcType="VARCHAR" property="projectId" />
<result column="period" jdbcType="INTEGER" property="period" />
<result column="organization_id" jdbcType="VARCHAR" property="organizationId" />
<result column="sheet_name" jdbcType="VARCHAR" property="sheetName" />
<result column="file_name" jdbcType="VARCHAR" property="fileName" />
<result column="row" jdbcType="INTEGER" property="row" />
<result column="col" jdbcType="INTEGER" property="col" />
</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, template_id, `data`, create_by, create_time, update_by, update_time, project_id,
period, organization_id, sheet_name, file_name, `row`, col
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.EbitCellDataExample" 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 ebit_cell_data
<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 ebit_cell_data
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 ebit_cell_data
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.EbitCellDataExample">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from ebit_cell_data
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.EbitCellData">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into ebit_cell_data (id, template_id, `data`,
create_by, create_time, update_by,
update_time, project_id, period,
organization_id, sheet_name, file_name,
`row`, col)
values (#{id,jdbcType=BIGINT}, #{templateId,jdbcType=VARCHAR}, #{data,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{projectId,jdbcType=VARCHAR}, #{period,jdbcType=INTEGER},
#{organizationId,jdbcType=VARCHAR}, #{sheetName,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR},
#{row,jdbcType=INTEGER}, #{col,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.EbitCellData">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into ebit_cell_data
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="templateId != null">
template_id,
</if>
<if test="data != null">
`data`,
</if>
<if test="createBy != null">
create_by,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateBy != null">
update_by,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="projectId != null">
project_id,
</if>
<if test="period != null">
period,
</if>
<if test="organizationId != null">
organization_id,
</if>
<if test="sheetName != null">
sheet_name,
</if>
<if test="fileName != null">
file_name,
</if>
<if test="row != null">
`row`,
</if>
<if test="col != null">
col,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="templateId != null">
#{templateId,jdbcType=VARCHAR},
</if>
<if test="data != null">
#{data,jdbcType=VARCHAR},
</if>
<if test="createBy != null">
#{createBy,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="projectId != null">
#{projectId,jdbcType=VARCHAR},
</if>
<if test="period != null">
#{period,jdbcType=INTEGER},
</if>
<if test="organizationId != null">
#{organizationId,jdbcType=VARCHAR},
</if>
<if test="sheetName != null">
#{sheetName,jdbcType=VARCHAR},
</if>
<if test="fileName != null">
#{fileName,jdbcType=VARCHAR},
</if>
<if test="row != null">
#{row,jdbcType=INTEGER},
</if>
<if test="col != null">
#{col,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.EbitCellDataExample" resultType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from ebit_cell_data
<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 ebit_cell_data
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.templateId != null">
template_id = #{record.templateId,jdbcType=VARCHAR},
</if>
<if test="record.data != null">
`data` = #{record.data,jdbcType=VARCHAR},
</if>
<if test="record.createBy != null">
create_by = #{record.createBy,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateBy != null">
update_by = #{record.updateBy,jdbcType=VARCHAR},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.projectId != null">
project_id = #{record.projectId,jdbcType=VARCHAR},
</if>
<if test="record.period != null">
period = #{record.period,jdbcType=INTEGER},
</if>
<if test="record.organizationId != null">
organization_id = #{record.organizationId,jdbcType=VARCHAR},
</if>
<if test="record.sheetName != null">
sheet_name = #{record.sheetName,jdbcType=VARCHAR},
</if>
<if test="record.fileName != null">
file_name = #{record.fileName,jdbcType=VARCHAR},
</if>
<if test="record.row != null">
`row` = #{record.row,jdbcType=INTEGER},
</if>
<if test="record.col != null">
col = #{record.col,jdbcType=INTEGER},
</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 ebit_cell_data
set id = #{record.id,jdbcType=BIGINT},
template_id = #{record.templateId,jdbcType=VARCHAR},
`data` = #{record.data,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
project_id = #{record.projectId,jdbcType=VARCHAR},
period = #{record.period,jdbcType=INTEGER},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
sheet_name = #{record.sheetName,jdbcType=VARCHAR},
file_name = #{record.fileName,jdbcType=VARCHAR},
`row` = #{record.row,jdbcType=INTEGER},
col = #{record.col,jdbcType=INTEGER}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.EbitCellData">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update ebit_cell_data
<set>
<if test="templateId != null">
template_id = #{templateId,jdbcType=VARCHAR},
</if>
<if test="data != null">
`data` = #{data,jdbcType=VARCHAR},
</if>
<if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="projectId != null">
project_id = #{projectId,jdbcType=VARCHAR},
</if>
<if test="period != null">
period = #{period,jdbcType=INTEGER},
</if>
<if test="organizationId != null">
organization_id = #{organizationId,jdbcType=VARCHAR},
</if>
<if test="sheetName != null">
sheet_name = #{sheetName,jdbcType=VARCHAR},
</if>
<if test="fileName != null">
file_name = #{fileName,jdbcType=VARCHAR},
</if>
<if test="row != null">
`row` = #{row,jdbcType=INTEGER},
</if>
<if test="col != null">
col = #{col,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.EbitCellData">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update ebit_cell_data
set template_id = #{templateId,jdbcType=VARCHAR},
`data` = #{data,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
project_id = #{projectId,jdbcType=VARCHAR},
period = #{period,jdbcType=INTEGER},
organization_id = #{organizationId,jdbcType=VARCHAR},
sheet_name = #{sheetName,jdbcType=VARCHAR},
file_name = #{fileName,jdbcType=VARCHAR},
`row` = #{row,jdbcType=INTEGER},
col = #{col,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.EbitCellDataExample" 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 ebit_cell_data
<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
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