Commit c1f65867 authored by gary's avatar gary

1、sql debug

parent 61266f59
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
FROM FROM
( (
SELECT SELECT
B.id b.id
FROM FROM
key_value_reference b key_value_reference b
INNER JOIN INNER JOIN
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<select id="getFinancialStatementDetails" parameterType="java.lang.String" resultMap="financialStatementDetail"> <select id="getFinancialStatementDetails" parameterType="java.lang.String" resultMap="financialStatementDetail">
SELECT DISTINCT SELECT DISTINCT
t.name as Name, t.name as Name,
c.rowindex as RowIndex, c.row_index as RowIndex,
c.column_index as ColumnIndex, c.column_index as ColumnIndex,
g.industry_ids as IndustryIds g.industry_ids as IndustryIds
FROM FROM
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
t.template_group_id = g.id t.template_group_id = g.id
WHERE WHERE
s.scope = 1 s.scope = 1
AND S.key_value_config_id = #{configurationID,jdbcType=VARCHAR} AND s.key_value_config_id = #{configurationID,jdbcType=VARCHAR}
</select> </select>
<resultMap id="taxReturnDetail" type="pwc.taxtech.atms.dpo.TaxReturnDetail"> <resultMap id="taxReturnDetail" type="pwc.taxtech.atms.dpo.TaxReturnDetail">
...@@ -99,7 +99,7 @@ SELECT DISTINCT ...@@ -99,7 +99,7 @@ SELECT DISTINCT
t.template_group_id = g.ID t.template_group_id = g.ID
WHERE WHERE
s.scope = 2 s.scope = 2
AND S.key_value_config_id = #{configurationID,jdbcType=VARCHAR} AND s.key_value_config_id = #{configurationID,jdbcType=VARCHAR}
</select> </select>
<resultMap id="analyticsModelDetail" type="pwc.taxtech.atms.dpo.AnalyticsModelDetail"> <resultMap id="analyticsModelDetail" type="pwc.taxtech.atms.dpo.AnalyticsModelDetail">
...@@ -127,7 +127,7 @@ SELECT DISTINCT ...@@ -127,7 +127,7 @@ SELECT DISTINCT
s.model_id = m.id s.model_id = m.id
WHERE WHERE
s.scope = 3 s.scope = 3
AND S.key_value_config_id = #{configurationID,jdbcType=VARCHAR} AND s.key_value_config_id = #{configurationID,jdbcType=VARCHAR}
</select> </select>
</mapper> </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