Commit 3ac4f7f6 authored by 耿迪迪's avatar 耿迪迪

巡检签到-图片上传地址-新增权限

parent 974a7389
...@@ -72,7 +72,7 @@ public class TPatrolCheckInController extends BaseController ...@@ -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) @Log(title = "巡检签到", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody TPatrolCheckIn tPatrolCheckIn) public AjaxResult add(@RequestBody TPatrolCheckIn tPatrolCheckIn)
......
...@@ -90,7 +90,7 @@ zehong: ...@@ -90,7 +90,7 @@ zehong:
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径 示例( Windows配置D:/zehong/uploadPath,Linux配置 /data/zehong/uploadPath) # 文件路径 示例( Windows配置D:/zehong/uploadPath,Linux配置 /data/zehong/uploadPath)
profile: C:/Temp/zehong profile: /data/zehong/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数组计算 char 字符验证 # 验证码类型 math 数组计算 char 字符验证
......
...@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="latitude != null "> and patrol.latitude = #{latitude}</if> <if test="latitude != null "> and patrol.latitude = #{latitude}</if>
<if test="isDel != null and isDel != ''"> and patrol.is_del = #{isDel}</if> <if test="isDel != null and isDel != ''"> and patrol.is_del = #{isDel}</if>
</where> </where>
ORDER BY patrol.report_time DESC
</select> </select>
<select id="selectTPatrolCheckInById" parameterType="Long" resultMap="TPatrolCheckInResult"> <select id="selectTPatrolCheckInById" parameterType="Long" resultMap="TPatrolCheckInResult">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment