@@ -59,6 +62,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
da.f_create_time,
da.f_update_time,
da.f_report_status,
da.f_calendar_date,
da.f_gov_upload_status,
da.f_gov_upload_time,
en.enterprise_name AS enterpriseName
FROM
t_sup_bal_usg_day da
...
...
@@ -69,9 +75,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<includerefid="selectTSupBalUsgDayVo"/>
<where>
<iftest="fCompanyInfoId != null and fCompanyInfoId != ''"> and da.f_company_info_id = #{fCompanyInfoId}</if>
<iftest="beginRepDate != null and endRepDate != null">and da.f_report_time between #{beginRepDate} and #{endRepDate}</if>
<iftest="beginRepDate != null and endRepDate != null">and da.f_gov_upload_time between #{beginRepDate} and #{endRepDate}</if>
<iftest="fReportStatus != null and fReportStatus != ''">da.f_report_status = #{fReportStatus}</if>
<iftest="enterpriseName != null and enterpriseName != ''"> and en.enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<iftest="fCalendarDate != null"> and f_calendar_date = #{fCalendarDate}</if>
<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>
</where>
order by f_create_time desc
</select>
...
...
@@ -108,6 +118,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="fCreateTime != null and fCreateTime != ''">f_create_time,</if>
<iftest="fUpdateTime != null">f_update_time,</if>
<iftest="fReportStatus != null and fReportStatus != ''">f_report_status,</if>