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
c79a84e8
Commit
c79a84e8
authored
Apr 09, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
06979059
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+2
-2
No files found.
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
c79a84e8
...
@@ -168,7 +168,7 @@ public interface ReceiptMapper {
...
@@ -168,7 +168,7 @@ public interface ReceiptMapper {
@Select
(
"select police_name from (select DISTINCT substr(#{policeCode},4,2)||'0000' POLICE_CODE from POLICE_DIC where substr(#{policeCode},4,2)\n"
+
@Select
(
"select police_name from (select DISTINCT substr(#{policeCode},4,2)||'0000' POLICE_CODE from POLICE_DIC where substr(#{policeCode},4,2)\n"
+
"=substr(POLICE_DIC.POLICE_CODE,5,2) ) p1\n"
+
"=substr(POLICE_DIC.POLICE_CODE,5,2) ) p1\n"
+
"left join POLICE_DIC on p1.POLICE_CODE = substr(POLICE_DIC.POLICE_CODE,7,6)"
)
"left join POLICE_DIC on p1.POLICE_CODE = substr(POLICE_DIC.POLICE_CODE,7,6)"
)
public
Map
<
String
,
Object
>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
public
List
<
Map
<
String
,
Object
>
>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
@Select
(
"select \n"
+
@Select
(
"select \n"
+
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\n"
+
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\n"
+
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
c79a84e8
...
@@ -206,8 +206,8 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -206,8 +206,8 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
policeCode
)
{
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
policeCode
)
{
receiptMapper
.
queryPoliceName
(
policeCode
);
return
null
;
return
receiptMapper
.
queryPoliceName
(
policeCode
)
;
}
}
private
List
<
Map
<
String
,
Object
>>
formateMap
(
List
<
Map
<
String
,
Object
>>
maplist
)
{
private
List
<
Map
<
String
,
Object
>>
formateMap
(
List
<
Map
<
String
,
Object
>>
maplist
)
{
...
...
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