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
c32367e0
Commit
c32367e0
authored
Apr 26, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改保存卡机统计数据 添加卡机类型 身份证
parent
675c4f6e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
20 deletions
+25
-20
LogApi.java
src/main/java/com/yxproject/start/api/LogApi.java
+0
-8
MaterialManagementApi.java
...n/java/com/yxproject/start/api/MaterialManagementApi.java
+2
-2
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+2
-1
CardBodyEntity.java
src/main/java/com/yxproject/start/entity/CardBodyEntity.java
+16
-4
MaterialManagementMapper.java
.../com/yxproject/start/mapper/MaterialManagementMapper.java
+2
-2
MaterialManagementService.java
...om/yxproject/start/service/MaterialManagementService.java
+1
-1
MaterialManagementServiceImpl.java
...ect/start/service/impl/MaterialManagementServiceImpl.java
+2
-2
No files found.
src/main/java/com/yxproject/start/api/LogApi.java
View file @
c32367e0
...
@@ -2,7 +2,6 @@ package com.yxproject.start.api;
...
@@ -2,7 +2,6 @@ package com.yxproject.start.api;
import
com.yxproject.start.entity.CountyDicEntity
;
import
com.yxproject.start.entity.CountyDicEntity
;
import
com.yxproject.start.service.LogService
;
import
com.yxproject.start.service.LogService
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -36,13 +35,6 @@ public class LogApi {
...
@@ -36,13 +35,6 @@ public class LogApi {
List
<
Map
<
String
,
Object
>>
result
=
logService
.
selectNewFilesLog
(
newFileName
,
cardId
,
replaceDate
(
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
;
return
result
;
}
}
// @RequestMapping("selectNewFilesLog")
// public List<Map<String,Object>> selectNewFilesLog (@Param("beginFileName")String beginFileName, @Param("endFileName")String endFileName, @Param("gajgMc") String gajgMc, @Param("beginDate")String beginDate, @Param("endDate")String endDate, @RequestParam("currPage")String currPage, @RequestParam("pageSize")String pageSize){
// List<Map<String,Object>> result = logService.selectNewFilesLog(newFileName,cardId,replaceDate(createDate),uploadCountyCode, Long.valueOf(currPage),Long.valueOf(pageSize));
// return result;
// }
/**
/**
* 查询新包生成日志总数
* 查询新包生成日志总数
...
...
src/main/java/com/yxproject/start/api/MaterialManagementApi.java
View file @
c32367e0
...
@@ -39,8 +39,8 @@ public class MaterialManagementApi {
...
@@ -39,8 +39,8 @@ public class MaterialManagementApi {
* @return
* @return
*/
*/
@RequestMapping
(
"insertCardBody"
)
@RequestMapping
(
"insertCardBody"
)
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
@Param
(
"name"
)
String
name
){
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
@Param
(
"name"
)
String
name
,
@Param
(
"cardBodyType"
)
String
cardBodyType
){
boolean
result
=
materialManagementService
.
insertCardBody
(
cardType
,
totalCount
,
note
,
name
);
boolean
result
=
materialManagementService
.
insertCardBody
(
cardType
,
totalCount
,
note
,
name
,
cardBodyType
);
return
result
;
return
result
;
}
}
...
...
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
c32367e0
...
@@ -273,8 +273,9 @@ public class TaskListApi {
...
@@ -273,8 +273,9 @@ public class TaskListApi {
dataAuditingEntity
.
setPoliceSubstation
(
map
.
get
(
"POLICE_SUBSTATION"
)+
""
);
dataAuditingEntity
.
setPoliceSubstation
(
map
.
get
(
"POLICE_SUBSTATION"
)+
""
);
dataAuditingEntities
.
add
(
dataAuditingEntity
);
dataAuditingEntities
.
add
(
dataAuditingEntity
);
}
}
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
0
+
""
);
dataAuditingService
.
saveDataAuditingList
(
dataAuditingEntities
);
dataAuditingService
.
saveDataAuditingList
(
dataAuditingEntities
);
boolean
b
=
taskListService
.
saveTask
(
objects
,
name
,
0
+
""
);
}
}
}
}
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
...
...
src/main/java/com/yxproject/start/entity/CardBodyEntity.java
View file @
c32367e0
...
@@ -13,11 +13,12 @@ import java.util.Objects;
...
@@ -13,11 +13,12 @@ import java.util.Objects;
@Table
(
name
=
"CARD_BODY"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
@Table
(
name
=
"CARD_BODY"
,
schema
=
"YINGXIN"
,
catalog
=
""
)
public
class
CardBodyEntity
{
public
class
CardBodyEntity
{
private
long
cardBodyId
;
private
long
cardBodyId
;
private
String
saveDate
;
private
Date
saveDate
;
private
Long
cardType
;
private
Long
cardType
;
private
Long
totalCount
;
private
Long
totalCount
;
private
String
note
;
private
String
note
;
private
String
name
;
private
String
name
;
private
Long
cardBodyType
;
@Id
@Id
@Column
(
name
=
"CARD_BODY_ID"
)
@Column
(
name
=
"CARD_BODY_ID"
)
...
@@ -31,11 +32,11 @@ public class CardBodyEntity {
...
@@ -31,11 +32,11 @@ public class CardBodyEntity {
@Basic
@Basic
@Column
(
name
=
"SAVE_DATE"
)
@Column
(
name
=
"SAVE_DATE"
)
public
String
getSaveDate
()
{
public
Date
getSaveDate
()
{
return
saveDate
;
return
saveDate
;
}
}
public
void
setSaveDate
(
String
saveDate
)
{
public
void
setSaveDate
(
Date
saveDate
)
{
this
.
saveDate
=
saveDate
;
this
.
saveDate
=
saveDate
;
}
}
...
@@ -89,11 +90,22 @@ public class CardBodyEntity {
...
@@ -89,11 +90,22 @@ public class CardBodyEntity {
Objects
.
equals
(
cardType
,
that
.
cardType
)
&&
Objects
.
equals
(
cardType
,
that
.
cardType
)
&&
Objects
.
equals
(
totalCount
,
that
.
totalCount
)
&&
Objects
.
equals
(
totalCount
,
that
.
totalCount
)
&&
Objects
.
equals
(
note
,
that
.
note
)
&&
Objects
.
equals
(
note
,
that
.
note
)
&&
Objects
.
equals
(
cardBodyType
,
that
.
cardBodyType
)
&&
Objects
.
equals
(
name
,
that
.
name
);
Objects
.
equals
(
name
,
that
.
name
);
}
}
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
Objects
.
hash
(
cardBodyId
,
saveDate
,
cardType
,
totalCount
,
note
,
name
);
return
Objects
.
hash
(
cardBodyId
,
saveDate
,
cardBodyType
,
cardType
,
totalCount
,
note
,
name
);
}
@Basic
@Column
(
name
=
"CARD_BODY_TYPE"
)
public
Long
getCardBodyType
()
{
return
cardBodyType
;
}
public
void
setCardBodyType
(
Long
cardBodyType
)
{
this
.
cardBodyType
=
cardBodyType
;
}
}
}
}
src/main/java/com/yxproject/start/mapper/MaterialManagementMapper.java
View file @
c32367e0
...
@@ -50,8 +50,8 @@ public interface MaterialManagementMapper {
...
@@ -50,8 +50,8 @@ public interface MaterialManagementMapper {
public
String
selectFilmCount2
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"typeCode"
)
String
typeCode
,
@Param
(
"name"
)
String
name
);
public
String
selectFilmCount2
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
@Param
(
"typeCode"
)
String
typeCode
,
@Param
(
"name"
)
String
name
);
@Insert
(
"INSERT INTO CARD_BODY (CARD_TYPE,TOTAL_COUNT,NOTE,name
)VALUES(#{cardType},#{totalCount},#{note},#{nam
e})"
)
@Insert
(
"INSERT INTO CARD_BODY (CARD_TYPE,TOTAL_COUNT,NOTE,name
,CARD_BODY_TYPE)VALUES(#{cardType},#{totalCount},#{note},#{name},#{cardBodyTyp
e})"
)
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
@Param
(
"name"
)
String
name
);
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
@Param
(
"name"
)
String
name
,
@Param
(
"cardBodyType"
)
long
cardBodyType
);
@Select
(
"<script>"
+
@Select
(
"<script>"
+
...
...
src/main/java/com/yxproject/start/service/MaterialManagementService.java
View file @
c32367e0
...
@@ -14,7 +14,7 @@ public interface MaterialManagementService {
...
@@ -14,7 +14,7 @@ public interface MaterialManagementService {
public
List
<
PlasticFilmEntity
>
selectFilm
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
String
typeCode
,
String
name
);
public
List
<
PlasticFilmEntity
>
selectFilm
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
String
typeCode
,
String
name
);
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
String
nam
e
);
public
boolean
insertCardBody
(
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"totalCount"
)
String
totalCount
,
@Param
(
"note"
)
String
note
,
String
name
,
String
cardBodyTyp
e
);
public
List
<
CardBodyEntity
>
selectCardBody
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
String
typeCode
,
String
name
);
public
List
<
CardBodyEntity
>
selectCardBody
(
@Param
(
"beginDate"
)
String
beginDate
,
@Param
(
"endDate"
)
String
endDate
,
String
typeCode
,
String
name
);
...
...
src/main/java/com/yxproject/start/service/impl/MaterialManagementServiceImpl.java
View file @
c32367e0
...
@@ -28,8 +28,8 @@ public class MaterialManagementServiceImpl implements MaterialManagementService
...
@@ -28,8 +28,8 @@ public class MaterialManagementServiceImpl implements MaterialManagementService
}
}
@Override
@Override
public
boolean
insertCardBody
(
String
cardType
,
String
totalCount
,
String
note
,
String
name
)
{
public
boolean
insertCardBody
(
String
cardType
,
String
totalCount
,
String
note
,
String
name
,
String
cardBodyType
)
{
materialManagementMapper
.
insertCardBody
(
cardType
,
totalCount
,
note
,
name
);
materialManagementMapper
.
insertCardBody
(
cardType
,
totalCount
,
note
,
name
,
Long
.
valueOf
(
cardBodyType
)
);
return
true
;
return
true
;
}
}
...
...
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