@@ -45,7 +51,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sup.f_calendar_date,
sup.f_gov_upload_status,
sup.f_gov_upload_time,
en.enterprise_name as enterpriseName
en.enterprise_name as enterpriseName,
sup.township,
sup.f_plan_yhq,
sup.f_appr_yhq,
sup.f_sup_gas_yhq,
sup.f_storage_yhq
FROM
t_sup_bal_gas_sup sup
LEFT JOIN t_enterprise_info en ON sup.f_company_info_id = en.enterprise_id
...
...
@@ -66,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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>
<iftest="township != null "> and sup.township = #{township}</if>
</where>
order by create_time desc
</select>
...
...
@@ -121,6 +133,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
@@ -65,7 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
da.f_calendar_date,
da.f_gov_upload_status,
da.f_gov_upload_time,
en.enterprise_name AS enterpriseName
en.enterprise_name AS enterpriseName,
da.township
FROM
t_sup_bal_usg_day da
LEFT JOIN t_enterprise_info en ON en.enterprise_id = da.f_company_info_id
...
...
@@ -82,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="beginCurrentMonthDate != null and endCurrentMonthDate != null">and da.f_calendar_date between #{beginCurrentMonthDate} and #{endCurrentMonthDate}</if>
<iftest="fGovUploadStatus != null and fGovUploadStatus != ''"> and da.f_gov_upload_status = #{fGovUploadStatus}</if>
<iftest="fGovUploadTime != null "> and da.f_gov_upload_time = #{fGovUploadTime}</if>
<iftest="township != null "> and da.township = #{township}</if>
</where>
order by f_create_time desc
</select>
...
...
@@ -121,6 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"