Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
67ec44bd
Commit
67ec44bd
authored
Mar 18, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
a9078d3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+2
-2
ExportExcel.java
src/main/java/com/yxproject/start/utils/ExportExcel.java
+1
-1
No files found.
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
67ec44bd
...
...
@@ -199,7 +199,7 @@ public interface ReceiptMapper {
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = decode(RECEIPT_LIST.Old_CARD_TYPE_ID,null,RECEIPT_LIST.CARD_TYPE_ID,RECEIPT_LIST.Old_CARD_TYPE_ID)\n"
+
"left join GAJG_DM on GAJG_DM.GAJG_DM = RECEIPT_LIST.POLICE_CODE\n"
+
"left join COUNTY_DIC on substr(RECEIPT_LIST.POLICE_CODE,0,6) = COUNTY_DIC.COUNTY_CODE"
+
" where to_char(CHECK_DATE,'yyyyMMdd') = #{date} and RECEIPT_LIST.
id in (string
) and CARD_TYPE_DIC.CARD_TYPE_ID=#{type} "
)
" where to_char(CHECK_DATE,'yyyyMMdd') = #{date} and RECEIPT_LIST.
POLICE_CODE in (#{string}
) and CARD_TYPE_DIC.CARD_TYPE_ID=#{type} "
)
public
List
<
Map
<
String
,
Object
>>
selectReceiptDate
(
@Param
(
"date"
)
String
date
,
@Param
(
"string"
)
String
string
,
@Param
(
"type"
)
long
type
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
67ec44bd
...
...
@@ -156,9 +156,9 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override
public
List
<
Map
<
String
,
Object
>>
selectReceiptList
(
List
<
Integer
>
stringList
,
String
date
,
long
typeCode
)
{
String
str
=
null
;
String
str
=
""
;
for
(
int
i
=
0
;
i
<
stringList
.
size
();
i
++){
if
(
i
!
=
stringList
.
size
()-
1
){
if
(
i
=
=
stringList
.
size
()-
1
){
str
+=
stringList
.
get
(
i
)+
""
;
}
else
{
str
+=
stringList
.
get
(
i
)+
","
;
...
...
src/main/java/com/yxproject/start/utils/ExportExcel.java
View file @
67ec44bd
...
...
@@ -172,7 +172,7 @@ public class ExportExcel {
FileOutputStream
fout
=
null
;
try
{
// fout = new FileOutputStream("E:\\Excel\\" + simpleDateFormat.format(new Date()) + countyInfoList.get(0).get("COUNTYNAME") + ".xls");
fout
=
new
FileOutputStream
(
"D:\\Excel\\"
+
simpleDateFormat
.
format
(
new
Date
())+
"
公安网信息表
"
+
".xls"
);
fout
=
new
FileOutputStream
(
"D:\\Excel\\"
+
simpleDateFormat
.
format
(
new
Date
())+
"
交接单
"
+
".xls"
);
wb
.
write
(
fout
);
fout
.
close
();
}
catch
(
IOException
e
)
{
...
...
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