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
90e91349
Commit
90e91349
authored
Jul 16, 2025
by
jiang'yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8d1060dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
1 deletions
+53
-1
src/main/java/com/ruoyi/project/zjsgfa/domain/SjDjjc.java
+27
-0
src/main/resources/mybatis/zjsgfa/SjDjjcMapper.xml
+26
-1
No files found.
src/main/java/com/ruoyi/project/zjsgfa/domain/SjDjjc.java
View file @
90e91349
...
...
@@ -3,6 +3,7 @@ package com.ruoyi.project.zjsgfa.domain;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.ruoyi.framework.aspectj.lang.annotation.Excel
;
...
...
@@ -14,6 +15,7 @@ import com.ruoyi.framework.web.domain.BaseEntity;
* @author ruoyi
* @date 2025-06-23
*/
@Data
public
class
SjDjjc
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -65,11 +67,36 @@ public class SjDjjc extends BaseEntity
@Excel
(
name
=
"创建人"
)
private
String
createdBy
;
/** 创建时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"创建时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
createdTime
;
/** 钻井公司 */
@Excel
(
name
=
"钻井公司"
)
private
String
zjgs
;
/** 钻井队 */
@Excel
(
name
=
"钻井队"
)
private
String
zjd
;
/** 井底横坐标 */
@Excel
(
name
=
"井底横坐标"
)
private
BigDecimal
jdhzb
;
/** 井底纵坐标 */
@Excel
(
name
=
"井底纵坐标"
)
private
BigDecimal
jdzzb
;
/** 状态 */
@Excel
(
name
=
"状态"
)
private
String
zt
;
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
...
...
src/main/resources/mybatis/zjsgfa/SjDjjcMapper.xml
View file @
90e91349
...
...
@@ -20,10 +20,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"createdTime"
column=
"created_time"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"zjgs"
column=
"zjgs"
/>
<result
property=
"zjd"
column=
"zjd"
/>
<result
property=
"jdhzb"
column=
"jdhzb"
/>
<result
property=
"jdzzb"
column=
"jdzzb"
/>
<result
property=
"zt"
column=
"zt"
/>
</resultMap>
<sql
id=
"selectSjDjjcVo"
>
select id, jh, jb, jx, jkhzb, jkzzb, gzwz, wzcw, ztmd, wzyz, wjfa, created_by, created_time, update_by, update_time 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
from sj_djjc
</sql>
<select
id=
"selectSjDjjcList"
parameterType=
"SjDjjc"
resultMap=
"SjDjjcResult"
>
...
...
@@ -41,6 +46,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"wjfa != null and wjfa != ''"
>
and wjfa = #{wjfa}
</if>
<if
test=
"createdBy != null and createdBy != ''"
>
and created_by = #{createdBy}
</if>
<if
test=
"createdTime != null "
>
and created_time = #{createdTime}
</if>
<if
test=
"zjgs != null and zjgs != ''"
>
and zjgs = #{zjgs}
</if>
<if
test=
"zjd != null and zjd != ''"
>
and zjd = #{zjd}
</if>
<if
test=
"jdhzb != null "
>
and jdhzb = #{jdhzb}
</if>
<if
test=
"jdzzb != null "
>
and jdzzb = #{jdzzb}
</if>
<if
test=
"zt != null and zt != ''"
>
and zt = #{zt}
</if>
</where>
</select>
...
...
@@ -66,6 +76,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
created_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"zjgs != null"
>
zjgs,
</if>
<if
test=
"zjd != null"
>
zjd,
</if>
<if
test=
"jdhzb != null"
>
jdhzb,
</if>
<if
test=
"jdzzb != null"
>
jdzzb,
</if>
<if
test=
"zt != null"
>
zt,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"jh != null"
>
#{jh},
</if>
...
...
@@ -82,6 +97,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
#{createdTime},
</if>
<if
test=
"updateBy != null"
>
#{updateBy},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"zjgs != null"
>
#{zjgs},
</if>
<if
test=
"zjd != null"
>
#{zjd},
</if>
<if
test=
"jdhzb != null"
>
#{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
#{jdzzb},
</if>
<if
test=
"zt != null"
>
#{zt},
</if>
</trim>
</insert>
...
...
@@ -102,6 +122,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"createdTime != null"
>
created_time = #{createdTime},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime},
</if>
<if
test=
"zjgs != null"
>
zjgs = #{zjgs},
</if>
<if
test=
"zjd != null"
>
zjd = #{zjd},
</if>
<if
test=
"jdhzb != null"
>
jdhzb = #{jdhzb},
</if>
<if
test=
"jdzzb != null"
>
jdzzb = #{jdzzb},
</if>
<if
test=
"zt != null"
>
zt = #{zt},
</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