fix(): 封闭区域统计数据权限和海康进出方向
parent
4b7358ab1d
commit
ce72b5e920
|
|
@ -52,7 +52,7 @@ public class HkAccessRecordDO extends BaseDO {
|
||||||
@ApiModelProperty(value = "门禁点所属区域编码", name = "doorRegionIndexCode")
|
@ApiModelProperty(value = "门禁点所属区域编码", name = "doorRegionIndexCode")
|
||||||
private String doorRegionIndexCode;
|
private String doorRegionIndexCode;
|
||||||
|
|
||||||
@ApiModelProperty(value = "进出方向(1-进,2-出)", name = "enterOrExit", allowableValues = "1,2")
|
@ApiModelProperty(value = "进出方向(1-进,0-出,-1-未知)", name = "enterOrExit", allowableValues = "1,0,-1")
|
||||||
private Integer enterOrExit;
|
private Integer enterOrExit;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开门结果(1-成功,0-失败)", name = "openResult", allowableValues = "0,1")
|
@ApiModelProperty(value = "开门结果(1-成功,0-失败)", name = "openResult", allowableValues = "0,1")
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ public class HkVehicleAccessRecordDO extends BaseDO {
|
||||||
@ApiModelProperty(value = "出入口名称", name = "entranceName")
|
@ApiModelProperty(value = "出入口名称", name = "entranceName")
|
||||||
private String entranceName;
|
private String entranceName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "进出方向(1-进,2-出)", name = "enterOrExit", allowableValues = "1,2")
|
@ApiModelProperty(value = "进出方向(0-进,1-出)", name = "enterOrExit", allowableValues = "0,1")
|
||||||
private Integer enterOrExit;
|
private Integer enterOrExit;
|
||||||
|
|
||||||
@ApiModelProperty(value = "事件发生时间(通行时间)", name = "eventTime")
|
@ApiModelProperty(value = "事件发生时间(通行时间)", name = "eventTime")
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import java.util.Map;
|
||||||
@Mapper
|
@Mapper
|
||||||
@DataScopes({
|
@DataScopes({
|
||||||
@DataScope(method = "listPage", menuPerms = ""),
|
@DataScope(method = "listPage", menuPerms = ""),
|
||||||
@DataScope(method = "listPositionCount", menuPerms = "")
|
@DataScope(method = "listPositionCount", menuPerms = "fgs-qu-yu-ren-yuan-ji-che-liang-tong-ji")
|
||||||
})
|
})
|
||||||
public interface ClosedAreaMapper extends BaseMapper<ClosedAreaDO> {
|
public interface ClosedAreaMapper extends BaseMapper<ClosedAreaDO> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -148,6 +148,7 @@ public class TwoPersonUtil {
|
||||||
JSONObject subResources = HKDeviceUtil.getSubResources();
|
JSONObject subResources = HKDeviceUtil.getSubResources();
|
||||||
JSONArray doorList = subResources.getJSONObject("data").getJSONArray("list");
|
JSONArray doorList = subResources.getJSONObject("data").getJSONArray("list");
|
||||||
System.out.println("查询到门禁点数量: " + doorList.size());
|
System.out.println("查询到门禁点数量: " + doorList.size());
|
||||||
|
System.out.println("查询到门禁点列表: " + doorList);
|
||||||
String testDoorIndexCode = null;
|
String testDoorIndexCode = null;
|
||||||
String testDoorName = null;
|
String testDoorName = null;
|
||||||
if (!doorList.isEmpty()) {
|
if (!doorList.isEmpty()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue