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
086d6e0f
Commit
086d6e0f
authored
Jul 22, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1be4d6f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
src/main/java/com/ruoyi/project/zjsgfa/domain/SjDjjc.java
+3
-0
src/main/resources/mybatis/zjsgfa/SjDjjcMapper.xml
+6
-1
No files found.
src/main/java/com/ruoyi/project/zjsgfa/domain/SjDjjc.java
View file @
086d6e0f
...
@@ -34,6 +34,8 @@ public class SjDjjc extends BaseEntity
...
@@ -34,6 +34,8 @@ public class SjDjjc extends BaseEntity
/** 井型 */
/** 井型 */
@Excel
(
name
=
"井型"
)
@Excel
(
name
=
"井型"
)
private
String
jx
;
private
String
jx
;
@Excel
(
name
=
"区块"
)
private
String
qk
;
/** 井口横坐标 */
/** 井口横坐标 */
@Excel
(
name
=
"井口横坐标"
)
@Excel
(
name
=
"井口横坐标"
)
...
@@ -63,6 +65,7 @@ public class SjDjjc extends BaseEntity
...
@@ -63,6 +65,7 @@ public class SjDjjc extends BaseEntity
@Excel
(
name
=
"完井方法"
)
@Excel
(
name
=
"完井方法"
)
private
String
wjfa
;
private
String
wjfa
;
/** 创建人 */
/** 创建人 */
@Excel
(
name
=
"创建人"
)
@Excel
(
name
=
"创建人"
)
private
String
createdBy
;
private
String
createdBy
;
...
...
src/main/resources/mybatis/zjsgfa/SjDjjcMapper.xml
View file @
086d6e0f
...
@@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"jdhzb"
column=
"jdhzb"
/>
<result
property=
"jdhzb"
column=
"jdhzb"
/>
<result
property=
"jdzzb"
column=
"jdzzb"
/>
<result
property=
"jdzzb"
column=
"jdzzb"
/>
<result
property=
"zt"
column=
"zt"
/>
<result
property=
"zt"
column=
"zt"
/>
<result
property=
"qk"
column=
"qk"
/>
</resultMap>
</resultMap>
<sql
id=
"selectSjDjjcVo"
>
<sql
id=
"selectSjDjjcVo"
>
select id, jh, jb, jx, jkhzb, jkzzb, gzwz, wzcw, ztmd, wzyz, wjfa, created_by, created_time, update_by, update_time, zjgs, zjd, jdhzb, jdzzb, zt from sj_djjc
select id, jh, jb, jx, jkhzb, jkzzb, gzwz, wzcw, ztmd, wzyz, wjfa, created_by, created_time, update_by, update_time, zjgs, zjd, jdhzb, jdzzb, zt
,qk
from sj_djjc
</sql>
</sql>
<select
id=
"selectSjDjjcList"
parameterType=
"SjDjjc"
resultMap=
"SjDjjcResult"
>
<select
id=
"selectSjDjjcList"
parameterType=
"SjDjjc"
resultMap=
"SjDjjcResult"
>
...
@@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"jh != null and jh != ''"
>
and jh like concat('%', #{jh}, '%')
</if>
<if
test=
"jh != null and jh != ''"
>
and jh like concat('%', #{jh}, '%')
</if>
<if
test=
"jb != null and jb != ''"
>
and jb like concat('%', #{jb}, '%')
</if>
<if
test=
"jb != null and jb != ''"
>
and jb like concat('%', #{jb}, '%')
</if>
<if
test=
"jx != null and jx != ''"
>
and jx like concat('%', #{jx}, '%')
</if>
<if
test=
"jx != null and jx != ''"
>
and jx like concat('%', #{jx}, '%')
</if>
<if
test=
"qk != null and qk != ''"
>
and qk like concat('%', #{qk}, '%')
</if>
<if
test=
"jkhzb != null "
>
and jkhzb >= #{jkhzb}
</if>
<if
test=
"jkhzb != null "
>
and jkhzb >= #{jkhzb}
</if>
<if
test=
"jkzzb != null "
>
and jkzzb
<
= #{jkzzb}
</if>
<if
test=
"jkzzb != null "
>
and jkzzb
<
= #{jkzzb}
</if>
<if
test=
"gzwz != null and gzwz != ''"
>
and gzwz = #{gzwz}
</if>
<if
test=
"gzwz != null and gzwz != ''"
>
and gzwz = #{gzwz}
</if>
...
@@ -85,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -85,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"jdhzb != null"
>
jdhzb,
</if>
<if
test=
"jdhzb != null"
>
jdhzb,
</if>
<if
test=
"jdzzb != null"
>
jdzzb,
</if>
<if
test=
"jdzzb != null"
>
jdzzb,
</if>
<if
test=
"zt != null"
>
zt,
</if>
<if
test=
"zt != null"
>
zt,
</if>
<if
test=
"qk != null"
>
qk,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
<if
test=
"jh != null"
>
#{jh},
</if>
...
@@ -106,6 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -106,6 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"jdhzb != null"
>
#{jdhzb},
</if>
<if
test=
"jdhzb != null"
>
#{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
#{jdzzb},
</if>
<if
test=
"jdzzb != null"
>
#{jdzzb},
</if>
<if
test=
"zt != null"
>
#{zt},
</if>
<if
test=
"zt != null"
>
#{zt},
</if>
<if
test=
"qk != null"
>
#{qk},
</if>
</trim>
</trim>
</insert>
</insert>
...
@@ -130,6 +134,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -130,6 +134,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"jdhzb != null"
>
jdhzb = #{jdhzb},
</if>
<if
test=
"jdhzb != null"
>
jdhzb = #{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
jdzzb = #{jdzzb},
</if>
<if
test=
"jdzzb != null"
>
jdzzb = #{jdzzb},
</if>
<if
test=
"zt != null"
>
zt = #{zt},
</if>
<if
test=
"zt != null"
>
zt = #{zt},
</if>
<if
test=
"qk != null"
>
qk = #{qk},
</if>
</trim>
</trim>
where jh = #{jh}
where jh = #{jh}
</update>
</update>
...
...
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