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
269d0da3
Commit
269d0da3
authored
Jan 11, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移装变更登记,流程操作代码修改
parent
03a9f2a9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
4 deletions
+38
-4
JgChangeRegistrationTransfer.java
...ot/module/jg/api/entity/JgChangeRegistrationTransfer.java
+32
-2
JgChangeRegistrationTransferMapper.java
...ule/jg/api/mapper/JgChangeRegistrationTransferMapper.java
+4
-0
JgChangeRegistrationTransferController.java
...iz/controller/JgChangeRegistrationTransferController.java
+2
-2
JgChangeRegistrationTransferServiceImpl.java
...service/impl/JgChangeRegistrationTransferServiceImpl.java
+0
-0
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/entity/JgChangeRegistrationTransfer.java
View file @
269d0da3
...
@@ -122,13 +122,19 @@ public class JgChangeRegistrationTransfer extends BaseEntity {
...
@@ -122,13 +122,19 @@ public class JgChangeRegistrationTransfer extends BaseEntity {
/**
/**
* 创建人ID
* 创建人ID
*/
*/
@TableField
(
value
=
"create_user_id"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"create_user_id"
)
private
String
createUserId
;
private
String
createUserId
;
/**
/**
* 创建人名称
*/
@TableField
(
"create_user_name"
)
private
String
createUserName
;
/**
* 创建时间
* 创建时间
*/
*/
@TableField
(
value
=
"create_date"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
@TableField
(
value
=
"create_date"
)
private
Date
createDate
;
private
Date
createDate
;
/**
/**
...
@@ -198,8 +204,32 @@ public class JgChangeRegistrationTransfer extends BaseEntity {
...
@@ -198,8 +204,32 @@ public class JgChangeRegistrationTransfer extends BaseEntity {
private
String
promoter
;
private
String
promoter
;
/**
/**
* 使用登记证书附件
*/
@TableField
(
"use_registration_certificate"
)
private
String
useRegistrationCertificate
;
/**
* 流程状态
*/
@TableField
(
"instance_status"
)
private
String
instanceStatus
;
/**
*工作流下一节点任务id
*工作流下一节点任务id
*/
*/
@TableField
(
value
=
"next_task_id"
)
@TableField
(
value
=
"next_task_id"
)
private
String
nextTaskId
;
private
String
nextTaskId
;
/**
* 创建单位名称
*/
@TableField
(
value
=
"create_user_company_name"
)
private
String
createUserCompanyName
;
/**
* 设备种类名称
*/
@TableField
(
value
=
"equip_list_name"
)
private
String
equipListName
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationTransferMapper.java
View file @
269d0da3
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationTransferDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationTransferDto;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationTransfer
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationTransfer
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -20,4 +21,7 @@ public interface JgChangeRegistrationTransferMapper extends BaseMapper<JgChangeR
...
@@ -20,4 +21,7 @@ public interface JgChangeRegistrationTransferMapper extends BaseMapper<JgChangeR
void
updatePromoter
(
@Param
(
"id"
)
Long
id
);
void
updatePromoter
(
@Param
(
"id"
)
Long
id
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationTransferDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationTransferDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
@Select
(
"select name from tz_equipment_category where code=#{code}"
)
String
getEquiplistNameByEquiplist
(
String
code
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationTransferController.java
View file @
269d0da3
...
@@ -55,7 +55,7 @@ public class JgChangeRegistrationTransferController extends BaseController {
...
@@ -55,7 +55,7 @@ public class JgChangeRegistrationTransferController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增移装变更登记登记"
,
notes
=
"新增移装变更登记登记"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增移装变更登记登记"
,
notes
=
"新增移装变更登记登记"
)
public
ResponseModel
<
Boolean
>
save
(
@RequestParam
(
value
=
"submitType"
,
required
=
false
)
String
submitType
,
public
ResponseModel
<
Boolean
>
save
(
@RequestParam
(
value
=
"submitType"
)
String
submitType
,
@RequestBody
JSONObject
map
)
{
@RequestBody
JSONObject
map
)
{
Map
<
String
,
Object
>
tableData
=
(
Map
<
String
,
Object
>)
map
.
get
(
TABLE_PAGE_ID
);
Map
<
String
,
Object
>
tableData
=
(
Map
<
String
,
Object
>)
map
.
get
(
TABLE_PAGE_ID
);
if
(
ValidationUtil
.
isEmpty
(
tableData
)){
if
(
ValidationUtil
.
isEmpty
(
tableData
)){
...
@@ -78,7 +78,7 @@ public class JgChangeRegistrationTransferController extends BaseController {
...
@@ -78,7 +78,7 @@ public class JgChangeRegistrationTransferController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/update"
)
@PutMapping
(
value
=
"/update"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新移装变更登记登记"
,
notes
=
"根据sequenceNbr更新移装变更登记登记"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新移装变更登记登记"
,
notes
=
"根据sequenceNbr更新移装变更登记登记"
)
public
ResponseModel
<
Boolean
>
updateBySequenceNbr
(
@RequestParam
(
value
=
"submitType"
,
required
=
false
)
String
submitType
,
public
ResponseModel
<
Boolean
>
updateBySequenceNbr
(
@RequestParam
(
value
=
"submitType"
)
String
submitType
,
@RequestBody
JSONObject
map
)
{
@RequestBody
JSONObject
map
)
{
Map
<
String
,
Object
>
tableData
=
(
Map
<
String
,
Object
>)
map
.
get
(
TABLE_PAGE_ID
);
Map
<
String
,
Object
>
tableData
=
(
Map
<
String
,
Object
>)
map
.
get
(
TABLE_PAGE_ID
);
if
(
ValidationUtil
.
isEmpty
(
tableData
)){
if
(
ValidationUtil
.
isEmpty
(
tableData
)){
...
...
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/JgChangeRegistrationTransferServiceImpl.java
View file @
269d0da3
This diff is collapsed.
Click to expand it.
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