派生自 development/c++

chenshijun
2019-03-21 55337c3876fa54863463ab7c30a7ed0fcb3c88e5
QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.cpp
@@ -117,14 +117,14 @@
    } else {
        auto lst = m_lDBTool->searchCamDevTableAll();
        auto lst = m_lDBTool->searchCamDevTableByType(0);
        appPref.setIntData("n_cut_max_duration", lst_dev.n_cut_max_duration);
        appPref.setIntData("n_cut_min_duration", lst_dev.n_cut_min_duration);
        if (lst.size() > 0) {
            Json::Value json;
            int startCamNO = appPref.getIntData("CamStart") * appPref.getIntData("CamStep");
            int CamCount = appPref.getIntData("CamStep");
            int startCamNO = appPref.getIntData("CamStartNO");
            int CamCount = appPref.getIntData("CamEndNO") - appPref.getIntData("CamStartNO") + 1;
            auto itor = lst.begin();
            if (startCamNO >= lst.size()) {