Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
64df6d4f
提交
64df6d4f
authored
7月 01, 2021
作者:
133
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[清退] 添加阅知信息 以及修改标题
上级
3ae93133
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
20 行增加
和
5 行删除
+20
-5
DeviceRepel.java
...m/tykj/dev/device/sendback/entity/domain/DeviceRepel.java
+5
-2
DeviceRepelDetail.java
.../dev/device/sendback/entity/domain/DeviceRepelDetail.java
+5
-2
RepelBusinessService.java
...ykj/dev/device/sendback/service/RepelBusinessService.java
+6
-1
RepelBusinessServiceImpl.java
...evice/sendback/service/impl/RepelBusinessServiceImpl.java
+0
-0
HandoverController.java
.../tykj/dev/device/train/controller/HandoverController.java
+1
-0
WorkHandoverServiceImpl.java
...ev/device/train/service/impl/WorkHandoverServiceImpl.java
+3
-0
没有找到文件。
dev-sendback/src/main/java/com/tykj/dev/device/sendback/entity/domain/DeviceRepel.java
浏览文件 @
64df6d4f
...
...
@@ -5,7 +5,9 @@ import com.tykj.dev.device.file.entity.FileRet;
import
com.tykj.dev.misc.base.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.hibernate.annotations.SQLDelete
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
...
...
@@ -24,13 +26,14 @@ import java.util.List;
@Entity
@EntityListeners
(
AuditingEntityListener
.
class
)
@ApiModel
(
"清退账单"
)
@NoArgsConstructor
@AllArgsConstructor
public
class
DeviceRepel
extends
BaseEntity
{
/**
* 数据id
*/
@Id
@GeneratedValue
@Column
(
columnDefinition
=
"integer NOT NULL AUTO_INCREMENT"
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
Integer
id
;
/**
...
...
dev-sendback/src/main/java/com/tykj/dev/device/sendback/entity/domain/DeviceRepelDetail.java
浏览文件 @
64df6d4f
...
...
@@ -8,7 +8,9 @@ import com.tykj.dev.device.library.subject.vo.ScriptSaveVo;
import
com.tykj.dev.misc.base.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
javax.persistence.*
;
...
...
@@ -27,14 +29,15 @@ import java.util.List;
@Entity
@EntityListeners
(
AuditingEntityListener
.
class
)
@ApiModel
(
"清退详情"
)
@NoArgsConstructor
@AllArgsConstructor
public
class
DeviceRepelDetail
extends
BaseEntity
{
/**
* 主键id
*/
@Id
@GeneratedValue
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@ApiModelProperty
(
name
=
"主键id"
)
@Column
(
columnDefinition
=
"integer NOT NULL AUTO_INCREMENT"
)
private
Integer
id
;
/**
...
...
dev-sendback/src/main/java/com/tykj/dev/device/sendback/service/RepelBusinessService.java
浏览文件 @
64df6d4f
...
...
@@ -137,6 +137,11 @@ public interface RepelBusinessService {
*/
void
AllRepelNotDeviceSubmit
(
SecurityUser
securityUser
,
Integer
taskId
);
/**
* 撤回任务
* 根据任务id找到对应的任务 因为只有回执单时才有 回执单任务为只任务,主要配发任务为当前任务的主任务
* 子任务 封存 主任务根据单位进行回退到不同的状态 市 -1206 区 -1205 装备统一变程在库状态
*/
void
withdraw
(
Integer
taskId
);
}
dev-sendback/src/main/java/com/tykj/dev/device/sendback/service/impl/RepelBusinessServiceImpl.java
浏览文件 @
64df6d4f
差异被折叠。
点击展开。
dev-train/src/main/java/com/tykj/dev/device/train/controller/HandoverController.java
浏览文件 @
64df6d4f
...
...
@@ -11,6 +11,7 @@ import io.swagger.annotations.ApiOperation;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.security.core.annotation.AuthenticationPrincipal
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.*
;
import
springfox.documentation.annotations.ApiIgnore
;
...
...
dev-train/src/main/java/com/tykj/dev/device/train/service/impl/WorkHandoverServiceImpl.java
浏览文件 @
64df6d4f
...
...
@@ -35,6 +35,7 @@ import org.checkerframework.checker.units.qual.A;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.*
;
import
java.util.stream.Collector
;
...
...
@@ -75,6 +76,7 @@ public class WorkHandoverServiceImpl implements WorkHandoverService {
WorkHandoverDevDao
workHandoverDevDao
;
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
WorkHandover
createWorkHandover
(
WorkHandoverAddVo
workHandoverAddVo
,
SecurityUser
securityUser
)
{
log
.
info
(
"[workHandover] 新建工作交接"
);
// WorkHandover
...
...
@@ -105,6 +107,7 @@ public class WorkHandoverServiceImpl implements WorkHandoverService {
}
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
WorkHandover
endWorkHandover
(
WorkHandoverEndAddVo
workHandoverEndAddVo
)
{
//更新workHamdoverDb状态
WorkHandover
workHandover
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论