[6.6.0]一键上报路线为空修改

This commit is contained in:
xuxinchao
2024-09-04 15:10:37 +08:00
parent b1e13814ab
commit a9d33ee362

View File

@@ -78,7 +78,6 @@ class ReportTypeWindow constructor(activity: Activity): IMoGoDevaToolsListener {
private var level1Name: String = ""
private var level2Name: String = ""
private var level3Name: String = ""
private var lineName: String = "" //行驶路线
private val reportType: Int = 1 //上报方式0小程序 1司机屏 2云端上报
private var level: Int = 1
@@ -143,7 +142,7 @@ class ReportTypeWindow constructor(activity: Activity): IMoGoDevaToolsListener {
}
val padProblemList= ArrayList<PadProblemInfo>()
val padProblemInfo = PadProblemInfo(address,faultCodeList,millis2String(System.currentTimeMillis()),level1Id,
level2Id,level3Id,lineName,"${level1Name}-${level2Name}-${level3Name}",reportType,
level2Id,level3Id,BadCaseConfig.lineName,"${level1Name}-${level2Name}-${level3Name}",reportType,
SharedPrefsMgr.getInstance().getString("och_account",""))
padProblemList.add(padProblemInfo)
val padAddProblemReq = PadAddProblemReq(padProblemList, AppConfigInfo.plateNumber)