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
76ba39ac
Commit
76ba39ac
authored
Mar 07, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
5c133e3e
5e3e05e9
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
104 additions
and
25 deletions
+104
-25
LogApi.java
src/main/java/com/yxproject/start/api/LogApi.java
+24
-1
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+20
-0
LogService.java
src/main/java/com/yxproject/start/service/LogService.java
+4
-0
LogServiceImpl.java
...java/com/yxproject/start/service/impl/LogServiceImpl.java
+6
-0
service.js
src/main/resources/static/js/service.js
+24
-1
cardProdUpdate.html
...resources/static/views/cardProdUpdate/cardProdUpdate.html
+2
-2
dispatchTask.html
...ain/resources/static/views/dispatchTask/dispatchTask.html
+1
-1
excelAndSearch.html
...resources/static/views/excelAndSearch/excelAndSearch.html
+1
-1
packageLog.html
src/main/resources/static/views/packageLog/packageLog.html
+12
-9
packageLog.js
src/main/resources/static/views/packageLog/packageLog.js
+2
-1
taskListPreLocating.html
...main/resources/static/views/task/taskListPreLocating.html
+1
-1
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+2
-2
taskListQualityCheck.html
...ain/resources/static/views/task/taskListQualityCheck.html
+1
-1
taskListSorting.html
src/main/resources/static/views/task/taskListSorting.html
+0
-3
uploadExcelAndSearch.html
...atic/views/uploadExcelAndSearch/uploadExcelAndSearch.html
+1
-1
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+3
-1
No files found.
src/main/java/com/yxproject/start/api/LogApi.java
View file @
76ba39ac
...
...
@@ -37,7 +37,7 @@ public class LogApi {
*/
@RequestMapping
(
"selectNewFilesLog"
)
public
List
<
Map
<
String
,
Object
>>
selectNewFilesLog
(
@RequestParam
(
"newFileName"
)
String
newFileName
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
"createDate"
)
String
createDate
,
@RequestParam
(
"uploadCountyCode"
)
String
uploadCountyCode
,
@RequestParam
(
"currPage"
)
String
currPage
,
@RequestParam
(
"pageSize"
)
String
pageSize
){
List
<
Map
<
String
,
Object
>>
result
=
logService
.
selectNewFilesLog
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
,
Long
.
valueOf
(
currPage
),
Long
.
valueOf
(
pageSize
));
List
<
Map
<
String
,
Object
>>
result
=
logService
.
selectNewFilesLog
(
newFileName
,
cardId
,
replaceDate
(
createDate
)
,
uploadCountyCode
,
Long
.
valueOf
(
currPage
),
Long
.
valueOf
(
pageSize
));
return
result
;
}
...
...
@@ -47,4 +47,27 @@ public class LogApi {
return
list
;
}
/**
* 查询新包生成日志总数
* @param newFileName
* @param cardId
* @param createDate
* @param uploadCountyCode
* @return
*/
@RequestMapping
(
"selectNewFileLogCount"
)
public
String
selectNewFileLogCount
(
@RequestParam
(
"newFileName"
)
String
newFileName
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
"createDate"
)
String
createDate
,
@RequestParam
(
"uploadCountyCode"
)
String
uploadCountyCode
){
String
total
=
logService
.
selectNewFileLogCount
(
newFileName
,
cardId
,
replaceDate
(
createDate
),
uploadCountyCode
);
return
total
;
}
/**
* 去除字符串中中线
* @param str
* @return
*/
private
String
replaceDate
(
String
str
){
return
str
.
replace
(
"-"
,
""
);
}
}
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
76ba39ac
...
...
@@ -47,4 +47,24 @@ public interface LogMapper {
@Select
(
"select * from COUNTY_DIC"
)
public
List
<
CountyDicEntity
>
getCountyListData
();
@Select
(
"<script> "
+
"SELECT COUNT(*) FROM NEW_FILES \n"
+
"LEFT JOIN PREPRO_PERSON ON NEW_FILES.ID = PREPRO_PERSON.NEW_FILE_ID "
+
" where 1=1 "
+
" <if test='newFileName !=\"\"' >"
+
" and NEW_FILES.NEW_FILE_NAME=#{newFileName} "
+
" </if>"
+
" <if test='uploadCountyCode != -1' >"
+
" and NEW_FILES.DWDM=#{uploadCountyCode}"
+
" </if>"
+
" <if test='createDate !=\"\"' >"
+
" and substr(NEW_FILES.CREATE_DATE,0,8)=#{createDate}"
+
" </if>"
+
" <if test='cardId !=\"\"' >"
+
" and PREPRO_PERSON.GMSFHM=#{cardId} "
+
" </if>"
+
"</script>"
)
public
String
selectNewFileLogCount
(
@Param
(
"newFileName"
)
String
newFileName
,
@Param
(
"cardId"
)
String
cardId
,
@Param
(
"createDate"
)
String
createDate
,
@Param
(
"uploadCountyCode"
)
String
uploadCountyName
);
}
src/main/java/com/yxproject/start/service/LogService.java
View file @
76ba39ac
...
...
@@ -10,5 +10,9 @@ public interface LogService {
public
List
<
Map
<
String
,
Object
>>
selectNewFilesLog
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
,
long
currPage
,
long
pageSize
);
public
String
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
);
public
List
<
CountyDicEntity
>
getCountyList
();
}
src/main/java/com/yxproject/start/service/impl/LogServiceImpl.java
View file @
76ba39ac
...
...
@@ -19,6 +19,12 @@ public class LogServiceImpl implements LogService {
return
resultMap
;
}
@Override
public
String
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
)
{
String
count
=
logMapper
.
selectNewFileLogCount
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
);
return
count
;
}
@Override
public
List
<
CountyDicEntity
>
getCountyList
()
{
...
...
src/main/resources/static/js/service.js
View file @
76ba39ac
...
...
@@ -297,7 +297,30 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
// selectPackageLogCount:
selectPackageLogCount
:
function
(
newPackageName
,
idCard
,
date
,
county
,
success
)
{
if
(
angular
.
isUndefined
(
newPackageName
)){
newPackageName
=
''
;
}
if
(
angular
.
isUndefined
(
idCard
)){
idCard
=
''
;
}
if
(
angular
.
isUndefined
(
county
)){
county
=
-
1
;
}
console
.
log
(
newPackageName
,
idCard
,
date
,
county
)
$http
({
method
:
'GET'
,
url
:
"../LogApi/selectNewFileLogCount"
+
urlTimeStamp
(),
params
:{
newFileName
:
newPackageName
,
cardId
:
idCard
,
createDate
:
date
,
uploadCountyCode
:
county
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
selectPackageLog
:
function
(
newPackageName
,
idCard
,
date
,
county
,
currentPage
,
itemsPerPage
,
success
){
if
(
angular
.
isUndefined
(
newPackageName
)){
newPackageName
=
''
;
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.html
View file @
76ba39ac
...
...
@@ -30,7 +30,7 @@
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box box-primary"
>
<strong
class=
"box-header"
>
制证信息
打包
</strong>
<strong
class=
"box-header"
>
制证信息
管理
</strong>
<div
class=
"box-info"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
...
...
@@ -133,7 +133,7 @@
<div
style=
"padding-left: 27%;"
ng-if=
"xmlDatas"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<h
3
ng-if=
"postData.length==0"
>
暂无记录。
</h3
>
<h
4
ng-if=
"postData.length==0"
>
暂无记录。
</h4
>
</div>
</div>
</div>
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.html
View file @
76ba39ac
...
...
@@ -53,7 +53,7 @@
<td
class=
"mailbox-attachment"
>
{{task.valid}}
</td>
<td
class=
"mailbox-date"
>
{{task.invalid}}
</td>
<td
class=
"mailbox-date text-danger"
>
{{task.state}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
派出所
列表
</a></td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号
列表
</a></td>
</tr>
</tbody>
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.html
View file @
76ba39ac
...
...
@@ -143,7 +143,7 @@
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<
h3
ng-if=
"postPackageData.length==0"
>
暂无记录。
</h3
>
<
div
class=
"box-body"
ng-if=
"postPackageData.length==0"
><h4>
暂无记录
</h4></div
>
<div
class=
"row"
style=
"padding:0 25px;"
ng-if=
"postMsgDetail.length>0"
>
<div
class=
"col-md-11"
></div>
<div
class=
"col-md-1"
style=
"text-align: right;"
>
...
...
src/main/resources/static/views/packageLog/packageLog.html
View file @
76ba39ac
...
...
@@ -66,7 +66,7 @@
</tr>
</table>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"packageLogData"
>
<table
class=
"table table-bordered table-hover postTable"
ng-if=
"packageLogData
.length>0
"
>
<thead>
<tr>
<th>
NO.
</th>
...
...
@@ -80,17 +80,20 @@
<tbody>
<tr
ng-repeat=
"item in packageLogData"
>
<td>
{{$index+1}}
</td>
<td>
{{item.
newPackageName
}}
</td>
<td>
{{item.
createDate
}}
</td>
<td>
{{item.
cardCount
}}
</td>
<td>
{{item.
readCountyCode
}}
</td>
<td>
{{item.
readCountyName
}}
</td>
<td>
{{item.
NEW_FILE_NAME
}}
</td>
<td>
{{item.
CREATE_DATE | myDateFilter
}}
</td>
<td>
{{item.
RECORD_NUMBER
}}
</td>
<td>
{{item.
DWDM
}}
</td>
<td>
{{item.
DWMC
}}
</td>
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"packageLogData"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<div
ng-if=
"packageLogData.length==0"
class=
"box-body"
>
<h4>
暂无数据
</h4>
</div>
<div
style=
"padding-left: 27%;"
ng-if=
"packageLogData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
</div>
</div>
...
...
src/main/resources/static/views/packageLog/packageLog.js
View file @
76ba39ac
...
...
@@ -35,7 +35,8 @@ angular.module('AvatarCheck.packageLog', ['ngRoute', 'AvatarCheck.http', 'tm.pag
$scope
.
getPackageLog
=
function
(){
HttpService
.
selectPackageLogCount
(
$scope
.
newPackageName
,
$scope
.
idCard
,
$
(
'#datepicker'
).
val
(),
$scope
.
county
,
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
.
totalCount
;
console
.
log
(
data
)
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
})
HttpService
.
selectPackageLog
(
$scope
.
newPackageName
,
$scope
.
idCard
,
$
(
'#datepicker'
).
val
(),
$scope
.
county
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
...
...
src/main/resources/static/views/task/taskListPreLocating.html
View file @
76ba39ac
...
...
@@ -69,7 +69,7 @@
</div>
<!-- /.box-body -->
<div
class=
"box-footer"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
下发
任务单
</button>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
转出
任务单
</button>
</div>
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
76ba39ac
...
...
@@ -60,7 +60,7 @@
<td
class=
"mailbox-attachment"
>
{{task.electricCount}}
</td>
<td
ng-if=
"task.failedCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.failedCount}}
</td>
<td
ng-if=
"task.failedCount==0"
class=
"mailbox-subject"
>
{{task.failedCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
派出所
列表
</a></td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号
列表
</a></td>
</tr>
</tbody>
</table>
...
...
@@ -72,7 +72,7 @@
<div
class=
"box-footer"
>
<div
class=
"pull-right"
style=
"margin-left: 10px;"
>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
下发
任务单
</button>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
转出
任务单
</button>
</div>
<div
class=
"pull-right"
>
<select
class=
"form-control select2"
id=
"print"
style=
"border-radius:5px"
>
...
...
src/main/resources/static/views/task/taskListQualityCheck.html
View file @
76ba39ac
...
...
@@ -60,7 +60,7 @@
<td
class=
"mailbox-attachment"
>
{{task.outStoreCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.enterStoreCount}}
</td>
<td><button
class=
"btn btn-primary"
>
完成
</button></td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
派出所
列表
</a></td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号
列表
</a></td>
</tr>
</tbody>
</table>
...
...
src/main/resources/static/views/task/taskListSorting.html
View file @
76ba39ac
...
...
@@ -67,9 +67,6 @@
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
<div
class=
"box-footer"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
下发任务单
</button>
</div>
</div>
<!-- /. box -->
</div>
...
...
src/main/resources/static/views/uploadExcelAndSearch/uploadExcelAndSearch.html
View file @
76ba39ac
...
...
@@ -119,7 +119,7 @@
<div
style=
"padding-left: 27%;"
>
<tm-pagination
ng-if=
"show"
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<h
3
ng-if=
"postData.length==0"
>
暂无记录。
</h3
>
<h
4
ng-if=
"postData.length==0"
>
暂无记录。
</h4
>
</div>
</div>
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
76ba39ac
...
...
@@ -97,7 +97,9 @@
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<h3
ng-if=
"xmlPackageData.length==0"
>
暂无记录。
</h3>
<div
class=
"box-body"
ng-if=
"xmlPackageData.length==0"
>
<h4>
暂无记录。
</h4>
</div>
<div
class=
"row"
style=
"padding:0 25px;"
ng-if=
"postMsgDetail.length>0"
>
<div
class=
"col-md-11"
></div>
<div
class=
"col-md-1"
style=
"text-align: right;"
>
...
...
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