sinake
8 天以前 c8fceb65958a1992d5b6df13f209a9da5ac121a1
ruoyi-project/src/main/resources/mapper/project/ServiceTransportMapper.xml
@@ -101,4 +101,12 @@
        </where>
    </select>
    <select id="totalState" parameterType="com.ruoyi.project.domain.ServiceTransport" resultType="map">
        SELECT transit_status,COUNT(transit_status) as count FROM service_Transport
        <where>
            <if test="notAdminId != null  and notAdminId != ''">and create_by = #{notAdminId}</if>
        </where>
        GROUP BY transit_status
    </select>
</mapper>