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
6cf487fd
Commit
6cf487fd
authored
Jun 05, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询打印封签信息
parent
53d63f10
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+3
-3
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+3
-5
ReceiptService.java
...main/java/com/yxproject/start/service/ReceiptService.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+2
-2
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
6cf487fd
...
@@ -334,12 +334,12 @@ public class ReceiptApi {
...
@@ -334,12 +334,12 @@ public class ReceiptApi {
/**
/**
* 查询分局名称
* 查询分局名称
*
*
* @param
police
Code 派出所代码
* @param
qr
Code 派出所代码
* @return
* @return
*/
*/
@RequestMapping
(
"queryPoliceName"
)
@RequestMapping
(
"queryPoliceName"
)
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@RequestParam
(
"
policeCode"
)
String
police
Code
)
{
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@RequestParam
(
"
qrCode"
)
String
qr
Code
)
{
return
receiptService
.
queryPoliceName
(
police
Code
);
return
receiptService
.
queryPoliceName
(
qr
Code
);
}
}
/**
/**
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
6cf487fd
...
@@ -178,11 +178,9 @@ public interface ReceiptMapper {
...
@@ -178,11 +178,9 @@ public interface ReceiptMapper {
"WHERE ACCEPT_NO=#{groupNo}"
)
"WHERE ACCEPT_NO=#{groupNo}"
)
public
Map
<
String
,
Object
>
selectCountTimeT
(
@Param
(
"groupNo"
)
String
groupNo
);
public
Map
<
String
,
Object
>
selectCountTimeT
(
@Param
(
"groupNo"
)
String
groupNo
);
@Select
(
"select police_name \n"
+
@Select
(
"select POLICE_dic.POLICE_NAME from PROD_GROUP_RELATION_T@PRODYD_LINK \n"
+
"from (select DISTINCT substr(#{policeCode},5,2)||'000' POLICE_CODE \n"
+
"left join POLICE_dic on POLICE_dic.POLICE_CODE = substr(PROD_GROUP_RELATION_T.UPLOAD_UNIT_NO,0,9)||'000'\n"
+
" from POLICE_DIC where substr(#{policeCode},5,2) =substr(POLICE_DIC.POLICE_CODE,5,2) ) p1 \n"
+
"where group_no = #{policeCode} "
)
"left join POLICE_DIC on substr(p1.POLICE_CODE,0,2) = substr(POLICE_DIC.POLICE_CODE,5,2) \n"
+
"order by POLICE_DIC.POLICE_CODE"
)
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
@Param
(
"policeCode"
)
String
policeCode
);
@Select
(
"select \n"
+
@Select
(
"select \n"
+
...
...
src/main/java/com/yxproject/start/service/ReceiptService.java
View file @
6cf487fd
...
@@ -41,7 +41,7 @@ public interface ReceiptService {
...
@@ -41,7 +41,7 @@ public interface ReceiptService {
// public boolean updateFinishCount(String GROUP_NO,int count);
// public boolean updateFinishCount(String GROUP_NO,int count);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
police
Code
);
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
qr
Code
);
//特证查询是否生成交接单
//特证查询是否生成交接单
public
List
<
Map
<
String
,
Object
>>
selectCountById
(
String
id
,
String
beginDate
,
String
expireDate
);
public
List
<
Map
<
String
,
Object
>>
selectCountById
(
String
id
,
String
beginDate
,
String
expireDate
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
6cf487fd
...
@@ -231,8 +231,8 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -231,8 +231,8 @@ public class ReceiptServiceImpl implements ReceiptService {
}
}
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
police
Code
)
{
public
List
<
Map
<
String
,
Object
>>
queryPoliceName
(
String
qr
Code
)
{
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
queryPoliceName
(
policeCode
);
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
queryPoliceName
(
qrCode
.
substring
(
0
,
8
)
);
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
maps
=
new
ArrayList
<>();
if
(
mapList
.
size
()>
0
){
if
(
mapList
.
size
()>
0
){
maps
.
add
(
mapList
.
get
(
0
));
maps
.
add
(
mapList
.
get
(
0
));
...
...
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