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
828e67de
Commit
828e67de
authored
Mar 25, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加补证日期字段
parent
eaad6c67
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
22 deletions
+40
-22
JgCertificateReplenishDto.java
...mos/boot/module/jg/api/dto/JgCertificateReplenishDto.java
+3
-3
JgUseRegistrationManageDto.java
...os/boot/module/jg/api/dto/JgUseRegistrationManageDto.java
+5
-0
JgCertificateReplenish.java
...mos/boot/module/jg/api/entity/JgCertificateReplenish.java
+8
-6
JgUseRegistrationManage.java
...os/boot/module/jg/api/entity/JgUseRegistrationManage.java
+9
-0
JgCertificateReplenishServiceImpl.java
...g/biz/service/impl/JgCertificateReplenishServiceImpl.java
+15
-13
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/JgCertificateReplenishDto.java
View file @
828e67de
...
@@ -55,6 +55,9 @@ public class JgCertificateReplenishDto extends BaseDto {
...
@@ -55,6 +55,9 @@ public class JgCertificateReplenishDto extends BaseDto {
@ApiModelProperty
(
value
=
"使用单位名称"
)
@ApiModelProperty
(
value
=
"使用单位名称"
)
private
String
useUnitName
;
private
String
useUnitName
;
@ApiModelProperty
(
"补证日期"
)
private
Date
reissueDate
;
@ApiModelProperty
(
value
=
"接收机构代码"
)
@ApiModelProperty
(
value
=
"接收机构代码"
)
private
String
receiveOrgCode
;
private
String
receiveOrgCode
;
...
@@ -88,9 +91,6 @@ public class JgCertificateReplenishDto extends BaseDto {
...
@@ -88,9 +91,6 @@ public class JgCertificateReplenishDto extends BaseDto {
@ApiModelProperty
(
value
=
"流程实例id"
)
@ApiModelProperty
(
value
=
"流程实例id"
)
private
String
instanceId
;
private
String
instanceId
;
@ApiModelProperty
(
value
=
"当前流程节点名称"
)
private
String
taskName
;
@ApiModelProperty
(
value
=
"下步执行角色/人id"
)
@ApiModelProperty
(
value
=
"下步执行角色/人id"
)
private
String
nextExecuteIds
;
private
String
nextExecuteIds
;
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgUseRegistrationManageDto.java
View file @
828e67de
...
@@ -6,6 +6,8 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -6,6 +6,8 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
/**
* @author system_generator
* @author system_generator
* @date 2024-07-03
* @date 2024-07-03
...
@@ -122,4 +124,7 @@ public class JgUseRegistrationManageDto extends BaseDto {
...
@@ -122,4 +124,7 @@ public class JgUseRegistrationManageDto extends BaseDto {
@ApiModelProperty
(
value
=
"是否超设计使用年限(0-否,1-是)"
)
@ApiModelProperty
(
value
=
"是否超设计使用年限(0-否,1-是)"
)
private
String
isOverDesign
;
private
String
isOverDesign
;
@ApiModelProperty
(
"补证日期"
)
private
Date
reissueDate
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgCertificateReplenish.java
View file @
828e67de
...
@@ -160,12 +160,6 @@ public class JgCertificateReplenish extends BaseEntity {
...
@@ -160,12 +160,6 @@ public class JgCertificateReplenish extends BaseEntity {
private
String
instanceId
;
private
String
instanceId
;
/**
/**
* 当前流程节点名称
*/
@TableField
(
"task_name"
)
private
String
taskName
;
/**
* 下步执行角色/人id
* 下步执行角色/人id
*/
*/
@TableField
(
"next_execute_ids"
)
@TableField
(
"next_execute_ids"
)
...
@@ -187,9 +181,17 @@ public class JgCertificateReplenish extends BaseEntity {
...
@@ -187,9 +181,17 @@ public class JgCertificateReplenish extends BaseEntity {
* 受理完成日期
* 受理完成日期
*/
*/
@TableField
(
"accept_date"
)
@TableField
(
"accept_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
acceptDate
;
private
Date
acceptDate
;
/**
/**
* 补证日期
*/
@TableField
(
"reissue_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
reissueDate
;
/**
* 作废时间
* 作废时间
*/
*/
@TableField
(
"cancel_date"
)
@TableField
(
"cancel_date"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgUseRegistrationManage.java
View file @
828e67de
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.api.entity;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.api.entity;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.*
;
import
lombok.*
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
...
@@ -213,4 +214,12 @@ public class JgUseRegistrationManage extends BaseEntity {
...
@@ -213,4 +214,12 @@ public class JgUseRegistrationManage extends BaseEntity {
*/
*/
@TableField
(
"is_over_design"
)
@TableField
(
"is_over_design"
)
private
String
isOverDesign
;
private
String
isOverDesign
;
/**
* 补证日期
*/
@TableField
(
"reissue_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
reissueDate
;
}
}
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/JgCertificateReplenishServiceImpl.java
View file @
828e67de
...
@@ -235,16 +235,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -235,16 +235,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
return
commonService
.
updateTaskModel
(
params
);
return
commonService
.
updateTaskModel
(
params
);
}
}
private
void
buildRoleList
(
List
<
ProcessTaskDTO
>
processTasks
,
List
<
String
>
roleListNext
,
List
<
String
>
roleListAll
)
{
processTasks
.
forEach
(
p
->
{
p
.
getNextCandidateGroups
().
values
().
forEach
(
e
->
{
roleListNext
.
addAll
(
e
);
roleListAll
.
addAll
(
e
);
});
roleListAll
.
addAll
(
p
.
getCandidateGroups
());
});
}
public
Object
updateNotsubmit
(
JSONObject
jsonObject
)
{
public
Object
updateNotsubmit
(
JSONObject
jsonObject
)
{
JgCertificateReplenish
certRep
=
this
.
buildUpdateCertRep
(
jsonObject
,
FlowStatusEnum
.
TO_BE_SUBMITTED
);
JgCertificateReplenish
certRep
=
this
.
buildUpdateCertRep
(
jsonObject
,
FlowStatusEnum
.
TO_BE_SUBMITTED
);
certRep
.
setApplicationFormFileUrl
(
Objects
.
toString
(
this
.
getCertReplenishFormUrl
(
jsonObject
,
certRep
.
getApplyNo
()).
get
(
APPLICATION_FORM_FILE_URL
)));
certRep
.
setApplicationFormFileUrl
(
Objects
.
toString
(
this
.
getCertReplenishFormUrl
(
jsonObject
,
certRep
.
getApplyNo
()).
get
(
APPLICATION_FORM_FILE_URL
)));
...
@@ -506,7 +496,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -506,7 +496,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
certRep
.
setApplyStatus
(
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
()));
certRep
.
setApplyStatus
(
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_FINISHED
.
getCode
()));
certRep
.
setPromoter
(
""
);
certRep
.
setPromoter
(
""
);
certRep
.
setNextTaskId
(
null
);
certRep
.
setNextTaskId
(
null
);
certRep
.
setAcceptDate
(
new
Date
());
// 上个代办改为已办
// 上个代办改为已办
this
.
updateLastTodo
(
certRep
,
FlowStatusEnum
.
TO_BE_FINISHED
);
this
.
updateLastTodo
(
certRep
,
FlowStatusEnum
.
TO_BE_FINISHED
);
}
else
{
}
else
{
...
@@ -520,11 +509,24 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -520,11 +509,24 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
// 创建新的代办
// 创建新的代办
this
.
createNewTodo
(
certRep
,
workflowResultDto
,
taskV2Model
,
FlowStatusEnum
.
TO_BE_PROCESSED
);
this
.
createNewTodo
(
certRep
,
workflowResultDto
,
taskV2Model
,
FlowStatusEnum
.
TO_BE_PROCESSED
);
}
}
// 创建历史数据
certRep
.
setNextTaskId
(
""
);
// this.saveOrUpdateHisDataBatch(jsonObj, certRep.getSequenceNbr().toString());
certRep
.
setAcceptDate
(
new
Date
());
certRep
.
setReissueDate
(
new
Date
());
this
.
updateManageWithPass
(
certRep
);
this
.
saveManageRecord
(
certRep
);
return
this
.
updateById
(
certRep
)
?
certRep
:
null
;
return
this
.
updateById
(
certRep
)
?
certRep
:
null
;
}
}
public
void
saveManageRecord
(
JgCertificateReplenish
certRep
)
{
// todo
}
public
void
updateManageWithPass
(
JgCertificateReplenish
certRep
)
{
registrationManageService
.
update
(
new
LambdaUpdateWrapper
<
JgUseRegistrationManage
>()
.
eq
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
certRep
.
getUseRegistrationCode
())
.
set
(
JgUseRegistrationManage:
:
getReissueDate
,
certRep
.
getReissueDate
()));
}
/**
/**
* 上个代办改为已办
* 上个代办改为已办
*
*
...
...
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