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
43e2e535
Commit
43e2e535
authored
Sep 23, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg):列表数据导出
parent
11bf1039
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
60 changed files
with
1486 additions
and
39 deletions
+1486
-39
JgChangeRegistrationNameMapper.java
.../module/jg/api/mapper/JgChangeRegistrationNameMapper.java
+4
-1
JgChangeRegistrationReformMapper.java
...odule/jg/api/mapper/JgChangeRegistrationReformMapper.java
+4
-3
JgChangeRegistrationTransferMapper.java
...ule/jg/api/mapper/JgChangeRegistrationTransferMapper.java
+4
-1
JgChangeRegistrationUnitMapper.java
.../module/jg/api/mapper/JgChangeRegistrationUnitMapper.java
+3
-0
JgChangeVehicleRegistrationUnitMapper.java
.../jg/api/mapper/JgChangeVehicleRegistrationUnitMapper.java
+4
-1
JgEnableDisableMapper.java
...amos/boot/module/jg/api/mapper/JgEnableDisableMapper.java
+4
-1
JgEquipTransferMapper.java
...amos/boot/module/jg/api/mapper/JgEquipTransferMapper.java
+3
-0
JgInstallationNoticeMapper.java
...boot/module/jg/api/mapper/JgInstallationNoticeMapper.java
+2
-0
JgMaintainNoticeMapper.java
...mos/boot/module/jg/api/mapper/JgMaintainNoticeMapper.java
+3
-0
JgMaintenanceContractMapper.java
...oot/module/jg/api/mapper/JgMaintenanceContractMapper.java
+3
-0
JgReformNoticeMapper.java
.../amos/boot/module/jg/api/mapper/JgReformNoticeMapper.java
+3
-1
JgScrapCancelMapper.java
...n/amos/boot/module/jg/api/mapper/JgScrapCancelMapper.java
+3
-0
JgTransferNoticeMapper.java
...mos/boot/module/jg/api/mapper/JgTransferNoticeMapper.java
+3
-0
JgUseRegistrationManageMapper.java
...t/module/jg/api/mapper/JgUseRegistrationManageMapper.java
+2
-0
JgUseRegistrationMapper.java
...os/boot/module/jg/api/mapper/JgUseRegistrationMapper.java
+3
-1
JgVehicleInformationMapper.java
...boot/module/jg/api/mapper/JgVehicleInformationMapper.java
+3
-0
CertificateVo.java
...oot/module/jg/api/vo/tableDataExportVo/CertificateVo.java
+44
-0
ChangeRegistrationNameVo.java
...jg/api/vo/tableDataExportVo/ChangeRegistrationNameVo.java
+36
-0
ChangeRegistrationReformVo.java
.../api/vo/tableDataExportVo/ChangeRegistrationReformVo.java
+59
-0
ChangeRegistrationTransferVo.java
...pi/vo/tableDataExportVo/ChangeRegistrationTransferVo.java
+32
-0
ChangeRegistrationUnitVo.java
...jg/api/vo/tableDataExportVo/ChangeRegistrationUnitVo.java
+38
-0
ChangeVehicleRegistrationUnitVo.java
...vo/tableDataExportVo/ChangeVehicleRegistrationUnitVo.java
+42
-0
EnableDisableVo.java
...t/module/jg/api/vo/tableDataExportVo/EnableDisableVo.java
+35
-0
EquipTransferVo.java
...t/module/jg/api/vo/tableDataExportVo/EquipTransferVo.java
+55
-0
InstallationVo.java
...ot/module/jg/api/vo/tableDataExportVo/InstallationVo.java
+44
-0
MaintainVo.java
...s/boot/module/jg/api/vo/tableDataExportVo/MaintainVo.java
+47
-0
MaintenanceVo.java
...oot/module/jg/api/vo/tableDataExportVo/MaintenanceVo.java
+42
-0
ManageEquipmentVo.java
...module/jg/api/vo/tableDataExportVo/ManageEquipmentVo.java
+35
-0
ReformVo.java
...mos/boot/module/jg/api/vo/tableDataExportVo/ReformVo.java
+44
-0
RegistrationVo.java
...ot/module/jg/api/vo/tableDataExportVo/RegistrationVo.java
+62
-0
ScrapCancelVo.java
...oot/module/jg/api/vo/tableDataExportVo/ScrapCancelVo.java
+46
-0
TransferVo.java
...s/boot/module/jg/api/vo/tableDataExportVo/TransferVo.java
+41
-0
UnregulatedEquipVo.java
...odule/jg/api/vo/tableDataExportVo/UnregulatedEquipVo.java
+35
-0
VehicleInformationVo.java
...ule/jg/api/vo/tableDataExportVo/VehicleInformationVo.java
+47
-0
JgChangeRegistrationNameMapper.xml
.../main/resources/mapper/JgChangeRegistrationNameMapper.xml
+20
-1
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+20
-2
JgChangeRegistrationTransferMapper.xml
...n/resources/mapper/JgChangeRegistrationTransferMapper.xml
+19
-1
JgChangeRegistrationUnitMapper.xml
.../main/resources/mapper/JgChangeRegistrationUnitMapper.xml
+17
-0
JgChangeVehicleRegistrationUnitMapper.xml
...esources/mapper/JgChangeVehicleRegistrationUnitMapper.xml
+18
-2
JgEnableDisableMapper.xml
...g-api/src/main/resources/mapper/JgEnableDisableMapper.xml
+20
-1
JgEquipTransferMapper.xml
...g-api/src/main/resources/mapper/JgEquipTransferMapper.xml
+19
-1
JgInstallationNoticeMapper.xml
.../src/main/resources/mapper/JgInstallationNoticeMapper.xml
+21
-1
JgMaintainNoticeMapper.xml
...-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
+19
-2
JgMaintenanceContractMapper.xml
...src/main/resources/mapper/JgMaintenanceContractMapper.xml
+24
-5
JgReformNoticeMapper.xml
...jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
+19
-1
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+22
-2
JgTransferNoticeMapper.xml
...-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
+19
-1
JgUseRegistrationManageMapper.xml
...c/main/resources/mapper/JgUseRegistrationManageMapper.xml
+15
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+15
-0
JgVehicleInformationMapper.xml
.../src/main/resources/mapper/JgVehicleInformationMapper.xml
+15
-0
JgTableDataExportController.java
...module/jg/biz/controller/JgTableDataExportController.java
+186
-0
IJgTableDataExportService.java
...boot/module/jg/biz/service/IJgTableDataExportService.java
+50
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+45
-1
JgEquipTransferServiceImpl.java
...odule/jg/biz/service/impl/JgEquipTransferServiceImpl.java
+16
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+15
-0
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+12
-3
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+5
-3
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+12
-1
JgTableDataExportServiceImpl.java
...ule/jg/biz/service/impl/JgTableDataExportServiceImpl.java
+0
-0
JgTransferNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgTransferNoticeServiceImpl.java
+8
-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/mapper/JgChangeRegistrationNameMapper.java
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
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.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationNameDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationNameDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationName
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationName
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationNameVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -32,5 +33,7 @@ public interface JgChangeRegistrationNameMapper extends BaseMapper<JgChangeRegis
...
@@ -32,5 +33,7 @@ public interface JgChangeRegistrationNameMapper extends BaseMapper<JgChangeRegis
@Param
(
"companyCode"
)
String
companyCode
,
@Param
(
"companyCode"
)
String
companyCode
,
@Param
(
"currentUserId"
)
String
exeUserId
);
@Param
(
"currentUserId"
)
String
exeUserId
);
List
<
ChangeRegistrationNameVo
>
queryChangeRegistrationNameInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
}
}
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 @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
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.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationReformDto
;
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.entity.JgChangeRegistrationReform
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationReform
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationReformVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Update
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -27,6 +26,8 @@ public interface JgChangeRegistrationReformMapper extends BaseMapper<JgChangeReg
...
@@ -27,6 +26,8 @@ public interface JgChangeRegistrationReformMapper extends BaseMapper<JgChangeReg
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"currentUserId"
)
String
currentUserId
);
@Param
(
"currentUserId"
)
String
currentUserId
);
List
<
ChangeRegistrationReformVo
>
queryChangeRegistrationReformInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getInspectDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getInspectDetail
(
@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/JgChangeRegistrationTransferMapper.java
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
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.JgChangeRegistrationTransferDto
;
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.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationTransferVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
...
@@ -27,6 +28,8 @@ public interface JgChangeRegistrationTransferMapper extends BaseMapper<JgChangeR
...
@@ -27,6 +28,8 @@ public interface JgChangeRegistrationTransferMapper extends BaseMapper<JgChangeR
@Param
(
"type"
)
String
type
,
@Param
(
"type"
)
String
type
,
@Param
(
"currentUserId"
)
String
currentUserId
);
@Param
(
"currentUserId"
)
String
currentUserId
);
List
<
ChangeRegistrationTransferVo
>
queryChangeRegistrationTransferInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
@Select
(
"select name from tz_equipment_category where code=#{code}"
)
@Select
(
"select name from tz_equipment_category where code=#{code}"
)
String
getEquiplistNameByEquiplist
(
String
code
);
String
getEquiplistNameByEquiplist
(
String
code
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeRegistrationUnitMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationUnitDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeRegistrationUnitDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationUnit
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeRegistrationUnit
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationUnitVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -35,6 +36,8 @@ public interface JgChangeRegistrationUnitMapper extends CustomBaseMapper<JgChang
...
@@ -35,6 +36,8 @@ public interface JgChangeRegistrationUnitMapper extends CustomBaseMapper<JgChang
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
,
@Param
(
"currentUserId"
)
String
currentUserId
);
@Param
(
"currentUserId"
)
String
currentUserId
);
List
<
ChangeRegistrationUnitVo
>
queryChangeRegistrationUnitInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
/**
/**
* 根据安装告知编号查询设备、设计、制造等信息
* 根据安装告知编号查询设备、设计、制造等信息
*
*
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgChangeVehicleRegistrationUnitMapper.java
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
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.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeVehicleRegistrationUnitDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgChangeVehicleRegistrationUnitDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeVehicleRegistrationUnit
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgChangeVehicleRegistrationUnit
;
import
com.
baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.
yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeVehicleRegistrationUnitVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -27,5 +28,7 @@ public interface JgChangeVehicleRegistrationUnitMapper extends BaseMapper<JgChan
...
@@ -27,5 +28,7 @@ public interface JgChangeVehicleRegistrationUnitMapper extends BaseMapper<JgChan
@Param
(
"currentUserId"
)
String
currentUserId
,
@Param
(
"currentUserId"
)
String
currentUserId
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
List
<
ChangeVehicleRegistrationUnitVo
>
queryChangeVehicleRegistrationUnitInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgEnableDisableMapper.java
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamDto
;
import
com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgEnableDisableDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgEnableDisableDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgEnableDisable
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgEnableDisable
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.EnableDisableVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -27,6 +28,8 @@ public interface JgEnableDisableMapper extends BaseMapper<JgEnableDisable> {
...
@@ -27,6 +28,8 @@ public interface JgEnableDisableMapper extends BaseMapper<JgEnableDisable> {
@Param
(
"type"
)
String
type
,
@Param
(
"type"
)
String
type
,
@Param
(
"userId"
)
String
userId
);
@Param
(
"userId"
)
String
userId
);
List
<
EnableDisableVo
>
queryEnableDisableInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"sequenceNbr"
)
Long
sequenceNbr
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"sequenceNbr"
)
Long
sequenceNbr
);
List
<
EquipBizCountDto
>
queryStoppedDeviceStaticListData
(
DPFilterParamDto
dpFilterParamDto
);
List
<
EquipBizCountDto
>
queryStoppedDeviceStaticListData
(
DPFilterParamDto
dpFilterParamDto
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgEquipTransferMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgEquipTransferDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgEquipTransferDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgEquipTransfer
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgEquipTransfer
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.EquipTransferVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -23,6 +24,8 @@ public interface JgEquipTransferMapper extends CustomBaseMapper<JgEquipTransfer>
...
@@ -23,6 +24,8 @@ public interface JgEquipTransferMapper extends CustomBaseMapper<JgEquipTransfer>
@Param
(
"param"
)
JgEquipTransferDto
model
,
@Param
(
"param"
)
JgEquipTransferDto
model
,
@Param
(
"currentUserId"
)
String
currentUserId
);
@Param
(
"currentUserId"
)
String
currentUserId
);
List
<
EquipTransferVo
>
queryEquipTransferInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
@MapKey
(
"sequenceNbr"
)
@MapKey
(
"sequenceNbr"
)
List
<
Map
<
String
,
Object
>>
queryEquipInformation
(
Long
sequenceNbr
);
List
<
Map
<
String
,
Object
>>
queryEquipInformation
(
Long
sequenceNbr
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgInstallationNoticeMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgInstallationNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgInstallationNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgInstallationNotice
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgInstallationNotice
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.InstallationVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -42,4 +43,5 @@ public interface JgInstallationNoticeMapper extends CustomBaseMapper<JgInstallat
...
@@ -42,4 +43,5 @@ public interface JgInstallationNoticeMapper extends CustomBaseMapper<JgInstallat
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
InstallationVo
>
queryInstallationInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgMaintainNoticeMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgMaintainNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgMaintainNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgMaintainNotice
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgMaintainNotice
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.MaintainVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -46,4 +47,6 @@ public interface JgMaintainNoticeMapper extends CustomBaseMapper<JgMaintainNotic
...
@@ -46,4 +47,6 @@ public interface JgMaintainNoticeMapper extends CustomBaseMapper<JgMaintainNotic
Map
<
String
,
Object
>
getEquipInfoByRecord
(
String
record
);
Map
<
String
,
Object
>
getEquipInfoByRecord
(
String
record
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
MaintainVo
>
queryMaintainInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgMaintenanceContractMapper.java
View file @
43e2e535
...
@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgMaintenanceContractDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgMaintenanceContractDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgMaintenanceContract
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgMaintenanceContract
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.MaintenanceVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -33,4 +34,6 @@ public interface JgMaintenanceContractMapper extends BaseMapper<JgMaintenanceCon
...
@@ -33,4 +34,6 @@ public interface JgMaintenanceContractMapper extends BaseMapper<JgMaintenanceCon
List
<
Map
<
String
,
Object
>>
selectEquipList
(
@Param
(
"id"
)
Long
id
);
List
<
Map
<
String
,
Object
>>
selectEquipList
(
@Param
(
"id"
)
Long
id
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
MaintenanceVo
>
queryMaintenanceInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgReformNoticeMapper.java
View file @
43e2e535
...
@@ -5,7 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,7 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgReformNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgReformNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgReformNotice
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgReformNotice
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ReformVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -38,4 +38,6 @@ public interface JgReformNoticeMapper extends CustomBaseMapper<JgReformNotice> {
...
@@ -38,4 +38,6 @@ public interface JgReformNoticeMapper extends CustomBaseMapper<JgReformNotice> {
void
updatePromoter
(
@Param
(
"id"
)
Long
id
);
void
updatePromoter
(
@Param
(
"id"
)
Long
id
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
ReformVo
>
queryReformInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
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 @
43e2e535
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto;
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgScrapCancel
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgScrapCancel
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ScrapCancelVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -29,6 +30,8 @@ public interface JgScrapCancelMapper extends BaseMapper<JgScrapCancel> {
...
@@ -29,6 +30,8 @@ public interface JgScrapCancelMapper extends BaseMapper<JgScrapCancel> {
@Param
(
"currentUserId"
)
String
currentUserId
@Param
(
"currentUserId"
)
String
currentUserId
);
);
List
<
ScrapCancelVo
>
queryScrapCancelInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getInspectDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getInspectDetail
(
@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/JgTransferNoticeMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -5,6 +5,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgTransferNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgTransferNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgTransferNotice
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgTransferNotice
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.TransferVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
@@ -29,4 +30,6 @@ public interface JgTransferNoticeMapper extends CustomBaseMapper<JgTransferNotic
...
@@ -29,4 +30,6 @@ public interface JgTransferNoticeMapper extends CustomBaseMapper<JgTransferNotic
List
<
Map
<
String
,
Object
>>
queryEquipInformation
(
@Param
(
"sequenceNbr"
)
long
sequenceNbr
);
List
<
Map
<
String
,
Object
>>
queryEquipInformation
(
@Param
(
"sequenceNbr"
)
long
sequenceNbr
);
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
CompanyEquipCountDto
>
queryForFlowingEquipList
();
List
<
TransferVo
>
queryTransferInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgUseRegistrationManageMapper.java
View file @
43e2e535
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationManageDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgUseRegistrationManageDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistrationManage
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistrationManage
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.CertificateVo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
import
java.util.List
;
...
@@ -30,4 +31,5 @@ public interface JgUseRegistrationManageMapper extends BaseMapper<JgUseRegistrat
...
@@ -30,4 +31,5 @@ public interface JgUseRegistrationManageMapper extends BaseMapper<JgUseRegistrat
@Param
(
"dto"
)
JgUseRegistrationManageDto
dto
,
@Param
(
"dto"
)
JgUseRegistrationManageDto
dto
,
@Param
(
"orgCode"
)
String
orgCode
);
@Param
(
"orgCode"
)
String
orgCode
);
List
<
CertificateVo
>
queryCertificateInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/JgUseRegistrationMapper.java
View file @
43e2e535
...
@@ -8,8 +8,8 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -8,8 +8,8 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipBizCountDto
;
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.JgUseRegistration
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistration
;
import
com.yeejoin.amos.boot.module.jg.api.vo.ElevatorModelVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.RegistrationVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
...
@@ -31,6 +31,8 @@ public interface JgUseRegistrationMapper extends BaseMapper<JgUseRegistration> {
...
@@ -31,6 +31,8 @@ public interface JgUseRegistrationMapper extends BaseMapper<JgUseRegistration> {
@Param
(
"dto"
)
JgUseRegistrationDto
dto
,
@Param
(
"dto"
)
JgUseRegistrationDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
List
<
RegistrationVo
>
queryRegistrationInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getSupervisionInfoDetail
(
@Param
(
"id"
)
String
id
);
Map
<
String
,
Object
>
getSupervisionInfoDetail
(
@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/JgVehicleInformationMapper.java
View file @
43e2e535
...
@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
...
@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgVehicleInformationDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgVehicleInformationDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgVehicleInformation
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgVehicleInformation
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.VehicleInformationVo
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.MapKey
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Select
;
...
@@ -27,6 +28,8 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
...
@@ -27,6 +28,8 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
@Param
(
"dto"
)
JgVehicleInformationDto
dto
,
@Param
(
"dto"
)
JgVehicleInformationDto
dto
,
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
@Param
(
"roleIds"
)
List
<
String
>
roleIds
);
List
<
VehicleInformationVo
>
queryVehicleInformationInIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
@MapKey
(
"sequenceNbr"
)
@MapKey
(
"sequenceNbr"
)
JgVehicleInformationDto
queryBySequenceNbr
(
@Param
(
"sequenceNbr"
)
Long
sequenceNbr
);
JgVehicleInformationDto
queryBySequenceNbr
(
@Param
(
"sequenceNbr"
)
Long
sequenceNbr
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/CertificateVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 登记证
*/
@Data
public
class
CertificateVo
{
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
0
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"登记类型"
,
index
=
1
)
String
regType
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
2
)
String
useUnitName
;
@ExcelProperty
(
value
=
"使用单位地址"
,
index
=
3
)
String
useUnitAddress
;
@ExcelProperty
(
value
=
"登记机关"
,
index
=
4
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
5
)
String
equList
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
6
)
String
equCategory
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
7
)
String
equDefine
;
@ExcelProperty
(
value
=
"设备使用地址"
,
index
=
8
)
String
equUseAddress
;
@ExcelProperty
(
value
=
"使用登记证状态"
,
index
=
9
)
String
certificateStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
10
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ChangeRegistrationNameVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 更名变更
*/
@Data
public
class
ChangeRegistrationNameVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
1
)
String
certificateCodes
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
2
)
String
createDate
;
@ExcelProperty
(
value
=
"原使用单位名称"
,
index
=
3
)
String
useUnitName
;
@ExcelProperty
(
value
=
"使用单位名称"
,
index
=
4
)
String
newUseUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
5
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
6
)
String
auditStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
7
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ChangeRegistrationReformVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 改造登记
*/
@Data
public
class
ChangeRegistrationReformVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
2
)
String
equList
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
3
)
String
equCategory
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
4
)
String
equDefine
;
@ExcelProperty
(
value
=
"设备代码"
,
index
=
5
)
String
equCode
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
6
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"96333识别码"
,
index
=
7
)
String
code96333
;
@ExcelProperty
(
value
=
"监管码"
,
index
=
8
)
String
supervisoryCode
;
@ExcelProperty
(
value
=
"设备地址"
,
index
=
9
)
String
place
;
@ExcelProperty
(
value
=
"详细地址"
,
index
=
10
)
String
detailedAddress
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
11
)
String
useUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
12
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
13
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
14
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
15
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ChangeRegistrationTransferVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 移装变更
*/
@Data
public
class
ChangeRegistrationTransferVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
2
)
String
useUnitName
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
3
)
String
equList
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
4
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
5
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
6
)
String
recDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ChangeRegistrationUnitVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 单位变更
*/
@Data
public
class
ChangeRegistrationUnitVo
{
@ExcelProperty
(
value
=
"申请编号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
2
)
String
useRegistCode
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
3
)
String
newUseUnitName
;
@ExcelProperty
(
value
=
"原使用单位"
,
index
=
4
)
String
useUnitName
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
5
)
String
equList
;
@ExcelProperty
(
value
=
"登记机关"
,
index
=
6
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
7
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
8
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ChangeVehicleRegistrationUnitVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 车用气瓶变更
*/
@Data
public
class
ChangeVehicleRegistrationUnitVo
{
@ExcelProperty
(
value
=
"申请编号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
2
)
String
useRegistCode
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
3
)
String
newUseUnitName
;
@ExcelProperty
(
value
=
"原使用单位"
,
index
=
4
)
String
useUnitName
;
@ExcelProperty
(
value
=
"原车牌号"
,
index
=
5
)
String
carNumber
;
@ExcelProperty
(
value
=
"新车牌号"
,
index
=
6
)
String
newCarNumber
;
@ExcelProperty
(
value
=
"登记机关"
,
index
=
7
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
8
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
9
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/EnableDisableVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 启用停用
*/
@Data
public
class
EnableDisableVo
{
@ExcelProperty
(
value
=
"申请类型"
,
index
=
0
)
String
applyType
;
@ExcelProperty
(
value
=
"申请单号"
,
index
=
1
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
2
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
3
)
String
equListName
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
4
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
5
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
6
)
String
auditStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
7
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/EquipTransferVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 设备移交
*/
@Data
public
class
EquipTransferVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
2
)
String
equList
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
3
)
String
equCategory
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
4
)
String
equDefine
;
@ExcelProperty
(
value
=
"设备代码"
,
index
=
5
)
String
equCode
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
6
)
String
useOrgCode
;
@ExcelProperty
(
value
=
"96333码"
,
index
=
7
)
String
code96333
;
@ExcelProperty
(
value
=
"监管码"
,
index
=
8
)
String
supervisoryCode
;
@ExcelProperty
(
value
=
"设备地址"
,
index
=
9
)
String
equAddress
;
@ExcelProperty
(
value
=
"详细地址"
,
index
=
10
)
String
detailedAddress
;
@ExcelProperty
(
value
=
"施工单位"
,
index
=
11
)
String
installUnitName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
12
)
String
applyStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
13
)
String
acceptDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/InstallationVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 安装告知
*/
@Data
public
class
InstallationVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"施工日期"
,
index
=
2
)
String
installStartDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
3
)
String
equListName
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
4
)
String
equList
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
5
)
String
useUnitName
;
@ExcelProperty
(
value
=
"安改维单位"
,
index
=
6
)
String
installUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
7
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
8
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
9
)
String
handleDate
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
10
)
String
noticeStatus
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/MaintainVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 维修告知
*/
@Data
public
class
MaintainVo
{
@ExcelProperty
(
value
=
"子业务类型"
,
index
=
0
)
String
maintainType
;
@ExcelProperty
(
value
=
"申请单号"
,
index
=
1
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
2
)
String
createDate
;
@ExcelProperty
(
value
=
"施工日期"
,
index
=
3
)
String
planDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
4
)
String
equListName
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
5
)
String
equCategoryName
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
6
)
String
useUnitName
;
@ExcelProperty
(
value
=
"安改维单位"
,
index
=
7
)
String
installUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
8
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
9
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
10
)
String
acceptDate
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
11
)
String
noticeStatus
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/MaintenanceVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 维保备案
*/
@Data
public
class
MaintenanceVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"设备数量"
,
index
=
2
)
String
equNum
;
@ExcelProperty
(
value
=
"合同开始日期-合同结束日期"
,
index
=
3
)
String
informStartAndEnd
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
4
)
String
useUnitName
;
@ExcelProperty
(
value
=
"安改维单位"
,
index
=
5
)
String
maintenanceUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
6
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
7
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
8
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
9
)
String
applyDate
;
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ManageEquipmentVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 已纳管设备
*/
@Data
public
class
ManageEquipmentVo
{
@ExcelProperty
(
value
=
"设备来源"
,
index
=
0
)
String
DATA_SOURCE_NAME
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
1
)
String
EQU_LIST
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
2
)
String
EQU_CATEGORY
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
3
)
String
EQU_DEFINE
;
@ExcelProperty
(
value
=
"设备名称"
,
index
=
4
)
String
PRODUCT_NAME
;
@ExcelProperty
(
value
=
"设备代码"
,
index
=
5
)
String
EQU_CODE
;
@ExcelProperty
(
value
=
"出厂编号/产品编码"
,
index
=
6
)
String
FACTORY_NUM
;
@ExcelProperty
(
value
=
"制造单位"
,
index
=
7
)
String
PRODUCE_UNIT_NAME
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ReformVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 改造告知
*/
@Data
public
class
ReformVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"施工日期"
,
index
=
2
)
String
planDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
3
)
String
equListName
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
4
)
String
equCategoryName
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
5
)
String
useUnitName
;
@ExcelProperty
(
value
=
"安改维单位"
,
index
=
6
)
String
installUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
7
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
8
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
9
)
String
noticeStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
10
)
String
acceptDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/RegistrationVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 使用登记
*/
@Data
public
class
RegistrationVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
2
)
String
equListName
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
3
)
String
equCategory
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
4
)
String
equDefine
;
@ExcelProperty
(
value
=
"设备代码"
,
index
=
5
)
String
equCode
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
6
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"96333识别码"
,
index
=
7
)
String
code96333
;
@ExcelProperty
(
value
=
"监管码"
,
index
=
8
)
String
supervisoryCode
;
@ExcelProperty
(
value
=
"设备地址"
,
index
=
9
)
String
fullAddress
;
@ExcelProperty
(
value
=
"详细地址"
,
index
=
10
)
String
detailedAddress
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
11
)
String
useUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
12
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"属地监管部门"
,
index
=
13
)
String
orgBranchName
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
14
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
15
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
16
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/ScrapCancelVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 注销报废
*/
@Data
public
class
ScrapCancelVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
2
)
String
equListName
;
@ExcelProperty
(
value
=
"使用登记证编号"
,
index
=
3
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
4
)
String
useUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
5
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"注销类型"
,
index
=
6
)
String
cancelType
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
7
)
String
auditStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
8
)
String
auditPassDate
;
@ExcelIgnore
@ApiModelProperty
(
value
=
"设备种类code"
)
private
String
equListCode
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/TransferVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 移装告知
*/
@Data
public
class
TransferVo
{
@ExcelProperty
(
value
=
"子业务类型"
,
index
=
0
)
String
transferType
;
@ExcelProperty
(
value
=
"申请单号"
,
index
=
1
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
2
)
String
createDate
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
3
)
String
equList
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
4
)
String
equCategory
;
@ExcelProperty
(
value
=
"使用单位"
,
index
=
5
)
String
useUnitName
;
@ExcelProperty
(
value
=
"安改维单位"
,
index
=
6
)
String
installUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
7
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
8
)
String
noticeStatus
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
9
)
String
handleDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/UnregulatedEquipVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 未纳管设备
*/
@Data
public
class
UnregulatedEquipVo
{
@ExcelProperty
(
value
=
"设备来源"
,
index
=
0
)
String
DATA_SOURCE_NAME
;
@ExcelProperty
(
value
=
"设备种类"
,
index
=
1
)
String
EQU_LIST
;
@ExcelProperty
(
value
=
"设备类别"
,
index
=
2
)
String
EQU_CATEGORY
;
@ExcelProperty
(
value
=
"设备品种"
,
index
=
3
)
String
EQU_DEFINE
;
@ExcelProperty
(
value
=
"设备名称"
,
index
=
4
)
String
PRODUCT_NAME
;
@ExcelProperty
(
value
=
"设备代码"
,
index
=
5
)
String
EQU_CODE
;
@ExcelProperty
(
value
=
"出厂编号/产品编码"
,
index
=
6
)
String
FACTORY_NUM
;
@ExcelProperty
(
value
=
"制造单位"
,
index
=
7
)
String
PRODUCE_UNIT_NAME
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/tableDataExportVo/VehicleInformationVo.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
vo
.
tableDataExportVo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.Data
;
/**
* 车气登记
*/
@Data
public
class
VehicleInformationVo
{
@ExcelProperty
(
value
=
"申请单号"
,
index
=
0
)
String
applyNo
;
@ExcelProperty
(
value
=
"申请日期"
,
index
=
1
)
String
createDate
;
@ExcelProperty
(
value
=
"使用单位名称"
,
index
=
2
)
String
useUnitName
;
@ExcelProperty
(
value
=
"接收机构"
,
index
=
3
)
String
receiveOrgName
;
@ExcelProperty
(
value
=
"检验单位"
,
index
=
4
)
String
inspectUnitName
;
@ExcelProperty
(
value
=
"安装单位名称"
,
index
=
5
)
String
installUnitName
;
@ExcelProperty
(
value
=
"使用登记编号"
,
index
=
6
)
String
useRegistrationCode
;
@ExcelProperty
(
value
=
"车牌号"
,
index
=
7
)
String
carNumber
;
@ExcelProperty
(
value
=
"气瓶数量"
,
index
=
8
)
String
gasNum
;
@ExcelProperty
(
value
=
"作废原因"
,
index
=
9
)
String
cancelReason
;
@ExcelProperty
(
value
=
"办理状态"
,
index
=
10
)
String
status
;
@ExcelProperty
(
value
=
"办理日期"
,
index
=
11
)
String
auditPassDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationNameMapper.xml
View file @
43e2e535
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
where name_change_registration_id = #{changeRegistrationId}
where name_change_registration_id = #{changeRegistrationId}
</delete>
</delete>
<s
elect
id=
"getListPage"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
select ur.sequence_nbr as sequenceNbr,
select ur.sequence_nbr as sequenceNbr,
ur.instance_id as instanceId,
ur.instance_id as instanceId,
ur.audit_status as auditStatus,
ur.audit_status as auditStatus,
...
@@ -39,6 +39,10 @@
...
@@ -39,6 +39,10 @@
certificate_seq from tzs_jg_change_registration_name_eq where name_change_registration_id = ur.sequence_nbr )order by rec_date desc)) as
certificate_seq from tzs_jg_change_registration_name_eq where name_change_registration_id = ur.sequence_nbr )order by rec_date desc)) as
certificateCodes
certificateCodes
from tzs_jg_change_registration_name ur
from tzs_jg_change_registration_name ur
</sql>
<select
id=
"getListPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
<where>
<where>
and ur.is_delete = 0
and ur.is_delete = 0
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
...
@@ -81,6 +85,21 @@
...
@@ -81,6 +85,21 @@
ur.create_date DESC, ur.apply_no DESC
ur.create_date DESC, ur.apply_no DESC
</select>
</select>
<select
id=
"queryChangeRegistrationNameInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationNameVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and ur.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
ur.create_date DESC, ur.apply_no DESC
</select>
<delete
id=
"deleteHistoryInfoById"
>
<delete
id=
"deleteHistoryInfoById"
>
delete
delete
from tzs_jg_registration_history
from tzs_jg_registration_history
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
43e2e535
...
@@ -6,8 +6,7 @@
...
@@ -6,8 +6,7 @@
where sequence_nbr = #{id}
where sequence_nbr = #{id}
</update>
</update>
<sql
id=
"page_list"
>
<select
id=
"getListPage"
resultType=
"java.util.Map"
>
select ur.sequence_nbr as sequenceNbr,
select ur.sequence_nbr as sequenceNbr,
ur.audit_status as auditStatus,
ur.audit_status as auditStatus,
ur.use_unit_name as useUnitName,
ur.use_unit_name as useUnitName,
...
@@ -41,6 +40,10 @@
...
@@ -41,6 +40,10 @@
LEFT JOIN idx_biz_jg_register_info jri on jri.RECORD = re.equ_id
LEFT JOIN idx_biz_jg_register_info jri on jri.RECORD = re.equ_id
LEFT JOIN idx_biz_jg_use_info use on use.RECORD = re.equ_id
LEFT JOIN idx_biz_jg_use_info use on use.RECORD = re.equ_id
LEFT JOIN idx_biz_jg_other_info oi ON oi.RECORD = re.equ_id
LEFT JOIN idx_biz_jg_other_info oi ON oi.RECORD = re.equ_id
</sql>
<select
id=
"getListPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
<where>
<where>
and ur.is_delete = 0
and ur.is_delete = 0
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
...
@@ -109,6 +112,21 @@
...
@@ -109,6 +112,21 @@
</if>
</if>
ur.create_date DESC, ur.apply_no DESC
ur.create_date DESC, ur.apply_no DESC
</select>
</select>
<select
id=
"queryChangeRegistrationReformInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationReformVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and ur.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
ur.create_date DESC, ur.apply_no DESC
</select>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
SELECT jri.EQU_CODE as equCode,
SELECT jri.EQU_CODE as equCode,
jri.EQU_CATEGORY as equCategory,
jri.EQU_CATEGORY as equCategory,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationTransferMapper.xml
View file @
43e2e535
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
where sequence_nbr = #{id}
where sequence_nbr = #{id}
</update>
</update>
<s
elect
id=
"getListPage"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
WITH crteq_limited AS (
WITH crteq_limited AS (
SELECT
SELECT
*,
*,
...
@@ -42,6 +42,9 @@
...
@@ -42,6 +42,9 @@
LEFT JOIN crteq_limited crteq ON crt.sequence_nbr = crteq.equip_transfer_id AND crteq.rn = 1
LEFT JOIN crteq_limited crteq ON crt.sequence_nbr = crteq.equip_transfer_id AND crteq.rn = 1
LEFT JOIN idx_biz_jg_register_info jri on crteq.equ_id = jri.RECORD
LEFT JOIN idx_biz_jg_register_info jri on crteq.equ_id = jri.RECORD
LEFT JOIN idx_biz_jg_use_info use on crteq.equ_id = use.RECORD
LEFT JOIN idx_biz_jg_use_info use on crteq.equ_id = use.RECORD
</sql>
<select
id=
"getListPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
<where>
<where>
and crt.is_delete = 0
and crt.is_delete = 0
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
...
@@ -111,6 +114,21 @@
...
@@ -111,6 +114,21 @@
</if>
</if>
crt.create_date DESC, crt.apply_no DESC
crt.create_date DESC, crt.apply_no DESC
</select>
</select>
<select
id=
"queryChangeRegistrationTransferInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationTransferVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and crt.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
crt.create_date DESC, crt.apply_no DESC
</select>
<select
id=
"queryForFlowingEquipList"
resultType=
"java.lang.String"
>
<select
id=
"queryForFlowingEquipList"
resultType=
"java.lang.String"
>
select change_data
select change_data
from tzs_jg_registration_history his,
from tzs_jg_registration_history his,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationUnitMapper.xml
View file @
43e2e535
...
@@ -70,6 +70,23 @@
...
@@ -70,6 +70,23 @@
isn.create_date DESC, isn.apply_no DESC
isn.create_date DESC, isn.apply_no DESC
</select>
</select>
<select
id=
"queryChangeRegistrationUnitInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeRegistrationUnitVo"
>
select
isn.*
FROM
tzs_jg_change_registration_unit isn
<where>
<if
test=
'ids != null'
>
and isn.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
isn.create_date DESC, isn.apply_no DESC
</select>
<select
id=
"queryEquipInformation"
resultType=
"java.util.Map"
>
<select
id=
"queryEquipInformation"
resultType=
"java.util.Map"
>
select
select
isn.sequence_nbr AS sequenceNbr,
isn.sequence_nbr AS sequenceNbr,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeVehicleRegistrationUnitMapper.xml
View file @
43e2e535
...
@@ -37,8 +37,7 @@
...
@@ -37,8 +37,7 @@
</foreach>
</foreach>
</select>
</select>
<select
id=
"getPage"
<sql
id=
"page_list"
>
resultType=
"java.util.Map"
>
select
select
cru.sequence_nbr as sequenceNbr,
cru.sequence_nbr as sequenceNbr,
cru.change_type as changeType,
cru.change_type as changeType,
...
@@ -63,6 +62,10 @@
...
@@ -63,6 +62,10 @@
cru.instance_id as instanceId,
cru.instance_id as instanceId,
cru.create_user_id as createUserId
cru.create_user_id as createUserId
from tzs_jg_change_vehicle_registration_unit cru
from tzs_jg_change_vehicle_registration_unit cru
</sql>
<select
id=
"getPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
<where>
<where>
<if
test=
"dto.applyNo != null and dto.applyNo != ''"
>
<if
test=
"dto.applyNo != null and dto.applyNo != ''"
>
and cru.apply_no like concat('%', #{dto.applyNo}, '%')
and cru.apply_no like concat('%', #{dto.applyNo}, '%')
...
@@ -101,6 +104,19 @@
...
@@ -101,6 +104,19 @@
order by cru.create_date DESC, cru.apply_no DESC
order by cru.create_date DESC, cru.apply_no DESC
</select>
</select>
<select
id=
"queryChangeVehicleRegistrationUnitInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ChangeVehicleRegistrationUnitVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and cru.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by cru.create_date DESC, cru.apply_no DESC
</select>
<select
id=
"queryForFlowingEquipList"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto"
>
<select
id=
"queryForFlowingEquipList"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.CompanyEquipCountDto"
>
select a.use_unit_credit_code as companyCode,
select a.use_unit_credit_code as companyCode,
group_concat(b.equ_id) as records
group_concat(b.equ_id) as records
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgEnableDisableMapper.xml
View file @
43e2e535
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgEnableDisableMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgEnableDisableMapper"
>
<s
elect
id=
"pageList"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
SELECT
SELECT
CASE
CASE
when jed.apply_type = 'SB_TY' then '设备停用'
when jed.apply_type = 'SB_TY' then '设备停用'
...
@@ -25,6 +25,9 @@
...
@@ -25,6 +25,9 @@
jed.create_user_id as createUserId,
jed.create_user_id as createUserId,
jed.next_task_id as nextTaskId
jed.next_task_id as nextTaskId
FROM tzs_jg_enable_disable jed
FROM tzs_jg_enable_disable jed
</sql>
<select
id=
"pageList"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
<where>
<where>
jed.is_delete = 0
jed.is_delete = 0
<if
test=
"dto.applyNo != null and dto.applyNo != '' "
>
<if
test=
"dto.applyNo != null and dto.applyNo != '' "
>
...
@@ -65,6 +68,22 @@
...
@@ -65,6 +68,22 @@
</if>
</if>
jed.create_date DESC, jed.apply_no DESC
jed.create_date DESC, jed.apply_no DESC
</select>
</select>
<select
id=
"queryEnableDisableInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.EnableDisableVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and jed.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
jed.create_date DESC, jed.apply_no DESC
</select>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
SELECT jed.sequence_nbr as sequenceNbr,
SELECT jed.sequence_nbr as sequenceNbr,
concat(jed.receive_company_code, '_', jed.receive_org_name) as receiveOrgCode,
concat(jed.receive_company_code, '_', jed.receive_org_name) as receiveOrgCode,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgEquipTransferMapper.xml
View file @
43e2e535
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgEquipTransferMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgEquipTransferMapper"
>
<s
elect
id=
"queryForPage"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgEquipTransferDto
"
>
<s
ql
id=
"page_list
"
>
select
select
jet.sequence_nbr AS sequenceNbr,
jet.sequence_nbr AS sequenceNbr,
jet.apply_no AS applyNo,
jet.apply_no AS applyNo,
...
@@ -69,6 +69,9 @@
...
@@ -69,6 +69,9 @@
LEFT JOIN idx_biz_jg_factory_info fi ON fi.record = ete.equ_id
LEFT JOIN idx_biz_jg_factory_info fi ON fi.record = ete.equ_id
LEFT JOIN idx_biz_jg_use_info ui ON ui.record = ete.equ_id
LEFT JOIN idx_biz_jg_use_info ui ON ui.record = ete.equ_id
LEFT JOIN idx_biz_jg_other_info oi ON oi.RECORD = ete.equ_id
LEFT JOIN idx_biz_jg_other_info oi ON oi.RECORD = ete.equ_id
</sql>
<select
id=
"queryForPage"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgEquipTransferDto"
>
<include
refid=
"page_list"
/>
<where>
<where>
jet.is_delete = false
jet.is_delete = false
<if
test=
"param != null "
>
<if
test=
"param != null "
>
...
@@ -148,6 +151,21 @@
...
@@ -148,6 +151,21 @@
</if>
</if>
jet.apply_date DESC
jet.apply_date DESC
</select>
</select>
<select
id=
"queryEquipTransferInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.EquipTransferVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and jet.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
jet.apply_date DESC
</select>
<select
id=
"queryEquipInformation"
resultType=
"java.util.Map"
>
<select
id=
"queryEquipInformation"
resultType=
"java.util.Map"
>
select
select
jet.sequence_nbr AS sequenceNbr,
jet.sequence_nbr AS sequenceNbr,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgInstallationNoticeMapper.xml
View file @
43e2e535
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgInstallationNoticeMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgInstallationNoticeMapper"
>
<s
elect
id=
"queryForPage"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
select
select
isn.sequence_nbr AS sequenceNbr,
isn.sequence_nbr AS sequenceNbr,
isn.apply_no AS applyNo,
isn.apply_no AS applyNo,
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
(SELECT name from tz_equipment_category where code = isn.equ_list_code) AS equListName,
(SELECT name from tz_equipment_category where code = isn.equ_list_code) AS equListName,
(SELECT name from tz_equipment_category where code = isn.equ_category_code) AS equList,
(SELECT name from tz_equipment_category where code = isn.equ_category_code) AS equList,
isn.cancel_reason as cancelReason
isn.cancel_reason as cancelReason
</sql>
<select
id=
"queryForPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
FROM tzs_jg_installation_notice isn
FROM tzs_jg_installation_notice isn
<where>
<where>
isn.is_delete = false
isn.is_delete = false
...
@@ -180,4 +184,20 @@
...
@@ -180,4 +184,20 @@
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610' and a.notice_status
<![CDATA[ <> ]]>
'6617')
and (a.notice_status
<![CDATA[ <> ]]>
'6614' and a.notice_status
<![CDATA[ <> ]]>
'6615' and a.notice_status
<![CDATA[ <> ]]>
'6610' and a.notice_status
<![CDATA[ <> ]]>
'6617')
GROUP BY a.install_unit_credit_code
GROUP BY a.install_unit_credit_code
</select>
</select>
<select
id=
"queryInstallationInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.InstallationVo"
>
<include
refid=
"page_list"
/>
from tzs_jg_installation_notice isn
<where>
<if
test=
'ids != null'
>
and isn.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
isn.create_date DESC, isn.apply_no DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
View file @
43e2e535
...
@@ -6,8 +6,7 @@
...
@@ -6,8 +6,7 @@
set promoter = null
set promoter = null
where sequence_nbr = #{id}
where sequence_nbr = #{id}
</update>
</update>
<sql
id=
"page_list"
>
<select
id=
"queryForPage"
resultType=
"java.util.Map"
>
select
select
isn.sequence_nbr AS sequenceNbr,
isn.sequence_nbr AS sequenceNbr,
isn.apply_no AS applyNo,
isn.apply_no AS applyNo,
...
@@ -71,6 +70,9 @@
...
@@ -71,6 +70,9 @@
(SELECT name from tz_equipment_category ec WHERE ec.code = isn.equ_list_code) AS equListName,
(SELECT name from tz_equipment_category ec WHERE ec.code = isn.equ_list_code) AS equListName,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
(select name from tz_equipment_category ec WHERE ec.code = isn.equ_category) AS equCategoryName
(select name from tz_equipment_category ec WHERE ec.code = isn.equ_category) AS equCategoryName
</sql>
<select
id=
"queryForPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
FROM tzs_jg_maintain_notice isn
FROM tzs_jg_maintain_notice isn
<where>
<where>
isn.is_delete = 0
isn.is_delete = 0
...
@@ -263,4 +265,19 @@
...
@@ -263,4 +265,19 @@
and a.notice_status = '6612'
and a.notice_status = '6612'
GROUP BY a.install_unit_credit_code
GROUP BY a.install_unit_credit_code
</select>
</select>
<select
id=
"queryMaintainInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.MaintainVo"
>
<include
refid=
"page_list"
/>
from tzs_jg_maintain_notice isn
<where>
<if
test=
'ids != null'
>
and isn.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
isn.create_date DESC, isn.apply_no DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgMaintenanceContractMapper.xml
View file @
43e2e535
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</foreach>
</foreach>
</delete>
</delete>
<s
elect
id=
"getContractList"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgMaintenanceContractDto
"
>
<s
ql
id=
"page_list
"
>
SELECT
SELECT
tjmc.sequence_nbr,
tjmc.sequence_nbr,
tjmc.apply_no,
tjmc.apply_no,
...
@@ -42,10 +42,14 @@
...
@@ -42,10 +42,14 @@
date_format(tjmc.create_date,'%Y-%m-%d') AS createDate,
date_format(tjmc.create_date,'%Y-%m-%d') AS createDate,
concat(date_format(IFNULL(inform_start, null),'%Y-%m-%d'),' ~ ',date_format(IFNULL(inform_end, null),'%Y-%m-%d')) as informStartAndEnd
concat(date_format(IFNULL(inform_start, null),'%Y-%m-%d'),' ~ ',date_format(IFNULL(inform_end, null),'%Y-%m-%d')) as informStartAndEnd
<!-- ri."EQU_CODE" as equCode,-->
<!-- ri."EQU_CODE" as equCode,-->
<!-- (SELECT name from tz_equipment_category ec WHERE ec.code = ri.EQU_LIST) AS equList,-->
<!-- (SELECT name from tz_equipment_category ec WHERE ec.code = ri.EQU_LIST) AS equList,-->
<!-- (select name from tz_equipment_category ec WHERE ec.code = ri.EQU_CATEGORY) AS equCategory,-->
<!-- (select name from tz_equipment_category ec WHERE ec.code = ri.EQU_CATEGORY) AS equCategory,-->
<!-- (select name from tz_equipment_category ec WHERE ec.code = ri.EQU_DEFINE) AS equDefine-->
<!-- (select name from tz_equipment_category ec WHERE ec.code = ri.EQU_DEFINE) AS equDefine-->
</sql>
<select
id=
"getContractList"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgMaintenanceContractDto"
>
<include
refid=
"page_list"
/>
FROM
FROM
amos_tzs_biz.tzs_jg_maintenance_contract tjmc
amos_tzs_biz.tzs_jg_maintenance_contract tjmc
<!-- LEFT JOIN tzs_jg_maintenance_contract_eq tjmce ON tjmce.equip_transfer_id = tjmc.sequence_nbr-->
<!-- LEFT JOIN tzs_jg_maintenance_contract_eq tjmce ON tjmce.equip_transfer_id = tjmc.sequence_nbr-->
...
@@ -170,4 +174,19 @@
...
@@ -170,4 +174,19 @@
and a.status in ('监管单位待受理','维保单位待受理')
and a.status in ('监管单位待受理','维保单位待受理')
GROUP BY a.use_unit_code
GROUP BY a.use_unit_code
</select>
</select>
<select
id=
"queryMaintenanceInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.MaintenanceVo"
>
<include
refid=
"page_list"
/>
from amos_tzs_biz.tzs_jg_maintenance_contract tjmc
<where>
<if
test=
'ids != null'
>
and tjmc.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
tjmc.create_date DESC, tjmc.apply_no DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
View file @
43e2e535
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgReformNoticeMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgReformNoticeMapper"
>
<s
elect
id=
"queryForPage"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
select
select
isn.province,
isn.province,
isn.city,
isn.city,
...
@@ -39,6 +39,9 @@
...
@@ -39,6 +39,9 @@
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
DATE_FORMAT(isn.accept_date,'%Y-%m-%d') AS acceptDate,
DATE_FORMAT(isn.accept_date,'%Y-%m-%d') AS acceptDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate
</sql>
<select
id=
"queryForPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
FROM
FROM
tzs_jg_reform_notice isn
tzs_jg_reform_notice isn
<where>
<where>
...
@@ -193,4 +196,19 @@
...
@@ -193,4 +196,19 @@
and a.notice_status not in('6614','6615','6610','6617','6616')
and a.notice_status not in('6614','6615','6610','6617','6616')
GROUP BY a.install_unit_credit_code
GROUP BY a.install_unit_credit_code
</select>
</select>
<select
id=
"queryReformInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ReformVo"
>
<include
refid=
"page_list"
/>
from tzs_jg_reform_notice isn
<where>
<if
test=
'ids != null'
>
and isn.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
isn.create_date DESC, isn.apply_no DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
View file @
43e2e535
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
where sequence_nbr = #{id}
where sequence_nbr = #{id}
</update>
</update>
<sql
id=
"page_list"
>
<select
id=
"getListPage"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto"
>
select
select
tjsc.sequence_nbr,
tjsc.sequence_nbr,
tjsc.instance_id,
tjsc.instance_id,
...
@@ -37,6 +36,10 @@
...
@@ -37,6 +36,10 @@
tjsc.use_registration_code,
tjsc.use_registration_code,
tjsc.equ_list_code
tjsc.equ_list_code
from tzs_jg_scrap_cancel tjsc
from tzs_jg_scrap_cancel tjsc
</sql>
<select
id=
"getListPage"
resultType=
"com.yeejoin.amos.boot.module.jg.api.dto.JgScrapCancelDto"
>
<include
refid=
"page_list"
/>
<where>
<where>
tjsc.is_delete = 0
tjsc.is_delete = 0
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
<if
test=
"dto.auditStatus != null and dto.auditStatus != ''"
>
...
@@ -81,6 +84,23 @@
...
@@ -81,6 +84,23 @@
</if>
</if>
tjsc.create_date DESC, tjsc.apply_no DESC
tjsc.create_date DESC, tjsc.apply_no DESC
</select>
</select>
<select
id=
"queryScrapCancelInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ScrapCancelVo"
>
<include
refid=
"page_list"
/>
<where>
<if
test=
'ids != null'
>
and tjsc.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
tjsc.create_date DESC, tjsc.apply_no DESC
</select>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
SELECT jri.EQU_CODE as equCode,
SELECT jri.EQU_CODE as equCode,
jri.EQU_CATEGORY as equCategory,
jri.EQU_CATEGORY as equCategory,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
View file @
43e2e535
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgTransferNoticeMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.jg.api.mapper.JgTransferNoticeMapper"
>
<s
elect
id=
"queryForPage"
resultType=
"java.util.Map
"
>
<s
ql
id=
"page_list
"
>
select
select
tjtn.sequence_nbr AS sequenceNbr,
tjtn.sequence_nbr AS sequenceNbr,
tjtn.apply_no AS applyNo,
tjtn.apply_no AS applyNo,
...
@@ -31,6 +31,9 @@
...
@@ -31,6 +31,9 @@
DATE_FORMAT(tjtn.handle_date,'%Y-%m-%d') AS handleDate,
DATE_FORMAT(tjtn.handle_date,'%Y-%m-%d') AS handleDate,
DATE_FORMAT(tjtn.plan_date,'%Y-%m-%d') AS planDate,
DATE_FORMAT(tjtn.plan_date,'%Y-%m-%d') AS planDate,
DATE_FORMAT(tjtn.create_date,'%Y-%m-%d') AS createDate
DATE_FORMAT(tjtn.create_date,'%Y-%m-%d') AS createDate
</sql>
<select
id=
"queryForPage"
resultType=
"java.util.Map"
>
<include
refid=
"page_list"
/>
FROM tzs_jg_transfer_notice tjtn
FROM tzs_jg_transfer_notice tjtn
<where>
<where>
tjtn.is_delete = false
tjtn.is_delete = false
...
@@ -200,4 +203,19 @@
...
@@ -200,4 +203,19 @@
and a.notice_status not in('6614','6615','6610','6617','6616')
and a.notice_status not in('6614','6615','6610','6617','6616')
GROUP BY a.install_unit_credit_code
GROUP BY a.install_unit_credit_code
</select>
</select>
<select
id=
"queryTransferInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.TransferVo"
>
<include
refid=
"page_list"
/>
from tzs_jg_transfer_notice tjtn
<where>
<if
test=
'ids != null'
>
and tjtn.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
tjtn.create_date DESC, tjtn.apply_no DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationManageMapper.xml
View file @
43e2e535
...
@@ -199,4 +199,19 @@
...
@@ -199,4 +199,19 @@
ORDER BY tjurm.rec_date DESC
ORDER BY tjurm.rec_date DESC
</where>
</where>
</select>
</select>
<select
id=
"queryCertificateInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.CertificateVo"
>
<include
refid=
"page_list"
/>
from tzs_jg_use_registration_manage tjurm
<where>
<if
test=
'ids != null'
>
and tjurm.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
ORDER BY
tjurm.rec_date DESC
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
43e2e535
...
@@ -124,6 +124,21 @@
...
@@ -124,6 +124,21 @@
</if>
</if>
ur.create_date DESC, ur.apply_no DESC
ur.create_date DESC, ur.apply_no DESC
</select>
</select>
<select
id=
"queryRegistrationInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.RegistrationVo"
>
<include
refid=
"page-list"
/>
<where>
<if
test=
'ids != null'
>
and ur.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
ur.create_date DESC, ur.apply_no DESC
</select>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
<select
id=
"getDetail"
resultType=
"java.util.Map"
>
SELECT
SELECT
jri.RECORD as equipId,
jri.RECORD as equipId,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgVehicleInformationMapper.xml
View file @
43e2e535
...
@@ -49,6 +49,21 @@
...
@@ -49,6 +49,21 @@
</if>
</if>
tjvi.create_date DESC, tjvi.apply_no DESC
tjvi.create_date DESC, tjvi.apply_no DESC
</select>
</select>
<select
id=
"queryVehicleInformationInIds"
resultType=
"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.VehicleInformationVo"
>
<include
refid=
"page-list"
/>
<where>
<if
test=
'ids != null'
>
and tjvi.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
open=
"("
close=
")"
separator=
","
>
#{id}
</foreach>
</if>
</where>
order by
tjvi.create_date DESC, tjvi.apply_no DESC
</select>
<sql
id=
"page-list"
>
<sql
id=
"page-list"
>
select tjvi.sequence_nbr as sequenceNbr,
select tjvi.sequence_nbr as sequenceNbr,
tjvi.audit_status as auditStatus,
tjvi.audit_status as auditStatus,
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgTableDataExportController.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IJgTableDataExportService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.util.Assert
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.Arrays
;
/**
* JG表格数据导出
*/
@RestController
@Api
(
tags
=
"JG表格数据导出"
)
@RequestMapping
(
value
=
"/dataExport"
)
public
class
JgTableDataExportController
extends
BaseController
{
private
IJgTableDataExportService
iJgTableDataExportService
;
public
JgTableDataExportController
(
IJgTableDataExportService
iJgTableDataExportService
)
{
this
.
iJgTableDataExportService
=
iJgTableDataExportService
;
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/gen"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"工具辅助接口"
,
notes
=
"工具辅助接口"
)
public
ResponseModel
<
String
>
httGen
(
String
jsonName
,
String
voName
,
String
tableName
)
{
iJgTableDataExportService
.
gen
(
jsonName
,
voName
,
tableName
);
return
ResponseHelper
.
buildResponse
(
"Ok"
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/certificate"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"登记证列表数据导出"
,
notes
=
"登记证列表数据导出"
)
public
void
certificateExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
certificate
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/maintenance"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"维保备案列表数据导出"
,
notes
=
"维保备案列表数据导出"
)
public
void
maintenanceExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
maintenance
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/installation"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"安装告知列表数据导出"
,
notes
=
"安装告知列表数据导出"
)
public
void
installationExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
installation
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/maintain"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"维修告知列表数据导出"
,
notes
=
"维修告知列表数据导出"
)
public
void
maintainExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
maintain
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/reform"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"改造告知列表数据导出"
,
notes
=
"改造告知列表数据导出"
)
public
void
reformExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
reform
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/transfer"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"移装告知列表数据导出"
,
notes
=
"移装告知列表数据导出"
)
public
void
transferExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
transfer
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/registration"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"使用登记列表数据导出"
,
notes
=
"使用登记列表数据导出"
)
public
void
registrationExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
registration
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/changeRegistrationUnit"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"单位变更列表数据导出"
,
notes
=
"单位变更列表数据导出"
)
public
void
changeRegistrationUnitExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
changeRegistrationUnit
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/changeRegistrationReform"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"改造登记列表数据导出"
,
notes
=
"改造登记列表数据导出"
)
public
void
changeRegistrationReformExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
changeRegistrationReform
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/enableDisable"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"启用停用列表数据导出"
,
notes
=
"启用停用列表数据导出"
)
public
void
enableDisableExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
enableDisable
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/scrapCancel"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"注销报废列表数据导出"
,
notes
=
"注销报废列表数据导出"
)
public
void
scrapCancelExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
scrapCancel
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/changeRegistrationTransfer"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"移装变更列表数据导出"
,
notes
=
"移装变更列表数据导出"
)
public
void
changeRegistrationTransferExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
changeRegistrationTransfer
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/changeRegistrationName"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"更名变更列表数据导出"
,
notes
=
"更名变更列表数据导出"
)
public
void
changeRegistrationNameExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
changeRegistrationName
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/vehicleInformation"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"车气登记列表数据导出"
,
notes
=
"车气登记列表数据导出"
)
public
void
vehicleInformationExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
vehicleInformation
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/changeVehicleRegistrationUnit"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"车用气瓶变更列表数据导出"
,
notes
=
"车用气瓶变更列表数据导出"
)
public
void
changeVehicleRegistrationUnitExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
changeVehicleRegistrationUnit
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/unregulatedEquip"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"未纳管设备列表数据导出"
,
notes
=
"未纳管设备列表数据导出"
)
public
void
unregulatedEquipExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
unregulatedEquip
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/manageEquipment"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"已纳管设备列表数据导出"
,
notes
=
"已纳管设备列表数据导出"
)
public
void
manageEquipmentExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
manageEquipment
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/equipTransfer"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"设备移交列表数据导出"
,
notes
=
"设备移交列表数据导出"
)
public
void
equipTransferExport
(
HttpServletResponse
response
,
String
ids
)
{
Assert
.
hasText
(
ids
,
"未选择导出数据"
);
iJgTableDataExportService
.
equipTransfer
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/IJgTableDataExportService.java
0 → 100644
View file @
43e2e535
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
service
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* JG表格数据导出接口类
*/
public
interface
IJgTableDataExportService
{
void
gen
(
String
jsonName
,
String
voName
,
String
tableName
);
void
certificate
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
maintenance
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
installation
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
maintain
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
reform
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
transfer
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
registration
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
changeRegistrationUnit
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
changeRegistrationReform
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
enableDisable
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
scrapCancel
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
changeRegistrationTransfer
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
changeRegistrationName
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
vehicleInformation
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
changeVehicleRegistrationUnit
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
unregulatedEquip
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
manageEquipment
(
HttpServletResponse
response
,
List
<
String
>
ids
);
void
equipTransfer
(
HttpServletResponse
response
,
List
<
String
>
ids
);
}
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
43e2e535
...
@@ -43,7 +43,10 @@ import com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum;
...
@@ -43,7 +43,10 @@ import com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.*
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.CategoryOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgRegisterInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.OtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.SuperviseInfoMapper
;
import
com.yeejoin.amos.component.feign.utils.FeignUtil
;
import
com.yeejoin.amos.component.feign.utils.FeignUtil
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.model.DictionarieValueModel
;
import
com.yeejoin.amos.feign.systemctl.model.DictionarieValueModel
;
...
@@ -3666,4 +3669,44 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -3666,4 +3669,44 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
private
ReginParams
getSelectedOrgInfo
()
{
private
ReginParams
getSelectedOrgInfo
()
{
return
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
return
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
}
}
/**
* 根据ids查询设备
*/
public
List
<
JSONObject
>
queryEquipInIds
(
List
<
String
>
ids
)
{
List
<
JSONObject
>
result
=
new
ArrayList
<>();
SearchRequest
request
=
new
SearchRequest
();
request
.
indices
(
"idx_biz_view_jg_all"
);
SearchSourceBuilder
builder
=
new
SearchSourceBuilder
();
builder
.
trackTotalHits
(
true
);
BoolQueryBuilder
boolMust
=
QueryBuilders
.
boolQuery
();
if
(!
ObjectUtils
.
isEmpty
(
ids
))
{
BoolQueryBuilder
seqBuilder
=
QueryBuilders
.
boolQuery
();
seqBuilder
.
must
(
QueryBuilders
.
termsQuery
(
"SEQUENCE_NBR.keyword"
,
ids
));
boolMust
.
must
(
seqBuilder
);
}
builder
.
query
(
boolMust
);
builder
.
sort
(
"REC_DATE"
,
SortOrder
.
DESC
);
request
.
source
(
builder
);
try
{
SearchResponse
response
=
restHighLevelClient
.
search
(
request
,
RequestOptions
.
DEFAULT
);
for
(
SearchHit
hit
:
response
.
getHits
().
getHits
())
{
JSONObject
jsonObject
=
(
JSONObject
)
JSONObject
.
toJSON
(
hit
);
JSONObject
source
=
jsonObject
.
getJSONObject
(
"sourceAsMap"
);
if
(!
ValidationUtil
.
isEmpty
(
source
.
get
(
DATA_SOURCE
)))
{
String
s
=
source
.
get
(
DATA_SOURCE
).
toString
();
source
.
put
(
DATA_SOURCE
,
s
);
source
.
put
(
DATA_SOURCE_NAME
,
Arrays
.
stream
(
EquipSourceEnum
.
values
())
.
filter
(
e
->
s
.
startsWith
(
e
.
getCode
()))
.
map
(
EquipSourceEnum:
:
getName
)
.
findFirst
()
.
orElse
(
EquipSourceEnum
.
jg
.
getName
()));
}
result
.
add
(
source
);
}
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
}
return
result
;
}
}
}
\ No newline at end of file
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/JgEquipTransferServiceImpl.java
View file @
43e2e535
...
@@ -24,6 +24,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
...
@@ -24,6 +24,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgEquipTransferService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgEquipTransferService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
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.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.EquipTransferVo
;
import
com.yeejoin.amos.boot.module.jg.biz.context.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IIdxBizJgRegisterInfoService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IIdxBizJgRegisterInfoService
;
...
@@ -606,6 +607,21 @@ public class JgEquipTransferServiceImpl extends BaseService<JgEquipTransferDto,
...
@@ -606,6 +607,21 @@ public class JgEquipTransferServiceImpl extends BaseService<JgEquipTransferDto,
return
equipTransferPage
;
return
equipTransferPage
;
}
}
/**
* 列表查询-导出用
*/
public
List
<
EquipTransferVo
>
queryTransferInIds
(
List
<
String
>
ids
)
{
List
<
EquipTransferVo
>
equipTransferVos
=
this
.
baseMapper
.
queryEquipTransferInIds
(
ids
);
return
equipTransferVos
.
stream
()
.
peek
(
transfer
->
{
if
(
Objects
.
nonNull
(
transfer
.
getApplyStatus
()))
{
transfer
.
setApplyStatus
(
FlowStatusEnum
.
getNameByType
(
Long
.
parseLong
(
transfer
.
getApplyStatus
())));
}
})
.
collect
(
Collectors
.
toList
());
}
@Override
@Override
public
Map
<
String
,
Object
>
queryBySequenceNbr
(
Long
sequenceNbr
)
{
public
Map
<
String
,
Object
>
queryBySequenceNbr
(
Long
sequenceNbr
)
{
JgEquipTransfer
equipTransfer
=
baseMapper
.
selectById
(
sequenceNbr
);
JgEquipTransfer
equipTransfer
=
baseMapper
.
selectById
(
sequenceNbr
);
...
...
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 @
43e2e535
...
@@ -31,6 +31,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
...
@@ -31,6 +31,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
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.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.InstallationVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
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.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
...
@@ -1740,4 +1741,17 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -1740,4 +1741,17 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
commonService
.
saveExecuteFlowData2Redis
(
notice
.
getInstanceId
(),
this
.
buildInstanceRuntimeData
(
notice
));
commonService
.
saveExecuteFlowData2Redis
(
notice
.
getInstanceId
(),
this
.
buildInstanceRuntimeData
(
notice
));
}
}
/**
* 列表数据查询
* @param ids
* @return
*/
public
List
<
InstallationVo
>
queryInstallationInIds
(
List
<
String
>
ids
)
{
List
<
InstallationVo
>
installationVos
=
jgInstallationNoticeMapper
.
queryInstallationInIds
(
ids
);
return
installationVos
.
stream
().
peek
(
notice
->
{
Optional
<
String
>
noticeStatusOpt
=
Optional
.
ofNullable
(
notice
.
getNoticeStatus
());
noticeStatusOpt
.
ifPresent
(
status
->
notice
.
setNoticeStatus
(
FlowStatusEnum
.
getNameByType
(
Long
.
valueOf
(
status
))));
}).
collect
(
Collectors
.
toList
());
}
}
}
\ No newline at end of file
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/JgMaintainNoticeServiceImpl.java
View file @
43e2e535
...
@@ -26,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
...
@@ -26,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgMaintainNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgMaintainNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.MaintainVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
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.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
...
@@ -481,10 +482,18 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
...
@@ -481,10 +482,18 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
}
}
/**
/**
* 列表查询
示例
* 列表查询
-导出用
*/
*/
public
List
<
JgMaintainNoticeDto
>
queryForJgMaintainNoticeList
()
{
public
List
<
MaintainVo
>
queryMaintainInIds
(
List
<
String
>
ids
)
{
return
this
.
queryForList
(
""
,
false
);
List
<
DataDictionary
>
dictionaries
=
dataDictionaryService
.
getByType
(
"WXLX"
);
List
<
MaintainVo
>
maintainVos
=
jgMaintainNoticeMapper
.
queryMaintainInIds
(
ids
);
return
maintainVos
.
stream
().
peek
(
notice
->
{
Optional
.
ofNullable
(
notice
.
getNoticeStatus
()).
ifPresent
(
status
->
notice
.
setNoticeStatus
(
FlowStatusEnum
.
getNameByType
(
Long
.
valueOf
(
status
))));
Optional
.
ofNullable
(
notice
.
getMaintainType
()).
ifPresent
(
status
->
{
String
collect
=
dictionaries
.
stream
().
filter
(
d
->
notice
.
getMaintainType
().
equals
(
d
.
getCode
())).
map
(
DataDictionary:
:
getName
).
collect
(
Collectors
.
joining
());
notice
.
setMaintainType
(
collect
);
});
}).
collect
(
Collectors
.
toList
());
}
}
...
...
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/JgReformNoticeServiceImpl.java
View file @
43e2e535
...
@@ -26,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgReformNoticeMapper;
...
@@ -26,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgReformNoticeMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgRegistrationHistoryMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgReformNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgReformNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ReformVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
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.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
...
@@ -344,10 +345,11 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
...
@@ -344,10 +345,11 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
}
}
/**
/**
* 列表查询
示例
* 列表查询
-导出用
*/
*/
public
List
<
JgReformNoticeDto
>
queryForJgReformNoticeList
()
{
public
List
<
ReformVo
>
queryReformInIds
(
List
<
String
>
ids
)
{
return
this
.
queryForList
(
""
,
false
);
List
<
ReformVo
>
reformVos
=
jgReformNoticeMapper
.
queryReformInIds
(
ids
);
return
reformVos
.
stream
().
peek
(
notice
->
Optional
.
ofNullable
(
notice
.
getNoticeStatus
()).
ifPresent
(
status
->
notice
.
setNoticeStatus
(
FlowStatusEnum
.
getNameByType
(
Long
.
valueOf
(
status
))))).
collect
(
Collectors
.
toList
());
}
}
/**
/**
...
...
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 @
43e2e535
...
@@ -24,12 +24,13 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgScrapCancelMapper;
...
@@ -24,12 +24,13 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgScrapCancelMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationManageMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationManageMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgScrapCancelService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgScrapCancelService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.ScrapCancelVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
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.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IIdxBizJgRegisterInfoService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.WorkFlowFeignService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.WorkFlowFeignService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IIdxBizJgRegisterInfoService
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.SuperviseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.SuperviseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
...
@@ -154,6 +155,16 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
...
@@ -154,6 +155,16 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
return
listPage
;
return
listPage
;
}
}
/**
* 列表查询-导出用
*/
public
List
<
ScrapCancelVo
>
queryScrapCancelInIds
(
List
<
String
>
ids
)
{
List
<
ScrapCancelVo
>
scrapCancelVos
=
this
.
baseMapper
.
queryScrapCancelInIds
(
ids
);
return
scrapCancelVos
.
stream
().
peek
(
notice
->
Optional
.
ofNullable
(
notice
.
getEquListCode
())
.
ifPresent
(
status
->
notice
.
setEquListName
(
EquipmentClassifityEnum
.
getNameByCode
(
notice
.
getEquListCode
()))))
.
collect
(
Collectors
.
toList
());
}
private
void
convertField
(
JgScrapCancelDto
model
)
{
private
void
convertField
(
JgScrapCancelDto
model
)
{
// 处理图片
// 处理图片
if
(!
ValidationUtil
.
isEmpty
(
model
.
getCancelCertificateList
()))
{
if
(!
ValidationUtil
.
isEmpty
(
model
.
getCancelCertificateList
()))
{
...
...
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/JgTableDataExportServiceImpl.java
0 → 100644
View file @
43e2e535
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/JgTransferNoticeServiceImpl.java
View file @
43e2e535
...
@@ -6,7 +6,6 @@ import com.alibaba.fastjson.JSONArray;
...
@@ -6,7 +6,6 @@ import com.alibaba.fastjson.JSONArray;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.github.pagehelper.util.StringUtil
;
import
com.github.pagehelper.util.StringUtil
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
...
@@ -27,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgTransferNoticeMapper;
...
@@ -27,6 +26,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.JgTransferNoticeMapper;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgTransferNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgTransferNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.SortVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.TransferVo
;
import
com.yeejoin.amos.boot.module.jg.biz.config.LocalBadRequest
;
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.EquipUsedCheckStrategyContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
import
com.yeejoin.amos.boot.module.jg.biz.context.FlowingEquipRedisContext
;
...
@@ -34,7 +34,6 @@ import com.yeejoin.amos.boot.module.jg.biz.dao.ESElavtorRepository;
...
@@ -34,7 +34,6 @@ import com.yeejoin.amos.boot.module.jg.biz.dao.ESElavtorRepository;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICmWorkflowService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICmWorkflowService
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.WordTemplateUtils
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.WordTemplateUtils
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgUseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.RegistrationInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.RegistrationInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
...
@@ -479,6 +478,13 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
...
@@ -479,6 +478,13 @@ public class JgTransferNoticeServiceImpl extends BaseService<JgTransferNoticeDto
noticePage
.
setRecords
(
mappedRecords
);
noticePage
.
setRecords
(
mappedRecords
);
return
noticePage
;
return
noticePage
;
}
}
/**
* 列表查询-导出用
*/
public
List
<
TransferVo
>
queryTransferInIds
(
List
<
String
>
ids
)
{
List
<
TransferVo
>
transferVos
=
jgTransferNoticeMapper
.
queryTransferInIds
(
ids
);
return
transferVos
.
stream
().
peek
(
notice
->
Optional
.
ofNullable
(
notice
.
getNoticeStatus
()).
ifPresent
(
status
->
notice
.
setNoticeStatus
(
FlowStatusEnum
.
getNameByType
(
Long
.
valueOf
(
status
))))).
collect
(
Collectors
.
toList
());
}
@Override
@Override
@SuppressWarnings
({
"Duplicates"
,
"rawtypes"
})
@SuppressWarnings
({
"Duplicates"
,
"rawtypes"
})
...
...
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