Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
3ac4f7f6
Commit
3ac4f7f6
authored
Mar 08, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检签到-图片上传地址-新增权限
parent
974a7389
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
TPatrolCheckInController.java
...eb/controller/patrolCheckIn/TPatrolCheckInController.java
+1
-1
application-test.yml
gassafety-admin/src/main/resources/application-test.yml
+1
-1
TPatrolCheckInMapper.xml
...src/main/resources/mapper/system/TPatrolCheckInMapper.xml
+1
-0
No files found.
gassafety-admin/src/main/java/com/zehong/web/controller/patrolCheckIn/TPatrolCheckInController.java
View file @
3ac4f7f6
...
...
@@ -72,7 +72,7 @@ public class TPatrolCheckInController extends BaseController
/**
* 新增巡检签到
*/
@PreAuthorize
(
"@ss.hasPermi('system:in:add')"
)
//
@PreAuthorize("@ss.hasPermi('system:in:add')")
@Log
(
title
=
"巡检签到"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TPatrolCheckIn
tPatrolCheckIn
)
...
...
gassafety-admin/src/main/resources/application-test.yml
View file @
3ac4f7f6
...
...
@@ -90,7 +90,7 @@ zehong:
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/zehong/uploadPath,Linux配置 /data/zehong/uploadPath)
profile
:
C:/Temp/zehong
profile
:
/data/zehong/uploadPath
# 获取ip地址开关
addressEnabled
:
false
# 验证码类型 math 数组计算 char 字符验证
...
...
gassafety-system/src/main/resources/mapper/system/TPatrolCheckInMapper.xml
View file @
3ac4f7f6
...
...
@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"latitude != null "
>
and patrol.latitude = #{latitude}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and patrol.is_del = #{isDel}
</if>
</where>
ORDER BY patrol.report_time DESC
</select>
<select
id=
"selectTPatrolCheckInById"
parameterType=
"Long"
resultMap=
"TPatrolCheckInResult"
>
...
...
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