青羊经侦大队-数据平台
ok
baizonghao
2023-03-21 13c0e173eeaede98217ecca45f09c74a863f3175
src/main/resources/mapper/ReportDao.xml
@@ -25,7 +25,7 @@
            <if test="reportParamDto.isInGroup != null">
                and r.is_in_group = ${reportParamDto.isInGroup}
            </if>
        and  r.status = 0
        and  (r.status = 0 or r.status = 2)
        </where>
        order by  r.ctime DESC
    </select>
@@ -101,5 +101,12 @@
        GROUP BY
            t2.group_id
    </select>
    <select id="selectReportByReportId" resultType="com.example.jz.modle.entity.Report">
        SELECT
            *
        FROM
            `report`
        WHERE id =#{id}
    </select>
</mapper>