Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjsgfa_mysql
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
zjsgfa_mysql
Commits
8276f673
Commit
8276f673
authored
Sep 22, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a70101d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/main/java/com/zjsgfa/project/zjsgfa/controller/ClYxsjController.java
+6
-6
src/main/resources/mybatis/zjsgfa/ClYxsjMapper.xml
+3
-3
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/controller/ClYxsjController.java
View file @
8276f673
...
...
@@ -37,7 +37,7 @@ public class ClYxsjController extends BaseController
/**
* 查询常量-岩性数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:list')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:list')")
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
ClYxsj
clYxsj
)
{
...
...
@@ -49,7 +49,7 @@ public class ClYxsjController extends BaseController
/**
* 导出常量-岩性数据列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:export')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:export')")
@Log
(
title
=
"常量-岩性数据"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
ClYxsj
clYxsj
)
...
...
@@ -62,7 +62,7 @@ public class ClYxsjController extends BaseController
/**
* 获取常量-岩性数据详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:query')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:query')")
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
...
...
@@ -72,7 +72,7 @@ public class ClYxsjController extends BaseController
/**
* 新增常量-岩性数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:add')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:add')")
@Log
(
title
=
"常量-岩性数据"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
ClYxsj
clYxsj
)
...
...
@@ -83,7 +83,7 @@ public class ClYxsjController extends BaseController
/**
* 修改常量-岩性数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:edit')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:edit')")
@Log
(
title
=
"常量-岩性数据"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
ClYxsj
clYxsj
)
...
...
@@ -94,7 +94,7 @@ public class ClYxsjController extends BaseController
/**
* 删除常量-岩性数据
*/
@PreAuthorize
(
"@ss.hasPermi('system:clYxsj:remove')"
)
//
@PreAuthorize("@ss.hasPermi('system:clYxsj:remove')")
@Log
(
title
=
"常量-岩性数据"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
...
...
src/main/resources/mybatis/zjsgfa/ClYxsjMapper.xml
View file @
8276f673
...
...
@@ -28,12 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectClYxsjList"
parameterType=
"ClYxsj"
resultMap=
"ClYxsjResult"
>
<include
refid=
"selectClYxsjVo"
/>
<where>
<if
test=
"dzfc != null and dzfc != ''"
>
and dzfc
= #{dzfc}
</if>
<if
test=
"dzfc != null and dzfc != ''"
>
and dzfc
like concat('%', #{dzfc}, '%')
</if>
<if
test=
"dcdh != null and dcdh != ''"
>
and dcdh = #{dcdh}
</if>
<if
test=
"jcm != null and jcm != ''"
>
and jcm = #{jcm}
</if>
<if
test=
"zyyx != null and zyyx != ''"
>
and zyyx
= #{zyyx}
</if>
<if
test=
"zyyx != null and zyyx != ''"
>
and zyyx
like concat('%', #{zyyx}, '%')
</if>
<if
test=
"yxms != null and yxms != ''"
>
and yxms = #{yxms}
</if>
<if
test=
"tsyx != null and tsyx != ''"
>
and tsyx
= #{tsyx}
</if>
<if
test=
"tsyx != null and tsyx != ''"
>
and tsyx
like concat('%', #{tsyx}, '%')
</if>
<if
test=
"zxhd != null and zxhd != ''"
>
and zxhd = #{zxhd}
</if>
<if
test=
"zdhd != null and zdhd != ''"
>
and zdhd = #{zdhd}
</if>
<if
test=
"bz != null and bz != ''"
>
and bz = #{bz}
</if>
...
...
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