Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
9b0a2247
Commit
9b0a2247
authored
Apr 25, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.使用登记、安装告知增加作废3字段,作废原因、作废日期、作废人员id
parent
33f5cddc
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
7 deletions
+62
-7
JgInstallationNoticeDto.java
.../amos/boot/module/jg/api/dto/JgInstallationNoticeDto.java
+12
-3
JgUseRegistrationDto.java
...oin/amos/boot/module/jg/api/dto/JgUseRegistrationDto.java
+13
-0
JgInstallationNotice.java
.../amos/boot/module/jg/api/entity/JgInstallationNotice.java
+13
-1
JgUseRegistration.java
...oin/amos/boot/module/jg/api/entity/JgUseRegistration.java
+19
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+2
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+3
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgInstallationNoticeDto.java
View file @
9b0a2247
...
...
@@ -126,13 +126,13 @@ public class JgInstallationNoticeDto extends BaseDto {
@ApiModelProperty
(
value
=
"流程建议"
)
private
String
processAdvice
;
@ApiModelProperty
(
value
=
"
撤销原由
"
)
@ApiModelProperty
(
value
=
"
作废原因
"
)
private
String
cancelReason
;
@ApiModelProperty
(
value
=
"撤销说明"
)
@ApiModelProperty
(
value
=
"撤销说明
-未使用
"
)
private
String
cancelRemark
;
@ApiModelProperty
(
value
=
"撤销
处理截止日期
"
)
@ApiModelProperty
(
value
=
"撤销
日期-未使用
"
)
private
Date
cancelHandleDeadline
;
@ApiModelProperty
(
value
=
"撤销流水号"
)
...
...
@@ -299,4 +299,13 @@ public class JgInstallationNoticeDto extends BaseDto {
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equipCategory
;
@ApiModelProperty
(
value
=
"作废人员id"
)
private
String
cancelUserId
;
@ApiModelProperty
(
value
=
"作废日期"
)
private
Date
cancelDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgUseRegistrationDto.java
View file @
9b0a2247
...
...
@@ -134,4 +134,17 @@ public class JgUseRegistrationDto extends BaseDto {
@ApiModelProperty
(
value
=
"接收单位"
)
private
String
receiveCompanyCode
;
@ApiModelProperty
(
value
=
"作废人员id"
)
private
String
cancelUserId
;
@ApiModelProperty
(
value
=
"作废原因"
)
private
String
cancelReason
;
@ApiModelProperty
(
value
=
"作废日期"
)
private
Date
cancelDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgInstallationNotice.java
View file @
9b0a2247
...
...
@@ -225,7 +225,7 @@ public class JgInstallationNotice extends BaseEntity {
private
String
processAdvice
;
/**
*
撤销原由
*
作废原因
*/
@TableField
(
"cancel_reason"
)
private
String
cancelReason
;
...
...
@@ -459,4 +459,16 @@ public class JgInstallationNotice extends BaseEntity {
*/
@TableField
(
"receive_company_org_code"
)
private
String
receiveCompanyOrgCode
;
/**
* 作废日期
*/
@TableField
(
"cancel_date"
)
private
Date
cancelDate
;
/**
* 作废人员id
*/
@TableField
(
"cancel_user_id"
)
private
String
cancelUserId
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgUseRegistration.java
View file @
9b0a2247
...
...
@@ -210,4 +210,23 @@ public class JgUseRegistration extends BaseEntity {
*/
@TableField
(
"receive_company_org_code"
)
private
String
receiveCompanyOrgCode
;
/**
* 作废日期
*/
@TableField
(
"cancel_date"
)
private
Date
cancelDate
;
/**
* 作废人员id
*/
@TableField
(
"cancel_user_id"
)
private
String
cancelUserId
;
/**
* 作废原因
*/
@TableField
(
"cancel_reason"
)
private
String
cancelReason
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
9b0a2247
...
...
@@ -26,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgInstallationNoticeMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
import
com.yeejoin.amos.boot.module.jg.biz.context.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
...
...
@@ -562,7 +563,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
jgInstallationNoticeEqMapper
.
insertBatchSomeColumn
(
jgRelationEquipList
);
this
.
updateRedisBatch
(
list
);
return
list
;
}
catch
(
BadRequest
e
)
{
}
catch
(
BadRequest
|
LocalBadRequest
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
this
.
rollBackForDelRedisData
();
throw
e
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
9b0a2247
...
...
@@ -29,6 +29,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationEqMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgUseRegistrationService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
import
com.yeejoin.amos.boot.module.jg.biz.context.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
...
...
@@ -500,7 +501,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
commonServiceImpl
.
buildTaskModel
(
list
);
}
return
this
.
baseMapper
.
getDetailById
(
jgUseRegistration
.
getSequenceNbr
());
}
catch
(
BadRequest
e
)
{
}
catch
(
BadRequest
|
LocalBadRequest
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
this
.
rollBackForDelRedisData
();
throw
e
;
...
...
@@ -692,7 +693,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
// 设备数据存历史数据,在流程完成时使用
updateHistory
(
map
,
null
,
String
.
valueOf
(
useRegistration
.
getSequenceNbr
()),
useRegistration
.
getSupervisoryCode
());
return
this
.
baseMapper
.
getDetailById
(
useRegistration
.
getSequenceNbr
());
}
catch
(
BadRequest
e
)
{
}
catch
(
BadRequest
|
LocalBadRequest
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
this
.
rollBackForDelRedisData
();
throw
e
;
...
...
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