Commit 3b821dac authored by gary's avatar gary

1、sql debug

parent c1f65867
...@@ -466,22 +466,140 @@ ...@@ -466,22 +466,140 @@
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.GlBalanceExample" resultMap="BaseResultMap"> <select id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.GlBalanceExample" resultMap="BaseResultMap">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select update gl_balance
<if test="distinct"> <set>
distinct <if test="codeCombinationId != null">
code_combination_id = #{codeCombinationId,jdbcType=BIGINT},
</if> </if>
<include refid="Base_Column_List" /> <if test="codeCombinationCode != null">
from gl_balance code_combination_code = #{codeCombinationCode,jdbcType=VARCHAR},
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if> </if>
<if test="orderByClause != null"> <if test="codeCombinationDescription != null">
order by ${orderByClause} code_combination_description = #{codeCombinationDescription,jdbcType=VARCHAR},
</if>
<if test="attribute12 != null">
attribute12 = #{attribute12,jdbcType=VARCHAR},
</if>
<if test="segment1 != null">
segment1 = #{segment1,jdbcType=VARCHAR},
</if>
<if test="segment2 != null">
segment2 = #{segment2,jdbcType=VARCHAR},
</if>
<if test="segment3 != null">
segment3 = #{segment3,jdbcType=VARCHAR},
</if>
<if test="segment4 != null">
segment4 = #{segment4,jdbcType=VARCHAR},
</if>
<if test="segment5 != null">
segment5 = #{segment5,jdbcType=VARCHAR},
</if>
<if test="segment6 != null">
segment6 = #{segment6,jdbcType=VARCHAR},
</if>
<if test="segment7 != null">
segment7 = #{segment7,jdbcType=VARCHAR},
</if>
<if test="periodName != null">
period_name = #{periodName,jdbcType=VARCHAR},
</if>
<if test="beginDrBalance != null">
begin_dr_balance = #{beginDrBalance,jdbcType=INTEGER},
</if>
<if test="beginCrBalance != null">
begin_cr_balance = #{beginCrBalance,jdbcType=INTEGER},
</if>
<if test="ptdDr != null">
ptd_dr = #{ptdDr,jdbcType=INTEGER},
</if>
<if test="ptdCr != null">
ptd_cr = #{ptdCr,jdbcType=INTEGER},
</if> </if>
<if test="ytdDr != null">
ytd_dr = #{ytdDr,jdbcType=INTEGER},
</if>
<if test="ytdCr != null">
ytd_cr = #{ytdCr,jdbcType=INTEGER},
</if>
<if test="endDrBalance != null">
end_dr_balance = #{endDrBalance,jdbcType=INTEGER},
</if>
<if test="endCrBalance != null">
end_cr_balance = #{endCrBalance,jdbcType=INTEGER},
</if>
<if test="attr1 != null">
attr1 = #{attr1,jdbcType=VARCHAR},
</if>
<if test="attr2 != null">
attr2 = #{attr2,jdbcType=VARCHAR},
</if>
<if test="attr3 != null">
attr3 = #{attr3,jdbcType=VARCHAR},
</if>
<if test="attr4 != null">
attr4 = #{attr4,jdbcType=VARCHAR},
</if>
<if test="attr5 != null">
attr5 = #{attr5,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</select> </select>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.GlBalance">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update gl_balance
set code_combination_id = #{codeCombinationId,jdbcType=BIGINT},
code_combination_code = #{codeCombinationCode,jdbcType=VARCHAR},
code_combination_description = #{codeCombinationDescription,jdbcType=VARCHAR},
attribute12 = #{attribute12,jdbcType=VARCHAR},
segment1 = #{segment1,jdbcType=VARCHAR},
segment2 = #{segment2,jdbcType=VARCHAR},
segment3 = #{segment3,jdbcType=VARCHAR},
segment4 = #{segment4,jdbcType=VARCHAR},
segment5 = #{segment5,jdbcType=VARCHAR},
segment6 = #{segment6,jdbcType=VARCHAR},
segment7 = #{segment7,jdbcType=VARCHAR},
period_name = #{periodName,jdbcType=VARCHAR},
begin_dr_balance = #{beginDrBalance,jdbcType=INTEGER},
begin_cr_balance = #{beginCrBalance,jdbcType=INTEGER},
ptd_dr = #{ptdDr,jdbcType=INTEGER},
ptd_cr = #{ptdCr,jdbcType=INTEGER},
ytd_dr = #{ytdDr,jdbcType=INTEGER},
ytd_cr = #{ytdCr,jdbcType=INTEGER},
end_dr_balance = #{endDrBalance,jdbcType=INTEGER},
end_cr_balance = #{endCrBalance,jdbcType=INTEGER},
attr1 = #{attr1,jdbcType=VARCHAR},
attr2 = #{attr2,jdbcType=VARCHAR},
attr3 = #{attr3,jdbcType=VARCHAR},
attr4 = #{attr4,jdbcType=VARCHAR},
attr5 = #{attr5,jdbcType=VARCHAR}
where id = #{id,jdbcType=DECIMAL}
</update>
<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 gl_balance
where id = #{id,jdbcType=DECIMAL}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from gl_balance
where id = #{id,jdbcType=DECIMAL}
</delete>
</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