Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
1ff25028
提交
1ff25028
authored
4月 12, 2021
作者:
邓砥奕
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
b7e37ca3
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
41 行增加
和
9 行删除
+41
-9
AllotBillController.java
...tykj/dev/device/allot/controller/AllotBillController.java
+14
-4
BackController.java
.../com/tykj/dev/device/allot/controller/BackController.java
+14
-4
AllotReceiveVo.java
.../com/tykj/dev/device/allot/subject/vo/AllotReceiveVo.java
+1
-1
LogType.java
dev-config/src/main/java/com/tykj/dev/config/LogType.java
+11
-0
PackingLibraryServiceImpl.java
...evice/packing/service/impl/PackingLibraryServiceImpl.java
+1
-0
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/AllotBillController.java
浏览文件 @
1ff25028
...
@@ -656,15 +656,25 @@ public class AllotBillController {
...
@@ -656,15 +656,25 @@ public class AllotBillController {
public
ResponseEntity
applySignConfirm
(
@PathVariable
(
"taskId"
)
int
taskId
,
@PathVariable
(
"status"
)
int
status
)
{
public
ResponseEntity
applySignConfirm
(
@PathVariable
(
"taskId"
)
int
taskId
,
@PathVariable
(
"status"
)
int
status
)
{
//推动任务
//推动任务
TaskBto
taskBto
=
taskService
.
get
(
taskId
);
TaskBto
taskBto
=
taskService
.
get
(
taskId
);
AllotBill
allotBill
=
allotBillService
.
getOne
(
taskBto
.
getBillId
());
if
(
status
==
1
){
if
(
status
==
1
){
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
WAIT_SIGN
);
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
WAIT_SIGN
);
AllotBill
allotBill
=
allotBillService
.
getOne
(
taskBto
.
getBillId
());
if
(
allotBill
.
getAllotStatus
()==
0
)
{
allotBill
.
setSendUserbId
(
userUtils
.
getCurrentUserId
());
allotBill
.
setSendUserbId
(
userUtils
.
getCurrentUserId
());
allotBill
.
setAgent
(
userUtils
.
getCurrentName
());
allotBill
.
setAgent
(
userUtils
.
getCurrentName
());
}
else
{
allotBill
.
setReceiveUserbId
(
userUtils
.
getCurrentUserId
());
}
allotBillService
.
update
(
allotBill
);
allotBillService
.
update
(
allotBill
);
}
}
else
{
else
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOT_DRAFT
,
taskBto
.
getCreateUserId
());
if
(
allotBill
.
getAllotStatus
()==
0
)
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOT_DRAFT
,
taskBto
.
getCreateUserId
());
}
else
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOTING
,
allotBill
.
getReceiveUseraId
());
}
}
}
myWebSocket
.
sendMessage1
();
myWebSocket
.
sendMessage1
();
return
ResponseEntity
.
ok
(
"申请成功"
);
return
ResponseEntity
.
ok
(
"申请成功"
);
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/BackController.java
浏览文件 @
1ff25028
...
@@ -457,15 +457,25 @@ public class BackController {
...
@@ -457,15 +457,25 @@ public class BackController {
public
ResponseEntity
applySignConfirm
(
@PathVariable
(
"taskId"
)
int
taskId
,
@PathVariable
(
"status"
)
int
status
)
{
public
ResponseEntity
applySignConfirm
(
@PathVariable
(
"taskId"
)
int
taskId
,
@PathVariable
(
"status"
)
int
status
)
{
//推动任务
//推动任务
TaskBto
taskBto
=
taskService
.
get
(
taskId
);
TaskBto
taskBto
=
taskService
.
get
(
taskId
);
AllotBackBill
allotBill
=
allotBackBillService
.
getOne
(
taskBto
.
getBillId
());
if
(
status
==
1
){
if
(
status
==
1
){
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
BACK_WAIT_SIGN
);
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
BACK_WAIT_SIGN
);
AllotBackBill
allotBill
=
allotBackBillService
.
getOne
(
taskBto
.
getBillId
());
if
(
allotBill
.
getBackStatus
()==
0
)
{
allotBill
.
setSendUserbId
(
userUtils
.
getCurrentUserId
());
allotBill
.
setSendUserbId
(
userUtils
.
getCurrentUserId
());
allotBill
.
setAgent
(
userUtils
.
getCurrentUserName
());
allotBill
.
setAgent
(
userUtils
.
getCurrentName
());
}
else
{
allotBill
.
setReceiveUserbId
(
userUtils
.
getCurrentUserId
());
}
allotBackBillService
.
update
(
allotBill
);
allotBackBillService
.
update
(
allotBill
);
}
}
else
{
else
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
BACK_DRAFT
,
taskBto
.
getCreateUserId
());
if
(
allotBill
.
getBackStatus
()==
0
)
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
BACK_DRAFT
,
taskBto
.
getCreateUserId
());
}
else
{
taskService
.
moveToSpecial
(
taskBto
,
StatusEnum
.
ALLOT_BACKING
,
allotBill
.
getReceiveUseraId
());
}
}
}
myWebSocket
.
sendMessage1
();
myWebSocket
.
sendMessage1
();
return
ResponseEntity
.
ok
(
"申请成功"
);
return
ResponseEntity
.
ok
(
"申请成功"
);
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/subject/vo/AllotReceiveVo.java
浏览文件 @
1ff25028
...
@@ -63,7 +63,7 @@ public class AllotReceiveVo {
...
@@ -63,7 +63,7 @@ public class AllotReceiveVo {
private
Map
<
Integer
,
String
>
map
=
new
HashMap
<>();
private
Map
<
Integer
,
String
>
map
=
new
HashMap
<>();
@NotNull
(
message
=
"status不能为空"
)
@NotNull
(
message
=
"status不能为空"
)
@ApiModelProperty
(
value
=
"是否
缺失单据
(0:否,1:是)"
)
@ApiModelProperty
(
value
=
"是否
二方都盖章了
(0:否,1:是)"
)
private
Integer
status
=
0
;
private
Integer
status
=
0
;
@ApiModelProperty
(
value
=
"接收方配发单"
)
@ApiModelProperty
(
value
=
"接收方配发单"
)
...
...
dev-config/src/main/java/com/tykj/dev/config/LogType.java
浏览文件 @
1ff25028
...
@@ -282,6 +282,17 @@ public enum LogType {
...
@@ -282,6 +282,17 @@ public enum LogType {
ALLOT_17
(
110
,
ALLOT
.
id
,
SIGN_WAIT_CONFIRM
.
id
,
ALLOT_DRAFT
.
id
,
"拒绝电子签章申请"
),
ALLOT_17
(
110
,
ALLOT
.
id
,
SIGN_WAIT_CONFIRM
.
id
,
ALLOT_DRAFT
.
id
,
"拒绝电子签章申请"
),
ALLOT_18
(
111
,
ALLOT
.
id
,
SIGN_WAIT_CONFIRM
.
id
,
WAIT_SIGN
.
id
,
"同意电子签章申请"
),
ALLOT_18
(
111
,
ALLOT
.
id
,
SIGN_WAIT_CONFIRM
.
id
,
WAIT_SIGN
.
id
,
"同意电子签章申请"
),
ALLOT_19
(
112
,
ALLOT
.
id
,
WAIT_SIGN
.
id
,
ALLOTING
.
id
,
"盖电子签章并出库"
),
ALLOT_19
(
112
,
ALLOT
.
id
,
WAIT_SIGN
.
id
,
ALLOTING
.
id
,
"盖电子签章并出库"
),
ALLOT_BACK_8
(
113
,
ALLOT_BACK
.
id
,
ORIGIN_STATUS
.
id
,
BACK_SIGN_WAIT_CONFIRM
.
id
,
"申请电子签章"
),
ALLOT_BACK_9
(
114
,
ALLOT_BACK
.
id
,
BACK_DRAFT
.
id
,
BACK_SIGN_WAIT_CONFIRM
.
id
,
"申请电子签章"
),
ALLOT_BACK_10
(
115
,
ALLOT_BACK
.
id
,
BACK_SIGN_WAIT_CONFIRM
.
id
,
BACK_DRAFT
.
id
,
"拒绝电子签章申请"
),
ALLOT_BACK_11
(
116
,
ALLOT_BACK
.
id
,
BACK_SIGN_WAIT_CONFIRM
.
id
,
BACK_WAIT_SIGN
.
id
,
"同意电子签章申请"
),
ALLOT_BACK_12
(
117
,
ALLOT_BACK
.
id
,
BACK_WAIT_SIGN
.
id
,
ALLOT_BACKING
.
id
,
"盖电子签章并出库"
),
ALLOT_BACK_13
(
118
,
ALLOT_BACK
.
id
,
BACK_WAIT_SIGN
.
id
,
END
.
id
,
"盖电子签章并入库"
),
ALLOT_BACK_14
(
119
,
ALLOT_BACK
.
id
,
BACK_WAIT_SIGN
.
id
,
WAIT_UPLOAD_ALLOT_BACK_FILE
.
id
,
"盖电子签章并入库"
),
ALLOT_20
(
120
,
ALLOT
.
id
,
WAIT_SIGN
.
id
,
END
.
id
,
"盖电子签章并入库"
),
ALLOT_21
(
121
,
ALLOT
.
id
,
WAIT_SIGN
.
id
,
WAIT_UPLOAD_ALLOT_RECEIVE_FILE
.
id
,
"盖电子签章并入库"
),
ALLOT_22
(
122
,
ALLOT
.
id
,
SIGN_WAIT_CONFIRM
.
id
,
ALLOTING
.
id
,
"拒绝电子签章申请"
),
ALLOT_BACK_15
(
123
,
ALLOT_BACK
.
id
,
BACK_SIGN_WAIT_CONFIRM
.
id
,
ALLOT_BACKING
.
id
,
"拒绝电子签章申请"
),
;
;
public
Integer
id
;
public
Integer
id
;
...
...
dev-packing/src/main/java/com/tykj/dev/device/packing/service/impl/PackingLibraryServiceImpl.java
浏览文件 @
1ff25028
...
@@ -225,6 +225,7 @@ public class PackingLibraryServiceImpl implements PackingLibraryService {
...
@@ -225,6 +225,7 @@ public class PackingLibraryServiceImpl implements PackingLibraryService {
PackingLibrary
packingLibrary
=
getOne
(
id
);
PackingLibrary
packingLibrary
=
getOne
(
id
);
packingLibrary
.
setPackingStatus
(
3
);
packingLibrary
.
setPackingStatus
(
3
);
packingLibrary
.
setExitTime
(
Timestamp
.
from
(
new
Date
().
toInstant
()));
packingLibrary
.
setExitTime
(
Timestamp
.
from
(
new
Date
().
toInstant
()));
packingLibrary
.
setShowOrder
(
9999
);
update
(
packingLibrary
);
update
(
packingLibrary
);
//添加列装日志
//添加列装日志
PackingLog
packingLog
=
new
PackingLog
();
PackingLog
packingLog
=
new
PackingLog
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论