Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
c979f4b3
Commit
c979f4b3
authored
Jul 18, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 监督检查-调研结果-增加 上传状态和上传时间字段。
parent
0c3a39c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
0 deletions
+44
-0
TInsSpotRecInfor.java
.../main/java/com/zehong/system/domain/TInsSpotRecInfor.java
+29
-0
TInsSpotRecInforMapper.xml
...c/main/resources/mapper/system/TInsSpotRecInforMapper.xml
+15
-0
No files found.
zh-baseversion-system/src/main/java/com/zehong/system/domain/TInsSpotRecInfor.java
View file @
c979f4b3
...
...
@@ -63,6 +63,19 @@ public class TInsSpotRecInfor extends BaseEntity
@Excel
(
name
=
"更新时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd hh:mm:ss"
)
private
Date
fUpdateTime
;
/**
* 上传状态0-未上传,1-已上传
*/
@Excel
(
name
=
"上传状态"
,
readConverterExp
=
"1=已上传,0=未上传"
)
private
String
govUploadState
;
/**
* 上传时间
*/
@Excel
(
name
=
"上传时间"
,
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
govUploadTime
;
private
String
taskCode
;
private
String
taskName
;
...
...
@@ -147,6 +160,22 @@ public class TInsSpotRecInfor extends BaseEntity
this
.
taskName
=
taskName
;
}
public
String
getGovUploadState
()
{
return
govUploadState
;
}
public
void
setGovUploadState
(
String
govUploadState
)
{
this
.
govUploadState
=
govUploadState
;
}
public
Date
getGovUploadTime
()
{
return
govUploadTime
;
}
public
void
setGovUploadTime
(
Date
govUploadTime
)
{
this
.
govUploadTime
=
govUploadTime
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
zh-baseversion-system/src/main/resources/mapper/system/TInsSpotRecInforMapper.xml
View file @
c979f4b3
...
...
@@ -12,6 +12,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"fMethod"
column=
"f_method"
/>
<result
property=
"fResult"
column=
"f_result"
/>
<result
property=
"fUpdateTime"
column=
"f_update_time"
/>
<result
property=
"govUploadState"
column=
"f_gov_upload_state"
/>
<result
property=
"govUploadTime"
column=
"f_gov_upload_time"
/>
</resultMap>
<sql
id=
"selectTInsSpotRecInforVo"
>
...
...
@@ -23,6 +26,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
spot.f_method,
spot.f_result,
spot.f_update_time,
spot.f_gov_upload_state,
spot.f_gov_upload_time,
rec.f_check_task_code AS taskCode,
task.f_name AS taskName
FROM
...
...
@@ -37,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fCheckCode != null and fCheckCode != ''"
>
and spot.f_check_code like concat('%', #{fCheckCode}, '%')
</if>
<if
test=
"fName != null and fName != ''"
>
and spot.f_name like concat('%', #{fName}, '%')
</if>
<if
test=
"fMethod != null and fMethod != ''"
>
and spot.f_method = #{fMethod}
</if>
<if
test=
"govUploadState != null and govUploadState != ''"
>
and spot.f_gov_upload_state = #{govUploadState}
</if>
</where>
</select>
...
...
@@ -54,6 +60,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fMethod != null and fMethod != ''"
>
f_method,
</if>
<if
test=
"fResult != null"
>
f_result,
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time,
</if>
<if
test=
"govUploadState != null"
>
f_gov_upload_state,
</if>
<if
test=
"govUploadTime != null"
>
f_gov_upload_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fCheckCode != null and fCheckCode != ''"
>
#{fCheckCode},
</if>
...
...
@@ -62,6 +71,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fMethod != null and fMethod != ''"
>
#{fMethod},
</if>
<if
test=
"fResult != null"
>
#{fResult},
</if>
<if
test=
"fUpdateTime != null"
>
#{fUpdateTime},
</if>
<if
test=
"govUploadState != null"
>
#{govUploadState},
</if>
<if
test=
"govUploadTime != null"
>
#{govUploadTime},
</if>
</trim>
</insert>
...
...
@@ -74,6 +86,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fMethod != null and fMethod != ''"
>
f_method = #{fMethod},
</if>
<if
test=
"fResult != null"
>
f_result = #{fResult},
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time = #{fUpdateTime},
</if>
<if
test=
"govUploadState != null"
>
f_gov_upload_state = #{govUploadState},
</if>
<if
test=
"govUploadTime != null"
>
f_gov_upload_time = #{govUploadTime},
</if>
</trim>
where f_ins_spot_rec_infor_id = #{fInsSpotRecInforId}
</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