Commit 80831640 authored by neo's avatar neo

[bugfix] change CurrentPeriodBo to Period

parent b31caae1
......@@ -18,6 +18,6 @@ public interface CitTBDataImportMapper extends MyMapper {
"</script>")
Integer deleteByPeriod(@Param("period") Integer period, @Param("tbName") String tbName);
@Delete("<script>DELETE FROM #{tbName} <if test=\"period != null\"> WHERE CurrentPeriodBo =#{period} </if></script>")
@Delete("<script>DELETE FROM #{tbName} <if test=\"period != null\"> WHERE Period =#{period} </if></script>")
Integer deleteByNameAndPeriod(@Param("tbName") String tbName,@Param("period") Integer period);
}
......@@ -9,7 +9,7 @@ import pwc.taxtech.atms.MyMapper;
@Mapper
public interface DataImportMapper extends MyMapper {
@Delete("DELETE FROM #{tbName} WHERE CurrentPeriodBo =#{period}")
@Delete("DELETE FROM #{tbName} WHERE Period =#{period}")
Integer deleteByNameAndPeriod(@Param("tbName") String tbName, @Param("period") Integer period);
......
......@@ -42,8 +42,8 @@ public interface JournalEntryImportMapper extends MyVatMapper {
" Voucher " +
"WHERE " +
" 1 = 1 " +
" AND `ImportType` = #{importType} AND `CurrentPeriodBo` = #{period} " +
" ORDER BY `CurrentPeriodBo`,`Group`,`VID`,`ItemID`" +
" AND `ImportType` = #{importType} AND `Period` = #{period} " +
" ORDER BY `Period`,`Group`,`VID`,`ItemID`" +
" LIMIT #{start},#{size}" +
"</script>")
List<Voucher> pageQuery(@Param("importType") int code, @Param("period") int periodId, @Param("start") int start ,
......@@ -56,7 +56,7 @@ public interface JournalEntryImportMapper extends MyVatMapper {
" Voucher " +
"WHERE " +
" 1 = 1" +
" AND `ImportType` = #{importType} AND `CurrentPeriodBo` = #{period}" +
" AND `ImportType` = #{importType} AND `Period` = #{period}" +
"</script>")
Integer pageQueryCount(@Param("importType") int code, @Param("period") int periodId);
......@@ -67,8 +67,8 @@ public interface JournalEntryImportMapper extends MyVatMapper {
" Voucher " +
"WHERE " +
" 1 = 1" +
" AND `ImportType` = #{importType} AND `CurrentPeriodBo` = #{period}" +
" GROUP BY `VID` ,`Group`,`CurrentPeriodBo`" +
" AND `ImportType` = #{importType} AND `Period` = #{period}" +
" GROUP BY `VID` ,`Group`,`Period`" +
"</script>")
Integer pageVIDCount(@Param("importType") int code, @Param("period") int periodId);
}
......@@ -265,62 +265,62 @@ public class PeriodCellReferenceExample {
}
public Criteria andPeriodIsNull() {
addCriterion("CurrentPeriodBo is null");
addCriterion("Period is null");
return (Criteria) this;
}
public Criteria andPeriodIsNotNull() {
addCriterion("CurrentPeriodBo is not null");
addCriterion("Period is not null");
return (Criteria) this;
}
public Criteria andPeriodEqualTo(Integer value) {
addCriterion("CurrentPeriodBo =", value, "period");
addCriterion("Period =", value, "period");
return (Criteria) this;
}
public Criteria andPeriodNotEqualTo(Integer value) {
addCriterion("CurrentPeriodBo <>", value, "period");
addCriterion("Period <>", value, "period");
return (Criteria) this;
}
public Criteria andPeriodGreaterThan(Integer value) {
addCriterion("CurrentPeriodBo >", value, "period");
addCriterion("Period >", value, "period");
return (Criteria) this;
}
public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
addCriterion("CurrentPeriodBo >=", value, "period");
addCriterion("Period >=", value, "period");
return (Criteria) this;
}
public Criteria andPeriodLessThan(Integer value) {
addCriterion("CurrentPeriodBo <", value, "period");
addCriterion("Period <", value, "period");
return (Criteria) this;
}
public Criteria andPeriodLessThanOrEqualTo(Integer value) {
addCriterion("CurrentPeriodBo <=", value, "period");
addCriterion("Period <=", value, "period");
return (Criteria) this;
}
public Criteria andPeriodIn(List<Integer> values) {
addCriterion("CurrentPeriodBo in", values, "period");
addCriterion("Period in", values, "period");
return (Criteria) this;
}
public Criteria andPeriodNotIn(List<Integer> values) {
addCriterion("CurrentPeriodBo not in", values, "period");
addCriterion("Period not in", values, "period");
return (Criteria) this;
}
public Criteria andPeriodBetween(Integer value1, Integer value2) {
addCriterion("CurrentPeriodBo between", value1, value2, "period");
addCriterion("Period between", value1, value2, "period");
return (Criteria) this;
}
public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
addCriterion("CurrentPeriodBo not between", value1, value2, "period");
addCriterion("Period not between", value1, value2, "period");
return (Criteria) this;
}
......
......@@ -22,7 +22,7 @@ public class PeriodCellReferenceKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodCellReference.CurrentPeriodBo
* This field corresponds to the database column PeriodCellReference.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodCellReferenceKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodCellReference.CurrentPeriodBo
* This method returns the value of the database column PeriodCellReference.Period
*
* @return the value of PeriodCellReference.CurrentPeriodBo
* @return the value of PeriodCellReference.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodCellReferenceKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodCellReference.CurrentPeriodBo
* This method sets the value of the database column PeriodCellReference.Period
*
* @param period the value for PeriodCellReference.CurrentPeriodBo
* @param period the value for PeriodCellReference.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodCellTemplateConfigKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodCellTemplateConfig.CurrentPeriodBo
* This field corresponds to the database column PeriodCellTemplateConfig.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodCellTemplateConfigKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodCellTemplateConfig.CurrentPeriodBo
* This method returns the value of the database column PeriodCellTemplateConfig.Period
*
* @return the value of PeriodCellTemplateConfig.CurrentPeriodBo
* @return the value of PeriodCellTemplateConfig.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodCellTemplateConfigKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodCellTemplateConfig.CurrentPeriodBo
* This method sets the value of the database column PeriodCellTemplateConfig.Period
*
* @param period the value for PeriodCellTemplateConfig.CurrentPeriodBo
* @param period the value for PeriodCellTemplateConfig.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodCellTemplateKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodCellTemplate.CurrentPeriodBo
* This field corresponds to the database column PeriodCellTemplate.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodCellTemplateKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodCellTemplate.CurrentPeriodBo
* This method returns the value of the database column PeriodCellTemplate.Period
*
* @return the value of PeriodCellTemplate.CurrentPeriodBo
* @return the value of PeriodCellTemplate.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodCellTemplateKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodCellTemplate.CurrentPeriodBo
* This method sets the value of the database column PeriodCellTemplate.Period
*
* @param period the value for PeriodCellTemplate.CurrentPeriodBo
* @param period the value for PeriodCellTemplate.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodFormulaBlockKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodFormulaBlock.CurrentPeriodBo
* This field corresponds to the database column PeriodFormulaBlock.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodFormulaBlockKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodFormulaBlock.CurrentPeriodBo
* This method returns the value of the database column PeriodFormulaBlock.Period
*
* @return the value of PeriodFormulaBlock.CurrentPeriodBo
* @return the value of PeriodFormulaBlock.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodFormulaBlockKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodFormulaBlock.CurrentPeriodBo
* This method sets the value of the database column PeriodFormulaBlock.Period
*
* @param period the value for PeriodFormulaBlock.CurrentPeriodBo
* @param period the value for PeriodFormulaBlock.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodTaxPayerReportRuleKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodTaxPayerReportRule.CurrentPeriodBo
* This field corresponds to the database column PeriodTaxPayerReportRule.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodTaxPayerReportRuleKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodTaxPayerReportRule.CurrentPeriodBo
* This method returns the value of the database column PeriodTaxPayerReportRule.Period
*
* @return the value of PeriodTaxPayerReportRule.CurrentPeriodBo
* @return the value of PeriodTaxPayerReportRule.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodTaxPayerReportRuleKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodTaxPayerReportRule.CurrentPeriodBo
* This method sets the value of the database column PeriodTaxPayerReportRule.Period
*
* @param period the value for PeriodTaxPayerReportRule.CurrentPeriodBo
* @param period the value for PeriodTaxPayerReportRule.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodTaxRuleSettingKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodTaxRuleSetting.CurrentPeriodBo
* This field corresponds to the database column PeriodTaxRuleSetting.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodTaxRuleSettingKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodTaxRuleSetting.CurrentPeriodBo
* This method returns the value of the database column PeriodTaxRuleSetting.Period
*
* @return the value of PeriodTaxRuleSetting.CurrentPeriodBo
* @return the value of PeriodTaxRuleSetting.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodTaxRuleSettingKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodTaxRuleSetting.CurrentPeriodBo
* This method sets the value of the database column PeriodTaxRuleSetting.Period
*
* @param period the value for PeriodTaxRuleSetting.CurrentPeriodBo
* @param period the value for PeriodTaxRuleSetting.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodTaxRuleSettingOrganizationKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodTaxRuleSettingOrganization.CurrentPeriodBo
* This field corresponds to the database column PeriodTaxRuleSettingOrganization.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodTaxRuleSettingOrganizationKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodTaxRuleSettingOrganization.CurrentPeriodBo
* This method returns the value of the database column PeriodTaxRuleSettingOrganization.Period
*
* @return the value of PeriodTaxRuleSettingOrganization.CurrentPeriodBo
* @return the value of PeriodTaxRuleSettingOrganization.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodTaxRuleSettingOrganizationKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodTaxRuleSettingOrganization.CurrentPeriodBo
* This method sets the value of the database column PeriodTaxRuleSettingOrganization.Period
*
* @param period the value for PeriodTaxRuleSettingOrganization.CurrentPeriodBo
* @param period the value for PeriodTaxRuleSettingOrganization.Period
*
* @mbg.generated
*/
......
......@@ -22,7 +22,7 @@ public class PeriodTemplateKey implements Serializable {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column PeriodTemplate.CurrentPeriodBo
* This field corresponds to the database column PeriodTemplate.Period
*
* @mbg.generated
*/
......@@ -62,9 +62,9 @@ public class PeriodTemplateKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column PeriodTemplate.CurrentPeriodBo
* This method returns the value of the database column PeriodTemplate.Period
*
* @return the value of PeriodTemplate.CurrentPeriodBo
* @return the value of PeriodTemplate.Period
*
* @mbg.generated
*/
......@@ -74,9 +74,9 @@ public class PeriodTemplateKey implements Serializable {
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column PeriodTemplate.CurrentPeriodBo
* This method sets the value of the database column PeriodTemplate.Period
*
* @param period the value for PeriodTemplate.CurrentPeriodBo
* @param period the value for PeriodTemplate.Period
*
* @mbg.generated
*/
......
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