Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
data_management_system
Project
Project
Details
Activity
Releases
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
张伯涛
data_management_system
Commits
673c96ca
Commit
673c96ca
authored
Dec 02, 2022
by
zhuangxinwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into master
parents
15d5eaf9
6a694a43
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
101 additions
and
21 deletions
+101
-21
pom.xml
ruoyi-quartz/pom.xml
+4
-0
JcglTask.java
...-quartz/src/main/java/com/ruoyi/quartz/task/JcglTask.java
+49
-0
JcglryMapper.java
...m/src/main/java/com/ruoyi/system/mapper/JcglryMapper.java
+3
-0
GldryMapper.xml
...i-system/src/main/resources/mapper/system/GldryMapper.xml
+1
-1
JcglryMapper.xml
...-system/src/main/resources/mapper/system/JcglryMapper.xml
+20
-0
index.vue
ruoyi-ui/src/views/system/fcry/index.vue
+5
-5
index.vue
ruoyi-ui/src/views/system/fkqk/index.vue
+5
-5
index.vue
ruoyi-ui/src/views/system/gldry/index.vue
+10
-6
index.vue
ruoyi-ui/src/views/system/hscj/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/jcglry/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/ycsb/index.vue
+1
-1
index.vue
ruoyi-ui/src/views/system/yxry/index.vue
+1
-1
No files found.
ruoyi-quartz/pom.xml
View file @
673c96ca
...
@@ -34,6 +34,10 @@
...
@@ -34,6 +34,10 @@
<groupId>
com.ruoyi
</groupId>
<groupId>
com.ruoyi
</groupId>
<artifactId>
ruoyi-common
</artifactId>
<artifactId>
ruoyi-common
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.ruoyi
</groupId>
<artifactId>
ruoyi-system
</artifactId>
</dependency>
</dependencies>
</dependencies>
...
...
ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/JcglTask.java
0 → 100644
View file @
673c96ca
package
com
.
ruoyi
.
quartz
.
task
;
import
com.ruoyi.common.utils.StringUtils
;
import
com.ruoyi.system.domain.Jcglry
;
import
com.ruoyi.system.domain.Yxry
;
import
com.ruoyi.system.mapper.JcglryMapper
;
import
com.ruoyi.system.mapper.YxryMapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 定时任务调度
*
* @author ruoyi
*/
@Component
(
"jcglTask"
)
public
class
JcglTask
{
@Autowired
private
JcglryMapper
jcglryMapper
;
@Autowired
private
YxryMapper
yxryMapper
;
public
void
updateAddress
()
{
System
.
out
.
println
(
"定时执行同步隔离人员"
);
List
<
Jcglry
>
list
=
jcglryMapper
.
selectAllJcglry
();
List
<
Jcglry
>
jcglries
=
new
ArrayList
<>();
for
(
Jcglry
jcglry
:
list
)
{
List
<
Yxry
>
yxries
=
yxryMapper
.
selectYxryByCard
(
jcglry
.
getCardNo
());
if
(!
yxries
.
isEmpty
()){
jcglry
.
setStreet
(
yxries
.
get
(
0
).
getStreet
());
jcglry
.
setCommittee
(
yxries
.
get
(
0
).
getCommittee
());
jcglry
.
setCommunity
(
yxries
.
get
(
0
).
getCommunity
());
jcglry
.
setBuilding
(
yxries
.
get
(
0
).
getBuilding
());
jcglry
.
setUnit
(
yxries
.
get
(
0
).
getUnit
());
jcglry
.
setHouse
(
yxries
.
get
(
0
).
getHouse
());
jcglries
.
add
(
jcglry
);
}
}
if
(!
jcglries
.
isEmpty
()){
jcglryMapper
.
updateBatch
(
jcglries
);
}
}
}
ruoyi-system/src/main/java/com/ruoyi/system/mapper/JcglryMapper.java
View file @
673c96ca
...
@@ -66,4 +66,7 @@ public interface JcglryMapper
...
@@ -66,4 +66,7 @@ public interface JcglryMapper
int
updateBatchYxry
(
@Param
(
"list"
)
List
<
Jcglry
>
list
);
int
updateBatchYxry
(
@Param
(
"list"
)
List
<
Jcglry
>
list
);
public
List
<
Jcglry
>
selectAllJcglry
();
int
updateBatch
(
@Param
(
"list"
)
List
<
Jcglry
>
list
);
}
}
ruoyi-system/src/main/resources/mapper/system/GldryMapper.xml
View file @
673c96ca
...
@@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"phone != null and phone != ''"
>
and a.phone like concat('%', #{phone}, '%')
</if>
<if
test=
"phone != null and phone != ''"
>
and a.phone like concat('%', #{phone}, '%')
</if>
<if
test=
"area != null and area != ''"
>
and a.area = #{area}
</if>
<if
test=
"area != null and area != ''"
>
and a.area = #{area}
</if>
<if
test=
"street != null and street != ''"
>
and a.street = #{street}
</if>
<if
test=
"street != null and street != ''"
>
and a.street = #{street}
</if>
<if
test=
"community != null and community != ''"
>
and a.community
like concat('%', #{community}, '%')
</if>
<if
test=
"community != null and community != ''"
>
and a.community
= #{community}
</if>
<if
test=
"unit != null and unit != ''"
>
and a.unit like concat('%', #{unit}, '%')
</if>
<if
test=
"unit != null and unit != ''"
>
and a.unit like concat('%', #{unit}, '%')
</if>
<if
test=
"zrTime != null "
>
and a.zr_time = #{zrTime}
</if>
<if
test=
"zrTime != null "
>
and a.zr_time = #{zrTime}
</if>
<if
test=
"zcTime != null "
>
and a.zc_time = #{zcTime}
</if>
<if
test=
"zcTime != null "
>
and a.zc_time = #{zcTime}
</if>
...
...
ruoyi-system/src/main/resources/mapper/system/JcglryMapper.xml
View file @
673c96ca
...
@@ -76,6 +76,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -76,6 +76,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id}
where id = #{id}
</select>
</select>
<select
id=
"selectAllJcglry"
resultMap=
"JcglryResult"
>
<include
refid=
"selectJcglryVo"
/>
where del_flag = '0'
</select>
<select
id=
"selectYxryByCard"
resultType=
"com.ruoyi.system.domain.Jcglry"
parameterType=
"java.lang.String"
>
<select
id=
"selectYxryByCard"
resultType=
"com.ruoyi.system.domain.Jcglry"
parameterType=
"java.lang.String"
>
<include
refid=
"selectJcglryVo"
/>
<include
refid=
"selectJcglryVo"
/>
where del_flag = '0' and card_no = #{cardNo}
where del_flag = '0' and card_no = #{cardNo}
...
@@ -232,4 +237,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -232,4 +237,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id}
#{id}
</foreach>
</foreach>
</delete>
</delete>
<update
id=
"updateBatch"
parameterType=
"com.ruoyi.system.domain.Jcglry"
>
<foreach
item=
"item"
index=
"index"
collection=
"list"
separator=
";"
>
update jcglry
<trim
prefix=
"SET"
suffixOverrides=
","
>
street = #{item.street},
committee = #{item.committee},
community = #{item.community},
unit = #{item.unit},
building = #{item.building},
house = #{item.house},
</trim>
where id = #{item.id}
</foreach>
</update>
</mapper>
</mapper>
\ No newline at end of file
ruoyi-ui/src/views/system/fcry/index.vue
View file @
673c96ca
...
@@ -599,28 +599,28 @@ export default {
...
@@ -599,28 +599,28 @@ export default {
zcTimeOption
:
{
zcTimeOption
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
zcTime
)
{
if
(
this
.
form
.
zcTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
zcTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
otherGldTimeOption
:
{
otherGldTimeOption
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
otherGldTime
)
{
if
(
this
.
form
.
otherGldTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
otherGldTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
otherFcTimeOption
:
{
otherFcTimeOption
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
otherFcTime
)
{
if
(
this
.
form
.
otherFcTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
otherFcTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
zrTimeOption
:
{
zrTimeOption
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
zrTime
)
{
if
(
this
.
form
.
zrTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
zrTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -1246,7 +1246,7 @@ export default {
...
@@ -1246,7 +1246,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/fcry/export'
,
{
this
.
download
(
'system/fcry/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
fcry_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`
方舱人员数据
.xlsx`
)
}
}
}
}
};
};
...
...
ruoyi-ui/src/views/system/fkqk/index.vue
View file @
673c96ca
...
@@ -487,7 +487,7 @@ export default {
...
@@ -487,7 +487,7 @@ export default {
expireTimeOPtion
:
{
expireTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
fkTime
)
{
if
(
this
.
form
.
fkTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
fkTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -496,7 +496,7 @@ export default {
...
@@ -496,7 +496,7 @@ export default {
expireTimeOPtion
:
{
expireTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
realTime
)
{
if
(
this
.
form
.
realTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
realTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -505,7 +505,7 @@ export default {
...
@@ -505,7 +505,7 @@ export default {
expireTimeOPtion
:
{
expireTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
hsTime
)
{
if
(
this
.
form
.
hsTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
hsTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -514,7 +514,7 @@ export default {
...
@@ -514,7 +514,7 @@ export default {
expireTimeOPtion
:
{
expireTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
jfTime
)
{
if
(
this
.
form
.
jfTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
jfTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -1099,7 +1099,7 @@ export default {
...
@@ -1099,7 +1099,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/fkqk/export'
,
{
this
.
download
(
'system/fkqk/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
fkqk_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`
小区封控情况数据
.xlsx`
)
}
}
}
}
};
};
...
...
ruoyi-ui/src/views/system/gldry/index.vue
View file @
673c96ca
...
@@ -543,22 +543,26 @@ export default {
...
@@ -543,22 +543,26 @@ export default {
return
{
return
{
expireTimeOPtion
:
{
expireTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
zrTime
)
{
if
(
this
.
form
.
zcTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
zrTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
||
time
.
getTime
()
>
new
Date
(
this
.
form
.
zcTime
).
getTime
()
}
else
{
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
otherZrTimeOPtion
:
{
otherZrTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
otherZrTime
)
{
if
(
this
.
form
.
otherZrTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
otherZrTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
zcTimeOPtion
:
{
zcTimeOPtion
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
form
.
zcTime
)
{
if
(
this
.
form
.
zrTime
)
{
return
time
.
getTime
()
>
new
Date
(
this
.
form
.
zcTime
).
getTime
()
return
time
.
getTime
()
>
new
Date
().
getTime
()
||
time
.
getTime
()
<
new
Date
(
this
.
form
.
zrTime
).
getTime
()
}
else
{
return
time
.
getTime
()
>
new
Date
().
getTime
()
}
}
}
}
},
},
...
@@ -1181,7 +1185,7 @@ export default {
...
@@ -1181,7 +1185,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/gldry/export'
,
{
this
.
download
(
'system/gldry/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
gldry_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`
隔离点人员数据
.xlsx`
)
}
}
}
}
};
};
...
...
ruoyi-ui/src/views/system/hscj/index.vue
View file @
673c96ca
...
@@ -1341,7 +1341,7 @@ export default {
...
@@ -1341,7 +1341,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/hscj/export'
,
{
this
.
download
(
'system/hscj/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
hscj_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`
核算采集数据
.xlsx`
)
}
}
}
}
};
};
...
...
ruoyi-ui/src/views/system/jcglry/index.vue
View file @
673c96ca
...
@@ -965,7 +965,7 @@ export default {
...
@@ -965,7 +965,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/jcglry/export'
,
{
this
.
download
(
'system/jcglry/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
}
,
`
jcglry_${new Date().getTime()
}
.xlsx`
)
}
,
`
解除隔离人员数据
.xlsx`
)
}
}
}
}
}
}
...
...
ruoyi-ui/src/views/system/ycsb/index.vue
View file @
673c96ca
...
@@ -1092,7 +1092,7 @@ export default {
...
@@ -1092,7 +1092,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/ycsb/export'
,
{
this
.
download
(
'system/ycsb/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
}
,
`
ycsb_${new Date().getTime()
}
.xlsx`
)
}
,
`
抗原异常上报数据
.xlsx`
)
}
}
}
}
}
;
}
;
...
...
ruoyi-ui/src/views/system/yxry/index.vue
View file @
673c96ca
...
@@ -1327,7 +1327,7 @@ export default {
...
@@ -1327,7 +1327,7 @@ export default {
handleExport
()
{
handleExport
()
{
this
.
download
(
'system/yxry/export'
,
{
this
.
download
(
'system/yxry/export'
,
{
...
this
.
queryParams
...
this
.
queryParams
}
,
`
yxry_${new Date().getTime()
}
.xlsx`
)
}
,
`
阳性人员数据
.xlsx`
)
}
}
}
}
}
;
}
;
...
...
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