Explorar o código

相机台账新增字段

gao.qiang hai 1 ano
pai
achega
c96c22efb7

+ 1 - 1
business-service/src/main/java/com/ozs/entity/BaseCameraManagement.java

@@ -157,7 +157,7 @@ public class BaseCameraManagement extends BaseEntity implements Serializable {
      */
     @Excel(name = "监视方向")
     @TableField(exist = false)
-    private Integer monitoringDirectionName;
+    private String monitoringDirectionName;
 
     /**
      * 所属工务段名称

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

@@ -642,7 +642,7 @@ public class BaseCameraManagementController extends BaseController {
                 List<SysDictData> data = dictTypeService.selectDictDataByType("monitoring_direction");
                 for (SysDictData datum : data) {
                     if (datum.getDictValue().equals(baseCameraManagement.getMonitoringDirection().toString())) {
-                        baseCameraManagement.setMonitoringDirectionName(Integer.valueOf(datum.getDictLabel()));
+                        baseCameraManagement.setMonitoringDirectionName(datum.getDictLabel());
                     }
                 }
             }