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
bb53b9cd
Commit
bb53b9cd
authored
Dec 05, 2022
by
秦嘉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抗原异常上报bug修改
parent
179ea435
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
YcsbController.java
.../java/com/ruoyi/web/controller/system/YcsbController.java
+5
-0
YcsbServiceImpl.java
...n/java/com/ruoyi/system/service/impl/YcsbServiceImpl.java
+5
-0
index.vue
ruoyi-ui/src/views/system/ycsb/index.vue
+1
-1
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/YcsbController.java
View file @
bb53b9cd
...
@@ -111,6 +111,11 @@ public class YcsbController extends BaseController
...
@@ -111,6 +111,11 @@ public class YcsbController extends BaseController
}
else
if
(
"1"
.
equals
(
ycsbExport
.
getCheckCard
()))
{
}
else
if
(
"1"
.
equals
(
ycsbExport
.
getCheckCard
()))
{
ycsbExport
.
setCheckCard
(
"正确"
);
ycsbExport
.
setCheckCard
(
"正确"
);
}
}
if
(
"1"
.
equals
(
ycsbExport
.
getKyResult
()))
{
ycsbExport
.
setKyResult
(
"正常"
);
}
else
{
ycsbExport
.
setKyResult
(
"异常"
);
}
}
}
util
.
exportExcel
(
response
,
list
,
"抗原异常上报数据"
);
util
.
exportExcel
(
response
,
list
,
"抗原异常上报数据"
);
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/YcsbServiceImpl.java
View file @
bb53b9cd
...
@@ -221,6 +221,11 @@ public class YcsbServiceImpl implements IYcsbService
...
@@ -221,6 +221,11 @@ public class YcsbServiceImpl implements IYcsbService
}
else
if
(
"否"
.
equals
(
ycsb
.
getHasAcid
()))
{
}
else
if
(
"否"
.
equals
(
ycsb
.
getHasAcid
()))
{
ycsb
.
setHasAcid
(
"1"
);
ycsb
.
setHasAcid
(
"1"
);
}
}
if
(
"正常"
.
equals
(
ycsb
.
getKyResult
()))
{
ycsb
.
setKyResult
(
"1"
);
}
else
{
ycsb
.
setKyResult
(
"0"
);
}
String
createBy
=
DataUtils
.
getValue
(
ycsb
.
getArea
(),
ycsb
.
getStreet
(),
ycsb
.
getCommittee
());
String
createBy
=
DataUtils
.
getValue
(
ycsb
.
getArea
(),
ycsb
.
getStreet
(),
ycsb
.
getCommittee
());
if
(
"null"
.
equals
(
createBy
))
{
if
(
"null"
.
equals
(
createBy
))
{
throw
new
ServiceException
(
"所选居住地、街道、社区不存在"
);
throw
new
ServiceException
(
"所选居住地、街道、社区不存在"
);
...
...
ruoyi-ui/src/views/system/ycsb/index.vue
View file @
bb53b9cd
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
<
el
-
table
-
column
label
=
"姓名"
align
=
"center"
prop
=
"userName"
width
=
"100"
:
show
-
overflow
-
tooltip
=
"true"
/>
<
el
-
table
-
column
label
=
"姓名"
align
=
"center"
prop
=
"userName"
width
=
"100"
:
show
-
overflow
-
tooltip
=
"true"
/>
<
el
-
table
-
column
label
=
"抗原结果"
align
=
"center"
prop
=
"kyResult"
width
=
"100"
:
show
-
overflow
-
tooltip
=
"true"
>
<
el
-
table
-
column
label
=
"抗原结果"
align
=
"center"
prop
=
"kyResult"
width
=
"100"
:
show
-
overflow
-
tooltip
=
"true"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
kyResult
===
'
0'
?
'异常'
:
'正
常'
}}
<
/span
>
<
span
>
{{
scope
.
row
.
kyResult
===
'
1'
?
'正常'
:
'异
常'
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"是否做核酸"
align
=
"center"
prop
=
"hasAcid"
width
=
"120"
:
show
-
overflow
-
tooltip
=
"true"
>
<
el
-
table
-
column
label
=
"是否做核酸"
align
=
"center"
prop
=
"hasAcid"
width
=
"120"
:
show
-
overflow
-
tooltip
=
"true"
>
...
...
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