Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
7361f3f7
Commit
7361f3f7
authored
Sep 07, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 基础信息维护-用户管理-燃气用户 大屏展示数据结构 接口联调- 燃气类型封装
parent
3f4a1b16
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
TDetectorUserVillageSafetyDeviceInfoVo.java
...tem/domain/vo/TDetectorUserVillageSafetyDeviceInfoVo.java
+5
-0
TDetectorUserServiceImpl.java
.../zehong/system/service/impl/TDetectorUserServiceImpl.java
+2
-1
TDetectorUserMapper.xml
.../src/main/resources/mapper/system/TDetectorUserMapper.xml
+2
-1
index.vue
...eb/src/views/regulation/userManagement/gasUsers/index.vue
+4
-0
No files found.
zh-baseversion-system/src/main/java/com/zehong/system/domain/vo/TDetectorUserVillageSafetyDeviceInfoVo.java
View file @
7361f3f7
...
@@ -21,6 +21,11 @@ public class TDetectorUserVillageSafetyDeviceInfoVo {
...
@@ -21,6 +21,11 @@ public class TDetectorUserVillageSafetyDeviceInfoVo {
*/
*/
private
String
userType
;
private
String
userType
;
/**
* 燃气类型(0-天然气,1-液化气)
*/
private
String
gasType
;
/**
/**
* 燃气用户名称
* 燃气用户名称
*/
*/
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TDetectorUserServiceImpl.java
View file @
7361f3f7
...
@@ -287,6 +287,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
...
@@ -287,6 +287,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
userListItem
.
put
(
"phone"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getPhone
());
userListItem
.
put
(
"phone"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getPhone
());
userListItem
.
put
(
"address"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getAddress
());
userListItem
.
put
(
"address"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getAddress
());
userListItem
.
put
(
"longitude"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserLongitude
());
userListItem
.
put
(
"longitude"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserLongitude
());
userListItem
.
put
(
"gasType"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getGasType
());
userListItem
.
put
(
"latitude"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserLatitude
());
userListItem
.
put
(
"latitude"
,
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserLatitude
());
if
(
"2"
.
equals
(
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserType
()))
{
if
(
"2"
.
equals
(
tDetectorUserVillageSafetyDeviceInfoVo
.
getUserType
()))
{
userListItem
.
put
(
"iconType"
,
"61"
);
userListItem
.
put
(
"iconType"
,
"61"
);
...
@@ -316,6 +317,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
...
@@ -316,6 +317,7 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
userListItem
.
put
(
"address"
,
value2
.
get
(
0
).
getAddress
()
==
null
?
""
:
value2
.
get
(
0
).
getAddress
());
userListItem
.
put
(
"address"
,
value2
.
get
(
0
).
getAddress
()
==
null
?
""
:
value2
.
get
(
0
).
getAddress
());
userListItem
.
put
(
"longitude"
,
value2
.
get
(
0
).
getUserLongitude
()
==
null
?
""
:
value2
.
get
(
0
).
getUserLongitude
());
userListItem
.
put
(
"longitude"
,
value2
.
get
(
0
).
getUserLongitude
()
==
null
?
""
:
value2
.
get
(
0
).
getUserLongitude
());
userListItem
.
put
(
"latitude"
,
value2
.
get
(
0
).
getUserLatitude
()
==
null
?
""
:
value2
.
get
(
0
).
getUserLatitude
());
userListItem
.
put
(
"latitude"
,
value2
.
get
(
0
).
getUserLatitude
()
==
null
?
""
:
value2
.
get
(
0
).
getUserLatitude
());
userListItem
.
put
(
"gasType"
,
value2
.
get
(
0
).
getGasType
()
==
null
?
""
:
value2
.
get
(
0
).
getGasType
());
if
(
value2
.
get
(
0
).
getUserType
()
!=
null
&&
"2"
.
equals
(
value2
.
get
(
0
).
getUserType
()))
{
if
(
value2
.
get
(
0
).
getUserType
()
!=
null
&&
"2"
.
equals
(
value2
.
get
(
0
).
getUserType
()))
{
userListItem
.
put
(
"iconType"
,
"61"
);
userListItem
.
put
(
"iconType"
,
"61"
);
}
else
if
(
value2
.
get
(
0
).
getUserType
()
!=
null
&&
"4"
.
equals
(
value2
.
get
(
0
).
getUserType
()))
{
}
else
if
(
value2
.
get
(
0
).
getUserType
()
!=
null
&&
"4"
.
equals
(
value2
.
get
(
0
).
getUserType
()))
{
...
@@ -341,7 +343,6 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
...
@@ -341,7 +343,6 @@ public class TDetectorUserServiceImpl implements ITDetectorUserService
safetyDeviceMapList
.
add
(
safetyDeviceMapItem
);
safetyDeviceMapList
.
add
(
safetyDeviceMapItem
);
}
}
}
}
}
}
}
}
}
}
...
...
zh-baseversion-system/src/main/resources/mapper/system/TDetectorUserMapper.xml
View file @
7361f3f7
...
@@ -309,11 +309,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -309,11 +309,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
dUser.longitude as userLongitude,
dUser.longitude as userLongitude,
dUser.latitude as userLatitude,
dUser.latitude as userLatitude,
dUser.user_type as userType,
dUser.user_type as userType,
dUser.gas_type as gasType,
userVillage.f_village_id as villageId,
userVillage.f_village_id as villageId,
userVillage.f_village_name as villageName,
userVillage.f_village_name as villageName,
userVillage.longitude,
userVillage.longitude,
userVillage.latitude,
userVillage.latitude,
region.f_name AS regionName
,
region.f_name AS regionName,
safetyDeviceInfo.f_gasUser_safety_device_id as gasUserSafetyDeviceId,
safetyDeviceInfo.f_gasUser_safety_device_id as gasUserSafetyDeviceId,
safetyDeviceInfo.f_iot_no as iotNo,
safetyDeviceInfo.f_iot_no as iotNo,
safetyDeviceInfo.f_device_name as deviceName,
safetyDeviceInfo.f_device_name as deviceName,
...
...
zh-baseversion-web/src/views/regulation/userManagement/gasUsers/index.vue
View file @
7361f3f7
...
@@ -589,6 +589,10 @@ export default {
...
@@ -589,6 +589,10 @@ export default {
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
},
// { min: 0, max: 30, message: "长度30位", trigger: "blur" },
// { min: 0, max: 30, message: "长度30位", trigger: "blur" },
],
],
gasType
:
[
{
required
:
true
,
message
:
"请选择燃气类型"
,
trigger
:
"blur"
},
// { min: 0, max: 30, message: "长度30位", trigger: "blur" },
],
},
},
//关联设备下级数据 表单校验
//关联设备下级数据 表单校验
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment