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
59202b18
Commit
59202b18
authored
Dec 20, 2023
by
LiuLin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
30ba5270
26d6892e
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
14 deletions
+24
-14
JgChangeRegistrationReformDto.java
...boot/module/jg/api/dto/JgChangeRegistrationReformDto.java
+10
-1
JgChangeRegistrationReform.java
...boot/module/jg/api/entity/JgChangeRegistrationReform.java
+0
-1
JgChangeRegistrationReformEqMapper.java
...ule/jg/api/mapper/JgChangeRegistrationReformEqMapper.java
+1
-1
JgChangeRegistrationReformMapper.java
...odule/jg/api/mapper/JgChangeRegistrationReformMapper.java
+2
-1
JgChangeRegistrationTransferEqMapper.java
...e/jg/api/mapper/JgChangeRegistrationTransferEqMapper.java
+1
-1
JgUseRegistrationEqMapper.java
.../boot/module/jg/api/mapper/JgUseRegistrationEqMapper.java
+1
-1
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+6
-6
JgChangeRegistrationReformController.java
.../biz/controller/JgChangeRegistrationReformController.java
+2
-1
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+1
-1
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/JgChangeRegistrationReformDto.java
View file @
59202b18
...
@@ -5,7 +5,9 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -5,7 +5,9 @@ import io.swagger.annotations.ApiModelProperty;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
/**
/**
* 改造变更登记
* 改造变更登记
...
@@ -15,7 +17,7 @@ import java.util.Date;
...
@@ -15,7 +17,7 @@ import java.util.Date;
*/
*/
@Data
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JgChangeRegistrationReformDto"
,
description
=
"改造变更登记"
)
@ApiModel
(
value
=
"JgChangeRegistrationReformDto"
,
description
=
"改造变更登记"
)
public
class
JgChangeRegistrationReformDto
extends
BaseDto
{
public
class
JgChangeRegistrationReformDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -108,4 +110,11 @@ public class JgChangeRegistrationReformDto extends BaseDto {
...
@@ -108,4 +110,11 @@ public class JgChangeRegistrationReformDto extends BaseDto {
@ApiModelProperty
(
value
=
"任务发起人id"
)
@ApiModelProperty
(
value
=
"任务发起人id"
)
private
String
promoter
;
private
String
promoter
;
private
List
<
String
>
roleIds
;
private
String
dataType
;
private
String
unitCode
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgChangeRegistrationReform.java
View file @
59202b18
...
@@ -202,5 +202,4 @@ public class JgChangeRegistrationReform extends BaseEntity {
...
@@ -202,5 +202,4 @@ public class JgChangeRegistrationReform extends BaseEntity {
@TableField
(
value
=
"promoter"
)
@TableField
(
value
=
"promoter"
)
private
String
promoter
;
private
String
promoter
;
private
List
<
String
>
roleIds
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationReformEqMapper.java
View file @
59202b18
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgChangeRegistrationReformEqMapper
extends
BaseMapper
<
JgChangeRegistrationReformEq
>
{
public
interface
JgChangeRegistrationReformEqMapper
extends
BaseMapper
<
JgChangeRegistrationReformEq
>
{
@Update
(
"update jg_change_registration_reform set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id = #{currentDocumentId} "
)
@Update
(
"update jg_change_registration_reform set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id
!
= #{currentDocumentId} "
)
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationReformMapper.java
View file @
59202b18
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationReformDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationReform
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationReform
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
...
@@ -17,7 +18,7 @@ import java.util.Map;
...
@@ -17,7 +18,7 @@ import java.util.Map;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgChangeRegistrationReformMapper
extends
BaseMapper
<
JgChangeRegistrationReform
>
{
public
interface
JgChangeRegistrationReformMapper
extends
BaseMapper
<
JgChangeRegistrationReform
>
{
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationReform
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>>
page
,
@Param
(
"dto"
)
JgChangeRegistrationReform
Dto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationTransferEqMapper.java
View file @
59202b18
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
* @date 2023-12-20
* @date 2023-12-20
*/
*/
public
interface
JgChangeRegistrationTransferEqMapper
extends
BaseMapper
<
JgChangeRegistrationTransferEq
>
{
public
interface
JgChangeRegistrationTransferEqMapper
extends
BaseMapper
<
JgChangeRegistrationTransferEq
>
{
@Update
(
"update tzs_jg_change_registration_transfer_eq set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id = #{currentDocumentId} "
)
@Update
(
"update tzs_jg_change_registration_transfer_eq set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id
!
= #{currentDocumentId} "
)
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgUseRegistrationEqMapper.java
View file @
59202b18
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
...
@@ -12,6 +12,6 @@ import org.apache.ibatis.annotations.Update;
* @date 2023-12-18
* @date 2023-12-18
*/
*/
public
interface
JgUseRegistrationEqMapper
extends
BaseMapper
<
JgUseRegistrationEq
>
{
public
interface
JgUseRegistrationEqMapper
extends
BaseMapper
<
JgUseRegistrationEq
>
{
@Update
(
"update tzs_jg_use_registration_eq set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id = #{currentDocumentId} "
)
@Update
(
"update tzs_jg_use_registration_eq set is_invalid = 1 where equ_id = #{equipId} and equip_transfer_id
!
= #{currentDocumentId} "
)
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
void
updateEquipIsVaildByEquipIdAndCurrentDocumentId
(
@Param
(
"equipId"
)
String
equipId
,
@Param
(
"currentDocumentId"
)
String
currentDocumentId
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
59202b18
...
@@ -31,15 +31,15 @@
...
@@ -31,15 +31,15 @@
<where>
<where>
and ur.is_delete = 0
and ur.is_delete = 0
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
<!-- <if test="dto.equCategory != null and dto.equCategory != ''">--
>
and jri.EQU_CATEGORY = #{dto.equCategory}
<!-- and jri.EQU_CATEGORY = #{dto.equCategory}-->
</if
>
<!-- </if>--
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
and ur.audit_status = #{dto.auditStatus}
and ur.audit_status = #{dto.auditStatus}
</if>
</if>
<if
test=
"dto.equCode != null and dto.equCode != ''"
>
<!-- <if test="dto.equCode != null and dto.equCode != ''">--
>
and jri.EQU_CODE like concat('%',#{dto.equCode},'%')
<!-- and jri.EQU_CODE like concat('%',#{dto.equCode},'%')-->
</if
>
<!-- </if>--
>
<if
test=
"dto.useUnitName != null and dto.useUnitName != ''"
>
<if
test=
"dto.useUnitName != null and dto.useUnitName != ''"
>
and ur.use_unit_name like concat('%',#{dto.useUnitName},'%')
and ur.use_unit_name like concat('%',#{dto.useUnitName},'%')
</if>
</if>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationReformController.java
View file @
59202b18
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.controller;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationReformDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationReform
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationReform
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -88,7 +89,7 @@ public class JgChangeRegistrationReformController extends BaseController {
...
@@ -88,7 +89,7 @@ public class JgChangeRegistrationReformController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/getList"
)
@GetMapping
(
value
=
"/getList"
)
public
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getList
(
JgChangeRegistrationReform
dto
,
public
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getList
(
JgChangeRegistrationReform
Dto
dto
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<>(
current
,
size
);
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<>(
current
,
size
);
...
...
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/JgChangeRegistrationReformServiceImpl.java
View file @
59202b18
...
@@ -91,7 +91,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -91,7 +91,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
/**
/**
* 分页查询
* 分页查询
*/
*/
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgChangeRegistrationReform
dto
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
public
Page
<
Map
<
String
,
Object
>>
getList
(
JgChangeRegistrationReform
Dto
dto
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
)
{
Page
<
Map
<
String
,
Object
>>
listPage
=
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
);
Page
<
Map
<
String
,
Object
>>
listPage
=
this
.
baseMapper
.
getListPage
(
page
,
dto
,
roleIds
);
return
listPage
;
return
listPage
;
}
}
...
...
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