@@ -41,6 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sup.is_del,
sup.remarks,
sup.f_calendar_date,
sup.f_gov_upload_status,
sup.f_gov_upload_time,
en.enterprise_name as enterpriseName
FROM
t_sup_bal_gas_sup sup
...
...
@@ -56,9 +60,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="fSupGasVol != null "> and sup.f_sup_gas_vol = #{fSupGasVol}</if>
<iftest="fStorageVol != null "> and sup.f_storage_vol = #{fStorageVol}</if>
<iftest="fRepStatus != null and fRepStatus != ''"> and sup.f_rep_status = #{fRepStatus}</if>
<iftest="beginRepDate != null and endRepDate != null">and sup.f_rep_date between #{beginRepDate} and #{endRepDate}</if>
<iftest="beginRepDate != null and endRepDate != null">and sup.f_gov_upload_time between #{beginRepDate} and #{endRepDate}</if>
<iftest="enterpriseName != null and enterpriseName != ''"> and en.enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<iftest="calendarDate != null"> and f_calendar_date = #{calendarDate}</if>
<iftest="beginCurrentMonthDate != null and endCurrentMonthDate != null">and sup.f_calendar_date between #{beginCurrentMonthDate} and #{endCurrentMonthDate}</if>
<iftest="fGovUploadStatus != null and fGovUploadStatus != ''"> and sup.f_gov_upload_status = #{fGovUploadStatus}</if>
<iftest="fGovUploadTime != null "> and sup.f_gov_upload_time = #{fGovUploadTime}</if>
</where>
</select>
...
...
@@ -108,6 +115,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"