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
f350e075
Commit
f350e075
authored
Oct 15, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b21cf117
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletions
+30
-1
src/main/java/com/zjsgfa/project/zjsgfa/domain/SjZjcsxx.java
+9
-0
src/main/resources/mybatis/zjsgfa/SjZjcsxxMapper.xml
+21
-1
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/domain/SjZjcsxx.java
View file @
f350e075
package
com
.
zjsgfa
.
project
.
zjsgfa
.
domain
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zjsgfa.framework.aspectj.lang.annotation.Excel
;
...
...
@@ -11,6 +12,7 @@ import com.zjsgfa.framework.web.domain.BaseEntity;
* @author
* @date 2025-08-18
*/
@Data
public
class
SjZjcsxx
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -58,17 +60,24 @@ public class SjZjcsxx extends BaseEntity
@Excel
(
name
=
"钻进钻压"
)
private
String
zjzy
;
private
String
zjzysx
;
/** 钻进转速 */
@Excel
(
name
=
"钻进转速"
)
private
String
zjzs
;
private
String
zjzssx
;
/** 批量 */
@Excel
(
name
=
"批量"
)
private
String
zjpl
;
private
String
zjplsx
;
/** 泵压 */
@Excel
(
name
=
"泵压"
)
private
String
zjby
;
private
String
zjbysx
;
/** 缸套直径 */
@Excel
(
name
=
"缸套直径"
)
...
...
src/main/resources/mybatis/zjsgfa/SjZjcsxxMapper.xml
View file @
f350e075
...
...
@@ -20,10 +20,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"zjpl"
column=
"zjpl"
/>
<result
property=
"zjby"
column=
"zjby"
/>
<result
property=
"gtzj"
column=
"gtzj"
/>
<result
property=
"zjzysx"
column=
"zjzysx"
/>
<result
property=
"zjzssx"
column=
"zjzssx"
/>
<result
property=
"zjplsx"
column=
"zjplsx"
/>
<result
property=
"zjbysx"
column=
"zjbysx"
/>
</resultMap>
<sql
id=
"selectSjZjcsxxVo"
>
select id, jh, kc, jd, ztxh, cj, cc, sy, yj, zjymd, zjzy, zjzs, zjpl, zjby, gtzj from sj_zjcsxx
select id, jh, kc, jd, ztxh, cj, cc, sy, yj, zjymd, zjzy, zjzs, zjpl, zjby, gtzj
,zjzysx, zjzssx, zjplsx, zjbysx
from sj_zjcsxx
</sql>
<select
id=
"selectSjZjcsxxList"
parameterType=
"SjZjcsxx"
resultMap=
"SjZjcsxxResult"
>
...
...
@@ -43,6 +47,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"zjpl != null and zjpl != ''"
>
and zjpl = #{zjpl}
</if>
<if
test=
"zjby != null and zjby != ''"
>
and zjby = #{zjby}
</if>
<if
test=
"gtzj != null and gtzj != ''"
>
and gtzj = #{gtzj}
</if>
<if
test=
"zjzysx != null and zjzysx != ''"
>
and zjzysx = #{zjzysx}
</if>
<if
test=
"zjzssx != null and zjzssx != ''"
>
and zjzssx = #{zjzssx}
</if>
<if
test=
"zjplsx != null and zjplsx != ''"
>
and zjplsx = #{zjplsx}
</if>
<if
test=
"zjbysx != null and zjbysx != ''"
>
and zjbysx = #{zjbysx}
</if>
</where>
</select>
...
...
@@ -68,6 +76,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"zjpl != null"
>
zjpl,
</if>
<if
test=
"zjby != null"
>
zjby,
</if>
<if
test=
"gtzj != null"
>
gtzj,
</if>
<if
test=
"zjzysx != null"
>
zjzysx,
</if>
<if
test=
"zjzssx != null"
>
zjzssx,
</if>
<if
test=
"zjplsx != null"
>
zjplsx,
</if>
<if
test=
"zjbysx != null"
>
zjbysx,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
...
...
@@ -84,6 +96,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"zjpl != null"
>
#{zjpl},
</if>
<if
test=
"zjby != null"
>
#{zjby},
</if>
<if
test=
"gtzj != null"
>
#{gtzj},
</if>
<if
test=
"zjzysx != null"
>
#{zjzysx},
</if>
<if
test=
"zjzssx != null"
>
#{zjzssx},
</if>
<if
test=
"zjplsx != null"
>
#{zjplsx},
</if>
<if
test=
"zjbysx != null"
>
#{zjbysx},
</if>
</trim>
</insert>
...
...
@@ -104,6 +120,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"zjpl != null"
>
zjpl = #{zjpl},
</if>
<if
test=
"zjby != null"
>
zjby = #{zjby},
</if>
<if
test=
"gtzj != null"
>
gtzj = #{gtzj},
</if>
<if
test=
"zjzysx != null"
>
zjzysx = #{zjzysx},
</if>
<if
test=
"zjzssx != null"
>
zjzssx = #{zjzssx},
</if>
<if
test=
"zjplsx != null"
>
zjplsx = #{zjplsx},
</if>
<if
test=
"zjbysx != null"
>
zjbysx = #{zjbysx}
</if>
</trim>
where id = #{id}
</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