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
aba4dcc6
Commit
aba4dcc6
authored
Jul 15, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.设备注销报废初稿代码提交
parent
53463d8a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
78 additions
and
119 deletions
+78
-119
JgScrapCancelDto.java
...yeejoin/amos/boot/module/jg/api/dto/JgScrapCancelDto.java
+14
-15
JgScrapCancelEqDto.java
...ejoin/amos/boot/module/jg/api/dto/JgScrapCancelEqDto.java
+6
-9
JgScrapCancel.java
...yeejoin/amos/boot/module/jg/api/entity/JgScrapCancel.java
+17
-14
JgScrapCancelEq.java
...ejoin/amos/boot/module/jg/api/entity/JgScrapCancelEq.java
+8
-9
JgScrapCancelMapper.java
...n/amos/boot/module/jg/api/mapper/JgScrapCancelMapper.java
+1
-1
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+23
-62
JgScrapCancelController.java
...oot/module/jg/biz/controller/JgScrapCancelController.java
+6
-6
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+0
-0
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+2
-1
ApplicationFormTypeEnum.java
...os/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
+1
-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/JgScrapCancelDto.java
View file @
aba4dcc6
...
@@ -25,9 +25,13 @@ public class JgScrapCancelDto extends BaseDto {
...
@@ -25,9 +25,13 @@ public class JgScrapCancelDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"注销类型(1报废注销,2移装注销)"
)
@ApiModelProperty
(
value
=
"注销类型
code
(1报废注销,2移装注销)"
)
private
String
cancelType
;
private
String
cancelType
;
@ApiModelProperty
(
value
=
"注销类型每次"
)
private
String
cancelTypeDesc
;
@ApiModelProperty
(
value
=
"申请编号"
)
@ApiModelProperty
(
value
=
"申请编号"
)
private
String
applyNo
;
private
String
applyNo
;
...
@@ -109,14 +113,11 @@ public class JgScrapCancelDto extends BaseDto {
...
@@ -109,14 +113,11 @@ public class JgScrapCancelDto extends BaseDto {
@ApiModelProperty
(
value
=
"转办后执行人的Id逗号分割"
)
@ApiModelProperty
(
value
=
"转办后执行人的Id逗号分割"
)
private
String
transferToUserIds
;
private
String
transferToUserIds
;
@ApiModelProperty
(
"设备品种
"
)
@ApiModelProperty
(
value
=
"设备种类code
"
)
private
String
equ
Defin
e
;
private
String
equ
ListCod
e
;
@ApiModelProperty
(
value
=
"设备种类"
)
@ApiModelProperty
(
value
=
"设备种类name"
)
private
String
equList
;
private
String
equListName
;
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equCategory
;
@ApiModelProperty
(
value
=
"设备代码"
)
@ApiModelProperty
(
value
=
"设备代码"
)
private
String
equCode
;
private
String
equCode
;
...
@@ -127,16 +128,14 @@ public class JgScrapCancelDto extends BaseDto {
...
@@ -127,16 +128,14 @@ public class JgScrapCancelDto extends BaseDto {
@ApiModelProperty
(
value
=
"96333识别码"
)
@ApiModelProperty
(
value
=
"96333识别码"
)
private
String
code96333
;
private
String
code96333
;
@ApiModelProperty
(
value
=
"设备名称"
)
@ApiModelProperty
(
value
=
"其他附件"
)
private
String
productName
;
@ApiModelProperty
(
value
=
"设备地址"
)
private
String
fullAddress
;
@ApiModelProperty
(
value
=
"其他附件"
)
private
String
otherAccessories
;
private
String
otherAccessories
;
@ApiModelProperty
(
value
=
"申请日期,接收查询参数"
)
@ApiModelProperty
(
value
=
"申请日期,接收查询参数"
)
private
String
applicationDate
;
private
String
applicationDate
;
@ApiModelProperty
(
value
=
"使用登记证id,多个逗号分割"
)
private
String
registrationManageId
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgScrapCancelEqDto.java
View file @
aba4dcc6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
dto
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
dto
;
import
com.alibaba.fastjson.JSONArray
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
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
;
/**
/**
* 报废注销设备关系表
* 报废注销设备关系表
...
@@ -17,7 +14,7 @@ import java.util.Date;
...
@@ -17,7 +14,7 @@ import java.util.Date;
*/
*/
@Data
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JgScrapCancelEqDto"
,
description
=
"报废注销设备关系表"
)
@ApiModel
(
value
=
"JgScrapCancelEqDto"
,
description
=
"报废注销设备关系表"
)
public
class
JgScrapCancelEqDto
extends
BaseDto
{
public
class
JgScrapCancelEqDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -29,10 +26,10 @@ public class JgScrapCancelEqDto extends BaseDto {
...
@@ -29,10 +26,10 @@ public class JgScrapCancelEqDto extends BaseDto {
@ApiModelProperty
(
value
=
"设备id"
)
@ApiModelProperty
(
value
=
"设备id"
)
private
String
equId
;
private
String
equId
;
@ApiModelProperty
(
value
=
"使用登记
id
"
)
@ApiModelProperty
(
value
=
"使用登记
证编号
"
)
private
String
certificateSeq
;
private
String
useRegistrationCode
;
@ApiModelProperty
(
value
=
"设备
信息
"
)
@ApiModelProperty
(
value
=
"设备
代码
"
)
private
JSONArray
equipInfo
;
private
String
equCode
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgScrapCancel.java
View file @
aba4dcc6
...
@@ -155,25 +155,28 @@ public class JgScrapCancel extends BaseEntity {
...
@@ -155,25 +155,28 @@ public class JgScrapCancel extends BaseEntity {
private
String
nextExecuteUserIds
;
private
String
nextExecuteUserIds
;
/**
/**
* 使用登记证id,多个逗号分割
*/
@TableField
(
"registration_manage_id"
)
private
String
registrationManageId
;
/**
* 使用登记证编号,多个逗号分割(冗余前端检索使用)
*/
@TableField
(
"use_registration_code"
)
private
String
useRegistrationCode
;
/**
* 转办后执行人的Id逗号分割
* 转办后执行人的Id逗号分割
*/
*/
@TableField
(
"transfer_to_user_ids"
)
@TableField
(
"transfer_to_user_ids"
)
private
String
transferToUserIds
;
private
String
transferToUserIds
;
@TableField
(
exist
=
false
)
/**
private
String
equList
;
* 设备种类code
*/
@TableField
(
exist
=
false
)
@TableField
(
"equ_list_code"
)
private
String
equListDesc
;
private
String
equListCode
;
@TableField
(
exist
=
false
)
private
String
equCategoryDesc
;
@TableField
(
exist
=
false
)
private
String
productName
;
@TableField
(
exist
=
false
)
private
String
fullAddress
;
/**
/**
* 其他附件
* 其他附件
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgScrapCancelEq.java
View file @
aba4dcc6
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
entity
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
entity
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
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.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
/**
* 报废注销设备关系表
* 报废注销设备关系表
...
@@ -38,15 +35,17 @@ public class JgScrapCancelEq extends BaseEntity {
...
@@ -38,15 +35,17 @@ public class JgScrapCancelEq extends BaseEntity {
/**
/**
* 使用登记
id
* 使用登记
证编号
*/
*/
@TableField
(
"certificate_seq"
)
@TableField
(
"use_registration_code"
)
private
String
certificateSeq
;
private
String
useRegistrationCode
;
/**
/**
* 设备
信息
* 设备
代码
*/
*/
@TableField
(
"equip_info"
)
@TableField
(
"equ_code"
)
private
String
equipInfo
;
private
String
equCode
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgScrapCancelMapper.java
View file @
aba4dcc6
...
@@ -20,7 +20,7 @@ import java.util.Map;
...
@@ -20,7 +20,7 @@ import java.util.Map;
*/
*/
public
interface
JgScrapCancelMapper
extends
BaseMapper
<
JgScrapCancel
>
{
public
interface
JgScrapCancelMapper
extends
BaseMapper
<
JgScrapCancel
>
{
Page
<
Map
<
String
,
Object
>>
getListPage
(
@Param
(
"page"
)
Page
<
Map
<
String
,
Object
>
>
page
,
Page
<
JgScrapCancelDto
>
getListPage
(
@Param
(
"page"
)
Page
<
JgScrapCancelDto
>
page
,
@Param
(
"sort"
)
SortVo
sortMap
,
@Param
(
"sort"
)
SortVo
sortMap
,
@Param
(
"dto"
)
JgScrapCancelDto
dto
,
@Param
(
"dto"
)
JgScrapCancelDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
View file @
aba4dcc6
...
@@ -9,52 +9,35 @@
...
@@ -9,52 +9,35 @@
</update>
</update>
<select
id=
"getListPage"
resultType=
"
java.util.Map
"
>
<select
id=
"getListPage"
resultType=
"
com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto
"
>
select
select
DISTINCT tjsc.sequence_nbr as sequenceN
br,
tjsc.sequence_n
br,
tjsc.instance_id as instanceI
d,
tjsc.instance_i
d,
tjsc.create_user_id as createUserI
d,
tjsc.create_user_i
d,
tjsc.audit_status as auditS
tatus,
tjsc.audit_s
tatus,
DATE_FORMAT(tjsc.rec_date,'%Y-%m-%d') as recDate,
DATE_FORMAT(tjsc.rec_date,'%Y-%m-%d') as recDate,
DATE_FORMAT(tjsc.create_date,'%Y-%m-%d') as createDate,
DATE_FORMAT(tjsc.create_date,'%Y-%m-%d') as createDate,
tjsc.receive_org_code as receiveOrgC
ode,
tjsc.receive_org_c
ode,
tjsc.receive_org_name as receiveOrgN
ame,
tjsc.receive_org_n
ame,
tjsc.receive_company_code as receiveCompanyC
ode,
tjsc.receive_company_c
ode,
tjsc.cancel_certificate as cancelC
ertificate,
tjsc.cancel_c
ertificate,
tjsc.cancel_type as cancelT
ype,
tjsc.cancel_t
ype,
tjsc.apply_no as applyN
o,
tjsc.apply_n
o,
tjsc.status,
tjsc.status,
tjsc.remark,
tjsc.remark,
tjsc.instance_status as instanceS
tatus,
tjsc.instance_s
tatus,
tjsc.promoter,
tjsc.promoter,
tjsc.next_execute_user_ids as nextExecuteUserI
ds,
tjsc.next_execute_user_i
ds,
tjsc.supervisory_code as supervisoryC
ode,
tjsc.supervisory_c
ode,
tjsc.next_task_id as nextTaskI
d,
tjsc.next_task_i
d,
ifnull(tjsc.next_execute_ids,'') as nextExecuteIds,
ifnull(tjsc.next_execute_ids,'') as nextExecuteIds,
DATE_FORMAT(tjsc.audit_pass_date,'%Y-%m-%d') as auditPassDate,
DATE_FORMAT(tjsc.audit_pass_date,'%Y-%m-%d') as auditPassDate,
use.USE_UNIT_CREDIT_CODE as useUnitCreditCode,
tjsc.use_unit_name,
tjsc.use_unit_name as useUnitName,
tjsc.use_unit_code,
tjsc.use_unit_code as useUnitCode,
tjsc.use_registration_code
jri.USE_ORG_CODE AS useRegistrationCode,
jri.PRODUCT_NAME as productName,
jri.EQU_CODE as equCode,
use.USE_INNER_CODE as innerCode,
use.ADDRESS as address,
oi.SUPERVISORY_CODE AS supervisoryCode,
oi.CODE96333 as code96333,
(SELECT name from tz_equipment_category WHERE code = jri.EQU_LIST) AS equList,
(SELECT name from tz_equipment_category where code = jri.EQU_CATEGORY) as equCategory,
(SELECT name from tz_equipment_category where code = jri.EQU_DEFINE) as equDefine,
CONCAT(use.PROVINCE_NAME,'', use.CITY_NAME, '', use.COUNTY_NAME, '', use.street_name) AS place,
use."ADDRESS" as detailedAddress,
re.equ_id as equipId
from tzs_jg_scrap_cancel tjsc
from tzs_jg_scrap_cancel tjsc
LEFT JOIN tzs_jg_scrap_cancel_eq re on tjsc.sequence_nbr = re.equip_transfer_id
LEFT JOIN idx_biz_jg_register_info jri on re.equ_id = jri.RECORD
LEFT JOIN idx_biz_jg_use_info use on re.equ_id = use.RECORD
LEFT JOIN idx_biz_jg_other_info oi ON oi.RECORD = re.equ_id
<where>
<where>
and
tjsc.is_delete = 0
tjsc.is_delete = 0
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
and tjsc.audit_status = #{dto.auditStatus}
and tjsc.audit_status = #{dto.auditStatus}
</if>
</if>
...
@@ -70,34 +53,12 @@
...
@@ -70,34 +53,12 @@
<if
test=
"dto.applicationDate != null and dto.applicationDate != ''"
>
<if
test=
"dto.applicationDate != null and dto.applicationDate != ''"
>
and tjsc.create_date like concat('%',DATE_FORMAT(#{dto.applicationDate},'%Y-%m-%d'),'%')
and tjsc.create_date like concat('%',DATE_FORMAT(#{dto.applicationDate},'%Y-%m-%d'),'%')
</if>
</if>
<if
test=
"dto.equList != null and dto.equList != ''"
>
<if
test=
"dto.equListCode != null and dto.equListCode != ''"
>
AND jri."EQU_LIST" = #{dto.equList}
AND tjsc."equ_list_code" = #{dto.equListCode}
</if>
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
AND jri."equ_category" = #{dto.equCategory}
</if>
<if
test=
"dto.equDefine != null and dto.equDefine != ''"
>
AND jri."EQU_DEFINE" = #{dto.equDefine}
</if>
<if
test=
"dto.equCode != null and dto.equCode != ''"
>
AND jri."EQU_CODE" like concat('%',#{dto.equCode},'%')
</if>
</if>
<if
test=
"dto.useRegistrationCode != null and dto.useRegistrationCode != ''"
>
<if
test=
"dto.useRegistrationCode != null and dto.useRegistrationCode != ''"
>
AND jri."USE_ORG_CODE" like concat('%',#{dto.useRegistrationCode},'%')
AND tjsc."USE_ORG_CODE" like concat('%',#{dto.useRegistrationCode},'%')
</if>
<if
test=
"dto.code96333 != null and dto.code96333 != ''"
>
AND oi.CODE96333 like concat('%',#{dto.code96333},'%')
</if>
<if
test=
"dto.supervisoryCode != null and dto.supervisoryCode != ''"
>
AND oi.SUPERVISORY_CODE like concat('%',#{dto.supervisoryCode},'%')
</if>
<if
test=
"dto.fullAddress != null and dto.fullAddress != ''"
>
AND (
use."PROVINCE_NAME" LIKE CONCAT('%', #{dto.fullAddress}, '%')
OR use."CITY_NAME" LIKE CONCAT('%', #{dto.fullAddress}, '%')
OR use."COUNTY_NAME" LIKE CONCAT('%', #{dto.fullAddress}, '%')
OR use."STREET_NAME" LIKE CONCAT('%', #{dto.fullAddress}, '%')
)
</if>
</if>
<if
test=
"roleIds != null and dto.type == 'supervision'"
>
<if
test=
"roleIds != null and dto.type == 'supervision'"
>
<foreach
collection=
'roleIds'
item=
'role'
open=
'and ('
close=
')'
separator=
'or'
>
<foreach
collection=
'roleIds'
item=
'role'
open=
'and ('
close=
')'
separator=
'or'
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgScrapCancelController.java
View file @
aba4dcc6
...
@@ -40,7 +40,7 @@ public class JgScrapCancelController extends BaseController {
...
@@ -40,7 +40,7 @@ public class JgScrapCancelController 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
<
Object
>
save
(
@RequestParam
String
submitType
,
@RequestBody
Map
<
String
,
Object
>
model
)
{
public
ResponseModel
<
Object
>
save
(
@RequestParam
String
submitType
,
@RequestBody
Map
<
String
,
Object
>
model
)
{
return
ResponseHelper
.
buildResponse
(
jgScrapCancelService
.
save
(
submitType
,
model
));
return
ResponseHelper
.
buildResponse
(
jgScrapCancelService
.
save
(
submitType
,
model
));
}
}
...
@@ -52,7 +52,7 @@ public class JgScrapCancelController extends BaseController {
...
@@ -52,7 +52,7 @@ public class JgScrapCancelController extends BaseController {
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/updateInfo"
)
@PostMapping
(
value
=
"/updateInfo"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
根据sequenceNbr更新"
,
notes
=
"根据sequenceNbr更新
"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
保存、保存并提交、提交"
,
notes
=
"保存、保存并提交、提交
"
)
public
ResponseModel
<
JgScrapCancelDto
>
updateInfo
(
@RequestParam
String
submitType
,
public
ResponseModel
<
JgScrapCancelDto
>
updateInfo
(
@RequestParam
String
submitType
,
@RequestBody
Map
<
String
,
Object
>
model
,
@RequestBody
Map
<
String
,
Object
>
model
,
@RequestParam
(
value
=
"op"
,
required
=
false
)
String
op
)
{
@RequestParam
(
value
=
"op"
,
required
=
false
)
String
op
)
{
...
@@ -77,7 +77,7 @@ public class JgScrapCancelController extends BaseController {
...
@@ -77,7 +77,7 @@ public class JgScrapCancelController extends BaseController {
jgScrapCancelInfo
.
remove
(
"SEQUENCE_NBR"
);
jgScrapCancelInfo
.
remove
(
"SEQUENCE_NBR"
);
JgScrapCancelDto
jgScrapCancelDto
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
jgScrapCancelInfo
),
JgScrapCancelDto
.
class
);
JgScrapCancelDto
jgScrapCancelDto
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
jgScrapCancelInfo
),
JgScrapCancelDto
.
class
);
jgScrapCancelService
.
flowExecute
(
jgScrapCancelDto
.
getEquList
(),
jgScrapCancelService
.
flowExecute
(
jgScrapCancelDto
.
getEquList
Code
(),
Long
.
valueOf
(
String
.
valueOf
(
jgScrapCancelDto
.
getSequenceNbr
())),
Long
.
valueOf
(
String
.
valueOf
(
jgScrapCancelDto
.
getSequenceNbr
())),
jgScrapCancelDto
.
getInstanceId
(),
jgScrapCancelDto
.
getInstanceId
(),
String
.
valueOf
(
map
.
get
(
"operate"
)),
String
.
valueOf
(
map
.
get
(
"operate"
)),
...
@@ -106,13 +106,13 @@ public class JgScrapCancelController extends BaseController {
...
@@ -106,13 +106,13 @@ public class JgScrapCancelController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
列表全部数据查询"
,
notes
=
"列表全部数据
查询"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
分页查询"
,
notes
=
"分页
查询"
)
@PostMapping
(
value
=
"/getList"
)
@PostMapping
(
value
=
"/getList"
)
public
ResponseModel
<
Page
<
Map
<
String
,
Object
>
>>
getList
(
JgScrapCancelDto
dto
,
public
ResponseModel
<
Page
<
JgScrapCancelDto
>>
getList
(
JgScrapCancelDto
dto
,
@RequestParam
(
value
=
"sort"
,
required
=
false
)
String
sort
,
@RequestParam
(
value
=
"sort"
,
required
=
false
)
String
sort
,
@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
<
JgScrapCancelDto
>
page
=
new
Page
<>(
current
,
size
);
dto
.
setType
(
String
.
valueOf
(
iJgInstallationNoticeService
.
getCompanyType
().
get
(
"companyLevel"
)));
dto
.
setType
(
String
.
valueOf
(
iJgInstallationNoticeService
.
getCompanyType
().
get
(
"companyLevel"
)));
return
ResponseHelper
.
buildResponse
(
jgScrapCancelService
.
getList
(
dto
,
sort
,
page
,
dto
.
getRoleIds
()));
return
ResponseHelper
.
buildResponse
(
jgScrapCancelService
.
getList
(
dto
,
sort
,
page
,
dto
.
getRoleIds
()));
}
}
...
...
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/JgScrapCancelServiceImpl.java
View file @
aba4dcc6
This diff is collapsed.
Click to expand it.
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/JgUseRegistrationManageServiceImpl.java
View file @
aba4dcc6
...
@@ -270,7 +270,8 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
...
@@ -270,7 +270,8 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
public
List
<
JSONObject
>
queryEquByCertificateSeqList
(
List
<
Long
>
sequenceNbrList
)
{
public
List
<
JSONObject
>
queryEquByCertificateSeqList
(
List
<
Long
>
sequenceNbrList
)
{
List
<
JgUseRegistrationManage
>
jgUseRegistrationManageList
=
this
.
baseMapper
.
selectList
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>()
List
<
JgUseRegistrationManage
>
jgUseRegistrationManageList
=
this
.
baseMapper
.
selectList
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>()
.
in
(
JgUseRegistrationManage:
:
getSequenceNbr
,
sequenceNbrList
)
.
in
(
JgUseRegistrationManage:
:
getSequenceNbr
,
sequenceNbrList
)
.
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
0
));
.
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
0
)
.
select
(
JgUseRegistrationManage:
:
getUseRegistrationCode
));
if
(
ValidationUtil
.
isEmpty
(
jgUseRegistrationManageList
))
{
if
(
ValidationUtil
.
isEmpty
(
jgUseRegistrationManageList
))
{
return
new
ArrayList
<>();
return
new
ArrayList
<>();
}
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
View file @
aba4dcc6
...
@@ -34,8 +34,7 @@ public enum ApplicationFormTypeEnum {
...
@@ -34,8 +34,7 @@ public enum ApplicationFormTypeEnum {
ZXBF
(
"ZXBF"
,
"BF_ZX"
),
//电梯(设备)报废注销
ZXBF
(
"ZXBF"
,
"BF_ZX"
),
//电梯(设备)报废注销
GMBG
(
"GMBG"
,
"DJ_GM"
),
//更名变更
GMBG
(
"GMBG"
,
"DJ_GM"
),
//更名变更
SBQY
(
"SBQY"
,
"SB_QY"
),
//设备启用
SBQY
(
"SBQY"
,
"SB_QY"
),
//设备启用
SBTY
(
"SBTY"
,
"SB_TY"
)
//设备启用
SBTY
(
"SBTY"
,
"SB_TY"
);
//设备启用
;
/**
/**
* 编号
* 编号
...
...
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