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
a33c8021
Commit
a33c8021
authored
Mar 09, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加特证详情
parent
a2ca388f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
2 deletions
+66
-2
SpecialCardApi.java
src/main/java/com/yxproject/start/api/SpecialCardApi.java
+36
-0
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+3
-2
SpecialCardMapper.java
...in/java/com/yxproject/start/mapper/SpecialCardMapper.java
+13
-0
SpecialCardService.java
.../java/com/yxproject/start/service/SpecialCardService.java
+2
-0
SpecialCardServiceImpl.java
.../yxproject/start/service/impl/SpecialCardServiceImpl.java
+12
-0
No files found.
src/main/java/com/yxproject/start/api/SpecialCardApi.java
0 → 100644
View file @
a33c8021
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.service.SpecialCardService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.Map
;
/**
* @auther zhangyusheng
* 2019/3/9 18:23
*/
@RestController
@RequestMapping
(
"SpecialCard"
)
public
class
SpecialCardApi
{
@Autowired
private
SpecialCardService
specialCardService
;
/**
* 查询特殊证件详情
* (打印转出)
* taskId 任务单ID
* name 打印转出人姓名
* process 打印转出人所在工序
* printer 打印机编号
* @return
*/
@RequestMapping
(
"selectSpecialCard"
)
public
List
<
Map
>
updateState2
(
@RequestParam
(
"groupNo"
)
String
groupNo
)
{
return
specialCardService
.
selectSpecialCardByGroupNo
(
groupNo
);
}
}
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
a33c8021
...
@@ -90,6 +90,7 @@ public class TaskListApi {
...
@@ -90,6 +90,7 @@ public class TaskListApi {
/**
/**
* 更改任务单状态
* 更改任务单状态
* (下发、预订位、平压、冲切、分拣)
* taskId 任务单ID
* taskId 任务单ID
* name 下发人姓名
* name 下发人姓名
* process 下发人所在工序
* process 下发人所在工序
...
@@ -108,6 +109,7 @@ public class TaskListApi {
...
@@ -108,6 +109,7 @@ public class TaskListApi {
/**
/**
* 更改任务单状态
* 更改任务单状态
* (打印转出)
* taskId 任务单ID
* taskId 任务单ID
* name 打印转出人姓名
* name 打印转出人姓名
* process 打印转出人所在工序
* process 打印转出人所在工序
...
@@ -130,7 +132,7 @@ public class TaskListApi {
...
@@ -130,7 +132,7 @@ public class TaskListApi {
/**
/**
* 查询任务单详情
* 查询任务单详情
* (受理库)
* (受理库)
*
*
(创建)
* @param process 工序
* @param process 工序
* @param date 查询时间
* @param date 查询时间
* @param resp
* @param resp
...
@@ -146,7 +148,6 @@ public class TaskListApi {
...
@@ -146,7 +148,6 @@ public class TaskListApi {
/**
/**
* 查询组号列表详情
* 查询组号列表详情
* 受理库
* 受理库
*
* @param date 查询时间
* @param date 查询时间
* @param typeCode 制证类型
* @param typeCode 制证类型
* @param countyCode 区县代码
* @param countyCode 区县代码
...
...
src/main/java/com/yxproject/start/mapper/SpecialCardMapper.java
View file @
a33c8021
...
@@ -4,6 +4,7 @@ import com.yxproject.start.entity.SpecialCardEntity;
...
@@ -4,6 +4,7 @@ import com.yxproject.start.entity.SpecialCardEntity;
import
org.apache.ibatis.annotations.*
;
import
org.apache.ibatis.annotations.*
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @auther zhangyusheng
* @auther zhangyusheng
...
@@ -35,4 +36,16 @@ public interface SpecialCardMapper {
...
@@ -35,4 +36,16 @@ public interface SpecialCardMapper {
*/
*/
@Update
(
"update SPECIAL_CARD set SPECIAL_TYPE = #{specialType} where SPECIAL_CARD_ID = #{specialCardId}"
)
@Update
(
"update SPECIAL_CARD set SPECIAL_TYPE = #{specialType} where SPECIAL_CARD_ID = #{specialCardId}"
)
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
);
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
);
/**
* 查询特证信息
* @param groupNo 组号
* @return
*/
@Select
(
"select SPECIAL_CARD.ACCEPT_NO,SPECIAL_CARD.TASK_ID,SPECIAL_CARD.GROUP_NO,SPECIAL_CARD.SPECIAL_TYPE,task.TASK_STATE_ID,TASK_STATE_DIC.TASK_STATE \n"
+
"from SPECIAL_CARD \n"
+
"left join task on task.TASK_ID = SPECIAL_CARD.TASK_ID\n"
+
"left join TASK_STATE_DIC on TASK_STATE_DIC.TASK_STATE_ID = task.TASK_STATE_ID\n"
+
"where GROUP_NO = #{groupNo}"
)
public
List
<
Map
>
selectSpecialCardByGroupNo
(
String
groupNo
);
}
}
src/main/java/com/yxproject/start/service/SpecialCardService.java
View file @
a33c8021
...
@@ -3,6 +3,7 @@ package com.yxproject.start.service;
...
@@ -3,6 +3,7 @@ package com.yxproject.start.service;
import
com.yxproject.start.entity.SpecialCardEntity
;
import
com.yxproject.start.entity.SpecialCardEntity
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @auther zhangyusheng
* @auther zhangyusheng
...
@@ -12,4 +13,5 @@ public interface SpecialCardService {
...
@@ -12,4 +13,5 @@ public interface SpecialCardService {
public
boolean
saveSpecialCard
(
SpecialCardEntity
specialCardEntity
);
public
boolean
saveSpecialCard
(
SpecialCardEntity
specialCardEntity
);
public
List
<
SpecialCardEntity
>
selectSpecialCardAtSpecialCard
(
String
acceptNo
);
public
List
<
SpecialCardEntity
>
selectSpecialCardAtSpecialCard
(
String
acceptNo
);
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
);
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
);
public
List
<
Map
>
selectSpecialCardByGroupNo
(
String
groupNo
);
}
}
src/main/java/com/yxproject/start/service/impl/SpecialCardServiceImpl.java
View file @
a33c8021
...
@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @auther zhangyusheng
* @auther zhangyusheng
...
@@ -47,4 +48,15 @@ public class SpecialCardServiceImpl implements SpecialCardService {
...
@@ -47,4 +48,15 @@ public class SpecialCardServiceImpl implements SpecialCardService {
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
)
{
public
boolean
updateSpecialCardSpecialType
(
SpecialCardEntity
specialCardEntity
)
{
return
specialCardMapper
.
updateSpecialCardSpecialType
(
specialCardEntity
);
return
specialCardMapper
.
updateSpecialCardSpecialType
(
specialCardEntity
);
}
}
/**
* 查询特殊证件详情
* @param groupNo
* @return
*/
@Override
public
List
<
Map
>
selectSpecialCardByGroupNo
(
String
groupNo
)
{
return
specialCardMapper
.
selectSpecialCardByGroupNo
(
groupNo
);
}
}
}
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