wl
2022-09-20 4e260f558428dd81c4dd8981a965cdaa0ebf12de
ycl-common/src/main/resources/mapper/platform/zf/EnforcelawReportMapper.xml
@@ -42,4 +42,25 @@
        id, infoResoure, acceptor, problemTypes, category, county, street, afAddr, informer, contact, reason, problemDesc, lawOfficer, partiesName, partiesID, partiesPhone, idPositiveImage, idNegativeImage, illegalBuildLocation, illegalBuildLength, illegalBuildWidth, illegalBuildHigh, illegalBuildMaterials, IllegalPhotos, rectifidPhotos, accessory, disposeRemark, inspectors, status, cTime, community
    </sql>
    <select id="selectPageVo" resultType="com.ycl.entity.platform.zf.EnforcelawReport">
        SELECT * FROM ums_enforcelaw_report
            <where>
                <if test="community!=null and community!=''" >
                    community=#{community}
                </if>
                <if test="status!=null and status!=''" >
                    status=#{status}
                </if>
                <if test="partiesName!=null and partiesName!=''" >
                    partiesName=#{partiesName}
                </if>
                <if test="partiesID!=null and partiesID!=''" >
                    partiesID=#{partiesID}
                </if>
                <if test="startTime!=null and startTime!=''and endTime!=null and endTime!=''" >
                    ctime between #{startTime} and #{endTime}
                </if>
            </where>
    </select>
</mapper>