Explorar o código

相机台账导入判断

gao.qiang hai 1 ano
pai
achega
b3c49a726a

+ 3 - 0
vehicle-admin/src/main/java/com/ozs/web/controller/accountmanagment/BaseCameraManagementController.java

@@ -633,6 +633,9 @@ public class BaseCameraManagementController extends BaseController {
                 begin = AppendUtils.stringAppend(baseCameraManagement.getBeginMile());
                 baseCameraManagement.setBeginMiles(begin);
             }
+            if (!ObjectUtils.isEmpty(baseCameraManagement.getEnableOrNot())) {
+                baseCameraManagement.setEnableOrNotName(baseCameraManagement.getEnableOrNot() == 1 ? "启用" : "弃用");
+            }
             if (!StringUtils.isEmpty(baseCameraManagement.getMonitoringDirection())) {
                 List<SysDictData> data = dictTypeService.selectDictDataByType("monitoring_direction");
                 for (SysDictData datum : data) {