Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
5c965bca
提交
5c965bca
authored
7月 05, 2022
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(配套设备库模块): 修改了设备生命状态
修改了设备生命状态
上级
d915524a
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
28 行增加
和
3 行删除
+28
-3
MatchingDeviceLibrary.java
.../device/matching/subject/domin/MatchingDeviceLibrary.java
+26
-3
MatchingDeviceBillSaveVo.java
.../device/matching/subject/vo/MatchingDeviceBillSaveVo.java
+2
-0
没有找到文件。
dev-matching/src/main/java/com/tykj/dev/device/matching/subject/domin/MatchingDeviceLibrary.java
浏览文件 @
5c965bca
...
@@ -67,6 +67,12 @@ public class MatchingDeviceLibrary {
...
@@ -67,6 +67,12 @@ public class MatchingDeviceLibrary {
@ApiModelProperty
(
value
=
"创建单位Id"
)
@ApiModelProperty
(
value
=
"创建单位Id"
)
private
Integer
createUnitId
;
private
Integer
createUnitId
;
/**
* 所在单位
*/
@ApiModelProperty
(
value
=
"所在单位Id"
)
private
Integer
locationUnitId
;
/**
/**
* 设备序列号
* 设备序列号
*/
*/
...
@@ -85,7 +91,7 @@ public class MatchingDeviceLibrary {
...
@@ -85,7 +91,7 @@ public class MatchingDeviceLibrary {
/**
/**
* 生命状态,0,-入库待审核,1-入库审核失败,2-在库
* 生命状态,0,-入库待审核,1-入库审核失败,2-在库
*/
*/
@ApiModelProperty
(
value
=
"生命状态,0,-入库待审核,1-入库审核失败,2-在库"
)
@ApiModelProperty
(
value
=
"生命状态,0,-入库待审核,1-入库审核失败,2-在库
3 使用中 4 维修 5停用 6 已报废 7 丢失
"
)
private
Integer
lifeStatus
;
private
Integer
lifeStatus
;
/**
/**
* 创建用户id
* 创建用户id
...
@@ -145,8 +151,8 @@ public class MatchingDeviceLibrary {
...
@@ -145,8 +151,8 @@ public class MatchingDeviceLibrary {
@ApiModelProperty
(
value
=
"存放位置id"
)
@ApiModelProperty
(
value
=
"存放位置id"
)
private
Integer
matchingDeviceStorageLocationId
;
private
Integer
matchingDeviceStorageLocationId
;
@ApiModelProperty
(
value
=
"设备状态"
,
example
=
"0 在库 1 使用中 2 维修 3停用"
)
//
@ApiModelProperty(value = "设备状态",example = "0 在库 1 使用中 2 维修 3停用")
private
Integer
matchingDeviceStatus
=
0
;
//
private Integer matchingDeviceStatus = 0;
@ApiModelProperty
(
value
=
"备注"
)
@ApiModelProperty
(
value
=
"备注"
)
@Column
(
name
=
"remake"
,
columnDefinition
=
"TEXT"
)
@Column
(
name
=
"remake"
,
columnDefinition
=
"TEXT"
)
...
@@ -155,6 +161,12 @@ public class MatchingDeviceLibrary {
...
@@ -155,6 +161,12 @@ public class MatchingDeviceLibrary {
@ApiModelProperty
(
value
=
"停用设备信息的单位id"
)
@ApiModelProperty
(
value
=
"停用设备信息的单位id"
)
private
Integer
stopUnitId
=
0
;
private
Integer
stopUnitId
=
0
;
/**
* 锁定状态,0-未锁定可用,1-锁定不可用
*/
@ApiModelProperty
(
value
=
"锁定状态,0-未锁定可用,1-锁定不可用"
)
private
Integer
lockStatus
=
0
;
@ApiModelProperty
(
value
=
"停用单位的id"
)
@ApiModelProperty
(
value
=
"停用单位的id"
)
@Column
(
name
=
"status_json"
,
columnDefinition
=
"TEXT"
)
@Column
(
name
=
"status_json"
,
columnDefinition
=
"TEXT"
)
private
String
statusJson
;
private
String
statusJson
;
...
@@ -162,6 +174,17 @@ public class MatchingDeviceLibrary {
...
@@ -162,6 +174,17 @@ public class MatchingDeviceLibrary {
@Transient
@Transient
private
FileRet
statusJsonRet
;
private
FileRet
statusJsonRet
;
/**
* 检查结果(0:丢失,1:无误,2:新增)
*/
@ApiModelProperty
(
value
=
"检查结果(0:丢失,1:无误,2:新增)"
)
@Transient
private
Integer
checkResult
;
@ApiModelProperty
(
value
=
"维修状态"
)
@Transient
private
Integer
repairStatus
;
public
MatchingDeviceLibrary
setConfigName
(){
public
MatchingDeviceLibrary
setConfigName
(){
ConfigCache
configCache
=
SpringUtils
.
getBean
(
"initConfigCache"
);
ConfigCache
configCache
=
SpringUtils
.
getBean
(
"initConfigCache"
);
if
(
configCache
!=
null
)
{
if
(
configCache
!=
null
)
{
...
...
dev-matching/src/main/java/com/tykj/dev/device/matching/subject/vo/MatchingDeviceBillSaveVo.java
浏览文件 @
5c965bca
...
@@ -46,6 +46,8 @@ public class MatchingDeviceBillSaveVo {
...
@@ -46,6 +46,8 @@ public class MatchingDeviceBillSaveVo {
@ApiModelProperty
(
value
=
"任务id"
)
@ApiModelProperty
(
value
=
"任务id"
)
private
Integer
taskId
=
0
;
private
Integer
taskId
=
0
;
@Valid
@Valid
@NotEmpty
(
message
=
"matchingDeviceSaveVoList不能为空"
)
@NotEmpty
(
message
=
"matchingDeviceSaveVoList不能为空"
)
@ApiModelProperty
(
value
=
"配套设备列表"
)
@ApiModelProperty
(
value
=
"配套设备列表"
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论