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
Hide whitespace changes
Inline
Side-by-side
Showing
60 changed files
with
2149 additions
and
320 deletions
+2149
-320
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
+39
-20
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+51
-33
JgChangeRegistrationTransferMapper.xml
...n/resources/mapper/JgChangeRegistrationTransferMapper.xml
+49
-31
JgChangeRegistrationUnitMapper.xml
.../main/resources/mapper/JgChangeRegistrationUnitMapper.xml
+17
-0
JgChangeVehicleRegistrationUnitMapper.xml
...esources/mapper/JgChangeVehicleRegistrationUnitMapper.xml
+40
-24
JgEnableDisableMapper.xml
...g-api/src/main/resources/mapper/JgEnableDisableMapper.xml
+37
-18
JgEquipTransferMapper.xml
...g-api/src/main/resources/mapper/JgEquipTransferMapper.xml
+29
-11
JgInstallationNoticeMapper.xml
.../src/main/resources/mapper/JgInstallationNoticeMapper.xml
+49
-29
JgMaintainNoticeMapper.xml
...-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
+81
-64
JgMaintenanceContractMapper.xml
...src/main/resources/mapper/JgMaintenanceContractMapper.xml
+24
-5
JgReformNoticeMapper.xml
...jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
+54
-36
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+22
-2
JgTransferNoticeMapper.xml
...-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
+46
-28
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
+382
-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,28 +17,32 @@
...
@@ -17,28 +17,32 @@
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,
ur.apply_no as applyNo,
ur.apply_no as applyNo,
DATE_FORMAT(ur.rec_date,'%Y-%m-%d') as recDate,
DATE_FORMAT(ur.rec_date,'%Y-%m-%d') as recDate,
DATE_FORMAT(ur.create_date,'%Y-%m-%d') as createDate,
DATE_FORMAT(ur.create_date,'%Y-%m-%d') as createDate,
DATE_FORMAT(ur.audit_pass_date,'%Y-%m-%d') as auditPassDate,
DATE_FORMAT(ur.audit_pass_date,'%Y-%m-%d') as auditPassDate,
ur.receive_org_code as receiveOrgCode,
ur.receive_org_code as receiveOrgCode,
ur.receive_org_name as receiveOrgName,
ur.receive_org_name as receiveOrgName,
ur.receive_company_code as receiveCompanyCode,
ur.receive_company_code as receiveCompanyCode,
ur.use_unit_name as useUnitName,
ur.use_unit_name as useUnitName,
ur.new_use_unit_name AS newUseUnitName,
ur.new_use_unit_name AS newUseUnitName,
ur.promoter,
ur.promoter,
ur.create_user_id as createUserId,
ur.create_user_id as createUserId,
ur.next_executor_ids as nextExecutorIds,
ur.next_executor_ids as nextExecutorIds,
ur.next_execute_user_ids as nextExecuteUserIds,
ur.next_execute_user_ids as nextExecuteUserIds,
ur.next_task_id as nextTaskId,
ur.next_task_id as nextTaskId,
(select group_concat(use_registration_code) from (SELECT use_registration_code from tzs_jg_use_registration_manage where sequence_nbr in (SELECT
(select group_concat(use_registration_code) from (SELECT use_registration_code from tzs_jg_use_registration_manage where sequence_nbr in (SELECT
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,41 +6,44 @@
...
@@ -6,41 +6,44 @@
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,
ur.use_registration_code as useRegistrationCode,
ur.use_registration_code as useRegistrationCode,
ur.status,
ur.status,
ur.receive_org_name as receiveOrgName,
ur.receive_org_name as receiveOrgName,
DATE_FORMAT(ur.reg_date,'%Y-%m-%d') as regDate,
DATE_FORMAT(ur.reg_date,'%Y-%m-%d') as regDate,
DATE_FORMAT(ur.audit_pass_date,'%Y-%m-%d') as auditPassDate,
DATE_FORMAT(ur.audit_pass_date,'%Y-%m-%d') as auditPassDate,
DATE_FORMAT(ur.create_date,'%Y-%m-%d') as createDate,
DATE_FORMAT(ur.create_date,'%Y-%m-%d') as createDate,
(SELECT name from tz_equipment_category where code = jri.EQU_CATEGORY) as equCategory,
(SELECT name from tz_equipment_category where code = jri.EQU_CATEGORY) as equCategory,
jri.PRODUCT_NAME as productName,
jri.PRODUCT_NAME as productName,
jri.EQU_CODE as equCode,
jri.EQU_CODE as equCode,
use.USE_INNER_CODE as innerCode,
use.USE_INNER_CODE as innerCode,
concat(use.PROVINCE_NAME,use.CITY_NAME,use.COUNTY_NAME,use.STREET_NAME) as place,
concat(use.PROVINCE_NAME,use.CITY_NAME,use.COUNTY_NAME,use.STREET_NAME) as place,
use."ADDRESS" as detailedAddress,
use."ADDRESS" as detailedAddress,
ifnull(ur.instance_id, '') as instanceId,
ifnull(ur.instance_id, '') as instanceId,
re.equ_id as equipId,
re.equ_id as equipId,
ur.apply_no as applyNo,
ur.apply_no as applyNo,
ifnull(ur.next_executor_ids,'') as nextExecutorIds,
ifnull(ur.next_executor_ids,'') as nextExecutorIds,
ur.promoter,
ur.promoter,
ur.supervisory_code as supervisoryCode,
ur.supervisory_code as supervisoryCode,
ur.next_execute_user_ids as nextExecuteUserIds,
ur.next_execute_user_ids as nextExecuteUserIds,
ur.next_task_id as nextTaskId,
ur.next_task_id as nextTaskId,
ur.create_user_id as createUserId,
ur.create_user_id as createUserId,
oi.CODE96333 as code96333,
oi.CODE96333 as code96333,
ur.cancel_reason as cancelReason,
ur.cancel_reason as cancelReason,
(SELECT name from tz_equipment_category ec WHERE ec.code = jri.EQU_LIST) AS equList,
(SELECT name from tz_equipment_category ec WHERE ec.code = jri.EQU_LIST) AS equList,
(select name from tz_equipment_category ec WHERE ec.code = jri.EQU_DEFINE) AS equDefine
(select name from tz_equipment_category ec WHERE ec.code = jri.EQU_DEFINE) AS equDefine
from tzs_jg_change_registration_reform ur
from tzs_jg_change_registration_reform ur
LEFT JOIN tzs_jg_change_registration_reform_eq re on ur.sequence_nbr = re.equip_transfer_id
LEFT JOIN tzs_jg_change_registration_reform_eq re on ur.sequence_nbr = re.equip_transfer_id
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,41 +7,44 @@
...
@@ -7,41 +7,44 @@
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
*,
*,
ROW_NUMBER() OVER (PARTITION BY equip_transfer_id ORDER BY rec_date desc) as rn
ROW_NUMBER() OVER (PARTITION BY equip_transfer_id ORDER BY rec_date desc) as rn
FROM tzs_jg_change_registration_transfer_eq
FROM tzs_jg_change_registration_transfer_eq
)
)
select
select
crt.sequence_nbr as sequenceNbr,
crt.sequence_nbr as sequenceNbr,
crt.audit_status as auditStatus,
crt.audit_status as auditStatus,
DATE_FORMAT(crt.reg_date,'%Y-%m-%d') as regDate,
DATE_FORMAT(crt.reg_date,'%Y-%m-%d') as regDate,
DATE_FORMAT(crt.create_date,'%Y-%m-%d') as createDate,
DATE_FORMAT(crt.create_date,'%Y-%m-%d') as createDate,
crt.status,
crt.status,
crt.receive_org_name as receiveOrgName,
crt.receive_org_name as receiveOrgName,
crt.apply_no as applyNo,
crt.apply_no as applyNo,
crt.next_executor_ids AS nextExecutorIds,
crt.next_executor_ids AS nextExecutorIds,
crt.promoter,
crt.promoter,
DATE_FORMAT(crt.rec_date,'%Y-%m-%d') as recDate,
DATE_FORMAT(crt.rec_date,'%Y-%m-%d') as recDate,
crt.instance_id as instanceId,
crt.instance_id as instanceId,
crt.use_registration_code as useRegistrationCode,
crt.use_registration_code as useRegistrationCode,
crt.next_execute_user_ids as nextExecuteUserIds,
crt.next_execute_user_ids as nextExecuteUserIds,
crt.create_user_id as createUserId,
crt.create_user_id as createUserId,
crt.next_task_id as nextTaskId,
crt.next_task_id as nextTaskId,
crt.full_address as fullAddress,
crt.full_address as fullAddress,
use.USE_UNIT_NAME as useUnitName,
use.USE_UNIT_NAME as useUnitName,
jri.PRODUCT_NAME as productName,
jri.PRODUCT_NAME as productName,
jri.EQU_CODE as equCode,
jri.EQU_CODE as equCode,
concat(use."PROVINCE_NAME", '', use."CITY_NAME", '', use."COUNTY_NAME", '', use."STREET_NAME") as allAddress,
concat(use."PROVINCE_NAME", '', use."CITY_NAME", '', use."COUNTY_NAME", '', use."STREET_NAME") as allAddress,
(SELECT name from tz_equipment_category WHERE code = jri.EQU_LIST) AS equList,
(SELECT name from tz_equipment_category WHERE code = jri.EQU_LIST) AS equList,
(SELECT name from tz_equipment_category where code = jri.EQU_CATEGORY) as equCategory,
(SELECT name from tz_equipment_category where code = jri.EQU_CATEGORY) as equCategory,
(SELECT name from tz_equipment_category where code = jri.EQU_DEFINE) as equDefine
(SELECT name from tz_equipment_category where code = jri.EQU_DEFINE) as equDefine
from tzs_jg_change_registration_transfer crt
from tzs_jg_change_registration_transfer crt
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,32 +37,35 @@
...
@@ -37,32 +37,35 @@
</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,
cru.apply_no as applyNo,
cru.apply_no as applyNo,
date_format(cru.apply_date,'%Y-%m-%d') as applyDate,
date_format(cru.apply_date,'%Y-%m-%d') as applyDate,
date_format(cru.create_date,'%Y-%m-%d') as createDate,
date_format(cru.create_date,'%Y-%m-%d') as createDate,
date_format(cru.audit_pass_date,'%Y-%m-%d') as auditPassDate,
date_format(cru.audit_pass_date,'%Y-%m-%d') as auditPassDate,
cru.receive_org_name as receiveOrgName,
cru.receive_org_name as receiveOrgName,
cru.receive_org_code as receiveOrgCode,
cru.receive_org_code as receiveOrgCode,
cru.use_unit_name as useUnitName,
cru.use_unit_name as useUnitName,
cru.new_use_unit_name as newUseUnitName,
cru.new_use_unit_name as newUseUnitName,
cru.transfer_to_user_ids as transferToUserIds,
cru.transfer_to_user_ids as transferToUserIds,
cru.car_number as carNumber,
cru.car_number as carNumber,
COALESCE(cru.new_car_number, cru.car_number) as newCarNumber,
COALESCE(cru.new_car_number, cru.car_number) as newCarNumber,
cru.next_execute_user_ids as nextExecuteUserIds,
cru.next_execute_user_ids as nextExecuteUserIds,
cru.next_task_id as nextTaskId,
cru.next_task_id as nextTaskId,
cru.use_regist_code as useRegistCode,
cru.use_regist_code as useRegistCode,
cru.status,
cru.status,
cru.instance_status as instanceStatus,
cru.instance_status as instanceStatus,
cru.promoter,
cru.promoter,
cru.next_executor_ids as nextExecutorIds,
cru.next_executor_ids as nextExecutorIds,
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,29 +2,32 @@
...
@@ -2,29 +2,32 @@
<!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 '设备停用'
else '设备启用' end as applyType,
else '设备启用' end as applyType,
jed.sequence_nbr as sequenceNbr,
jed.sequence_nbr as sequenceNbr,
jed.apply_no as applyNo,
jed.apply_no as applyNo,
jed.equ_list_code as equListCode,
jed.equ_list_code as equListCode,
jed.equ_list_name as equListName,
jed.equ_list_name as equListName,
date_format(jed.apply_date, '%Y-%m-%d') as applyDate,
date_format(jed.apply_date, '%Y-%m-%d') as applyDate,
date_format(jed.create_date, '%Y-%m-%d') as createDate,
date_format(jed.create_date, '%Y-%m-%d') as createDate,
date_format(jed.audit_pass_date, '%Y-%m-%d') as auditPassDate,
date_format(jed.audit_pass_date, '%Y-%m-%d') as auditPassDate,
jed.receive_org_name as receiveOrgName,
jed.receive_org_name as receiveOrgName,
jed.use_registration_code as useRegistrationCode,
jed.use_registration_code as useRegistrationCode,
jed.audit_status as auditStatus,
jed.audit_status as auditStatus,
jed.instance_id as instanceId,
jed.instance_id as instanceId,
jed.execute_sequence as executeSequence,
jed.execute_sequence as executeSequence,
jed.next_executor_ids as nextExecutorIds,
jed.next_executor_ids as nextExecutorIds,
jed.promoter,
jed.promoter,
jed.next_execute_user_ids as nextExecuteUserIds,
jed.next_execute_user_ids as nextExecuteUserIds,
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,
jet.use_unit_credit_code AS useUnitCreditCode,
jet.use_unit_credit_code AS useUnitCreditCode,
...
@@ -58,17 +58,20 @@
...
@@ -58,17 +58,20 @@
jet.next_task_id as nextTaskId,
jet.next_task_id as nextTaskId,
oi.SUPERVISORY_CODE AS supervisoryCode,
oi.SUPERVISORY_CODE AS supervisoryCode,
oi.CODE96333 as code96333,
oi.CODE96333 as code96333,
(select name from tz_equipment_category tec1 where tec1.code = ri."EQU_LIST") AS equList,
(select name from tz_equipment_category tec1 where tec1.code = ri."EQU_LIST") AS equList,
(select name from tz_equipment_category tec2 where tec2.code = ri."EQU_CATEGORY") AS equCategory,
(select name from tz_equipment_category tec2 where tec2.code = ri."EQU_CATEGORY") AS equCategory,
(select name from tz_equipment_category tec3 where tec3.code = ri."EQU_DEFINE") AS equDefine
(select name from tz_equipment_category tec3 where tec3.code = ri."EQU_DEFINE") AS equDefine
FROM
FROM
tzs_jg_equip_transfer jet
tzs_jg_equip_transfer jet
LEFT JOIN tzs_jg_equip_transfer_eq ete ON ete.equip_transfer_id = jet.sequence_nbr
LEFT JOIN tzs_jg_equip_transfer_eq ete ON ete.equip_transfer_id = jet.sequence_nbr
LEFT JOIN idx_biz_jg_register_info ri ON ri.record = ete.equ_id
LEFT JOIN idx_biz_jg_register_info ri ON ri.record = ete.equ_id
LEFT JOIN idx_biz_jg_design_info di ON di.record = ete.equ_id
LEFT JOIN idx_biz_jg_design_info di ON di.record = ete.equ_id
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,36 +2,40 @@
...
@@ -2,36 +2,40 @@
<!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,
isn.supervisory_code AS supervisoryCode,
isn.supervisory_code AS supervisoryCode,
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
isn.use_unit_name AS useUnitName,
isn.use_unit_name AS useUnitName,
isn.receive_org_name AS receiveOrgName,
isn.receive_org_name AS receiveOrgName,
isn.region_no AS regionNo,
isn.region_no AS regionNo,
DATE_FORMAT(isn.install_start_date,'%Y-%m-%d') AS installStartDate,
DATE_FORMAT(isn.install_start_date,'%Y-%m-%d') AS installStartDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
isn.address AS address,
isn.address AS address,
isn.notice_status AS noticeStatus,
isn.notice_status AS noticeStatus,
isn.install_unit_name AS installUnitName,
isn.install_unit_name AS installUnitName,
isn.province_name AS provinceName,
isn.province_name AS provinceName,
isn.city_name AS cityName,
isn.city_name AS cityName,
isn.county_name AS countyName,
isn.county_name AS countyName,
isn.instance_id AS instanceId,
isn.instance_id AS instanceId,
isn.inform_number AS informNumber,
isn.inform_number AS informNumber,
isn.promoter,
isn.promoter,
isn.next_execute_ids AS nextExecuteIds,
isn.next_execute_ids AS nextExecuteIds,
isn.instance_status AS instanceStatus,
isn.instance_status AS instanceStatus,
DATE_FORMAT(isn.handle_date,'%Y-%m-%d') AS handleDate,
DATE_FORMAT(isn.handle_date,'%Y-%m-%d') AS handleDate,
isn.notice_report_url AS noticeReportUrl,
isn.notice_report_url AS noticeReportUrl,
isn.create_user_id as createUserId,
isn.create_user_id as createUserId,
isn.next_task_id AS nextTaskId,
isn.next_task_id AS nextTaskId,
isn.next_execute_user_ids as nextExecuteUserIds,
isn.next_execute_user_ids as nextExecuteUserIds,
(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,71 +6,73 @@
...
@@ -6,71 +6,73 @@
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,
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
DATE_FORMAT(isn.notice_date,'%Y-%m-%d') AS noticeDate,
isn.notice_status AS noticeStatus,
isn.notice_status AS noticeStatus,
isn.install_unit_credit_code AS installUnitCreditCode,
isn.install_unit_credit_code AS installUnitCreditCode,
isn.install_unit_name AS installUnitName,
isn.install_unit_name AS installUnitName,
isn.equip_num AS equipNum,
isn.equip_num AS equipNum,
isn.instance_id AS instanceId,
isn.instance_id AS instanceId,
isn.next_executor_ids AS nextExecutorIds,
isn.next_executor_ids AS nextExecutorIds,
isn.execute_sequence AS executeSequence,
isn.execute_sequence AS executeSequence,
DATE_FORMAT(isn.rec_date,'%Y-%m-%d') AS recDate,
DATE_FORMAT(isn.rec_date,'%Y-%m-%d') AS recDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
DATE_FORMAT(isn.create_date,'%Y-%m-%d') AS createDate,
isn.rec_user_id AS recUserId,
isn.rec_user_id AS recUserId,
isn.create_user_id AS createUserId,
isn.create_user_id AS createUserId,
isn.rec_user_name AS recUserName,
isn.rec_user_name AS recUserName,
isn.create_user_name AS createUserName,
isn.create_user_name AS createUserName,
isn.is_delete AS isDelete,
isn.is_delete AS isDelete,
isn.remark AS remark,
isn.remark AS remark,
isn.instance_status AS instanceStatus,
isn.instance_status AS instanceStatus,
DATE_FORMAT(isn.accept_date,'%Y-%m-%d') AS acceptDate,
DATE_FORMAT(isn.accept_date,'%Y-%m-%d') AS acceptDate,
isn.province AS province,
isn.province AS province,
isn.city AS city,
isn.city AS city,
isn.county AS county,
isn.county AS county,
isn.street AS street,
isn.street AS street,
isn.address AS address,
isn.address AS address,
DATE_FORMAT(isn.plan_date,'%Y-%m-%d') AS planDate,
DATE_FORMAT(isn.plan_date,'%Y-%m-%d') AS planDate,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_org_name AS receiveOrgName,
isn.receive_org_name AS receiveOrgName,
isn.construction_manager AS constructionManager,
isn.construction_manager AS constructionManager,
isn.construction_manager_id AS constructionManagerId,
isn.construction_manager_id AS constructionManagerId,
isn.construction_manager_phone AS constructionManagerPhone,
isn.construction_manager_phone AS constructionManagerPhone,
isn.inspection_unit_credit_code AS inspectionUnitCreditCode,
isn.inspection_unit_credit_code AS inspectionUnitCreditCode,
isn.inspection_unit_name AS inspectionUnitName,
isn.inspection_unit_name AS inspectionUnitName,
isn.entrusting_unit_credit_code AS entrustingUnitCreditCode,
isn.entrusting_unit_credit_code AS entrustingUnitCreditCode,
isn.entrusting_unit_name AS entrustingUnitName,
isn.entrusting_unit_name AS entrustingUnitName,
isn.power_of_attorney AS powerOfAttorney,
isn.power_of_attorney AS powerOfAttorney,
isn.construction_contract AS constructionContract,
isn.construction_contract AS constructionContract,
isn.is_signed_with_a AS isSignedWithA,
isn.is_signed_with_a AS isSignedWithA,
isn.use_unit_credit_code AS useUnitCreditCode,
isn.use_unit_credit_code AS useUnitCreditCode,
isn.use_unit_name AS useUnitName,
isn.use_unit_name AS useUnitName,
isn.maintain_type AS maintainType,
isn.maintain_type AS maintainType,
isn.is_inspected AS isInspected,
isn.is_inspected AS isInspected,
isn.receive_org_code AS receiveOrgCode,
isn.receive_org_code AS receiveOrgCode,
isn.factory_use_site_street AS factoryUseSiteStreet,
isn.factory_use_site_street AS factoryUseSiteStreet,
isn.street_name AS streetName,
isn.street_name AS streetName,
isn.province_name AS provinceName,
isn.province_name AS provinceName,
isn.city_name AS cityName,
isn.city_name AS cityName,
isn.county_name AS countyName,
isn.county_name AS countyName,
isn.notice_report_url AS noticeReportUrl,
isn.notice_report_url AS noticeReportUrl,
isn.promoter AS promoter,
isn.promoter AS promoter,
isn.equ_list_code AS equListCode,
isn.equ_list_code AS equListCode,
isn.equ_category AS equCategory,
isn.equ_category AS equCategory,
isn.next_execute_ids AS nextExecuteIds,
isn.next_execute_ids AS nextExecuteIds,
isn.status AS status,
isn.status AS status,
isn.next_task_id AS nextTaskId,
isn.next_task_id AS nextTaskId,
isn.create_user_company_name AS createUserCompanyName,
isn.create_user_company_name AS createUserCompanyName,
isn.next_execute_user_ids AS nextExecuteUserIds,
isn.next_execute_user_ids AS nextExecuteUserIds,
isn.transfer_to_user_ids AS transferToUserIds,
isn.transfer_to_user_ids AS transferToUserIds,
isn.cancel_reason AS cancelReason,
isn.cancel_reason AS cancelReason,
(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,43 +2,46 @@
...
@@ -2,43 +2,46 @@
<!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,
isn.county,
isn.county,
isn.street,
isn.street,
isn.promoter,
isn.promoter,
isn.sequence_nbr AS sequenceNbr,
isn.sequence_nbr AS sequenceNbr,
isn.apply_no AS applyNo,
isn.apply_no AS applyNo,
isn.use_unit_name AS useUnitName,
isn.use_unit_name AS useUnitName,
isn.receive_org_name AS receiveOrgName,
isn.receive_org_name AS receiveOrgName,
isn.address AS address,
isn.address AS address,
isn.notice_status AS noticeStatus,
isn.notice_status AS noticeStatus,
isn.install_unit_name AS installUnitName,
isn.install_unit_name AS installUnitName,
isn.province_name AS provinceName,
isn.province_name AS provinceName,
isn.notice_report_url AS noticeReportUrl,
isn.notice_report_url AS noticeReportUrl,
isn.equ_list_code as equListCode,
isn.equ_list_code as equListCode,
isn.equ_list_name as equListName,
isn.equ_list_name as equListName,
isn.equ_category_code as equCategoryCode,
isn.equ_category_code as equCategoryCode,
isn.equ_category_name as equCategoryName,
isn.equ_category_name as equCategoryName,
isn.create_user_id as createUserId,
isn.create_user_id as createUserId,
isn.next_execute_user_ids as nextExecuteUserIds,
isn.next_execute_user_ids as nextExecuteUserIds,
isn.instance_id AS instanceId,
isn.instance_id AS instanceId,
isn.city_name AS cityName,
isn.city_name AS cityName,
isn.county_name AS countyName,
isn.county_name AS countyName,
isn.street_name AS streetName,
isn.street_name AS streetName,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_company_code AS receiveCompanyCode,
isn.receive_org_name AS receiveOrgName,
isn.receive_org_name AS receiveOrgName,
isn.next_execute_ids as nextExecuteIds,
isn.next_execute_ids as nextExecuteIds,
isn.instance_status AS instanceStatus,
isn.instance_status AS instanceStatus,
isn.inform_number AS informNumber,
isn.inform_number AS informNumber,
isn.next_task_id as nextTaskId,
isn.next_task_id as nextTaskId,
isn.cancel_reason as cancelReason,
isn.cancel_reason as cancelReason,
DATE_FORMAT(isn.plan_date,'%Y-%m-%d') AS planDate,
DATE_FORMAT(isn.plan_date,'%Y-%m-%d') AS planDate,
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,35 +2,38 @@
...
@@ -2,35 +2,38 @@
<!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,
tjtn.use_unit_name AS useUnitName,
tjtn.use_unit_name AS useUnitName,
tjtn.receive_org_name AS receiveOrgName,
tjtn.receive_org_name AS receiveOrgName,
tjtn.address AS address,
tjtn.address AS address,
tjtn.notice_status AS noticeStatus,
tjtn.notice_status AS noticeStatus,
tjtn.install_unit_name AS installUnitName,
tjtn.install_unit_name AS installUnitName,
tjtn.province_name AS provinceName,
tjtn.province_name AS provinceName,
tjtn.city_name AS cityName,
tjtn.city_name AS cityName,
tjtn.county_name AS countyName,
tjtn.county_name AS countyName,
tjtn.street_name AS streetName,
tjtn.street_name AS streetName,
tjtn.instance_id AS instanceId,
tjtn.instance_id AS instanceId,
tjtn.transfer_type AS transferType,
tjtn.transfer_type AS transferType,
tjtn.promoter AS promoter,
tjtn.promoter AS promoter,
tjtn.next_execute_ids AS nextExecuteIds,
tjtn.next_execute_ids AS nextExecuteIds,
tjtn.instance_status AS instanceStatus,
tjtn.instance_status AS instanceStatus,
tjtn.notice_report_url AS noticeReportUrl,
tjtn.notice_report_url AS noticeReportUrl,
tjtn.inform_number AS informNumber,
tjtn.inform_number AS informNumber,
tjtn.create_user_id as createUserId,
tjtn.create_user_id as createUserId,
tjtn.next_execute_user_ids as nextExecuteUserIds,
tjtn.next_execute_user_ids as nextExecuteUserIds,
tjtn.next_task_id AS nextTaskId,
tjtn.next_task_id AS nextTaskId,
tjtn.equ_category AS equCategory,
tjtn.equ_category AS equCategory,
tjtn.equ_list AS equList,
tjtn.equ_list AS equList,
DATE_FORMAT(tjtn.notice_date,'%Y-%m-%d') AS noticeDate,
DATE_FORMAT(tjtn.notice_date,'%Y-%m-%d') AS noticeDate,
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
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
service
.
impl
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.yeejoin.amos.boot.biz.common.excel.ExcelUtil
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.*
;
import
com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.*
;
import
com.yeejoin.amos.boot.module.jg.biz.service.IJgTableDataExportService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.nio.file.Files
;
import
java.nio.file.Path
;
import
java.nio.file.Paths
;
import
java.util.List
;
/**
* JG列表数据导出实现类
*/
@Slf4j
@Service
public
class
JgTableDataExportServiceImpl
implements
IJgTableDataExportService
{
@Autowired
private
JgUseRegistrationManageMapper
useRegistrationManageMapper
;
@Autowired
private
JgMaintenanceContractMapper
maintenanceContractMapper
;
@Autowired
private
JgInstallationNoticeServiceImpl
installationNoticeService
;
@Autowired
private
JgMaintainNoticeServiceImpl
maintainNoticeService
;
@Autowired
private
JgReformNoticeServiceImpl
reformNoticeService
;
@Autowired
private
JgTransferNoticeServiceImpl
transferNoticeService
;
@Autowired
private
JgUseRegistrationMapper
registrationMapper
;
@Autowired
private
JgChangeRegistrationUnitMapper
changeRegistrationUnitMapper
;
@Autowired
private
JgChangeRegistrationReformMapper
changeRegistrationReformMapper
;
@Autowired
private
JgEnableDisableMapper
enableDisableMapper
;
@Autowired
private
JgScrapCancelServiceImpl
scrapCancelService
;
@Autowired
private
JgChangeRegistrationTransferMapper
changeRegistrationTransferMapper
;
@Autowired
private
JgChangeRegistrationNameMapper
changeRegistrationNameMapper
;
@Autowired
private
JgVehicleInformationMapper
vehicleInformationMapper
;
@Autowired
private
JgChangeVehicleRegistrationUnitMapper
changeVehicleRegistrationUnitMapper
;
@Autowired
private
IdxBizJgRegisterInfoServiceImpl
idxBizJgRegisterInfoService
;
@Autowired
private
JgEquipTransferMapper
equipTransferMapper
;
@Autowired
private
JgEquipTransferServiceImpl
equipTransferService
;
@Override
public
void
gen
(
String
jsonName
,
String
voName
,
String
tableName
)
{
String
voContent
=
"package com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo;\n"
+
"\n"
+
"import com.alibaba.excel.annotation.ExcelProperty;\n"
+
"import lombok.Data;\n"
+
"\n"
+
"/**\n"
+
" * %s\n"
+
" */\n"
+
"@Data\n"
+
"public class %s {\n"
;
String
tem
=
" \n"
+
" @ExcelProperty(value = \"%s\", index = %s)\n"
+
" String %s;\n"
;
final
String
jsonPrefix
=
"D:\\"
;
String
jsonPath
=
jsonPrefix
+
jsonName
+
".json"
;
final
String
voPrefix
=
"C:\\YeeJoinProjects\\amos-boot-biz\\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"
;
try
{
// 读取 JSON 文件内容为字符串
String
jsonContent
=
new
String
(
Files
.
readAllBytes
(
Paths
.
get
(
jsonPath
)));
JSONObject
js
=
JSON
.
parseObject
(
jsonContent
);
JSONObject
uiobject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
js
.
get
(
"uiobject"
)));
JSONArray
children
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
uiobject
.
get
(
"children"
)));
JSONObject
children0
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
children
.
get
(
0
)));
JSONObject
visualParams
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
children0
.
get
(
"visualParams"
)));
JSONArray
target
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
visualParams
.
get
(
"columnsSetting"
)));
String
content
=
String
.
format
(
voContent
,
tableName
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
)
+
"Vo"
);
for
(
int
i
=
0
;
i
<
target
.
size
();
i
++)
{
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
target
.
get
(
i
)));
String
title
=
String
.
valueOf
(
jsonObject
.
get
(
"title"
));
String
dataIndex
=
String
.
valueOf
(
jsonObject
.
get
(
"dataIndex"
));
content
=
content
+
String
.
format
(
tem
,
title
,
i
,
dataIndex
);
}
content
=
content
+
"}\n"
;
// controller层
String
controller
=
String
.
format
(
"@TycloudOperation(ApiLevel = UserType.AGENCY)\n"
+
" @GetMapping(value = \"/%s\")\n"
+
" @ApiOperation(httpMethod = \"GET\", value = \"%s列表数据导出\", notes = \"%s列表数据导出\")\n"
+
" public void "
+
"%s"
+
"Export(HttpServletResponse response, String ids) {\n"
+
" Assert.hasText(ids,\"未选择导出数据\");\n"
+
" iJgTableDataExportService."
+
"%s"
+
"(response, Arrays.asList(ids.split(\",\")));\n"
+
" }\n"
,
voName
,
tableName
,
tableName
,
voName
,
voName
);
// interface层
String
interfac
=
String
.
format
(
"void %s(HttpServletResponse response, List<String> ids);\n"
,
voName
);
// server层
String
service
=
String
.
format
(
"/**\n"
+
" * %s列表数据导出\n"
+
" *\n"
+
" * @param response 响应\n"
+
" * @param ids 数据id\n"
+
" */\n"
+
" @Override\n"
+
" public void %s(HttpServletResponse response, List<String> ids) {\n"
+
" List<%sVo> exportData = .query%sInIds(ids);\n"
+
" ExcelUtil.createTemplate(response, \"%s列表数据\", \"%s列表\", exportData, "
+
"%sVo"
+
".class, null, false);\n"
+
" }\n"
,
tableName
,
voName
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
),
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
),
tableName
,
tableName
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
));
// mapper
String
mapper
=
String
.
format
(
"List<%sVo> query%sInIds(@Param(\"ids\") List<String> ids);\n"
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
)
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
));
// mapperxml
String
mapperxml
=
String
.
format
(
"<select id=\"query%sInIds\" resultType=\"com.yeejoin.amos.boot.module.jg.api.vo.tableDataExportVo.%sVo\">\n"
+
" <include refid=\"page_list\"/>\n"
+
" from tzs_jg_use_registration_manage tjurm\n"
+
" <where>\n"
+
" <if test='ids != null'>\n"
+
" and tjurm.sequence_nbr in\n"
+
" <foreach collection=\"ids\" item=\"id\" open=\"(\" close=\")\" separator=\",\">\n"
+
" #{id}\n"
+
" </foreach>\n"
+
" </if>\n"
+
" </where>\n"
+
" </select>\n"
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
)
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
));
content
=
content
+
controller
+
interfac
+
service
+
mapper
+
mapperxml
;
Path
filePath
=
Paths
.
get
(
voPrefix
,
voName
.
substring
(
0
,
1
).
toUpperCase
()
+
voName
.
substring
(
1
)
+
"Vo"
+
".java"
);
Files
.
write
(
filePath
,
content
.
getBytes
());
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
// 处理文件读取错误
}
}
/**
* 登记证列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
certificate
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
CertificateVo
>
exportData
=
useRegistrationManageMapper
.
queryCertificateInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"使用登记证列表数据"
,
"使用登记证列表"
,
exportData
,
CertificateVo
.
class
,
null
,
false
);
}
/**
* 维保备案列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
maintenance
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
MaintenanceVo
>
exportData
=
maintenanceContractMapper
.
queryMaintenanceInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"维保备案列表数据"
,
"维保备案列表"
,
exportData
,
MaintenanceVo
.
class
,
null
,
false
);
}
/**
* 安装告知列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
installation
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
InstallationVo
>
exportData
=
installationNoticeService
.
queryInstallationInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"安装告知列表数据"
,
"安装告知列表"
,
exportData
,
InstallationVo
.
class
,
null
,
false
);
}
/**
* 维修告知列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
maintain
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
MaintainVo
>
exportData
=
maintainNoticeService
.
queryMaintainInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"维修告知列表数据"
,
"维修告知列表"
,
exportData
,
MaintainVo
.
class
,
null
,
false
);
}
/**
* 改造告知列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
reform
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ReformVo
>
exportData
=
reformNoticeService
.
queryReformInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"改造告知列表数据"
,
"改造告知列表"
,
exportData
,
ReformVo
.
class
,
null
,
false
);
}
/**
* 移装告知列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
transfer
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
TransferVo
>
exportData
=
transferNoticeService
.
queryTransferInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"移装告知列表数据"
,
"移装告知列表"
,
exportData
,
TransferVo
.
class
,
null
,
false
);
}
/**
* 使用登记列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
registration
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
RegistrationVo
>
exportData
=
registrationMapper
.
queryRegistrationInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"使用登记列表数据"
,
"使用登记列表"
,
exportData
,
RegistrationVo
.
class
,
null
,
false
);
}
/**
* 单位变更列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
changeRegistrationUnit
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ChangeRegistrationUnitVo
>
exportData
=
changeRegistrationUnitMapper
.
queryChangeRegistrationUnitInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"单位变更列表数据"
,
"单位变更列表"
,
exportData
,
ChangeRegistrationUnitVo
.
class
,
null
,
false
);
}
/**
* 改造登记列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
changeRegistrationReform
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ChangeRegistrationReformVo
>
exportData
=
changeRegistrationReformMapper
.
queryChangeRegistrationReformInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"改造登记列表数据"
,
"改造登记列表"
,
exportData
,
ChangeRegistrationReformVo
.
class
,
null
,
false
);
}
/**
* 启用停用列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
enableDisable
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
EnableDisableVo
>
exportData
=
enableDisableMapper
.
queryEnableDisableInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"启用停用列表数据"
,
"启用停用列表"
,
exportData
,
EnableDisableVo
.
class
,
null
,
false
);
}
/**
* 注销报废列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
scrapCancel
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ScrapCancelVo
>
exportData
=
scrapCancelService
.
queryScrapCancelInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"注销报废列表数据"
,
"注销报废列表"
,
exportData
,
ScrapCancelVo
.
class
,
null
,
false
);
}
/**
* 移装变更列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
changeRegistrationTransfer
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ChangeRegistrationTransferVo
>
exportData
=
changeRegistrationTransferMapper
.
queryChangeRegistrationTransferInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"移装变更列表数据"
,
"移装变更列表"
,
exportData
,
ChangeRegistrationTransferVo
.
class
,
null
,
false
);
}
/**
* 更名变更列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
changeRegistrationName
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ChangeRegistrationNameVo
>
exportData
=
changeRegistrationNameMapper
.
queryChangeRegistrationNameInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"更名变更列表数据"
,
"更名变更列表"
,
exportData
,
ChangeRegistrationNameVo
.
class
,
null
,
false
);
}
/**
* 车气登记列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
vehicleInformation
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
VehicleInformationVo
>
exportData
=
vehicleInformationMapper
.
queryVehicleInformationInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"车气登记列表数据"
,
"车气登记列表"
,
exportData
,
VehicleInformationVo
.
class
,
null
,
false
);
}
/**
* 车用气瓶变更列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
changeVehicleRegistrationUnit
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
ChangeVehicleRegistrationUnitVo
>
exportData
=
changeVehicleRegistrationUnitMapper
.
queryChangeVehicleRegistrationUnitInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"车用气瓶变更列表数据"
,
"车用气瓶变更列表"
,
exportData
,
ChangeVehicleRegistrationUnitVo
.
class
,
null
,
false
);
}
/**
* 未纳管设备列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
unregulatedEquip
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
JSONObject
>
jsonObjects
=
idxBizJgRegisterInfoService
.
queryEquipInIds
(
ids
);
List
<
UnregulatedEquipVo
>
exportData
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
jsonObjects
),
UnregulatedEquipVo
.
class
);
ExcelUtil
.
createTemplate
(
response
,
"未纳管设备列表数据"
,
"未纳管设备列表"
,
exportData
,
UnregulatedEquipVo
.
class
,
null
,
false
);
}
/**
* 已纳管设备列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
manageEquipment
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
JSONObject
>
jsonObjects
=
idxBizJgRegisterInfoService
.
queryEquipInIds
(
ids
);
List
<
ManageEquipmentVo
>
exportData
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
jsonObjects
),
ManageEquipmentVo
.
class
);
ExcelUtil
.
createTemplate
(
response
,
"已纳管设备列表数据"
,
"已纳管设备列表"
,
exportData
,
ManageEquipmentVo
.
class
,
null
,
false
);
}
/**
* 设备移交列表数据导出
*
* @param response 响应
* @param ids 数据id
*/
@Override
public
void
equipTransfer
(
HttpServletResponse
response
,
List
<
String
>
ids
)
{
List
<
EquipTransferVo
>
exportData
=
equipTransferService
.
queryTransferInIds
(
ids
);
ExcelUtil
.
createTemplate
(
response
,
"设备移交列表数据"
,
"设备移交列表"
,
exportData
,
EquipTransferVo
.
class
,
null
,
false
);
}
}
\ 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/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