Commit b3b510c1 authored by Ken you's avatar Ken you

add ebs api taskId ----Ken

parent 00cd5103
......@@ -162,6 +162,25 @@ public class BalanceSheetPrcQueryDto {
*/
private BigDecimal begBal;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getSource() {
return source;
}
......
......@@ -161,6 +161,25 @@ public class BalanceSheetQueryDto {
*/
private BigDecimal begBal;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getSource() {
return source;
}
......
......@@ -173,6 +173,25 @@ public class CashFlowQueryDto {
*/
private BigDecimal ytdAmt;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public Date getDate() {
return date;
}
......
......@@ -716,6 +716,25 @@ public class JournalEntryQueryDto {
@JsonFormat(pattern = "yyyy-MM-dd HH:ss:mm",timezone = "GMT+8")
private Date lateUpdatedDate;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public Date getDate() {
return date;
}
......
......@@ -73,6 +73,19 @@ public class OrganizationAccountingRateQueryDto {
*/
private String invalidDate;
/**
* 同步用于标记不同分页的数据,避免重复删除
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public Date getDate() {
return date;
}
......
......@@ -161,6 +161,25 @@ public class ProfitLossStatementPrcQueryDto {
*/
private BigDecimal ytdAmt;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getSource() {
return source;
}
......
......@@ -161,6 +161,25 @@ public class ProfitLossStatementQueryDto {
*/
private BigDecimal ytdAmt;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getSource() {
return source;
}
......
......@@ -546,6 +546,25 @@ public class TrialBalanceQueryDto {
*/
private BigDecimal ytdCrBeq;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public Date getDate() {
return date;
}
......
package pwc.taxtech.atms.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -8,6 +7,8 @@ import pwc.taxtech.atms.MyMapper;
import pwc.taxtech.atms.entity.OrganizationAccountingRate;
import pwc.taxtech.atms.entity.OrganizationAccountingRateExample;
import java.util.List;
@Mapper
public interface OrganizationAccountingRateMapper extends MyMapper {
/**
......
......@@ -35,7 +35,7 @@ public class OrganizationAccountingRate extends BaseEntity implements Serializab
/**
* Database Column Remarks:
* 期间
* 期间,与滴滴联调传yyyy-MM-dd转为yyyyMMdd
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column organization_accounting_rate.period
......@@ -154,6 +154,17 @@ public class OrganizationAccountingRate extends BaseEntity implements Serializab
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column organization_accounting_rate.task_id
*
* @mbg.generated
*/
private String taskId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table organization_accounting_rate
......@@ -476,10 +487,27 @@ public class OrganizationAccountingRate extends BaseEntity implements Serializab
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table organization_accounting_rate
* This method returns the value of the database column organization_accounting_rate.task_id
*
* @return the value of organization_accounting_rate.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column organization_accounting_rate.task_id
*
* @param taskId the value for organization_accounting_rate.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
public OrganizationAccountingRate(){}
......@@ -488,6 +516,12 @@ public class OrganizationAccountingRate extends BaseEntity implements Serializab
this.organizationId = orgId;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table organization_accounting_rate
*
* @mbg.generated
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
......@@ -507,6 +541,7 @@ public class OrganizationAccountingRate extends BaseEntity implements Serializab
sb.append(", rate=").append(rate);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -1024,6 +1024,76 @@ public class OrganizationAccountingRateExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
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;
......@@ -9,6 +8,8 @@ import pwc.taxtech.atms.vat.dpo.BalanceSheetCondition;
import pwc.taxtech.atms.vat.entity.BalanceSheet;
import pwc.taxtech.atms.vat.entity.BalanceSheetExample;
import java.util.List;
@Mapper
public interface BalanceSheetMapper extends MyVatMapper {
/**
......
package pwc.taxtech.atms.vat.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
......@@ -11,6 +8,9 @@ import pwc.taxtech.atms.vat.dpo.JournalEntryCondition;
import pwc.taxtech.atms.vat.entity.JournalEntry;
import pwc.taxtech.atms.vat.entity.JournalEntryExample;
import java.util.List;
import java.util.Map;
@Mapper
public interface JournalEntryMapper extends MyVatMapper {
/**
......@@ -109,7 +109,7 @@ public interface JournalEntryMapper extends MyVatMapper {
*/
int updateByPrimaryKey(JournalEntry record);
List<JournalEntry> selectByCondition(@Param("jeCondition")JournalEntryCondition journalEntryCondition);
List<JournalEntry> selectByCondition(@Param("jeCondition") JournalEntryCondition journalEntryCondition);
List<JournalEntry> selectNowAdjustData(Map<String,Object> map2);
}
\ No newline at end of file
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;
......@@ -9,6 +8,8 @@ import pwc.taxtech.atms.vat.dpo.ProfitLossStatementCondition;
import pwc.taxtech.atms.vat.entity.ProfitLossStatement;
import pwc.taxtech.atms.vat.entity.ProfitLossStatementExample;
import java.util.List;
@Mapper
public interface ProfitLossStatementMapper extends MyVatMapper {
/**
......@@ -107,7 +108,7 @@ public interface ProfitLossStatementMapper extends MyVatMapper {
*/
int updateByPrimaryKey(ProfitLossStatement record);
List<ProfitLossStatement> selectByCondition(@Param("plCondition")ProfitLossStatementCondition condition);
List<ProfitLossStatement> selectByCondition(@Param("plCondition") ProfitLossStatementCondition condition);
int insertBatch(List<ProfitLossStatement> pls);
}
\ No newline at end of file
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;
......@@ -9,6 +8,8 @@ import pwc.taxtech.atms.vat.dpo.TrialBalanceCondition;
import pwc.taxtech.atms.vat.entity.TrialBalance;
import pwc.taxtech.atms.vat.entity.TrialBalanceExample;
import java.util.List;
@Mapper
public interface TrialBalanceMapper extends MyVatMapper {
/**
......
......@@ -244,6 +244,17 @@ public class BalanceSheet extends BaseEntity implements Serializable {
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column balance_sheet.task_id
*
* @mbg.generated
*/
private String taskId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table balance_sheet
......@@ -756,6 +767,30 @@ public class BalanceSheet extends BaseEntity implements Serializable {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column balance_sheet.task_id
*
* @return the value of balance_sheet.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column balance_sheet.task_id
*
* @param taskId the value for balance_sheet.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table balance_sheet
......@@ -789,6 +824,7 @@ public class BalanceSheet extends BaseEntity implements Serializable {
sb.append(", prcFlag=").append(prcFlag);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -1575,6 +1575,76 @@ public class BalanceSheetExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
......@@ -241,6 +241,17 @@ public class CashFlow extends BaseEntity implements Serializable {
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column cash_flow.task_id
*
* @mbg.generated
*/
private String taskId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table cash_flow
......@@ -753,6 +764,30 @@ public class CashFlow extends BaseEntity implements Serializable {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column cash_flow.task_id
*
* @return the value of cash_flow.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column cash_flow.task_id
*
* @param taskId the value for cash_flow.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table cash_flow
......@@ -786,6 +821,7 @@ public class CashFlow extends BaseEntity implements Serializable {
sb.append(", ytdAmt=").append(ytdAmt);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -1585,6 +1585,76 @@ public class CashFlowExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
......@@ -783,6 +783,17 @@ public class JournalEntry extends BaseEntity implements Serializable {
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column journal_entry.task_id
*
* @mbg.generated
*/
private String taskId;
private BigDecimal periodJrMinDr;
public BigDecimal getPeriodJrMinDr() {
......@@ -792,7 +803,6 @@ public class JournalEntry extends BaseEntity implements Serializable {
public void setPeriodJrMinDr(BigDecimal periodJrMinDr) {
this.periodJrMinDr = periodJrMinDr;
}
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table journal_entry
......@@ -2481,6 +2491,30 @@ public class JournalEntry extends BaseEntity implements Serializable {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column journal_entry.task_id
*
* @return the value of journal_entry.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column journal_entry.task_id
*
* @param taskId the value for journal_entry.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table journal_entry
......@@ -2563,6 +2597,7 @@ public class JournalEntry extends BaseEntity implements Serializable {
sb.append(", lateUpdatedDate=").append(lateUpdatedDate);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -4955,6 +4955,76 @@ public class JournalEntryExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
......@@ -244,6 +244,17 @@ public class ProfitLossStatement extends BaseEntity implements Serializable {
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column profit_loss_statement.task_id
*
* @mbg.generated
*/
private String taskId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table profit_loss_statement
......@@ -756,6 +767,30 @@ public class ProfitLossStatement extends BaseEntity implements Serializable {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column profit_loss_statement.task_id
*
* @return the value of profit_loss_statement.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column profit_loss_statement.task_id
*
* @param taskId the value for profit_loss_statement.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table profit_loss_statement
......@@ -789,6 +824,7 @@ public class ProfitLossStatement extends BaseEntity implements Serializable {
sb.append(", prcFlag=").append(prcFlag);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -1575,6 +1575,76 @@ public class ProfitLossStatementExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
......@@ -618,6 +618,17 @@ public class TrialBalance extends BaseEntity implements Serializable {
*/
private Date updateTime;
/**
* Database Column Remarks:
* 同步用于标记不同分页的数据,避免重复删除
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column trial_balance.task_id
*
* @mbg.generated
*/
private String taskId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table trial_balance
......@@ -1946,6 +1957,30 @@ public class TrialBalance extends BaseEntity implements Serializable {
this.updateTime = updateTime;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column trial_balance.task_id
*
* @return the value of trial_balance.task_id
*
* @mbg.generated
*/
public String getTaskId() {
return taskId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column trial_balance.task_id
*
* @param taskId the value for trial_balance.task_id
*
* @mbg.generated
*/
public void setTaskId(String taskId) {
this.taskId = taskId == null ? null : taskId.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table trial_balance
......@@ -2013,6 +2048,7 @@ public class TrialBalance extends BaseEntity implements Serializable {
sb.append(", ytdCrBeq=").append(ytdCrBeq);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", taskId=").append(taskId);
sb.append("]");
return sb.toString();
}
......
......@@ -3825,6 +3825,76 @@ public class TrialBalanceExample {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andTaskIdIsNull() {
addCriterion("task_id is null");
return (Criteria) this;
}
public Criteria andTaskIdIsNotNull() {
addCriterion("task_id is not null");
return (Criteria) this;
}
public Criteria andTaskIdEqualTo(String value) {
addCriterion("task_id =", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotEqualTo(String value) {
addCriterion("task_id <>", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThan(String value) {
addCriterion("task_id >", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdGreaterThanOrEqualTo(String value) {
addCriterion("task_id >=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThan(String value) {
addCriterion("task_id <", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLessThanOrEqualTo(String value) {
addCriterion("task_id <=", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdLike(String value) {
addCriterion("task_id like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotLike(String value) {
addCriterion("task_id not like", value, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdIn(List<String> values) {
addCriterion("task_id in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotIn(List<String> values) {
addCriterion("task_id not in", values, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdBetween(String value1, String value2) {
addCriterion("task_id between", value1, value2, "taskId");
return (Criteria) this;
}
public Criteria andTaskIdNotBetween(String value1, String value2) {
addCriterion("task_id not between", value1, value2, "taskId");
return (Criteria) this;
}
}
/**
......
......@@ -19,6 +19,7 @@
<result column="rate" jdbcType="REAL" property="rate" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -92,7 +93,7 @@
This element is automatically generated by MyBatis Generator, do not modify.
-->
id, organization_id, period, date, source, convertion_type, currency_from, currency_to,
start_date, end_date, rate, create_time, update_time
start_date, end_date, rate, create_time, update_time, task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.OrganizationAccountingRateExample" resultMap="BaseResultMap">
<!--
......@@ -149,12 +150,12 @@
date, source, convertion_type,
currency_from, currency_to, start_date,
end_date, rate, create_time,
update_time)
update_time, task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{period,jdbcType=INTEGER},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{convertionType,jdbcType=VARCHAR},
#{currencyFrom,jdbcType=VARCHAR}, #{currencyTo,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP}, #{rate,jdbcType=REAL}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
#{updateTime,jdbcType=TIMESTAMP}, #{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.OrganizationAccountingRate">
<!--
......@@ -202,6 +203,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -243,6 +247,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.entity.OrganizationAccountingRateExample" resultType="java.lang.Long">
......@@ -301,6 +308,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -324,7 +334,8 @@
end_date = #{record.endDate,jdbcType=TIMESTAMP},
rate = #{record.rate,jdbcType=REAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -372,6 +383,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -392,7 +406,8 @@
end_date = #{endDate,jdbcType=TIMESTAMP},
rate = #{rate,jdbcType=REAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.OrganizationAccountingRateExample" resultMap="BaseResultMap">
......
......@@ -27,6 +27,7 @@
<result column="prc_flag" jdbcType="BIT" property="prcFlag" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -101,7 +102,7 @@
-->
id, organization_id, project_id, `date`, `source`, tms_period, period, `status`,
ledger_id, ledger_name, ledger_currency_code, entity_code, entity_name, category,
frequency, item_name, end_bal, beg_bal, prc_flag, create_time, update_time
frequency, item_name, end_bal, beg_bal, prc_flag, create_time, update_time, task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.BalanceSheetExample" resultMap="BaseResultMap">
<!--
......@@ -160,16 +161,16 @@
ledger_name, ledger_currency_code, entity_code,
entity_name, category, frequency,
item_name, end_bal, beg_bal,
prc_flag, create_time, update_time
)
prc_flag, create_time, update_time,
task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{tmsPeriod,jdbcType=INTEGER},
#{period,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{ledgerId,jdbcType=VARCHAR},
#{ledgerName,jdbcType=VARCHAR}, #{ledgerCurrencyCode,jdbcType=VARCHAR}, #{entityCode,jdbcType=VARCHAR},
#{entityName,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR}, #{frequency,jdbcType=VARCHAR},
#{itemName,jdbcType=VARCHAR}, #{endBal,jdbcType=DECIMAL}, #{begBal,jdbcType=DECIMAL},
#{prcFlag,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
#{prcFlag,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.BalanceSheet">
<!--
......@@ -241,6 +242,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -306,6 +310,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.BalanceSheetExample" resultType="java.lang.Long">
......@@ -388,6 +395,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -419,7 +429,8 @@
beg_bal = #{record.begBal,jdbcType=DECIMAL},
prc_flag = #{record.prcFlag,jdbcType=BIT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -491,6 +502,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -519,7 +533,8 @@
beg_bal = #{begBal,jdbcType=DECIMAL},
prc_flag = #{prcFlag,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.BalanceSheetExample" resultMap="BaseResultMap">
......
......@@ -27,6 +27,7 @@
<result column="ytd_amt" jdbcType="DECIMAL" property="ytdAmt" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -101,7 +102,8 @@
-->
id, organization_id, project_id, `date`, `source`, tms_period, period, `status`,
ledger_id, ledger_name, ledger_currency_code, entity_code, entity_name, category,
frequency, item_name, item_name2, period_amt, ytd_amt, create_time, update_time
frequency, item_name, item_name2, period_amt, ytd_amt, create_time, update_time,
task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.CashFlowExample" resultMap="BaseResultMap">
<!--
......@@ -160,16 +162,16 @@
ledger_name, ledger_currency_code, entity_code,
entity_name, category, frequency,
item_name, item_name2, period_amt,
ytd_amt, create_time, update_time
)
ytd_amt, create_time, update_time,
task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{tmsPeriod,jdbcType=INTEGER},
#{period,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{ledgerId,jdbcType=VARCHAR},
#{ledgerName,jdbcType=VARCHAR}, #{ledgerCurrencyCode,jdbcType=VARCHAR}, #{entityCode,jdbcType=VARCHAR},
#{entityName,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR}, #{frequency,jdbcType=VARCHAR},
#{itemName,jdbcType=VARCHAR}, #{itemName2,jdbcType=VARCHAR}, #{periodAmt,jdbcType=DECIMAL},
#{ytdAmt,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
#{ytdAmt,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.CashFlow">
<!--
......@@ -241,6 +243,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -306,6 +311,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.CashFlowExample" resultType="java.lang.Long">
......@@ -388,6 +396,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -419,7 +430,8 @@
period_amt = #{record.periodAmt,jdbcType=DECIMAL},
ytd_amt = #{record.ytdAmt,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -491,6 +503,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -519,7 +534,8 @@
period_amt = #{periodAmt,jdbcType=DECIMAL},
ytd_amt = #{ytdAmt,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.CashFlowExample" resultMap="BaseResultMap">
......
......@@ -76,6 +76,7 @@
<result column="late_updated_date" jdbcType="TIMESTAMP" property="lateUpdatedDate" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -158,7 +159,7 @@
attribute2, attribute3, attribute4, attribute5, attribute6, attribute7, attribute8,
attribute9, attribute10, attribute11, attribute12, attribute13, attribute14, attribute15,
attribute16, created_by, created_date, late_updated_by, late_updated_date, create_time,
update_time
update_time, task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.JournalEntryExample" resultMap="BaseResultMap">
<!--
......@@ -234,7 +235,7 @@
attribute13, attribute14, attribute15,
attribute16, created_by, created_date,
late_updated_by, late_updated_date, create_time,
update_time)
update_time, task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{ledgerId,jdbcType=VARCHAR},
#{ledgerName,jdbcType=VARCHAR}, #{currencyCode,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR},
......@@ -258,7 +259,7 @@
#{attribute13,jdbcType=VARCHAR}, #{attribute14,jdbcType=VARCHAR}, #{attribute15,jdbcType=VARCHAR},
#{attribute16,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR}, #{createdDate,jdbcType=TIMESTAMP},
#{lateUpdatedBy,jdbcType=VARCHAR}, #{lateUpdatedDate,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
#{updateTime,jdbcType=TIMESTAMP}, #{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.JournalEntry">
<!--
......@@ -477,6 +478,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -689,6 +693,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.JournalEntryExample" resultType="java.lang.Long">
......@@ -918,6 +925,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -998,7 +1008,8 @@
late_updated_by = #{record.lateUpdatedBy,jdbcType=VARCHAR},
late_updated_date = #{record.lateUpdatedDate,jdbcType=TIMESTAMP},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -1217,6 +1228,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -1294,7 +1308,8 @@
late_updated_by = #{lateUpdatedBy,jdbcType=VARCHAR},
late_updated_date = #{lateUpdatedDate,jdbcType=TIMESTAMP},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.JournalEntryExample" resultMap="BaseResultMap">
......
......@@ -27,6 +27,7 @@
<result column="prc_flag" jdbcType="BIT" property="prcFlag" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -101,7 +102,7 @@
-->
id, organization_id, project_id, `date`, `source`, tms_period, period, `status`,
ledger_id, ledger_name, ledger_currency_code, entity_code, entity_name, category,
frequency, item_name, period_amt, ytd_amt, prc_flag, create_time, update_time
frequency, item_name, period_amt, ytd_amt, prc_flag, create_time, update_time, task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.ProfitLossStatementExample" resultMap="BaseResultMap">
<!--
......@@ -160,16 +161,16 @@
ledger_name, ledger_currency_code, entity_code,
entity_name, category, frequency,
item_name, period_amt, ytd_amt,
prc_flag, create_time, update_time
)
prc_flag, create_time, update_time,
task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{tmsPeriod,jdbcType=INTEGER},
#{period,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{ledgerId,jdbcType=VARCHAR},
#{ledgerName,jdbcType=VARCHAR}, #{ledgerCurrencyCode,jdbcType=VARCHAR}, #{entityCode,jdbcType=VARCHAR},
#{entityName,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR}, #{frequency,jdbcType=VARCHAR},
#{itemName,jdbcType=VARCHAR}, #{periodAmt,jdbcType=DECIMAL}, #{ytdAmt,jdbcType=DECIMAL},
#{prcFlag,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
#{prcFlag,jdbcType=BIT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.ProfitLossStatement">
<!--
......@@ -241,6 +242,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -306,6 +310,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.ProfitLossStatementExample" resultType="java.lang.Long">
......@@ -388,6 +395,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -419,7 +429,8 @@
ytd_amt = #{record.ytdAmt,jdbcType=DECIMAL},
prc_flag = #{record.prcFlag,jdbcType=BIT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -491,6 +502,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -519,7 +533,8 @@
ytd_amt = #{ytdAmt,jdbcType=DECIMAL},
prc_flag = #{prcFlag,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.ProfitLossStatementExample" resultMap="BaseResultMap">
......
......@@ -61,6 +61,7 @@
<result column="ytd_cr_beq" jdbcType="DECIMAL" property="ytdCrBeq" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="task_id" jdbcType="VARCHAR" property="taskId" />
</resultMap>
<sql id="Example_Where_Clause">
<!--
......@@ -140,7 +141,7 @@
segment4_name, segment5_name, segment6_name, segment7_name, segment8_name, segment9_name,
segment10_name, beg_bal, period_dr, period_cr, end_bal, qtd_dr, qtd_cr, ytd_dr, ytd_cr,
beg_bal_beq, period_dr_beq, period_cr_beq, end_bal_beq, qtd_dr_beq, qtd_cr_beq, ytd_dr_beq,
ytd_cr_beq, create_time, update_time
ytd_cr_beq, create_time, update_time, task_id
</sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.TrialBalanceExample" resultMap="BaseResultMap">
<!--
......@@ -211,7 +212,7 @@
beg_bal_beq, period_dr_beq, period_cr_beq,
end_bal_beq, qtd_dr_beq, qtd_cr_beq,
ytd_dr_beq, ytd_cr_beq, create_time,
update_time)
update_time, task_id)
values (#{id,jdbcType=BIGINT}, #{organizationId,jdbcType=VARCHAR}, #{projectId,jdbcType=VARCHAR},
#{date,jdbcType=TIMESTAMP}, #{source,jdbcType=VARCHAR}, #{tmsPeriod,jdbcType=INTEGER},
#{period,jdbcType=INTEGER}, #{ledgerId,jdbcType=VARCHAR}, #{ledgerName,jdbcType=VARCHAR},
......@@ -230,7 +231,7 @@
#{begBalBeq,jdbcType=DECIMAL}, #{periodDrBeq,jdbcType=DECIMAL}, #{periodCrBeq,jdbcType=DECIMAL},
#{endBalBeq,jdbcType=DECIMAL}, #{qtdDrBeq,jdbcType=DECIMAL}, #{qtdCrBeq,jdbcType=DECIMAL},
#{ytdDrBeq,jdbcType=DECIMAL}, #{ytdCrBeq,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
#{updateTime,jdbcType=TIMESTAMP}, #{taskId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.TrialBalance">
<!--
......@@ -404,6 +405,9 @@
<if test="updateTime != null">
update_time,
</if>
<if test="taskId != null">
task_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
......@@ -571,6 +575,9 @@
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
#{taskId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.TrialBalanceExample" resultType="java.lang.Long">
......@@ -755,6 +762,9 @@
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.taskId != null">
task_id = #{record.taskId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -820,7 +830,8 @@
ytd_dr_beq = #{record.ytdDrBeq,jdbcType=DECIMAL},
ytd_cr_beq = #{record.ytdCrBeq,jdbcType=DECIMAL},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
task_id = #{record.taskId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
......@@ -994,6 +1005,9 @@
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="taskId != null">
task_id = #{taskId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
......@@ -1056,7 +1070,8 @@
ytd_dr_beq = #{ytdDrBeq,jdbcType=DECIMAL},
ytd_cr_beq = #{ytdCrBeq,jdbcType=DECIMAL},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
update_time = #{updateTime,jdbcType=TIMESTAMP},
task_id = #{taskId,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
</update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.TrialBalanceExample" resultMap="BaseResultMap">
......
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