Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨亮
hnxtbaboot
Commits
db229216
Commit
db229216
authored
Jun 30, 2020
by
yangliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员反馈加载方式
parent
acb90ac7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
src/main/java/com/founder/ryswtz/service/RyxxService.java
+2
-1
src/main/java/com/founder/ryswtz/service/impl/RyxxServiceImpl.java
+16
-3
No files found.
src/main/java/com/founder/ryswtz/service/RyxxService.java
View file @
db229216
package
com
.
founder
.
ryswtz
.
service
;
import
com.founder.model.AutoTbStRy
;
import
com.founder.model.ResultMap
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
...
...
@@ -12,5 +13,5 @@ import java.util.List;
public
interface
RyxxService
{
public
AutoTbStRy
getRycjInfoByrybh
(
String
rybh
);
public
AutoTbStRy
getRycjInfoByzjhm
(
String
zjhm
);
public
List
<
AutoTbStRy
>
getRycjInfoByzjhmorder
(
String
zjhm
);
public
ResultMap
getRycjInfoByzjhmorder
(
String
zjhm
);
}
src/main/java/com/founder/ryswtz/service/impl/RyxxServiceImpl.java
View file @
db229216
...
...
@@ -2,10 +2,12 @@ package com.founder.ryswtz.service.impl;
import
com.founder.dao.TbXwRycjDao
;
import
com.founder.model.AutoTbStRy
;
import
com.founder.model.ResultMap
;
import
com.founder.ryswtz.service.RyxxService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -33,10 +35,21 @@ public class RyxxServiceImpl implements RyxxService{
}
@Override
public
List
<
AutoTbStRy
>
getRycjInfoByzjhmorder
(
String
zjhm
)
{
public
ResultMap
getRycjInfoByzjhmorder
(
String
zjhm
)
{
AutoTbStRy
xyrC
=
new
AutoTbStRy
();
Map
<
String
,
Object
>
map
=
new
HashMap
<>
();
ResultMap
resultMap
=
new
ResultMap
();
List
<
AutoTbStRy
>
xyrCs
=
rycjDao
.
getRycjInfoByzjhm
(
zjhm
);
return
xyrCs
;
String
szzwbh
=
""
;
Date
lrsj
=
null
;
for
(
int
i
=
0
;
i
<
xyrCs
.
size
();
i
++){
AutoTbStRy
xyrtemp
=
xyrCs
.
get
(
i
);
if
(
xyrtemp
.
getSzzwbh
()!=
null
&&!
""
.
equals
(
xyrtemp
.
getSzzwbh
())&&(
lrsj
==
null
||(
xyrtemp
.
getLrsj
()!=
null
&&
lrsj
.
before
(
xyrtemp
.
getLrsj
())))){
szzwbh
=
xyrtemp
.
getSzzwbh
();
lrsj
=
xyrtemp
.
getLrsj
();
}
}
resultMap
.
setCount
(
xyrCs
.
size
());
resultMap
.
setData
(
xyrCs
);
return
resultMap
;
}
}
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