Commit cd4f9152 authored by gary's avatar gary

1、change condition

parent 16f42359
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{bsCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="bsCondition.periodStart!=null">
AND period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{bsCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="bsCondition.periodEnd!=null">
AND period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{bsCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND entity_code= #{cfCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cfCondition.periodStart!=null">
AND period &gt;= #{cfCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cfCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cfCondition.periodEnd!=null">
AND period &lt;= #{cfCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cfCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{cilCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cilCondition.periodStart!=null">
AND period &gt;= #{cilCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cilCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cilCondition.periodEnd!=null">
AND period &lt;= #{cilCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cilCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{cprCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="cprCondition.periodStart!=null">
AND period &gt;= #{cprCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{cprCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="cprCondition.periodEnd!=null">
AND period &lt;= #{cprCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{cprCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{idCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="idCondition.periodStart!=null">
AND period &gt;= #{idCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{idCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="idCondition.periodEnd!=null">
AND period &lt;= #{idCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{idCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{irCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="irCondition.periodStart!=null">
AND period &gt;= #{irCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{irCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="irCondition.periodEnd!=null">
AND period &lt;= #{irCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{irCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -29,10 +29,10 @@
AND description= #{jeCondition.description,jdbcType=VARCHAR}
</if>
<if test="jeCondition.periodStart!=null">
AND period &gt;= #{jeCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{jeCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="jeCondition.periodEnd!=null">
AND period &lt;= #{jeCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{jeCondition.periodEnd,jdbcType=INTEGER}
</if>
<if test="jeCondition.containsAdjustmentRecord!=null">
AND contains_adjustment_record = #{jeCondition.containsAdjustmentRecord,jdbcType=BYTE}
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -8,10 +8,10 @@
AND organization_id= #{plCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="plCondition.periodStart!=null">
AND period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{plCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="plCondition.periodEnd!=null">
AND period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{plCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -9,10 +9,10 @@
AND organization_id= #{rlitCondition.orgId,jdbcType=VARCHAR}
</if>
<if test="rlitCondition.periodStart!=null">
AND fill_in_date &gt;= #{rlitCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{rlitCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="rlitCondition.periodEnd!=null">
AND fill_in_date &lt;= #{rlitCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{rlitCondition.periodEnd,jdbcType=INTEGER}
</if>
</sql>
......
......@@ -26,10 +26,10 @@
AND segment6_name= #{tbCondition.segment6Name,jdbcType=VARCHAR}
</if>
<if test="tbCondition.periodStart!=null">
AND period &gt;= #{tbCondition.periodStart,jdbcType=INTEGER}
AND tms_period &gt;= #{tbCondition.periodStart,jdbcType=INTEGER}
</if>
<if test="tbCondition.periodEnd!=null">
AND period &lt;= #{tbCondition.periodEnd,jdbcType=INTEGER}
AND tms_period &lt;= #{tbCondition.periodEnd,jdbcType=INTEGER}
</if>
<if test="tbCondition.containsAdjustmentTable!=null">
AND contains_adjustment_table = #{tbCondition.containsAdjustmentTable,jdbcType=BYTE}
......
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