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

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

parent 974a7389
......@@ -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)
......
......@@ -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 字符验证
......
......@@ -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">
......
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