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
665bedba
Commit
665bedba
authored
Aug 30, 2019
by
wuzhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据核验报表 单位代码表使用受理库字典表
parent
313eca5d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
18 deletions
+20
-18
DataAuditingMapper.java
...n/java/com/yxproject/start/mapper/DataAuditingMapper.java
+10
-8
FailedCardMapper.java
...ain/java/com/yxproject/start/mapper/FailedCardMapper.java
+1
-1
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+2
-2
addFailed.html
src/main/resources/static/views/addFailed/addFailed.html
+1
-1
report.html
src/main/resources/static/views/report/report.html
+6
-6
No files found.
src/main/java/com/yxproject/start/mapper/DataAuditingMapper.java
View file @
665bedba
...
...
@@ -33,21 +33,23 @@ public interface DataAuditingMapper {
public
List
<
Map
<
String
,
Object
>>
selectDataAuditingEntity
(
@Param
(
"groupNo"
)
String
groupNo
);
@Select
(
"<script>"
+
"select nvl(GAJG_DM.GAJG_MC,'000000000') GAJG_MC,DATA_AUDITING.POLICE_SUBSTATION,sum(DATA_AUDITING.VALID_COUNT) VALID_COUNT,\n"
+
"sum(DATA_AUDITING.INVALID_COUNT) inVALID_COUNT,to_char(DATA_AUDITING.SUBMIT_DATE,'yyyyMMdd') SUBMIT_DATE,CARD_TYPE_DIC.CARD_TYPE,\n"
+
"CARD_TYPE_DIC.CARD_TYPE_ID, 1-(sum(DATA_AUDITING.VALID_COUNT)/(sum(DATA_AUDITING.VALID_COUNT)+sum(DATA_AUDITING.inVALID_COUNT))) Failure_rate from DATA_AUDITING \n"
+
"left join TASK on TASK.TASK_ID = DATA_AUDITING.TASK_ID\n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = TASK.CARD_TYPE "
+
"left join GAJG_DM on GAJG_DM.GAJG_DM = DATA_AUDITING.POLICE_SUBSTATION\n"
+
"select nvl(DIC.unit_name,'000000000') GAJG_MC,DATA_AUDITING.POLICE_SUBSTATION,\n"
+
"sum(DATA_AUDITING.VALID_COUNT) VALID_COUNT, sum(DATA_AUDITING.INVALID_COUNT) inVALID_COUNT,\n"
+
"to_char(DATA_AUDITING.SUBMIT_DATE,'yyyyMMdd') SUBMIT_DATE,CARD_TYPE_DIC.CARD_TYPE, \n"
+
"CARD_TYPE_DIC.CARD_TYPE_ID, 1-(sum(DATA_AUDITING.VALID_COUNT)/(sum(DATA_AUDITING.VALID_COUNT)+sum(DATA_AUDITING.inVALID_COUNT))) Failure_rate\n"
+
"from DATA_AUDITING left join TASK on TASK.TASK_ID = DATA_AUDITING.TASK_ID left join CARD_TYPE_DIC \n"
+
"on CARD_TYPE_DIC.CARD_TYPE_ID = TASK.CARD_TYPE\n"
+
"left join DIC_UPLOAD_UNIT_t@ACCuYD_LINK DIC\n"
+
"on substr(DIC.upload_unit_no,1,9) = substr(DATA_AUDITING.POLICE_SUBSTATION,1,9) \n"
+
"where 1=1 "
+
" <if test = 'policeName != null' >"
+
" and
GAJG_DM.GAJG_MC
like ${policeName}"
+
" and
DIC.unit_name
like ${policeName}"
+
"</if>\n"
+
" <if test = 'policeCode != null' >"
+
" and DATA_AUDITING.POLICE_SUBSTATION like ${policeCode}"
+
"</if> "
+
" and to_char(DATA_AUDITING.SUBMIT_DATE,'yyyyMMdd') BETWEEN ${startDate} and ${endDate} \n"
+
"group by nvl(
GAJG_DM.GAJG_MC
,'000000000'),DATA_AUDITING.POLICE_SUBSTATION, to_char(DATA_AUDITING.SUBMIT_DATE,'yyyyMMdd'), CARD_TYPE_DIC.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE_ID\n"
+
"group by nvl(
DIC.unit_name
,'000000000'),DATA_AUDITING.POLICE_SUBSTATION, to_char(DATA_AUDITING.SUBMIT_DATE,'yyyyMMdd'), CARD_TYPE_DIC.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE_ID\n"
+
"order by DATA_AUDITING.POLICE_SUBSTATION"
+
"</script>"
)
public
List
<
Map
<
String
,
Object
>>
selectDataAuditingReport
(
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"policeName"
)
String
policeName
,
@Param
(
"policeCode"
)
String
policeCode
);
...
...
src/main/java/com/yxproject/start/mapper/FailedCardMapper.java
View file @
665bedba
...
...
@@ -140,7 +140,7 @@ public interface FailedCardMapper {
public
boolean
updateFailedState3
(
FailedCardEntity
failedCardEntity
);
@Update
(
"update FAILED_CARD set FINISH_DATE =sysdate ,state =#{state} where FAILED_CARD_ID = #{failedCardId}"
)
//
public boolean updateFailedState4(FailedCardEntity failedCardEntity);
public
boolean
updateFailedState4
(
FailedCardEntity
failedCardEntity
);
// @Update("update FAILED_CARD set FINISH_DATE =sysdate ,state =#{state} where FAILED_CARD_ID = #{failedCardId}")
// public boolean updateFailedState5(FailedCardEntity failedCardEntity);
...
...
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
665bedba
...
...
@@ -1573,10 +1573,10 @@ public interface TaskListMapper {
"left join PROD_CARD_T@prodyd_link on SPECIAL_CARD.ACCEPT_NO = prod_card_t.ACCEPT_NO "
+
"left join task on task.task_id =SPECIAL_CARD.task_id "
+
"left join TASK_STATE_DIC ON TASK_STATE_DIC.TASK_STATE_ID = task.TASK_STATE_ID\n"
+
"where to_char(SPECIAL_CARD.FILL_IN_DATE,'yyyyMMdd') =
#
{date} \n"
+
"where to_char(SPECIAL_CARD.FILL_IN_DATE,'yyyyMMdd') =
$
{date} \n"
+
"and SPECIAL_CARD.SPECIAL_TYPE=1 and SPECIAL_CARD.INITIATOR =#{name} "
+
"order by SPECIAL_CARD.accept_no"
)
public
List
<
Map
<
String
,
Object
>>
selectRemainderCardInfo
(
String
date
,
String
name
);
public
List
<
Map
<
String
,
Object
>>
selectRemainderCardInfo
(
@Param
(
"date"
)
String
date
,
@Param
(
"name"
)
String
name
);
@Update
(
"update failed_card set work_group = ${workGroup} where failed_card_ID = ${taskId}"
)
public
boolean
updateFailedCardWorkGroup
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"workGroup"
)
long
workGroup
);
...
...
src/main/resources/static/views/addFailed/addFailed.html
View file @
665bedba
...
...
@@ -134,7 +134,7 @@
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in failedInfo | orderBy:
FAILED_CARD_ID
"
>
<tr
ng-repeat=
"item in failedInfo | orderBy:
'FAILED_CARD_ID'
"
>
<td>
{{$index+1}}
</td>
<th>
{{item.ACCEPT_NO}}
</th>
<td>
{{item.CARD_NAME}}
</td>
...
...
src/main/resources/static/views/report/report.html
View file @
665bedba
...
...
@@ -26,9 +26,9 @@
<thead>
<tr>
<th>
打印日期
</th>
<th>
大批
证
</th>
<th>
邮寄证
</th>
<th>
军人证
</th>
<th>
普通
证
</th>
<th>
港澳
</th>
<th>
台湾
</th>
<th>
快证
</th>
<th>
废证
</th>
<th>
合计
</th>
...
...
@@ -37,9 +37,9 @@
<tbody
ng-repeat=
"item in reportData | orderBy:date"
>
<tr>
<td>
{{item.date}}
</td>
<td>
{{item.
pu
}}
</td>
<td>
{{item.
you
}}
</td>
<td>
{{item.
jun
}}
</td>
<td>
{{item.
yi
}}
</td>
<td>
{{item.
gangao
}}
</td>
<td>
{{item.
tai
}}
</td>
<td>
{{item.kuai}}
</td>
<td>
{{item.fei}}
</td>
<td
style=
"color: #3c8dbc"
>
{{item.total}}
</td>
...
...
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