Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 17b0b13b
authored
Mar 18, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单标准接口-修改权限类型
1 parent
fbcf7f19
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
src/main/java/cn/com/glsx/stdinterface/modules/entity/VehiclePermit.java
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/stdinterface/modules/service/ZhongliVehicleService.java
src/main/resources/mapper/VehiclePermitMapper.xml
src/main/java/cn/com/glsx/stdinterface/modules/entity/VehiclePermit.java
View file @
17b0b13
...
@@ -35,9 +35,9 @@ public class VehiclePermit extends BaseEntity {
...
@@ -35,9 +35,9 @@ public class VehiclePermit extends BaseEntity {
private
Integer
contentType
;
private
Integer
contentType
;
/**
/**
* 权限类型
0=读写 1=
只读
* 权限类型
rw读写 r
只读
*/
*/
@Column
(
name
=
"permit_type"
)
@Column
(
name
=
"permit_type"
)
private
Integer
permitType
;
private
String
permitType
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
View file @
17b0b13
...
@@ -1009,7 +1009,7 @@ public class WorkOrderService {
...
@@ -1009,7 +1009,7 @@ public class WorkOrderService {
}
}
/**
/**
* 激活工单信息,激活是以车为单位,不是以工单,一个工单
可以包含多
辆车
* 激活工单信息,激活是以车为单位,不是以工单,一个工单
包含一
辆车
*
*
* @param orderReq
* @param orderReq
*/
*/
...
...
src/main/java/cn/com/glsx/stdinterface/modules/service/ZhongliVehicleService.java
View file @
17b0b13
...
@@ -74,7 +74,7 @@ public class ZhongliVehicleService {
...
@@ -74,7 +74,7 @@ public class ZhongliVehicleService {
vp
.
setAccorderId
(
zlgj
.
getUserId
());
vp
.
setAccorderId
(
zlgj
.
getUserId
());
vp
.
setReceiverId
(
account
.
getUserId
());
vp
.
setReceiverId
(
account
.
getUserId
());
vp
.
setContentType
(
0
);
vp
.
setContentType
(
0
);
vp
.
setPermitType
(
1
);
vp
.
setPermitType
(
"r"
);
vp
.
setCreatedDate
(
new
Date
());
vp
.
setCreatedDate
(
new
Date
());
permitList
.
add
(
vp
);
permitList
.
add
(
vp
);
});
});
...
...
src/main/resources/mapper/VehiclePermitMapper.xml
View file @
17b0b13
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<result
column=
"accorder_id"
jdbcType=
"INTEGER"
property=
"accorderId"
/>
<result
column=
"accorder_id"
jdbcType=
"INTEGER"
property=
"accorderId"
/>
<result
column=
"receiver_id"
jdbcType=
"INTEGER"
property=
"receiverId"
/>
<result
column=
"receiver_id"
jdbcType=
"INTEGER"
property=
"receiverId"
/>
<result
column=
"content_type"
jdbcType=
"TINYINT"
property=
"contentType"
/>
<result
column=
"content_type"
jdbcType=
"TINYINT"
property=
"contentType"
/>
<result
column=
"permit_type"
jdbcType=
"
TINYINT
"
property=
"permitType"
/>
<result
column=
"permit_type"
jdbcType=
"
VARCHAR
"
property=
"permitType"
/>
<result
column=
"del_flag"
jdbcType=
"TINYINT"
property=
"delFlag"
/>
<result
column=
"del_flag"
jdbcType=
"TINYINT"
property=
"delFlag"
/>
<result
column=
"created_date"
jdbcType=
"TIMESTAMP"
property=
"createdDate"
/>
<result
column=
"created_date"
jdbcType=
"TIMESTAMP"
property=
"createdDate"
/>
<result
column=
"created_by"
jdbcType=
"INTEGER"
property=
"createdBy"
/>
<result
column=
"created_by"
jdbcType=
"INTEGER"
property=
"createdBy"
/>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment