Commit 7a81d084 authored by EDY's avatar EDY

优化

parent f66a167d
......@@ -25,6 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="cz != null "> and cz = #{cz}</if>
<if test="clyj != null and clyj != ''"> and clyj = #{clyj}</if>
</where>
order by id desc
</select>
<select id="selectBaseContractAuditRecordById" parameterType="Long" resultMap="BaseContractAuditRecordResult">
......
......@@ -24,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="je != null "> and je = #{je}</if>
<if test="ms != null and ms != ''"> and ms = #{ms}</if>
</where>
order by id desc
</select>
<select id="selectBaseContractPeriodsInfoById" parameterType="Long" resultMap="BaseContractPeriodsInfoResult">
......
......@@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="spTime != null "> and sp_time = #{spTime}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
</where>
order by id desc
</select>
<select id="selectBaseInvoiceAuditRecordById" parameterType="Long" resultMap="BaseInvoiceAuditRecordResult">
......
......@@ -86,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="dzhd != null and dzhd != ''"> and dzhd = #{dzhd}</if>
<if test="fpfj != null and fpfj != ''"> and fpfj = #{fpfj}</if>
</where>
order by id desc
</select>
<select id="selectBaseInvoiceInfoById" parameterType="Long" resultMap="BaseInvoiceInfoResult">
......
......@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="yjdzTime != null "> and yjdz_time = #{yjdzTime}</if>
<if test="deleteFlag != null "> and delete_flag = #{deleteFlag}</if>
</where>
order by id desc
</select>
<select id="selectBasePaymentCollectionInfoById" parameterType="Long" resultMap="BasePaymentCollectionInfoResult">
......
......@@ -43,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deleteFlag != null "> and delete_flag = #{deleteFlag}</if>
<if test="bz != null and bz != ''"> and bz = #{bz}</if>
</where>
order by id desc
</select>
<select id="selectBaseSubjectInfoById" parameterType="Long" resultMap="BaseSubjectInfoResult">
......
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