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
425d40e9
Commit
425d40e9
authored
Aug 17, 2022
by
吴江
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_unit_register' into 'developer'
Develop unit register See merge request
!11
parents
ffa00fb7
7866b03b
Hide whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
2381 additions
and
1268 deletions
+2381
-1268
DataDictionaryController.java
.../boot/biz/common/controller/DataDictionaryController.java
+20
-0
BaseUnitLicenceDto.java
...join/amos/boot/module/tzs/api/dto/BaseUnitLicenceDto.java
+4
-0
TzBaseEnterpriseInfoDto.java
...amos/boot/module/tzs/api/dto/TzBaseEnterpriseInfoDto.java
+5
-0
BaseUnitLicence.java
...join/amos/boot/module/tzs/api/entity/BaseUnitLicence.java
+22
-1
TzBaseEnterpriseInfo.java
...amos/boot/module/tzs/api/entity/TzBaseEnterpriseInfo.java
+1
-0
CylinderFillingCheckDto.java
.../boot/module/tzs/flc/api/dto/CylinderFillingCheckDto.java
+40
-30
CylinderFillingDto.java
.../amos/boot/module/tzs/flc/api/dto/CylinderFillingDto.java
+56
-32
CylinderFillingExamineDto.java
...oot/module/tzs/flc/api/dto/CylinderFillingExamineDto.java
+24
-16
CylinderFillingRecordDto.java
...boot/module/tzs/flc/api/dto/CylinderFillingRecordDto.java
+20
-75
CylinderInfoDto.java
...oin/amos/boot/module/tzs/flc/api/dto/CylinderInfoDto.java
+49
-71
CylinderInspectionDto.java
...os/boot/module/tzs/flc/api/dto/CylinderInspectionDto.java
+31
-22
CylinderTagsDto.java
...oin/amos/boot/module/tzs/flc/api/dto/CylinderTagsDto.java
+27
-18
CylinderUnitDto.java
...oin/amos/boot/module/tzs/flc/api/dto/CylinderUnitDto.java
+19
-54
RegUnitIcDto.java
...eejoin/amos/boot/module/tzs/flc/api/dto/RegUnitIcDto.java
+2
-0
RegUnitInfoDto.java
...join/amos/boot/module/tzs/flc/api/dto/RegUnitInfoDto.java
+6
-1
TzCylinderAfterCheckDto.java
.../boot/module/tzs/flc/api/dto/TzCylinderAfterCheckDto.java
+23
-0
TzCylinderBeforeCheckDto.java
...boot/module/tzs/flc/api/dto/TzCylinderBeforeCheckDto.java
+54
-0
TzCylinderCheckDto.java
.../amos/boot/module/tzs/flc/api/dto/TzCylinderCheckDto.java
+53
-0
TzCylinderFillingDto.java
...mos/boot/module/tzs/flc/api/dto/TzCylinderFillingDto.java
+122
-0
TzCylinderInfoDto.java
...n/amos/boot/module/tzs/flc/api/dto/TzCylinderInfoDto.java
+87
-0
TzCylinderInspectionDto.java
.../boot/module/tzs/flc/api/dto/TzCylinderInspectionDto.java
+56
-0
TzCylinderProduceDto.java
...mos/boot/module/tzs/flc/api/dto/TzCylinderProduceDto.java
+63
-0
TzCylinderTagsDto.java
...n/amos/boot/module/tzs/flc/api/dto/TzCylinderTagsDto.java
+45
-0
TzCylinderTraceDto.java
.../amos/boot/module/tzs/flc/api/dto/TzCylinderTraceDto.java
+26
-0
CylinderFilling.java
.../amos/boot/module/tzs/flc/api/entity/CylinderFilling.java
+45
-87
CylinderFillingCheck.java
.../boot/module/tzs/flc/api/entity/CylinderFillingCheck.java
+35
-76
CylinderFillingExamine.java
...oot/module/tzs/flc/api/entity/CylinderFillingExamine.java
+23
-45
CylinderFillingRecord.java
...boot/module/tzs/flc/api/entity/CylinderFillingRecord.java
+43
-67
CylinderInfo.java
...oin/amos/boot/module/tzs/flc/api/entity/CylinderInfo.java
+77
-144
CylinderInspection.java
...os/boot/module/tzs/flc/api/entity/CylinderInspection.java
+27
-59
CylinderTags.java
...oin/amos/boot/module/tzs/flc/api/entity/CylinderTags.java
+30
-65
CylinderUnit.java
...oin/amos/boot/module/tzs/flc/api/entity/CylinderUnit.java
+43
-144
RegUnitIc.java
...eejoin/amos/boot/module/tzs/flc/api/entity/RegUnitIc.java
+2
-0
RegUnitInfo.java
...join/amos/boot/module/tzs/flc/api/entity/RegUnitInfo.java
+6
-1
CylinderFillingCheckMapper.java
...module/tzs/flc/api/mapper/CylinderFillingCheckMapper.java
+1
-1
CylinderFillingExamineMapper.java
...dule/tzs/flc/api/mapper/CylinderFillingExamineMapper.java
+1
-1
CylinderFillingMapper.java
...boot/module/tzs/flc/api/mapper/CylinderFillingMapper.java
+1
-1
CylinderFillingRecordMapper.java
...odule/tzs/flc/api/mapper/CylinderFillingRecordMapper.java
+9
-9
CylinderInfoMapper.java
...os/boot/module/tzs/flc/api/mapper/CylinderInfoMapper.java
+1
-1
CylinderInspectionMapper.java
...t/module/tzs/flc/api/mapper/CylinderInspectionMapper.java
+1
-1
CylinderTagsMapper.java
...os/boot/module/tzs/flc/api/mapper/CylinderTagsMapper.java
+1
-1
CylinderUnitMapper.java
...os/boot/module/tzs/flc/api/mapper/CylinderUnitMapper.java
+1
-1
RegUnitInfoMapper.java
...mos/boot/module/tzs/flc/api/mapper/RegUnitInfoMapper.java
+1
-1
TzCylinderMapper.java
...amos/boot/module/tzs/flc/api/mapper/TzCylinderMapper.java
+43
-0
IRegUnitIcService.java
...os/boot/module/tzs/flc/api/service/IRegUnitIcService.java
+1
-1
IRegUnitInfoService.java
.../boot/module/tzs/flc/api/service/IRegUnitInfoService.java
+1
-1
ITzCylinderService.java
...s/boot/module/tzs/flc/api/service/ITzCylinderService.java
+21
-0
CylinderFillingMapper.xml
...s-api/src/main/resources/mapper/CylinderFillingMapper.xml
+1
-1
TzCylinderMapper.xml
...le-tzs-api/src/main/resources/mapper/TzCylinderMapper.xml
+218
-0
TzBaseEnterpriseInfoController.java
...le/tzs/biz/controller/TzBaseEnterpriseInfoController.java
+2
-2
BaseEnterpriseMqTtlListener.java
.../module/tzs/biz/listener/BaseEnterpriseMqTtlListener.java
+54
-31
TzBaseEnterpriseInfoServiceImpl.java
...tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+69
-19
BeanDtoVoUtils.java
...eejoin/amos/boot/module/tzs/biz/utils/BeanDtoVoUtils.java
+25
-25
CylinderInfoController.java
...module/tzs/flc/biz/controller/CylinderInfoController.java
+93
-96
CylinderUnitController.java
...module/tzs/flc/biz/controller/CylinderUnitController.java
+7
-7
RegUnitInfoController.java
.../module/tzs/flc/biz/controller/RegUnitInfoController.java
+10
-15
TzCylinderController.java
...t/module/tzs/flc/biz/controller/TzCylinderController.java
+54
-0
CylinderFillingCheckServiceImpl.java
...flc/biz/service/impl/CylinderFillingCheckServiceImpl.java
+1
-1
CylinderFillingExamineServiceImpl.java
...c/biz/service/impl/CylinderFillingExamineServiceImpl.java
+1
-1
CylinderFillingRecordServiceImpl.java
...lc/biz/service/impl/CylinderFillingRecordServiceImpl.java
+8
-8
CylinderFillingServiceImpl.java
.../tzs/flc/biz/service/impl/CylinderFillingServiceImpl.java
+1
-1
CylinderInfoServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
+11
-11
CylinderInspectionServiceImpl.java
...s/flc/biz/service/impl/CylinderInspectionServiceImpl.java
+1
-1
CylinderTagsServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderTagsServiceImpl.java
+1
-1
CylinderUnitServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderUnitServiceImpl.java
+9
-2
RegUnitIcServiceImpl.java
...module/tzs/flc/biz/service/impl/RegUnitIcServiceImpl.java
+1
-1
RegUnitInfoServiceImpl.java
...dule/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+52
-18
TzCylinderServiceImpl.java
...odule/tzs/flc/biz/service/impl/TzCylinderServiceImpl.java
+99
-0
tzs-1.0.0.1.xml
...e-tzs-biz/src/main/resources/db/changelog/tzs-1.0.0.1.xml
+394
-0
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/controller/DataDictionaryController.java
View file @
425d40e9
...
...
@@ -203,6 +203,25 @@ public class DataDictionaryController extends BaseController {
}
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/dataDictionaryIdFillMenu"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典类型查询字典,id为SequenceNbr"
,
notes
=
"根据字典类型查询字典,id为SequenceNbr"
)
public
ResponseModel
<
Object
>
getDictionaryWithTreeFillId
(
@RequestParam
String
type
)
throws
Exception
{
QueryWrapper
<
DataDictionary
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"type"
,
type
);
queryWrapper
.
orderByAsc
(
"sort_num"
);
if
(
redisUtils
.
hasKey
(
RedisKey
.
DATA_DICTIONARY_CODE
+
type
+
"_ID"
))
{
Object
obj
=
redisUtils
.
get
(
RedisKey
.
DATA_DICTIONARY_CODE
+
type
+
"_ID"
);
return
ResponseHelper
.
buildResponse
(
obj
);
}
else
{
Collection
<
DataDictionary
>
list
=
iDataDictionaryService
.
list
(
queryWrapper
);
List
<
Menu
>
menus
=
TreeParser
.
getTree
(
null
,
list
,
DataDictionary
.
class
.
getName
(),
"getSequenceNbr"
,
2
,
"getName"
,
"getParent"
,
null
,
"getCode"
);
redisUtils
.
set
(
RedisKey
.
DATA_DICTIONARY_CODE
+
type
+
"_ID"
,
JSON
.
toJSON
(
menus
),
time
);
return
ResponseHelper
.
buildResponse
(
menus
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/dataDictionary"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典类型查询字典2"
,
notes
=
"根据字典类型查询字典2"
)
public
ResponseModel
<
Object
>
getDictionary
(
@RequestParam
String
type
)
throws
Exception
{
...
...
@@ -224,6 +243,7 @@ public class DataDictionaryController extends BaseController {
}
}
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/gwmcDataDictionary/FireChemical/{type}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典类型查询危险品字典"
,
notes
=
"根据字典类型查询危险品字典"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/dto/BaseUnitLicenceDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -39,12 +40,15 @@ public class BaseUnitLicenceDto extends BaseDto {
@ApiModelProperty
(
value
=
"证书编号"
)
private
String
certNo
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"有效期至"
)
private
Date
expiryDate
;
@ApiModelProperty
(
value
=
"发证日期"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
issueDate
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"变更日期"
)
private
Date
changeDate
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/dto/TzBaseEnterpriseInfoDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
dto
;
import
java.util.Date
;
import
java.util.List
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -254,5 +256,8 @@ public class TzBaseEnterpriseInfoDto extends BaseDto {
private
String
fullAddress
;
private
String
superviseKey
;
private
List
<
BaseUnitLicenceDto
>
unitLicences
;
private
RegUnitIcDto
regUnitIcDto
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/entity/BaseUnitLicence.java
View file @
425d40e9
...
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.tzs.api.entity;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -62,28 +63,48 @@ public class BaseUnitLicence extends BaseEntity {
/**
* 有效期至
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@TableField
(
"expiry_date"
)
private
Date
expiryDate
;
/**
* 发证日期
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@TableField
(
"issue_date"
)
private
Date
issueDate
;
/**
* 变更日期
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@TableField
(
"change_date"
)
private
Date
changeDate
;
/**
* 许可
评审方式
* 许可
方式/许可状态
*/
@TableField
(
"apply_type"
)
private
String
applyType
;
/**
* 许可方式/许可状态
*/
@TableField
(
"apply_type_code"
)
private
String
applyTypeCode
;
/**
* 许可评审方式
*/
private
String
appraisalType
;
/**
* 许可评审方式code
*/
private
String
appraisalTypeCode
;
/**
* 备注
*/
@TableField
(
"remark"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/entity/TzBaseEnterpriseInfo.java
View file @
425d40e9
...
...
@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.tzs.api.entity;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingCheckDto.java
View file @
425d40e9
...
...
@@ -21,49 +21,59 @@ public class CylinderFillingCheckDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"充装后复查ID"
)
private
String
fillingCheckId
;
@ApiModelProperty
(
value
=
"充装企业名称"
)
private
String
fillingUnitName
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码
"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"充装后复查ID
"
)
private
String
fillingCheckId
;
@ApiModelProperty
(
value
=
"充装量在规定范围内"
)
private
Integer
withinScope
;
@ApiModelProperty
(
value
=
"充装量在规定范围内"
)
private
Integer
withinScope
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好"
)
private
Integer
sealedState
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好"
)
private
Integer
sealedState
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷"
)
private
Integer
defective
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷"
)
private
Integer
defective
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象"
)
private
Integer
abnormalTemperature
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象"
)
private
Integer
abnormalTemperature
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
@ApiModelProperty
(
value
=
"液化气瓶充装量符合有关规定,充装后逐瓶称重"
)
private
String
compliance
;
@ApiModelProperty
(
value
=
"液化气瓶充装量符合有关规定,充装后逐瓶称重"
)
private
String
compliance
;
@ApiModelProperty
(
value
=
"检查人员姓名"
)
private
String
inspector
;
@ApiModelProperty
(
value
=
"检查人员姓名"
)
private
String
inspector
;
@ApiModelProperty
(
value
=
"检查时间"
)
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"检查时间"
)
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syn
cDate
;
@ApiModelProperty
(
value
=
"创建时间
"
)
private
Date
re
cDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除
"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"操作人员
"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"对接公司编码
"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"检查结果"
)
private
String
checkResults
;
@ApiModelProperty
(
value
=
"不合格项"
)
private
String
nonconformances
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -21,52 +22,75 @@ public class CylinderFillingDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"充装前检查Id"
)
private
String
fillingBeforeId
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"充装企业名称"
)
private
String
fillingUnitName
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"出厂编号
"
)
private
String
factoryNum
;
@ApiModelProperty
(
value
=
"充装前检查Id
"
)
private
String
fillingBeforeId
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码
"
)
private
String
sequenceCod
e
;
@ApiModelProperty
(
value
=
"充装企业名称
"
)
private
String
fillingUnitNam
e
;
@ApiModelProperty
(
value
=
"是否在检验有效期以内
"
)
private
String
isValid
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码
"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致
"
)
private
Integer
same
;
@ApiModelProperty
(
value
=
"是否在检验有效期以内
"
)
private
String
isValid
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定
"
)
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致
"
)
private
Integer
same
;
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
"
)
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定
"
)
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力"
)
private
Integer
haveStillPressure
;
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383"
)
@TableField
(
"is_compliance_withGBT"
)
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
"
)
private
Integer
isComplet
e
;
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力
"
)
private
Integer
haveStillPressur
e
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求
"
)
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
"
)
private
Integer
isComplete
;
@ApiModelProperty
(
value
=
"检查人员姓名
"
)
private
String
inspectorUser
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求
"
)
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"检查时间
"
)
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"检查人员姓名
"
)
private
String
inspectorUser
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
sync
Date
;
@ApiModelProperty
(
value
=
"检查时间
"
)
private
String
inspection
Date
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除
"
)
private
Integer
syncSt
ate
;
@ApiModelProperty
(
value
=
"创建时间
"
)
private
Date
recD
ate
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"操作人员"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"统一社会信用代码"
)
private
String
creditCode
;
@ApiModelProperty
(
value
=
"新投入使用气瓶或经检验后首次投入使用气瓶,充装前应按照规定先置换瓶内空气,并经分析合格后方可充气"
)
private
String
fillBeforeItem
;
@ApiModelProperty
(
value
=
"检查结果"
)
private
String
checkResults
;
@ApiModelProperty
(
value
=
"不合格项"
)
private
String
nonconformances
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingExamineDto.java
View file @
425d40e9
...
...
@@ -20,29 +20,37 @@ public class CylinderFillingExamineDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"充装信息审核ID"
)
private
String
fillingExamineId
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"充装企业名称
"
)
private
String
fillingUnitName
;
@ApiModelProperty
(
value
=
"充装信息审核ID
"
)
private
String
fillingExamineId
;
@ApiModelProperty
(
value
=
"报表生成时间"
)
private
String
fillingAuditDate
;
@ApiModelProperty
(
value
=
"报表生成时间"
)
private
String
fillingAuditDate
;
@ApiModelProperty
(
value
=
"充装审核报表附件地址"
)
private
String
fillingAuditUrl
;
@ApiModelProperty
(
value
=
"充装审核报表附件地址"
)
private
String
fillingAuditUrl
;
@ApiModelProperty
(
value
=
"充装审核报表附件名称"
)
private
String
fillingAuditName
;
@ApiModelProperty
(
value
=
"充装审核报表附件名称"
)
private
String
fillingAuditName
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syn
cDate
;
@ApiModelProperty
(
value
=
"创建时间
"
)
private
Date
re
cDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除
"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"操作人员
"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"对接公司编码
"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingRecordDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -20,39 +21,19 @@ import java.util.Date;
public
class
CylinderFillingRecordDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"充装记录Id"
)
private
String
fillingRecordId
;
@ApiModelProperty
(
value
=
"充装企业名称"
)
private
String
fillingUnitName
;
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
@ApiModelProperty
(
value
=
"气瓶品种"
)
private
String
cylinderVariety
;
@ApiModelProperty
(
value
=
"二维码编号"
)
private
String
qrCode
;
@ApiModelProperty
(
value
=
"电子标签编号"
)
private
String
electronicLabelCode
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"单位内部编号"
)
private
String
unitInnerCode
;
@ApiModelProperty
(
value
=
"产权单位"
)
private
String
propertyUnit
;
@ApiModelProperty
(
value
=
"充装开始时间"
)
@TableField
(
"filling_startTime"
)
private
String
fillingStarttime
;
@ApiModelProperty
(
value
=
"充装结束时间"
)
@TableField
(
"filling_endTime"
)
private
String
fillingEndtime
;
@ApiModelProperty
(
value
=
"充装人员姓名"
)
...
...
@@ -67,27 +48,11 @@ public class CylinderFillingRecordDto extends BaseDto {
@ApiModelProperty
(
value
=
"异常情况"
)
private
Integer
abnormal
;
@ApiModelProperty
(
value
=
"异常情况"
)
private
String
abnormalStr
;
@ApiModelProperty
(
value
=
"充装前检查时间"
)
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"充装前检查结果"
)
private
String
fillingResult
;
@ApiModelProperty
(
value
=
"充装前检查人员"
)
private
String
inspectorUser
;
@ApiModelProperty
(
value
=
"充装后检查人员姓名"
)
private
String
inspector
;
@ApiModelProperty
(
value
=
"充装后检查时间"
)
private
String
inspectionDateAfter
;
@ApiModelProperty
(
value
=
"充装后检查结果"
)
private
String
checkResult
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
recDate
;
@ApiModelProperty
(
value
=
"操作人员"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
...
...
@@ -98,40 +63,20 @@ public class CylinderFillingRecordDto extends BaseDto {
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"是否在检验有效期以内"
)
private
String
isValid
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致"
)
private
Integer
same
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定"
)
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"
气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
"
)
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"
不能与充装人员姓名相同
"
)
private
String
inspectorName
;
@ApiModelProperty
(
value
=
"
气瓶内有无剩余压力
"
)
private
Integer
haveStillPressure
;
@ApiModelProperty
(
value
=
"
充装前检查Id
"
)
private
String
fillingBeforeId
;
@ApiModelProperty
(
value
=
"
气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
"
)
private
Integer
isComplete
;
@ApiModelProperty
(
value
=
"
充装后复查ID
"
)
private
String
fillingCheckId
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求"
)
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"充装量在规定范围内"
)
private
Integer
withinScope
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好"
)
private
Integer
sealedState
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷"
)
private
Integer
defective
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象"
)
private
Integer
abnormalTemperature
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
@ApiModelProperty
(
value
=
"充装信息审核ID"
)
private
String
fillingExamineId
;
private
String
sequenceCode
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderInfoDto.java
View file @
425d40e9
...
...
@@ -24,9 +24,9 @@ public class CylinderInfoDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"气瓶基本信息ID"
)
private
String
cylinderId
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"产权单位名称"
)
private
String
unitName
;
...
...
@@ -37,114 +37,92 @@ public class CylinderInfoDto extends BaseDto {
@ApiModelProperty
(
value
=
"气瓶状态"
)
private
Integer
cylinderStatus
;
@ApiModelProperty
(
value
=
"气瓶状态str"
)
private
String
cylinderStatusStr
;
@ApiModelProperty
(
value
=
"气瓶品种"
)
private
Integer
cylinderVariety
;
@ApiModelProperty
(
value
=
"气瓶品种str"
)
private
String
cylinderVarietyStr
;
@ApiModelProperty
(
value
=
"二维码编号"
)
private
String
qrCode
;
@ApiModelProperty
(
value
=
"电子标签编号"
)
private
String
electronicLabelCode
;
@ApiModelProperty
(
value
=
"充装介质"
)
private
String
fillingMedium
;
@ApiModelProperty
(
value
=
"公称压力(MPa)"
)
private
Double
pressure
;
@ApiModelProperty
(
value
=
"容积(L)"
)
private
Double
volume
;
@ApiModelProperty
(
value
=
"制造日期"
)
private
Date
manufacturingDate
;
private
String
manufacturingDate
;
@ApiModelProperty
(
value
=
"制造单位"
)
private
String
manufacturingUnit
;
@ApiModelProperty
(
value
=
"气瓶制造许可证"
)
private
String
license
;
@ApiModelProperty
(
value
=
"气瓶重量(kg)"
)
private
Double
cylinderWeight
;
@ApiModelProperty
(
value
=
"单位内部编号"
)
private
String
unitInnerCode
;
@ApiModelProperty
(
value
=
"
最近一次检验日期
"
)
private
Date
inspectionDat
e
;
@ApiModelProperty
(
value
=
"
气瓶唯一标识码
"
)
private
String
sequenceCod
e
;
@ApiModelProperty
(
value
=
"
下次检验日期
"
)
private
Date
nextInspectionDate
;
@ApiModelProperty
(
value
=
"
Ԥ???ȼ?
"
)
private
String
earlyWarningLevel
;
@ApiModelProperty
(
value
=
"
检验日期开始
"
)
private
String
inspectionDateStart
;
@ApiModelProperty
(
value
=
"
????Ԥ??ʱ?
"
)
private
Date
earlyWarningLevelCalDate
;
@ApiModelProperty
(
value
=
"
检验日期结束
"
)
private
String
inspectionDateEnd
;
@ApiModelProperty
(
value
=
"
????վ??ʹ???û????
"
)
private
String
endCustomCode
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
recDate
;
@ApiModelProperty
(
value
=
"操作人员"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"
1初次同步数据 2上层系统已同步数据 0已删除数据
"
)
private
Boolean
syncState
;
@ApiModelProperty
(
value
=
"
0-新增 1-更新 2-删除
"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"
所属区域代码
"
)
private
String
regionCode
;
@ApiModelProperty
(
value
=
"
数据完整度
"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"
查询单位appid
"
)
private
List
<
String
>
appIds
;
@ApiModelProperty
(
value
=
"
???
"
)
private
String
longitude
;
@ApiModelProperty
(
value
=
"
检验状态 0 已超期 1 正常 2 即将超期
"
)
private
int
inspectionStatas
;
@ApiModelProperty
(
value
=
"
γ?
"
)
private
String
latitude
;
@ApiModelProperty
(
value
=
"
检验状态描述
"
)
private
String
inspectionStatusDesc
;
@ApiModelProperty
(
value
=
"
统一社会信用代码
"
)
private
String
creditCode
;
@ApiModelProperty
(
value
=
"
预警等级
"
)
private
String
earlyWarningLevel
;
@ApiModelProperty
(
value
=
"
充装介质
"
)
private
String
fillingMedia
;
@ApiModelProperty
(
value
=
"
预警等级
名称"
)
private
String
earlyWarningLevel
Name
;
@ApiModelProperty
(
value
=
"
产品
名称"
)
private
String
product
Name
;
@ApiModelProperty
(
value
=
"
最近配送地址
"
)
private
String
address
;
@ApiModelProperty
(
value
=
"
产品合格证
"
)
private
String
productQualified
;
@ApiModelProperty
(
value
=
"
最近预警时间
"
)
private
Date
earlyWarningLevelCalDate
;
@ApiModelProperty
(
value
=
"
质量证明书
"
)
private
String
proofQuality
;
@ApiModelProperty
(
value
=
"
经度
"
)
private
String
longitude
;
@ApiModelProperty
(
value
=
"
监督检验证书
"
)
private
String
supervisionInspec
;
@ApiModelProperty
(
value
=
"
纬度
"
)
private
String
latitude
;
@ApiModelProperty
(
value
=
"
型式实验证书
"
)
private
String
typeExperiments
;
@ApiModelProperty
(
value
=
"
客户名称
"
)
private
String
customType
;
@ApiModelProperty
(
value
=
"
阀门制造单位
"
)
private
Double
valveManufacturUnit
;
@ApiModelProperty
(
value
=
"
客户类型
"
)
private
String
customNam
e
;
@ApiModelProperty
(
value
=
"
公称工作压力(MPa)
"
)
private
String
nominalWorkPressur
e
;
@ApiModelProperty
(
value
=
"
联系电话
"
)
private
String
c
ontactPhon
e
;
@ApiModelProperty
(
value
=
"
设备品种名称
"
)
private
String
c
ylinderVarietyNam
e
;
@ApiModelProperty
(
value
=
"
企业负责人手机
"
)
private
String
personMobilePhon
e
;
@ApiModelProperty
(
value
=
"
充装介质名称
"
)
private
String
fillingMediaNam
e
;
@ApiModelProperty
(
value
=
"企业负责人"
)
private
String
unitPerson
;
@ApiModelProperty
(
value
=
"附件"
)
private
Map
<
String
,
List
<
AttachmentDto
>>
attachments
;
private
List
<
String
>
appIds
;
private
String
regionCode
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderInspectionDto.java
View file @
425d40e9
...
...
@@ -21,37 +21,46 @@ public class CylinderInspectionDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"检验信息ID"
)
private
String
inspectionId
;
@ApiModelProperty
(
value
=
"检验单位"
)
private
String
inspectionUnit
;
@ApiModelProperty
(
value
=
"产权单位名称"
)
private
String
propertyUnitName
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码
"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"检验单位
"
)
private
String
inspectionUnit
;
@ApiModelProperty
(
value
=
"检验日期
"
)
private
String
inspectionDat
e
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码
"
)
private
String
sequenceCod
e
;
@ApiModelProperty
(
value
=
"下次
检验日期"
)
private
String
nextI
nspectionDate
;
@ApiModelProperty
(
value
=
"
检验日期"
)
private
String
i
nspectionDate
;
@ApiModelProperty
(
value
=
"检验结果
"
)
private
String
inspectionResult
;
@ApiModelProperty
(
value
=
"下次检验日期
"
)
private
String
nextInspectionDate
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"检验结果
"
)
private
String
inspectionResult
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除
"
)
private
Integer
syncSt
ate
;
@ApiModelProperty
(
value
=
"创建时间
"
)
private
Date
recD
ate
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"操作人员"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"不合格报废数量"
)
private
String
scrapQuantity
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderTagsDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -21,31 +22,39 @@ public class CylinderTagsDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"标签ID"
)
private
String
tagId
;
@ApiModelProperty
(
value
=
"产权单位名称"
)
private
String
unitName
;
@ApiModelProperty
(
value
=
"id"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"二维码编号"
)
private
String
qrCode
;
@ApiModelProperty
(
value
=
"二维码编号"
)
@TableField
(
"qrCode"
)
private
String
qrCode
;
@ApiModelProperty
(
value
=
"电子标签编号"
)
private
String
electronicLabelCode
;
@ApiModelProperty
(
value
=
"电子标签编号"
)
private
String
electronicLabelCode
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syn
cDate
;
@ApiModelProperty
(
value
=
"创建时间
"
)
private
Date
re
cDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除
"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"操作人员
"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"对接公司编码
"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss
"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"气瓶钢印标识"
)
private
String
gasCylinderStamp
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderUnitDto.java
View file @
425d40e9
...
...
@@ -22,6 +22,11 @@ public class CylinderUnitDto extends BaseDto {
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"单位ID"
)
private
String
unitId
;
...
...
@@ -31,12 +36,6 @@ public class CylinderUnitDto extends BaseDto {
@ApiModelProperty
(
value
=
"单位名称"
)
private
String
unitName
;
@ApiModelProperty
(
value
=
"企业类型"
)
private
Integer
unitType
;
@ApiModelProperty
(
value
=
"企业类型str"
)
private
String
unitTypeStr
;
@ApiModelProperty
(
value
=
"统一社会信用代码"
)
private
String
creditCode
;
...
...
@@ -55,70 +54,36 @@ public class CylinderUnitDto extends BaseDto {
@ApiModelProperty
(
value
=
"企业邮编"
)
private
String
postalCode
;
@ApiModelProperty
(
value
=
"企业简称"
)
private
String
unitAbbreviation
;
@ApiModelProperty
(
value
=
"充装许可证号"
)
private
String
fillingLicense
;
@ApiModelProperty
(
value
=
"充装许可证有效期"
)
private
Date
fillingPermitDate
;
@ApiModelProperty
(
value
=
"充装许可范围"
)
private
String
fillingPermScope
;
@ApiModelProperty
(
value
=
"检验许可证号"
)
private
String
inspectionLicense
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
recDate
;
@ApiModelProperty
(
value
=
"检验范围"
)
private
String
inspectionScope
;
@ApiModelProperty
(
value
=
"检验许可证有效期"
)
private
Date
effectiveDate
;
@ApiModelProperty
(
value
=
"制造许可证号"
)
private
String
manufacturingLicense
;
@ApiModelProperty
(
value
=
"制造许可证有效期"
)
private
Date
manufacturingDate
;
@ApiModelProperty
(
value
=
"制造许可范围"
)
private
String
manufacturingScope
;
@ApiModelProperty
(
value
=
"制造单位代码"
)
private
String
manufacturingUnitCode
;
@ApiModelProperty
(
value
=
"操作人员"
)
private
String
recUserId
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
@ApiModelProperty
(
value
=
"
1初次同步数据 2上层系统已同步数据 0已删除数据
"
)
private
Boolean
syncState
;
@ApiModelProperty
(
value
=
"
0-新增 1-更新 2-删除
"
)
private
Integer
syncState
;
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"气瓶数量"
)
private
Long
cylinderNumber
;
@ApiModelProperty
(
value
=
"检验过期气瓶数量"
)
private
Long
cylinderOutOfDate
;
@ApiModelProperty
(
value
=
"经度"
)
private
String
longitude
;
@ApiModelProperty
(
value
=
"纬度"
)
private
String
latitude
;
@ApiModelProperty
(
value
=
"
是否过期
"
)
private
Boolean
outOfDate
;
@ApiModelProperty
(
value
=
"
数据完整度
"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"充装许可证有效期开始"
)
private
String
fillingPermitDateStart
;
@ApiModelProperty
(
value
=
"充装许可证有效期结束"
)
private
String
fillingPermitDateEnd
;
@ApiModelProperty
(
value
=
"安全管理员"
)
private
String
securityAdm
;
@ApiModelProperty
(
value
=
"
行政许可有效期 0 已超期 1 正常 2 即将超期
"
)
private
Integer
licenseStatus
;
@ApiModelProperty
(
value
=
"
安全管理员手机
"
)
private
String
securityAdmPhone
;
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
regionName
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/RegUnitIcDto.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -37,6 +38,7 @@ public class RegUnitIcDto extends BaseDto {
private
String
registeredOrganCode
;
@ApiModelProperty
(
value
=
"核准时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
approvedDate
;
@ApiModelProperty
(
value
=
"经营状态:在业、吊销、注销、迁入、迁出、停业、清算"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/RegUnitInfoDto.java
View file @
425d40e9
...
...
@@ -7,6 +7,8 @@ import io.swagger.annotations.ApiModelProperty;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -33,6 +35,9 @@ public class RegUnitInfoDto extends BaseDto {
@ApiModelProperty
(
value
=
"证件类型"
)
private
String
unitCodeType
;
@ApiModelProperty
(
value
=
"证件类型名称"
)
private
String
unitCodeTypeName
;
@ApiModelProperty
(
value
=
"单位类型"
)
private
String
unitType
;
...
...
@@ -110,7 +115,7 @@ public class RegUnitInfoDto extends BaseDto {
private
RegUnitIcDto
regUnitIc
;
@ApiModelProperty
(
value
=
"行政许可"
)
private
List
<
BaseUnitLicenceDto
>
unitLicences
;
private
List
<
BaseUnitLicenceDto
>
unitLicences
=
new
ArrayList
<>()
;
@ApiModelProperty
(
value
=
"平台公司id,平台创建公司后更新"
)
private
String
amosCompanySeq
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderAfterCheckDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
public
class
TzCylinderAfterCheckDto
{
@ApiModelProperty
(
value
=
"充装量在规定范围内"
)
private
Integer
withinScope
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好"
)
private
Integer
sealedState
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷"
)
private
Integer
defective
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象"
)
private
Integer
abnormalTemperature
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderBeforeCheckDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 充装前检查结果DTO
*/
@Data
public
class
TzCylinderBeforeCheckDto
{
@ApiModelProperty
(
value
=
"是否在检验有效期以内"
)
/**
* 是否在检验有效期以内
*/
private
String
isValid
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致"
)
/**
* 警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致
*/
private
Integer
same
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定"
)
/**
* 气瓶外表面的颜色标志是否符合规定
*/
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383"
)
/**
* 气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
*/
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力"
)
/**
* 气瓶内有无剩余压力
*/
private
Integer
haveStillPressure
;
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷"
)
/**
* 气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
*/
private
Integer
isComplete
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求"
)
/**
* 气瓶的安全附件齐全并符合安全要求
*/
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"新投入使用气瓶或经检验后首次投入使用气瓶,充装前应按照规定先置换瓶内空气,并经分析合格后方可充气"
)
/**
* 新投入使用气瓶或经检验后首次投入使用气瓶,充装前应按照规定先置换瓶内空气,并经分析合格后方可充气
*/
private
String
fillBeforeItem
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderCheckDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
/**
* 充装检查前检查内容
*/
public
class
TzCylinderCheckDto
{
/**
* 检查项英文名称
*/
private
String
item
;
/**
* 检查项中文名称
*/
private
String
explain
;
/**
* 检查结果
*/
private
String
result
;
public
TzCylinderCheckDto
(
String
item
,
String
explain
,
String
result
)
{
this
.
item
=
item
;
this
.
explain
=
explain
;
this
.
result
=
result
;
}
public
String
getItem
()
{
return
item
;
}
public
void
setItem
(
String
item
)
{
this
.
item
=
item
;
}
public
String
getExplain
()
{
return
explain
;
}
public
void
setExplain
(
String
explain
)
{
this
.
explain
=
explain
;
}
public
String
getResult
()
{
return
result
;
}
public
void
setResult
(
String
result
)
{
this
.
result
=
result
;
}
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderFillingDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
java.util.List
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 液化气体气瓶充装信息-充装记录Dto
*
* @author duanwei
* @date 2022-08-11
*/
@Data
public
class
TzCylinderFillingDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
/**
* id
*/
private
String
sequenceNbr
;
/**
* 充装量
*/
private
String
fillingQuantity
;
/**
* 气瓶唯一标识编码
*/
private
String
sequenceCode
;
/**
* 气瓶充装前检查id
*/
private
String
fillingBeforeId
;
/**
* 气瓶充装后检查id
*/
private
String
fillingCheckId
;
@ApiModelProperty
(
value
=
"充装记录Id"
)
/**
* 充装记录Id
*/
private
String
fillingRecordId
;
@ApiModelProperty
(
value
=
"充装开始时间"
)
/**
* 充装开始时间
*/
private
String
fillingStarttime
;
@ApiModelProperty
(
value
=
"充装结束时间"
)
/**
* 充装结束时间
*/
private
String
fillingEndtime
;
@ApiModelProperty
(
value
=
"充装人员姓名"
)
/**
* 充装人员姓名
*/
private
String
fillingUser
;
@ApiModelProperty
(
value
=
"不能与充装人员姓名相同"
)
/**
* 不能与充装人员姓名相同
*/
private
String
inspectorName
;
@ApiModelProperty
(
value
=
"室温"
)
/**
* 室温
*/
private
Double
temperature
;
@ApiModelProperty
(
value
=
"异常情况"
)
/**
* 异常情况
*/
private
Integer
abnormal
;
/**
* 充装前检查结果
*/
private
String
checkResultsBefore
;
/**
* 充装后检查结果
*/
private
String
checkResultsAfter
;
/**
* 充装前检查项内容及结果
*/
private
List
<
TzCylinderCheckDto
>
tzCylinderCheckDtoList
;
/**
* 充装后检查项内容及结果
*/
private
List
<
TzCylinderCheckDto
>
tzCylinderAfterCheckDtoList
;
/**
* 充装前检查人员
*/
private
String
inspectorBeforeUser
;
/**
* 充装前检查时间
*/
private
String
inspectionBeforeDate
;
/**
* 充装后检查时间
*/
private
String
inspectionAfterDate
;
/**
* 充装后检查人员
*/
private
String
inspectorAfter
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderInfoDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
java.util.Date
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 气瓶基本信息列表Dto
*
* @author duanwei
* @date 2022-08-11
*/
@Data
public
class
TzCylinderInfoDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
/**
* id
*/
private
String
sequenceNbr
;
@ApiModelProperty
(
value
=
"产权单位名称"
)
/**
* 产权单位名称
*/
private
String
unitName
;
@ApiModelProperty
(
value
=
"设备品种"
)
/**
* 设备品种
*/
private
Integer
cylinderVariety
;
@ApiModelProperty
(
value
=
"产品名称"
)
/**
* 产品名称
*/
private
String
productName
;
@ApiModelProperty
(
value
=
"产品编号"
)
/**
* 产品编号
*/
private
String
factoryNum
;
@ApiModelProperty
(
value
=
"单位内部编号"
)
/**
* 单位内部编号
*/
private
String
unitInnerCode
;
@ApiModelProperty
(
value
=
"充装介质"
)
/**
* 充装介质
*/
private
String
fillingMedia
;
@ApiModelProperty
(
value
=
"气瓶制造单位"
)
/**
* 气瓶制造单位
*/
private
String
manufacturingUnit
;
@ApiModelProperty
(
value
=
"制造日期"
)
/**
* 制造日期
*/
private
String
manufacturingDate
;
@ApiModelProperty
(
value
=
"气瓶状态"
)
/**
* 气瓶状态
*/
private
Integer
cylinderStatus
;
@ApiModelProperty
(
value
=
"阀门制造单位"
)
/**
* 阀门制造单位
*/
private
String
valveManufacturUnit
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderInspectionDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
java.util.Date
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 气瓶检验信息Dto
*
* @author duanwei
* @date 2022-08-11
*/
@Data
public
class
TzCylinderInspectionDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"id"
)
/**
* id
*/
private
String
sequenceNbr
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
/**
* 气瓶唯一标识码
*/
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"检验单位"
)
/**
* 检验单位
*/
private
String
inspectionUnit
;
@ApiModelProperty
(
value
=
"检验日期"
)
/**
* 检验日期
*/
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"检验结果"
)
/**
* 检验结果
*/
private
String
inspectionResult
;
@ApiModelProperty
(
value
=
"不合格报废数量"
)
/**
* 不合格报废数量
*/
private
String
scrapQuantity
;
@ApiModelProperty
(
value
=
"下次检验日期"
)
/**
* 下次检验日期
*/
private
String
nextInspectionDate
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderProduceDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 燃气气瓶追溯生产制造Dto
* @author duanwei
*/
@Data
public
class
TzCylinderProduceDto
{
/**
* id
*/
private
String
sequenceNbr
;
/**
* 气瓶制造单位
*/
private
String
manufacturingUnit
;
/**
* 制造日期
*/
private
String
manufacturingDate
;
/**
*阀门制造单位
*/
private
String
valveManufacturUnit
;
/**
*公称工作压力(MPa)
*/
private
String
nominalWorkPressure
;
/**
*容积(L)
*/
private
String
volume
;
/**
*产品合格证
*/
private
String
productQualified
;
/**
*质量证明书
*/
private
String
proofQuality
;
/**
*监督检验证书
*/
private
String
supervisionInspec
;
/**
*型式实验证书
*/
private
String
typeExperiments
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderTagsDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
java.util.Date
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 气瓶标签信息Dto
*
* @author duanwei
* @date 2022-08-11
*/
@Data
public
class
TzCylinderTagsDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
/**
* 气瓶唯一标识码
*/
private
String
sequenceCode
;
@ApiModelProperty
(
value
=
"二维码编号"
)
/**
* 二维码编号
*/
private
String
qrCode
;
@ApiModelProperty
(
value
=
"电子标签编号"
)
/**
* 电子标签编号
*/
private
String
electronicLabelCode
;
@ApiModelProperty
(
value
=
"气瓶钢印标识"
)
/**
* 气瓶钢印标识
*/
private
String
gasCylinderStamp
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/TzCylinderTraceDto.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
lombok.Data
;
import
java.util.List
;
/**
* 燃气气瓶追溯详情合计
* @author duanwei
*/
@Data
public
class
TzCylinderTraceDto
{
TzCylinderProduceDto
tzCylinderProduceDto
;
TzCylinderInfoDto
tzCylinderInfoDto
;
TzCylinderTagsDto
tzCylinderTagsDto
;
List
<
TzCylinderInspectionDto
>
tzCylinderInspectionDto
;
List
<
TzCylinderFillingDto
>
tzCylinderFillingDto
;
public
TzCylinderTraceDto
(
TzCylinderProduceDto
tzCylinderProduceDto
,
TzCylinderInfoDto
tzCylinderInfoDto
,
TzCylinderTagsDto
tzCylinderTagsDto
,
List
<
TzCylinderInspectionDto
>
tzCylinderInspectionDto
,
List
<
TzCylinderFillingDto
>
tzCylinderFillingDto
)
{
this
.
tzCylinderProduceDto
=
tzCylinderProduceDto
;
this
.
tzCylinderInfoDto
=
tzCylinderInfoDto
;
this
.
tzCylinderTagsDto
=
tzCylinderTagsDto
;
this
.
tzCylinderInspectionDto
=
tzCylinderInspectionDto
;
this
.
tzCylinderFillingDto
=
tzCylinderFillingDto
;
}
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFilling.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 气瓶充装信息--充装前检查
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
()
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_filling"
)
public
class
CylinderFilling
{
@ApiModel
(
value
=
"TzCylinderFilling对象"
,
description
=
"气瓶充装信息--充装前检查"
)
public
class
CylinderFilling
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"sequence_nbr"
,
type
=
IdType
.
ID_WORKER
)
protected
Long
sequenceNbr
;
@TableField
(
value
=
"rec_date"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
Date
recDate
;
@TableField
(
value
=
"rec_user_id"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
String
recUserId
;
/**
* 充装前检查Id
*/
@TableField
(
"filling_before_id"
)
@ApiModelProperty
(
value
=
"充装前检查Id"
)
private
String
fillingBeforeId
;
/**
* 充装企业名称
*/
@TableField
(
"filling_unit_name"
)
@ApiModelProperty
(
value
=
"充装企业名称"
)
private
String
fillingUnitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
private
String
factoryNum
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
/**
* 是否在检验有效期以内
*/
@TableField
(
"is_valid"
)
@ApiModelProperty
(
value
=
"是否在检验有效期以内"
)
private
String
isValid
;
/**
* 警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致
*/
@TableField
(
"same"
)
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致"
)
private
Integer
same
;
/**
* 气瓶外表面的颜色标志是否符合规定
*/
@TableField
(
"is_regulations"
)
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定"
)
private
Integer
isRegulations
;
/**
* 气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
*/
@TableField
(
"is_compliance_withGBT"
)
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383"
)
@TableField
(
"is_compliance_withGBT"
)
private
Integer
isComplianceWithgbt
;
/**
* 气瓶内有无剩余压力
*/
@TableField
(
"have_still_pressure"
)
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力"
)
private
Integer
haveStillPressure
;
/**
* 气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
*/
@TableField
(
"is_complete"
)
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷"
)
private
Integer
isComplete
;
/**
* 气瓶的安全附件齐全并符合安全要求
*/
@TableField
(
"have_security_documents"
)
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求"
)
private
Integer
haveSecurityDocuments
;
/**
* 检查人员姓名
*/
@TableField
(
"inspector_user"
)
@ApiModelProperty
(
value
=
"检查人员姓名"
)
private
String
inspectorUser
;
/**
* 检查时间
*/
@TableField
(
"inspection_date"
)
@ApiModelProperty
(
value
=
"检查时间"
)
private
String
inspectionDate
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 0-新增 1-更新 2-删除
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"统一社会信用代码"
)
private
String
creditCode
;
@ApiModelProperty
(
value
=
"新投入使用气瓶或经检验后首次投入使用气瓶,充装前应按照规定先置换瓶内空气,并经分析合格后方可充气"
)
private
String
fillBeforeItem
;
@ApiModelProperty
(
value
=
"检查结果"
)
private
String
checkResults
;
@ApiModelProperty
(
value
=
"不合格项"
)
private
String
nonconformances
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFillingCheck.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEnti
ty
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProper
ty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 液化气体气瓶充装信息-充装后复查
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_filling_check"
)
@ApiModel
(
value
=
"TzCylinderFillingCheck对象"
,
description
=
"液化气体气瓶充装信息-充装后复查"
)
public
class
CylinderFillingCheck
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 充装后复查ID
*/
@TableField
(
"filling_check_id
"
)
@ApiModelProperty
(
value
=
"充装后复查ID
"
)
private
String
fillingCheckId
;
/**
* 充装企业名称
*/
@TableField
(
"filling_unit_name"
)
private
String
fillingUnitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
private
String
factoryNum
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
private
String
sequenceCode
;
/**
* 充装量在规定范围内
*/
@TableField
(
"within_scope"
)
@ApiModelProperty
(
value
=
"充装量在规定范围内"
)
private
Integer
withinScope
;
/**
* 瓶阀及其与瓶口连接的密封良好
*/
@TableField
(
"sealed_state"
)
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好"
)
private
Integer
sealedState
;
/**
* 瓶体未出现鼓包变形或泄露等严重缺陷
*/
@TableField
(
"defective"
)
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷"
)
private
Integer
defective
;
/**
* 瓶体温度没有异常升高的迹象
*/
@TableField
(
"abnormal_temperature"
)
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象"
)
private
Integer
abnormalTemperature
;
/**
* 气瓶粘贴警示标签和充装标签
*/
@TableField
(
"warning_sign"
)
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
/**
* 液化气瓶充装量符合有关规定,充装后逐瓶称重
*/
@TableField
(
"compliance"
)
@ApiModelProperty
(
value
=
"液化气瓶充装量符合有关规定,充装后逐瓶称重"
)
private
String
compliance
;
/**
* 检查人员姓名
*/
@TableField
(
"inspector"
)
@ApiModelProperty
(
value
=
"检查人员姓名"
)
private
String
inspector
;
/**
* 检查时间
*/
@TableField
(
"inspection_date"
)
@ApiModelProperty
(
value
=
"检查时间"
)
private
String
inspectionDate
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 0-新增 1-更新 2-删除
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"检查结果"
)
private
String
checkResults
;
@ApiModelProperty
(
value
=
"不合格项"
)
private
String
nonconformances
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFillingExamine.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEnti
ty
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProper
ty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 液化气体气瓶充装信息审核
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_filling_examine"
)
@ApiModel
(
value
=
"TzCylinderFillingExamine对象"
,
description
=
"液化气体气瓶充装信息审核"
)
public
class
CylinderFillingExamine
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 充装信息审核ID
*/
@TableField
(
"filling_examine_id"
)
private
String
fillingExamineId
;
/**
* 充装企业名称
*/
@TableField
(
"filling_unit_name"
)
private
String
fillingUnitName
;
@ApiModelProperty
(
value
=
"充装信息审核ID"
)
private
String
fillingExamineId
;
/**
* 报表生成时间
*/
@TableField
(
"filling_audit_date"
)
@ApiModelProperty
(
value
=
"报表生成时间"
)
private
String
fillingAuditDate
;
/**
* 充装审核报表附件地址
*/
@TableField
(
"filling_audit_url"
)
@ApiModelProperty
(
value
=
"充装审核报表附件地址"
)
private
String
fillingAuditUrl
;
/**
* 充装审核报表附件名称
*/
@TableField
(
"filling_audit_name"
)
@ApiModelProperty
(
value
=
"充装审核报表附件名称"
)
private
String
fillingAuditName
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 0-新增 1-更新 2-删除
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFillingRecord.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEnti
ty
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProper
ty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 液化气体气瓶充装信息-充装记录
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_filling_record"
)
@ApiModel
(
value
=
"TzCylinderFillingRecord对象"
,
description
=
"液化气体气瓶充装信息-充装记录"
)
public
class
CylinderFillingRecord
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 充装记录Id
*/
@TableField
(
"filling_record_id"
)
@ApiModelProperty
(
value
=
"充装记录Id"
)
private
String
fillingRecordId
;
/**
* 充装企业名称
*/
@TableField
(
"filling_unit_name"
)
private
String
fillingUnitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
private
String
factoryNum
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
private
String
sequenceCode
;
/**
* 充装开始时间
*/
@TableField
(
"filling_startTime"
)
@ApiModelProperty
(
value
=
"充装开始时间"
)
@TableField
(
"filling_startTime"
)
private
String
fillingStarttime
;
/**
* 充装结束时间
*/
@TableField
(
"filling_endTime"
)
@ApiModelProperty
(
value
=
"充装结束时间"
)
@TableField
(
"filling_endTime"
)
private
String
fillingEndtime
;
/**
* 充装人员姓名
*/
@TableField
(
"filling_user"
)
@ApiModelProperty
(
value
=
"充装人员姓名"
)
private
String
fillingUser
;
/**
* 充装量(Kg)
*/
@TableField
(
"filling_quantity"
)
@ApiModelProperty
(
value
=
"充装量(Kg)"
)
private
Double
fillingQuantity
;
/**
* 室温
*/
@TableField
(
"temperature"
)
@ApiModelProperty
(
value
=
"室温"
)
private
Double
temperature
;
/**
* 异常情况
*/
@TableField
(
"abnormal"
)
@ApiModelProperty
(
value
=
"异常情况"
)
private
Integer
abnormal
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 1初次同步数据 2上层系统已同步数据 0已删除数据
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"1初次同步数据 2上层系统已同步数据 0已删除数据"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"不能与充装人员姓名相同"
)
private
String
inspectorName
;
@ApiModelProperty
(
value
=
"充装前检查Id"
)
private
String
fillingBeforeId
;
@ApiModelProperty
(
value
=
"充装后复查ID"
)
private
String
fillingCheckId
;
@ApiModelProperty
(
value
=
"充装信息审核ID"
)
private
String
fillingExamineId
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderInfo.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 气瓶基本信息
*
* @author
system_generator
* @date 202
1-12-14
* @author
duanwei
* @date 202
2-08-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_info"
)
public
class
CylinderInfo
{
@ApiModel
(
value
=
"TzCylinderInfo对象"
,
description
=
"气瓶基本信息"
)
public
class
CylinderInfo
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"sequence_nbr"
,
type
=
IdType
.
ID_WORKER
)
protected
Long
sequenceNbr
;
/**
* 气瓶基本信息ID
*/
@TableField
(
"cylinder_id"
)
private
String
cylinderId
;
/**
* 产权单位名称
*/
@TableField
(
"unit_name"
)
@ApiModelProperty
(
value
=
"产权单位名称"
)
private
String
unitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
/**
* 气瓶状态
*/
@TableField
(
"cylinder_status"
)
@ApiModelProperty
(
value
=
"气瓶状态"
)
private
Integer
cylinderStatus
;
/**
* 气瓶品种
*/
@TableField
(
"cylinder_variety"
)
@ApiModelProperty
(
value
=
"气瓶品种"
)
private
Integer
cylinderVariety
;
/**
* 二维码编号
*/
@TableField
(
"qrCode"
)
private
String
qrCode
;
/**
* 电子标签编号
*/
@TableField
(
"electronic_label_code"
)
private
String
electronicLabelCode
;
/**
* 充装介质
*/
@TableField
(
"filling_medium"
)
private
String
fillingMedium
;
/**
* 公称压力(MPa)
*/
@TableField
(
"pressure"
)
private
Double
pressure
;
/**
* 容积(L)
*/
@TableField
(
"volume"
)
@ApiModelProperty
(
value
=
"容积(L)"
)
private
Double
volume
;
/**
* 制造日期
*/
@TableField
(
"manufacturing_date"
)
private
Date
manufacturingDate
;
@ApiModelProperty
(
value
=
"制造日期"
)
private
String
manufacturingDate
;
/**
* 制造单位
*/
@TableField
(
"manufacturing_unit"
)
@ApiModelProperty
(
value
=
"制造单位"
)
private
String
manufacturingUnit
;
/**
* 气瓶制造许可证
*/
@TableField
(
"license"
)
private
String
license
;
/**
* 气瓶重量(kg)
*/
@TableField
(
"cylinder_weight"
)
private
Double
cylinderWeight
;
/**
* 单位内部编号
*/
@TableField
(
"unit_inner_code"
)
@ApiModelProperty
(
value
=
"单位内部编号"
)
private
String
unitInnerCode
;
/**
* 最近一次检验日期
*/
@TableField
(
"inspection_date"
)
private
Date
inspectionDate
;
/**
* 下次检验日期
*/
@TableField
(
"next_inspection_date"
)
private
Date
nextInspectionDate
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"Ԥ???ȼ?"
)
private
String
earlyWarningLevel
;
@ApiModelProperty
(
value
=
"????Ԥ??ʱ?"
)
private
Date
earlyWarningLevelCalDate
;
@ApiModelProperty
(
value
=
"????վ??ʹ???û????"
)
private
String
endCustomCode
;
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 1初次同步数据 2上层系统已同步数据 0已删除数据
*/
@TableField
(
"sync_state"
)
private
Boolean
syncState
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
/**
* 预警等级
*/
private
String
earlyWarningLevel
;
@ApiModelProperty
(
value
=
"???"
)
private
String
longitude
;
/**
* 预警等级 计算日期
*/
private
Date
earlyWarningLevelCalDate
;
@ApiModelProperty
(
value
=
"γ?"
)
private
String
latitude
;
@ApiModelProperty
(
value
=
"统一社会信用代码"
)
private
String
creditCode
;
@ApiModelProperty
(
value
=
"充装介质"
)
private
String
fillingMedia
;
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productName
;
@ApiModelProperty
(
value
=
"产品合格证"
)
private
String
productQualified
;
@ApiModelProperty
(
value
=
"质量证明书"
)
private
String
proofQuality
;
@ApiModelProperty
(
value
=
"监督检验证书"
)
private
String
supervisionInspec
;
@ApiModelProperty
(
value
=
"型式实验证书"
)
private
String
typeExperiments
;
@ApiModelProperty
(
value
=
"阀门制造单位"
)
private
Double
valveManufacturUnit
;
@ApiModelProperty
(
value
=
"公称工作压力(MPa)"
)
private
String
nominalWorkPressure
;
@ApiModelProperty
(
value
=
"设备品种名称"
)
private
String
cylinderVarietyName
;
@ApiModelProperty
(
value
=
"充装介质名称"
)
private
String
fillingMediaName
;
/**
* 经度
*/
@TableField
(
"longitude"
)
private
String
longitude
;
/**
* 纬度
*/
@TableField
(
"latitude"
)
private
String
latitude
;
/**
* 最近气瓶使用客户编号
*/
@TableField
(
"end_custom_code"
)
private
String
endCustomCode
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderInspection.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEnti
ty
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProper
ty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 气瓶检验信息
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_inspection"
)
@ApiModel
(
value
=
"TzCylinderInspection对象"
,
description
=
"气瓶检验信息"
)
public
class
CylinderInspection
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 检验信息ID
*/
@TableField
(
"inspection_id"
)
private
String
inspectionId
;
/**
* 检验单位
*/
@TableField
(
"inspection_unit"
)
@ApiModelProperty
(
value
=
"检验单位"
)
private
String
inspectionUnit
;
/**
* 产权单位名称
*/
@TableField
(
"property_unit_name"
)
private
String
propertyUnitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
private
String
factoryNum
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
/**
* 检验日期
*/
@TableField
(
"inspection_date"
)
@ApiModelProperty
(
value
=
"检验日期"
)
private
String
inspectionDate
;
/**
* 下次检验日期
*/
@TableField
(
"next_inspection_date"
)
@ApiModelProperty
(
value
=
"下次检验日期"
)
private
String
nextInspectionDate
;
/**
* 检验结果
*/
@TableField
(
"inspection_result"
)
@ApiModelProperty
(
value
=
"检验结果"
)
private
String
inspectionResult
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 0-新增 1-更新 2-删除
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"不合格报废数量"
)
private
String
scrapQuantity
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderTags.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 气瓶标签信息
*
* @author
system_generator
* @date 2022-0
3-04
* @author
duanwei
* @date 2022-0
8-11
*/
@Data
@EqualsAndHashCode
()
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_tags"
)
public
class
CylinderTags
{
@ApiModel
(
value
=
"TzCylinderTags对象"
,
description
=
"气瓶标签信息"
)
public
class
CylinderTags
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"sequence_nbr"
,
type
=
IdType
.
ID_WORKER
)
protected
Long
sequenceNbr
;
@TableField
(
value
=
"rec_date"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
Date
recDate
;
@TableField
(
value
=
"rec_user_id"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
String
recUserId
;
/**
* 标签ID
*/
@TableField
(
"tag_id"
)
private
String
tagId
;
/**
* 产权单位名称
*/
@TableField
(
"unit_name"
)
private
String
unitName
;
/**
* 出厂编号
*/
@TableField
(
"factory_num"
)
private
String
factoryNum
;
/**
* 气瓶唯一标识码
*/
@TableField
(
"sequence_code"
)
@ApiModelProperty
(
value
=
"气瓶唯一标识码"
)
private
String
sequenceCode
;
/**
* 二维码编号
*/
@TableField
(
"qrCode"
)
@ApiModelProperty
(
value
=
"二维码编号"
)
@TableField
(
"qrCode"
)
private
String
qrCode
;
/**
* 电子标签编号
*/
@TableField
(
"electronic_label_code"
)
@ApiModelProperty
(
value
=
"电子标签编号"
)
private
String
electronicLabelCode
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 0-新增 1-更新 2-删除
*/
@TableField
(
"sync_state"
)
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"气瓶钢印标识"
)
private
String
gasCylinderStamp
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderUnit.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
/**
* 气瓶企业信息
*
* @author
system_generator
* @date 202
1-12-14
* @author
duanwei
* @date 202
2-08-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_cylinder_unit"
)
public
class
CylinderUnit
{
@ApiModel
(
value
=
"TzCylinderUnit对象"
,
description
=
"气瓶企业信息"
)
public
class
CylinderUnit
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"sequence_nbr"
,
type
=
IdType
.
ID_WORKER
)
protected
Long
sequenceNbr
;
/**
* 单位ID
*/
@TableField
(
"unit_id
"
)
@ApiModelProperty
(
value
=
"单位ID
"
)
private
String
unitId
;
/**
* 所属区域
*/
@TableField
(
"region_code"
)
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
regionCode
;
/**
* 单位名称
*/
@TableField
(
"unit_name"
)
@ApiModelProperty
(
value
=
"单位名称"
)
private
String
unitName
;
/**
* 企业类型
*/
@TableField
(
"unit_type"
)
private
Integer
unitType
;
/**
* 统一社会信用代码
*/
@TableField
(
"credit_code"
)
@ApiModelProperty
(
value
=
"统一社会信用代码"
)
private
String
creditCode
;
/**
* 详细地址
*/
@TableField
(
"address"
)
@ApiModelProperty
(
value
=
"详细地址"
)
private
String
address
;
/**
* 企业负责人
*/
@TableField
(
"unit_person"
)
@ApiModelProperty
(
value
=
"企业负责人"
)
private
String
unitPerson
;
/**
* 企业负责人手机
*/
@TableField
(
"person_mobile_phone"
)
@ApiModelProperty
(
value
=
"企业负责人手机"
)
private
String
personMobilePhone
;
/**
* 企业负责人固定电话
*/
@TableField
(
"person_telephone"
)
@ApiModelProperty
(
value
=
"企业负责人固定电话"
)
private
String
personTelephone
;
/**
* 企业邮编
*/
@TableField
(
"postal_code"
)
@ApiModelProperty
(
value
=
"企业邮编"
)
private
String
postalCode
;
/**
* 企业简称
*/
@TableField
(
"unit_abbreviation"
)
private
String
unitAbbreviation
;
/**
* 充装许可证号
*/
@TableField
(
"filling_license"
)
private
String
fillingLicense
;
/**
* 充装许可证有效期
*/
@TableField
(
"filling_permit_date"
)
private
Date
fillingPermitDate
;
/**
* 充装许可范围
*/
@TableField
(
"filling_perm_scope"
)
private
String
fillingPermScope
;
/**
* 检验许可证号
*/
@TableField
(
"inspection_license"
)
private
String
inspectionLicense
;
/**
* 检验范围
*/
@TableField
(
"inspection_scope"
)
private
String
inspectionScope
;
/**
* 检验许可证有效期
*/
@TableField
(
"effective_date"
)
private
Date
effectiveDate
;
/**
* 制造许可证号
*/
@TableField
(
"manufacturing_license"
)
private
String
manufacturingLicense
;
/**
* 制造许可证有效期
*/
@TableField
(
"manufacturing_date"
)
private
Date
manufacturingDate
;
/**
* 制造许可范围
*/
@TableField
(
"manufacturing_scope"
)
private
String
manufacturingScope
;
/**
* 制造单位代码
*/
@TableField
(
"manufacturing_unit_code"
)
private
String
manufacturingUnitCode
;
/**
* 同步时间 yyyy-MM-dd HH24:mi:ss
*/
@TableField
(
"sync_date"
)
@ApiModelProperty
(
value
=
"同步时间 yyyy-MM-dd HH24:mi:ss"
)
private
Date
syncDate
;
/**
* 1初次同步数据 2上层系统已同步数据 0已删除数据
*/
@TableField
(
"sync_state"
)
private
Boolean
syncState
;
@ApiModelProperty
(
value
=
"0-新增 1-更新 2-删除"
)
private
Integer
syncState
;
/**
* 对接公司编码
*/
@TableField
(
"app_id"
)
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
/**
* 经度
*/
@TableField
(
"longitude"
)
@ApiModelProperty
(
value
=
"经度"
)
private
String
longitude
;
/**
* 纬度
*/
@TableField
(
"latitude"
)
@ApiModelProperty
(
value
=
"纬度"
)
private
String
latitude
;
/**
* 数据完整度
*/
@TableField
(
"integrity"
)
@ApiModelProperty
(
value
=
"数据完整度"
)
private
Double
integrity
;
@ApiModelProperty
(
value
=
"安全管理员"
)
private
String
securityAdm
;
@ApiModelProperty
(
value
=
"安全管理员手机"
)
private
String
securityAdmPhone
;
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
regionName
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/RegUnitIc.java
View file @
425d40e9
...
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.tzs.flc.api.entity;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
...
...
@@ -56,6 +57,7 @@ public class RegUnitIc extends BaseEntity {
/**
* 核准时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@TableField
(
"approved_date"
)
private
Date
approvedDate
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/RegUnitInfo.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
entity
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
...
...
@@ -40,6 +40,11 @@ public class RegUnitInfo extends BaseEntity {
private
String
unitCodeType
;
/**
* 证件类型名称
*/
private
String
unitCodeTypeName
;
/**
* 单位类型
*/
@TableField
(
"unit_type"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderFillingCheckMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingCheck
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingCheck
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.Date
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderFillingExamineMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingExamine
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingExamine
;
/**
* 液化气体气瓶充装信息审核 Mapper 接口
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderFillingMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFilling
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFilling
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.Date
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderFillingRecordMapper.java
View file @
425d40e9
...
...
@@ -3,8 +3,8 @@ package com.yeejoin.amos.boot.module.tzs.flc.api.mapper;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderFillingRecordDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingRecord
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingRecord
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.Date
;
...
...
@@ -30,14 +30,14 @@ public interface CylinderFillingRecordMapper extends BaseMapper<CylinderFillingR
* @return
*/
Page
<
List
<
CylinderFillingRecordDto
>>
queryListByQueryDto
(
IPage
<
CylinderFillingRecordDto
>
page
,
@Param
(
"fillingUnitName"
)
String
fillingUnitName
,
@Param
(
"propertyUnit"
)
String
propertyUnit
,
@Param
(
"factoryNum"
)
String
factoryNum
,
@Param
(
"cylinderVariety"
)
String
cylinderVariety
,
@Param
(
"qrCode"
)
String
qrCode
,
@Param
(
"electronicLabelCode"
)
String
electronicLabelCode
,
@Param
(
"sequenceCode"
)
String
sequenceCode
,
@Param
(
"unitInnerCode"
)
String
unitInnerCode
,
//
@Param("fillingUnitName") String fillingUnitName,
//
@Param("propertyUnit") String propertyUnit,
//
@Param("factoryNum") String factoryNum,
//
@Param("cylinderVariety") String cylinderVariety,
//
@Param("qrCode") String qrCode,
//
@Param("electronicLabelCode") String electronicLabelCode,
//
@Param("sequenceCode") String sequenceCode,
//
@Param("unitInnerCode") String unitInnerCode,
@Param
(
"fillingStartTime"
)
String
fillingStartTime
,
@Param
(
"fillingEndTime"
)
String
fillingEndTime
,
@Param
(
"sortParam"
)
String
sortParam
,
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderInfoMapper.java
View file @
425d40e9
...
...
@@ -2,8 +2,8 @@ package com.yeejoin.amos.boot.module.tzs.flc.api.mapper;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInfo
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInfo
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderInspectionMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInspection
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInspection
;
/**
* 气瓶检验信息 Mapper 接口
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderTagsMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderTags
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderTags
;
import
org.apache.ibatis.annotations.Param
;
/**
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderUnitMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderUnit
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderUnit
;
import
org.apache.ibatis.annotations.Param
;
/**
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/RegUnitInfoMapper.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.RegUnitInfo
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitInfo
;
/**
* 单位注册信息表 Mapper 接口
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/TzCylinderMapper.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.*
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInfo
;
import
java.util.List
;
/**
* 气瓶基本信息 Mapper 接口
*
* @author duanwei
* @date 2022-08-11
*/
public
interface
TzCylinderMapper
extends
BaseMapper
<
CylinderInfo
>
{
IPage
<
TzCylinderInfoDto
>
getTzCylinderInfoList
(
Page
<
TzCylinderInfoDto
>
page
,
TzCylinderInfoDto
tzCylinderInfoDto
,
String
superviseOrgCode
);
TzCylinderInfoDto
getTzCylinderInfoDto
(
String
sequenceNbr
);
String
getSequencCode
(
String
sequenceNbr
);
TzCylinderProduceDto
getTzCylinderProduceDto
(
String
SequenceCode
);
TzCylinderTagsDto
getTzCylinderTagsDto
(
String
sequenceCode
);
List
<
TzCylinderInspectionDto
>
getTzCylinderInspectionDto
(
String
sequenceCode
);
List
<
TzCylinderFillingDto
>
getTzCylinderFillingDto
(
String
sequenceCode
);
TzCylinderBeforeCheckDto
getTzCylinderBeforeCheck
(
String
fillingBeforeId
);
List
<
TzCylinderCheckDto
>
getTzCylinderCheckItem
();
TzCylinderAfterCheckDto
getTzCylinderAfterCheck
(
String
fillingCheckId
);
List
<
TzCylinderCheckDto
>
getTzCylinderAfterCheckItem
();
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/service/IRegUnitIcService.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
service
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
service
;
/**
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/service/IRegUnitInfoService.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
api
.
service
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
service
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/service/ITzCylinderService.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.PageParam
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderTraceDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInfo
;
/**
* 气瓶基本信息 服务类
*
* @author duanwei
* @date 2022-08-11
*/
public
interface
ITzCylinderService
extends
IService
<
CylinderInfo
>
{
IPage
<
TzCylinderInfoDto
>
getCylinderInfoDtoList
(
PageParam
pageParam
,
TzCylinderInfoDto
idxBizCarcylUserCompany
,
String
key
);
TzCylinderTraceDto
getCylinderTraceDto
(
String
sequenceNbr
);
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/resources/mapper/CylinderFillingMapper.xml
View file @
425d40e9
...
...
@@ -14,7 +14,7 @@
select
IFNULL(
sum(
case f.is_valid+f.same+f.is_regulations+f.is_compl
ete
+f.have_still_pressure+f.is_complete+f.have_security_documents
case f.is_valid+f.same+f.is_regulations+f.is_compl
iance_withGBT
+f.have_still_pressure+f.is_complete+f.have_security_documents
when 7 then 1
else
0 end ),0) from tz_cylinder_filling f where date_format(f.inspection_date,'%Y-%m') = date_format(#{time},'%Y-%m') and app_id = #{appId}
...
...
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/resources/mapper/TzCylinderMapper.xml
0 → 100644
View file @
425d40e9
<?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">
<mapper
namespace=
"com.yeejoin.amos.boot.module.tzs.flc.api.mapper.TzCylinderMapper"
>
<select
id=
"getTzCylinderInfoList"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderInfoDto"
>
SELECT
CI.sequence_nbr,
CI.unit_name,
CI.cylinder_variety,
CI.product_name,
CI.factory_num,
CI.unit_inner_code,
CI.filling_media,
CI.manufacturing_unit,
CI.manufacturing_date,
CI.valve_manufactur_unit,
CI.cylinder_status
FROM
tz_cylinder_info AS CI
LEFT JOIN
tz_base_enterprise_info AS EI ON CI.credit_code=EI.use_code
<where>
<if
test=
"superviseOrgCode!=null and superviseOrgCode!='' "
>
AND EI.supervise_org_code LIKE
CONCAT('%',#{superviseOrgCode},'%')
</if>
<if
test=
"tzCylinderInfoDto.unitName!=null and tzCylinderInfoDto.unitName!='' "
>
AND CI.unit_name LIKE
CONCAT('%',#{tzCylinderInfoDto.unitName},'%')
</if>
<if
test=
"tzCylinderInfoDto.cylinderVariety!=null and tzCylinderInfoDto.cylinderVariety!='' "
>
AND CI.cylinder_variety LIKE
CONCAT('%',#{tzCylinderInfoDto.cylinderVariety},'%')
</if>
<if
test=
"tzCylinderInfoDto.productName!=null and tzCylinderInfoDto.productName!='' "
>
AND CI.product_name LIKE
CONCAT('%',#{tzCylinderInfoDto.productName},'%')
</if>
<if
test=
"tzCylinderInfoDto.factoryNum!=null and tzCylinderInfoDto.factoryNum!='' "
>
AND CI.factory_num LIKE
CONCAT('%',#{tzCylinderInfoDto.factoryNum},'%')
</if>
<if
test=
"tzCylinderInfoDto.unitInnerCode!=null and tzCylinderInfoDto.unitInnerCode!='' "
>
AND CI.unit_inner_code LIKE
CONCAT('%',#{tzCylinderInfoDto.unitInnerCode},'%')
</if>
<if
test=
"tzCylinderInfoDto.fillingMedia!=null and tzCylinderInfoDto.fillingMedia!='' "
>
AND CI.filling_media LIKE
CONCAT('%',#{tzCylinderInfoDto.fillingMedia},'%')
</if>
<if
test=
"tzCylinderInfoDto.manufacturingUnit!=null and tzCylinderInfoDto.manufacturingUnit!='' "
>
AND CI.manufacturing_unit LIKE
CONCAT('%',#{tzCylinderInfoDto.manufacturingUnit},'%')
</if>
<if
test=
"tzCylinderInfoDto.manufacturingDate!=null and tzCylinderInfoDto.manufacturingDate!='' "
>
AND CI.manufacturing_date LIKE
CONCAT('%',#{tzCylinderInfoDto.manufacturingDate},'%')
</if>
<if
test=
"tzCylinderInfoDto.valveManufacturUnit!=null and tzCylinderInfoDto.valveManufacturUnit!='' "
>
AND CI.valve_manufactur_unit LIKE
CONCAT('%',#{tzCylinderInfoDto.valveManufacturUnit},'%')
</if>
<if
test=
"tzCylinderInfoDto.cylinderStatus!=null and tzCylinderInfoDto.cylinderStatus!='' "
>
AND CI.cylinder_status LIKE
CONCAT('%',#{tzCylinderInfoDto.cylinderStatus},'%')
</if>
</where>
</select>
<select
id=
"getTzCylinderInfoDto"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderInfoDto"
>
SELECT
CI.sequence_nbr,
CI.unit_name,
CI.cylinder_variety,
CI.product_name,
CI.factory_num,
CI.unit_inner_code,
CI.filling_media,
CI.manufacturing_unit,
CI.manufacturing_date,
CI.valve_manufactur_unit,
CI.cylinder_status
FROM
tz_cylinder_info AS CI
WHERE CI.sequence_nbr = #{sequenceNbr}
</select>
<select
id=
"getSequencCode"
resultType=
"java.lang.String"
>
SELECT sequence_code FROM tz_cylinder_info WHERE sequence_nbr=#{sequenceNbr}
</select>
<select
id=
"getTzCylinderProduceDto"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderProduceDto"
>
SELECT
CI.sequence_nbr,
CI.manufacturing_unit,
CI.manufacturing_date,
CI.valve_manufactur_unit,
CI.nominal_work_pressure,
CI.volume,
CI.product_qualified,
CI.proof_quality,
CI.supervision_inspec,
CI.type_experiments
FROM
tz_cylinder_info CI
WHERE CI.sequence_code =#{SequenceCode}
</select>
<select
id=
"getTzCylinderTagsDto"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderTagsDto"
>
SELECT
CT.sequence_nbr,
CT.sequence_code,
CT.qrCode,
CT.electronic_label_code,
CT.gas_cylinder_stamp
FROM tz_cylinder_tags CT
WHERE CT.sequence_code = #{SequenceCode}
</select>
<select
id=
"getTzCylinderInspectionDto"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderInspectionDto"
>
SELECT
CI.sequence_nbr,
CI.sequence_code,
CI.inspection_unit,
CI.inspection_date,
CI.inspection_result,
CI.scrap_quantity,
CI.next_inspection_date
FROM tz_cylinder_inspection CI
WHERE CI.sequence_code = #{SequenceCode}
ORDER BY CI.inspection_date DESC
</select>
<select
id=
"getTzCylinderFillingDto"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderFillingDto"
>
SELECT
CF.inspector_user AS inspector_before_user,
CF.inspection_date AS inspection_before_date,
FC.inspection_date AS inspection_after_date,
FC.inspector AS inspector_after,
FR.sequence_nbr,
FC.filling_check_id,
FR.filling_quantity,
CF.sequence_code,
FR.filling_before_id,
FR.filling_startTime,
FR.filling_endTime,
FR.filling_user,
FR.inspector_name,
FR.temperature,
FR.abnormal,
CF.check_results AS check_results_before,
FC.check_results AS check_results_after
FROM
tz_cylinder_filling_record AS FR
LEFT JOIN tz_cylinder_filling AS CF ON CF.filling_before_id = FR.filling_before_id
LEFT JOIN tz_cylinder_filling_check AS FC ON FC.filling_check_id = FR.filling_check_id
WHERE
CF.sequence_code = #{sequence_code}
ORDER BY FR.filling_startTime DESC
</select>
<select
id=
"getTzCylinderBeforeCheck"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderBeforeCheckDto"
>
SELECT
CF.is_valid,
CF.same,
CF.is_regulations,
CF.is_compliance_withGBT,
CF.have_still_pressure,
CF.is_complete,
CF.have_security_documents,
CF.fill_before_item
FROM tz_cylinder_filling AS CF
WHERE CF.filling_before_id=#{fillingBeforeId}
</select>
<select
id=
"getTzCylinderCheckItem"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderCheckDto"
>
SELECT
item,
`explain`,
`result`
FROM
tz_cylinder_check_item
WHERE item!=''
</select>
<select
id=
"getTzCylinderAfterCheck"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderAfterCheckDto"
>
SELECT
FC.within_scope,
FC.sealed_state,
FC.defective,
FC.abnormal_temperature,
FC.warning_sign
FROM tz_cylinder_filling_check AS FC
WHERE FC.filling_check_id=#{fillingCheckId}
</select>
<select
id=
"getTzCylinderAfterCheckItem"
resultType=
"com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderCheckDto"
>
SELECT
after_item AS item,
after_explain AS `explain`,
after_result AS `result`
FROM
tz_cylinder_check_item
WHERE after_item!=''
</select>
</mapper>
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/TzBaseEnterpriseInfoController.java
View file @
425d40e9
...
...
@@ -90,8 +90,8 @@ public class TzBaseEnterpriseInfoController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
ResponseModel
<
TzBaseEnterpriseInfo
>
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iTzBaseEnterpriseInfoService
.
getById
(
id
));
public
ResponseModel
<
TzBaseEnterpriseInfo
Dto
>
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iTzBaseEnterpriseInfoService
.
detail
(
id
));
}
/**
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/listener/BaseEnterpriseMqTtlListener.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
biz
.
listener
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -62,45 +63,67 @@ public class BaseEnterpriseMqTtlListener extends EmqxListener {
List
<
String
>
appCodes
=
aList
.
stream
().
filter
(
i
->
"监管端,企业端"
.
indexOf
(
i
.
getAppName
())
!=
-
1
)
.
map
(
i
->
i
.
getAppCode
()).
collect
(
Collectors
.
toList
());
FeignClientResult
<
CompanyModel
>
cResult
=
Privilege
.
companyClient
.
seleteOne
(
object
.
getLong
(
"sequence_nbr"
));
// FeignClientResult<Collection<CompanyModel>> cResult =
// Privilege.companyClient.queryAgencyTree(null);
String
useCode
=
object
.
getString
(
"use_code"
);
// if (useCode == null || !isUse(useCode, cResult.getResult())) {
if
(
cResult
.
getResult
()
==
null
)
{
CompanyModel
companyModel
=
new
CompanyModel
();
companyModel
.
setCompanyName
(
object
.
getString
(
"use_unit"
));
companyModel
.
setParentId
(
0L
);
companyModel
.
setLevel
(
"company"
);
companyModel
.
setSequenceNbr
(
object
.
getLong
(
"sequence_nbr"
));
companyModel
.
setCompanyCode
(
object
.
getString
(
"use_code"
));
FeignClientResult
<
HashMap
<
String
,
Object
>>
result
=
Privilege
.
companyClient
.
queryByOrgcode
(
object
.
getString
(
"supervise_org_code"
));
//JSONObject parent = JSONObject.parseObject(JSONObject.toJSONString(result.getResult()));
if
(
result
.
getResult
().
get
(
"sequenceNbr"
)!=
null
)
{
companyModel
.
setParentId
(
Long
.
valueOf
(
result
.
getResult
().
get
(
"sequenceNbr"
).
toString
()));
// companyModel.setSequenceNbr(object.getLong("sequence_nbr"));
companyModel
.
setCompanyCode
(
useCode
);
if
(
object
.
getString
(
"supervise_org_code"
)
!=
null
)
{
FeignClientResult
<
HashMap
<
String
,
Object
>>
result
=
Privilege
.
companyClient
.
queryByOrgcode
(
object
.
getString
(
"supervise_org_code"
));
// JSONObject parent =
// JSONObject.parseObject(JSONObject.toJSONString(result.getResult()));
if
(
result
.
getResult
().
get
(
"sequenceNbr"
)
!=
null
)
{
companyModel
.
setParentId
(
Long
.
valueOf
(
result
.
getResult
().
get
(
"sequenceNbr"
).
toString
()));
}
}
Privilege
.
companyClient
.
create
(
companyModel
);
}
FeignClientResult
<
CompanyModel
>
createResult
=
Privilege
.
companyClient
.
create
(
companyModel
);
String
unitCode
=
object
.
getString
(
"use_code"
);
if
(
unitCode
==
null
||
unitCode
.
length
()
<
6
)
{
log
.
error
(
"公司统一信用代码长度不够6位"
);
throw
new
Exception
(
"公司统一信用代码长度不够6位"
);
String
unitCode
=
object
.
getString
(
"use_code"
);
if
(
unitCode
==
null
||
unitCode
.
length
()
<
6
)
{
log
.
error
(
"公司统一信用代码长度不够6位"
);
throw
new
Exception
(
"公司统一信用代码长度不够6位"
);
}
String
userName
=
unitCode
.
substring
(
unitCode
.
length
()
-
6
,
unitCode
.
length
());
FeignClientResult
<
AgencyUserModel
>
uResult
=
Privilege
.
agencyUserClient
.
queryByUserName
(
userName
);
if
(
uResult
.
getResult
()
==
null
)
{
AgencyUserModel
userModel
=
new
AgencyUserModel
();
userModel
.
setUserName
(
userName
);
userModel
.
setRealName
(
userName
);
userModel
.
setPassword
(
DesUtil
.
encode
(
userName
,
secretKey
));
userModel
.
setRePassword
(
DesUtil
.
encode
(
userName
,
secretKey
));
// userModel.setMobile(vo.getPhoneNo());
userModel
.
setLockStatus
(
"UNLOCK"
);
FeignClientResult
<
List
<
RoleModel
>>
list
=
Privilege
.
roleClient
.
queryRoleList
(
"使用单位"
,
"admin"
);
Map
<
Long
,
List
<
Long
>>
orgRoles
=
new
HashMap
<>();
List
<
Long
>
roleIds
=
new
ArrayList
<>();
roleIds
.
add
(
list
.
getResult
().
get
(
0
).
getSequenceNbr
());
// orgRoles.put(object.getLong("sequence_nbr"), roleIds);
orgRoles
.
put
(
createResult
.
getResult
().
getSequenceNbr
(),
roleIds
);
userModel
.
setAppCodes
(
appCodes
);
userModel
.
setOrgRoleSeqs
(
orgRoles
);
Privilege
.
agencyUserClient
.
create
(
userModel
);
}
}
String
userName
=
unitCode
.
substring
(
unitCode
.
length
()
-
6
,
unitCode
.
length
());
FeignClientResult
<
AgencyUserModel
>
uResult
=
Privilege
.
agencyUserClient
.
queryByUserName
(
userName
);
if
(
uResult
.
getResult
()
==
null
)
{
AgencyUserModel
userModel
=
new
AgencyUserModel
();
userModel
.
setUserName
(
userName
);
userModel
.
setRealName
(
userName
);
userModel
.
setPassword
(
DesUtil
.
encode
(
userName
,
secretKey
));
userModel
.
setRePassword
(
DesUtil
.
encode
(
userName
,
secretKey
));
// userModel.setMobile(vo.getPhoneNo());
userModel
.
setLockStatus
(
"UNLOCK"
);
FeignClientResult
<
List
<
RoleModel
>>
list
=
Privilege
.
roleClient
.
queryRoleList
(
"使用单位"
,
"admin"
);
Map
<
Long
,
List
<
Long
>>
orgRoles
=
new
HashMap
<>();
List
<
Long
>
roleIds
=
new
ArrayList
<>();
roleIds
.
add
(
list
.
getResult
().
get
(
0
).
getSequenceNbr
());
orgRoles
.
put
(
object
.
getLong
(
"sequence_nbr"
),
roleIds
);
userModel
.
setAppCodes
(
appCodes
);
userModel
.
setOrgRoleSeqs
(
orgRoles
);
Privilege
.
agencyUserClient
.
create
(
userModel
);
}
private
boolean
isUse
(
String
useCode
,
Collection
<
CompanyModel
>
companys
)
{
for
(
Object
obj
:
companys
)
{
String
json
=
JSONObject
.
toJSONString
(
obj
);
CompanyModel
companyMode
=
JSONObject
.
toJavaObject
(
JSONObject
.
parseObject
(
json
),
CompanyModel
.
class
);
if
(
useCode
.
equals
(
companyMode
.
getCompanyCode
()))
{
return
true
;
}
else
if
(
companyMode
.
getChildren
()
!=
null
)
{
return
isUse
(
useCode
,
companyMode
.
getChildren
());
}
}
return
false
;
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
biz
.
service
.
impl
;
import
java.util.ArrayList
;
import
java.util.List
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.EquEnterDto
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.api.
dto.TzsJgBasicInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.api.
entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.PageParam
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.tzs.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.tzs.api.service.IBaseUnitLicenceService
;
import
com.yeejoin.amos.boot.module.tzs.api.service.ITzBaseEnterpriseInfoService
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
liquibase.pro.packaged.L
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitIc
;
import
com.yeejoin.amos.boot.module.tzs.flc.biz.service.impl.RegUnitIcServiceImpl
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
/**
* 企业数据信息 服务实现类
...
...
@@ -24,25 +34,65 @@ import java.util.List;
* @date 2022-08-10
*/
@Service
public
class
TzBaseEnterpriseInfoServiceImpl
extends
BaseService
<
TzBaseEnterpriseInfoDto
,
TzBaseEnterpriseInfo
,
TzBaseEnterpriseInfoMapper
>
implements
ITzBaseEnterpriseInfoService
{
public
class
TzBaseEnterpriseInfoServiceImpl
extends
BaseService
<
TzBaseEnterpriseInfoDto
,
TzBaseEnterpriseInfo
,
TzBaseEnterpriseInfoMapper
>
implements
ITzBaseEnterpriseInfoService
{
@Autowired
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
@Autowired
private
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
@Override
public
List
<
EquEnterDto
>
getInfo
(
String
sequenceNbr
)
{
return
tzBaseEnterpriseInfoMapper
.
getInfo
(
sequenceNbr
);
}
@Autowired
BaseUnitLicenceServiceImpl
baseUnitLicenceService
;
@Autowired
RegUnitIcServiceImpl
regUnitIcService
;
@Autowired
private
IBaseUnitLicenceService
iBaseUnitLicenceService
;
@Override
public
List
<
EquEnterDto
>
getInfo
(
String
sequenceNbr
)
{
return
tzBaseEnterpriseInfoMapper
.
getInfo
(
sequenceNbr
);
}
@Override
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
)
{
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()
!=
null
)
{
FeignClientResult
<
CompanyModel
>
result
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
valueOf
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()));
if
(
result
.
getResult
()
!=
null
)
{
tzBaseEnterpriseInfoDto
.
setSuperviseOrgCode
(
result
.
getResult
().
getOrgCode
());
}
}
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
return
this
.
baseMapper
.
page
(
page
,
tzBaseEnterpriseInfoDto
);
}
@Override
public
TzBaseEnterpriseInfoDto
detail
(
Long
id
)
{
// TODO Auto-generated method stub
return
null
;
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
new
TzBaseEnterpriseInfoDto
();
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
this
.
getById
(
id
);
if
(
tzBaseEnterpriseInfo
!=
null
)
{
BeanUtils
.
copyProperties
(
tzBaseEnterpriseInfo
,
tzBaseEnterpriseInfoDto
);
}
// 许可信息
List
<
BaseUnitLicence
>
unitLicences
=
baseUnitLicenceService
.
list
(
new
LambdaQueryWrapper
<
BaseUnitLicence
>()
.
eq
(
BaseUnitLicence:
:
getUnitCode
,
tzBaseEnterpriseInfo
.
getUseCode
()));
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<
BaseUnitLicenceDto
>();
for
(
BaseUnitLicence
baseUnitLicence
:
unitLicences
)
{
BaseUnitLicenceDto
baseUnitLicenceDto
=
new
BaseUnitLicenceDto
();
BeanUtils
.
copyProperties
(
baseUnitLicence
,
baseUnitLicenceDto
);
unitLicenceDtos
.
add
(
baseUnitLicenceDto
);
}
tzBaseEnterpriseInfoDto
.
setUnitLicences
(
unitLicenceDtos
);
// 工商信息
RegUnitIc
regUnitIc
=
regUnitIcService
.
getOne
(
new
LambdaQueryWrapper
<
RegUnitIc
>().
eq
(
RegUnitIc:
:
getUnitCode
,
tzBaseEnterpriseInfo
.
getUseCode
()));
RegUnitIcDto
regUnitIcDto
=
new
RegUnitIcDto
();
if
(
regUnitIc
!=
null
)
{
BeanUtils
.
copyProperties
(
regUnitIc
,
regUnitIcDto
);
}
tzBaseEnterpriseInfoDto
.
setRegUnitIcDto
(
regUnitIcDto
);
return
tzBaseEnterpriseInfoDto
;
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/utils/BeanDtoVoUtils.java
View file @
425d40e9
...
...
@@ -323,31 +323,31 @@ public class BeanDtoVoUtils {
CylinderInfoDto
target
=
new
CylinderInfoDto
();
// 把原对象数据拷贝到新对象
BeanUtils
.
copyProperties
(
item
,
target
);
if
(
0
==
item
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"在用"
);
}
else
if
(
1
==
item
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"停用"
);
}
else
if
(
2
==
item
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"注销"
);
}
else
if
(
3
==
item
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"报废"
);
}
else
{
target
.
setCylinderStatusStr
(
""
);
}
if
(
1
==
item
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"无缝气瓶"
);
}
else
if
(
2
==
item
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"焊接气瓶"
);
}
else
if
(
3
==
item
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"缠绕气瓶"
);
}
else
if
(
4
==
item
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"绝热气瓶"
);
}
else
if
(
5
==
item
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"内装填料气瓶"
);
}
else
{
target
.
setCylinderVarietyStr
(
""
);
}
//
if(0 == item.getCylinderStatus()) {
//
target.setCylinderStatusStr("在用");
//
} else if(1 == item.getCylinderStatus()) {
//
target.setCylinderStatusStr("停用");
//
} else if(2 == item.getCylinderStatus()) {
//
target.setCylinderStatusStr("注销");
//
} else if(3 == item.getCylinderStatus()) {
//
target.setCylinderStatusStr("报废");
//
} else {
//
target.setCylinderStatusStr("");
//
}
//
if(1 == item.getCylinderVariety()) {
//
target.setCylinderVarietyStr("无缝气瓶");
//
} else if(2 == item.getCylinderVariety()) {
//
target.setCylinderVarietyStr("焊接气瓶");
//
} else if(3 == item.getCylinderVariety()) {
//
target.setCylinderVarietyStr("缠绕气瓶");
//
} else if(4 == item.getCylinderVariety()) {
//
target.setCylinderVarietyStr("绝热气瓶");
//
} else if(5 ==item.getCylinderVariety()) {
//
target.setCylinderVarietyStr("内装填料气瓶");
//
} else {
//
target.setCylinderVarietyStr("");
//
}
return
target
;
}
catch
(
Exception
e
)
{
return
null
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/CylinderInfoController.java
View file @
425d40e9
...
...
@@ -7,7 +7,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.module.common.api.dto.AttachmentDto
;
import
com.yeejoin.amos.boot.module.common.api.entity.SourceFile
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.SourceFileServiceImpl
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.MsgLog
;
import
com.yeejoin.amos.boot.module.tzs.biz.service.impl.ESCylinderServiceImpl
;
...
...
@@ -23,10 +22,8 @@ import com.yeejoin.amos.boot.module.tzs.flc.biz.service.impl.CylinderUnitService
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
com.yeejoin.amos.feign.systemctl.model.RegionModel
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiOperation
;
import
org.apache.commons.lang3.StringUtils
;
import
org.elasticsearch.common.recycler.Recycler
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
...
...
@@ -512,12 +509,12 @@ public class CylinderInfoController extends BaseController {
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getAppId
()))
{
queryWrapper
.
eq
(
"app_id"
,
cylinderInfo
.
getAppId
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getInspectionDateStart
()))
{
queryWrapper
.
ge
(
"inspection_date"
,
cylinderInfo
.
getInspectionDateStart
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getInspectionDateEnd
()))
{
queryWrapper
.
le
(
"inspection_date"
,
cylinderInfo
.
getInspectionDateEnd
());
}
//
if (!ValidationUtil.isEmpty(cylinderInfo.getInspectionDateStart())) {
//
queryWrapper.ge("inspection_date", cylinderInfo.getInspectionDateStart());
//
}
//
if (!ValidationUtil.isEmpty(cylinderInfo.getInspectionDateEnd())) {
//
queryWrapper.le("inspection_date", cylinderInfo.getInspectionDateEnd());
//
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getUnitName
()))
{
// 产权单位
queryWrapper
.
like
(
"unit_name"
,
cylinderInfo
.
getUnitName
());
}
...
...
@@ -527,12 +524,12 @@ public class CylinderInfoController extends BaseController {
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getCylinderVariety
()))
{
// 气瓶品种
queryWrapper
.
eq
(
"cylinder_variety"
,
cylinderInfo
.
getCylinderVariety
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getQrCode
()))
{
// 二维码编号
queryWrapper
.
like
(
"qrCode"
,
cylinderInfo
.
getQrCode
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getElectronicLabelCode
()))
{
// 电子标签编号
queryWrapper
.
like
(
"electronic_label_code"
,
cylinderInfo
.
getElectronicLabelCode
());
}
//
if (!ValidationUtil.isEmpty(cylinderInfo.getQrCode())) {// 二维码编号
//
queryWrapper.like("qrCode", cylinderInfo.getQrCode());
//
}
//
if (!ValidationUtil.isEmpty(cylinderInfo.getElectronicLabelCode())) {// 电子标签编号
//
queryWrapper.like("electronic_label_code", cylinderInfo.getElectronicLabelCode());
//
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderInfo
.
getSequenceCode
()))
{
// 气瓶唯一标识码
queryWrapper
.
like
(
"sequence_code"
,
cylinderInfo
.
getSequenceCode
());
}
...
...
@@ -565,41 +562,41 @@ public class CylinderInfoController extends BaseController {
CylinderInfoDto
target
=
new
CylinderInfoDto
();
// 把原对象数据拷贝到新对象
BeanUtils
.
copyProperties
(
cylinderInfo
,
target
);
if
(
0
==
cylinderInfo
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"在用"
);
}
else
if
(
1
==
cylinderInfo
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"停用"
);
}
else
if
(
2
==
cylinderInfo
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"注销"
);
}
else
if
(
3
==
cylinderInfo
.
getCylinderStatus
())
{
target
.
setCylinderStatusStr
(
"报废"
);
}
else
{
target
.
setCylinderStatusStr
(
""
);
}
if
(
1
==
cylinderInfo
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"无缝气瓶"
);
}
else
if
(
2
==
cylinderInfo
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"焊接气瓶"
);
}
else
if
(
3
==
cylinderInfo
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"缠绕气瓶"
);
}
else
if
(
4
==
cylinderInfo
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"绝热气瓶"
);
}
else
if
(
5
==
cylinderInfo
.
getCylinderVariety
())
{
target
.
setCylinderVarietyStr
(
"内装填料气瓶"
);
}
else
{
target
.
setCylinderVarietyStr
(
""
);
}
Date
nextDate
=
target
.
getNextInspectionDate
();
long
dates
=
nextDate
.
getTime
()
-
System
.
currentTimeMillis
();
if
(
dates
>=
1000
*
60
*
60
*
24
*
30
)
{
target
.
setInspectionStatas
(
1
);
}
else
if
(
0
<
dates
&&
dates
<
1000
*
60
*
60
*
24
*
30
)
{
target
.
setInspectionStatas
(
2
);
}
else
{
target
.
setInspectionStatas
(
0
);
}
target
.
setAttachments
(
imgMap
);
//
if (0 == cylinderInfo.getCylinderStatus()) {
//
target.setCylinderStatusStr("在用");
//
} else if (1 == cylinderInfo.getCylinderStatus()) {
//
target.setCylinderStatusStr("停用");
//
} else if (2 == cylinderInfo.getCylinderStatus()) {
//
target.setCylinderStatusStr("注销");
//
} else if (3 == cylinderInfo.getCylinderStatus()) {
//
target.setCylinderStatusStr("报废");
//
} else {
//
target.setCylinderStatusStr("");
//
}
//
if (1 == cylinderInfo.getCylinderVariety()) {
//
target.setCylinderVarietyStr("无缝气瓶");
//
} else if (2 == cylinderInfo.getCylinderVariety()) {
//
target.setCylinderVarietyStr("焊接气瓶");
//
} else if (3 == cylinderInfo.getCylinderVariety()) {
//
target.setCylinderVarietyStr("缠绕气瓶");
//
} else if (4 == cylinderInfo.getCylinderVariety()) {
//
target.setCylinderVarietyStr("绝热气瓶");
//
} else if (5 == cylinderInfo.getCylinderVariety()) {
//
target.setCylinderVarietyStr("内装填料气瓶");
//
} else {
//
target.setCylinderVarietyStr("");
//
}
//
Date nextDate = target.getNextInspectionDate();
//
long dates = nextDate.getTime() - System.currentTimeMillis();
//
if (dates >= 1000 * 60 * 60 * 24 * 30) {
//
target.setInspectionStatas(1);
//
} else if (0 < dates && dates < 1000 * 60 * 60 * 24 * 30) {
//
target.setInspectionStatas(2);
//
} else {
//
target.setInspectionStatas(0);
//
}
//
target.setAttachments(imgMap);
return
ResponseHelper
.
buildResponse
(
target
);
}
...
...
@@ -662,26 +659,26 @@ public class CylinderInfoController extends BaseController {
regionCode
+=
this
.
regionMap
.
get
(
Integer
.
parseInt
(
regionCodes
[
i
]));
}
target
.
setRegionCode
(
regionCode
);
if
(
1
==
cylinderUnit
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶充装单位"
);
}
else
if
(
2
==
cylinderUnit
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶检验单位"
);
}
else
if
(
3
==
cylinderUnit
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶生产单位"
);
}
else
{
target
.
setUnitTypeStr
(
""
);
}
target
.
setCylinderNumber
((
long
)
cylinderInfoServiceImpl
.
count
(
new
LambdaQueryWrapper
<
CylinderInfo
>().
eq
(
CylinderInfo:
:
getAppId
,
target
.
getAppId
())));
target
.
setCylinderOutOfDate
((
long
)
cylinderInfoServiceImpl
.
count
(
new
LambdaQueryWrapper
<
CylinderInfo
>().
eq
(
CylinderInfo:
:
getAppId
,
target
.
getAppId
()).
le
(
CylinderInfo:
:
getNextInspectionDate
,
new
Date
())));
Date
nextDate
=
target
.
getFillingPermitDate
();
long
dates
=
nextDate
.
getTime
()
-
System
.
currentTimeMillis
();
if
(
dates
>=
1000
*
60
*
60
*
24
*
200
)
{
target
.
setLicenseStatus
(
1
);
}
else
if
(
0
<
dates
&&
dates
<
1000
*
60
*
60
*
24
*
200
)
{
target
.
setLicenseStatus
(
2
);
}
else
{
target
.
setLicenseStatus
(
0
);
}
//
if (1 == cylinderUnit.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶充装单位");
//
} else if (2 == cylinderUnit.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶检验单位");
//
} else if (3 == cylinderUnit.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶生产单位");
//
} else {
//
target.setUnitTypeStr("");
//
}
//
target.setCylinderNumber((long) cylinderInfoServiceImpl.count(new LambdaQueryWrapper<CylinderInfo>().eq(CylinderInfo::getAppId, target.getAppId())));
//
target.setCylinderOutOfDate((long) cylinderInfoServiceImpl.count(new LambdaQueryWrapper<CylinderInfo>().eq(CylinderInfo::getAppId, target.getAppId()).le(CylinderInfo::getNextInspectionDate, new Date())));
//
Date nextDate = target.getFillingPermitDate();
//
long dates = nextDate.getTime() - System.currentTimeMillis();
//
if (dates >= 1000 * 60 * 60 * 24 * 200) {
//
target.setLicenseStatus(1);
//
} else if (0 < dates && dates < 1000 * 60 * 60 * 24 * 200) {
//
target.setLicenseStatus(2);
//
} else {
//
target.setLicenseStatus(0);
//
}
return
ResponseHelper
.
buildResponse
(
target
);
}
...
...
@@ -699,21 +696,21 @@ public class CylinderInfoController extends BaseController {
queryWrapper
.
orderByDesc
(
"sync_date"
);
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getFillingPermitDateStart
()))
{
// 许可有效期
queryWrapper
.
ge
(
"filling_permit_date"
,
cylinderUnitDto
.
getFillingPermitDateStart
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getFillingPermitDateEnd
()))
{
queryWrapper
.
le
(
"filling_permit_date"
,
cylinderUnitDto
.
getFillingPermitDateEnd
());
}
//
if (!ValidationUtil.isEmpty(cylinderUnitDto.getFillingPermitDateStart())) { // 许可有效期
//
queryWrapper.ge("filling_permit_date", cylinderUnitDto.getFillingPermitDateStart());
//
}
//
//
if (!ValidationUtil.isEmpty(cylinderUnitDto.getFillingPermitDateEnd())) {
//
queryWrapper.le("filling_permit_date", cylinderUnitDto.getFillingPermitDateEnd());
//
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getUnitName
()))
{
// 企业名称
queryWrapper
.
like
(
"unit_name"
,
cylinderUnitDto
.
getUnitName
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getUnitType
()))
{
// 企业类型
queryWrapper
.
eq
(
"unit_type"
,
cylinderUnitDto
.
getUnitType
());
}
//
if (!ValidationUtil.isEmpty(cylinderUnitDto.getUnitType())) {// 企业类型
//
queryWrapper.eq("unit_type", cylinderUnitDto.getUnitType());
//
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getCreditCode
()))
{
// 统一社会信用代码
queryWrapper
.
like
(
"credit_code"
,
cylinderUnitDto
.
getCreditCode
());
...
...
@@ -727,12 +724,12 @@ public class CylinderInfoController extends BaseController {
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getPersonMobilePhone
()))
{
// 负责人手机
queryWrapper
.
like
(
"person_mobile_phone"
,
cylinderUnitDto
.
getPersonMobilePhone
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getFillingLicense
()))
{
// 许可证号
queryWrapper
.
like
(
"filling_license"
,
cylinderUnitDto
.
getFillingLicense
());
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getFillingPermScope
()))
{
// 许可范围
queryWrapper
.
like
(
"filling_perm_scope"
,
cylinderUnitDto
.
getFillingPermScope
());
}
//
if (!ValidationUtil.isEmpty(cylinderUnitDto.getFillingLicense())) {// 许可证号
//
queryWrapper.like("filling_license", cylinderUnitDto.getFillingLicense());
//
}
//
if (!ValidationUtil.isEmpty(cylinderUnitDto.getFillingPermScope())) {// 许可范围
//
queryWrapper.like("filling_perm_scope", cylinderUnitDto.getFillingPermScope());
//
}
if
(!
ValidationUtil
.
isEmpty
(
cylinderUnitDto
.
getRegionCode
()))
{
// 所属区域
queryWrapper
.
like
(
"region_code"
,
cylinderUnitDto
.
getRegionCode
());
}
...
...
@@ -762,16 +759,16 @@ public class CylinderInfoController extends BaseController {
regionCode
+=
this
.
regionMap
.
get
(
Integer
.
parseInt
(
regionCodes
[
i
]));
}
target
.
setRegionCode
(
regionCode
);
if
(
1
==
item
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶充装单位"
);
}
else
if
(
2
==
item
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶检验单位"
);
}
else
if
(
3
==
item
.
getUnitType
())
{
target
.
setUnitTypeStr
(
"液化石油气瓶生产单位"
);
}
else
{
target
.
setUnitTypeStr
(
""
);
}
target
.
setCylinderNumber
((
long
)
cylinderInfoServiceImpl
.
count
(
new
LambdaQueryWrapper
<
CylinderInfo
>().
eq
(
CylinderInfo:
:
getAppId
,
target
.
getAppId
())));
//
if (1 == item.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶充装单位");
//
} else if (2 == item.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶检验单位");
//
} else if (3 == item.getUnitType()) {
//
target.setUnitTypeStr("液化石油气瓶生产单位");
//
} else {
//
target.setUnitTypeStr("");
//
}
//
target.setCylinderNumber((long) cylinderInfoServiceImpl.count(new LambdaQueryWrapper<CylinderInfo>().eq(CylinderInfo::getAppId, target.getAppId())));
return
target
;
}
catch
(
Exception
e
)
{
return
null
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/CylinderUnitController.java
View file @
425d40e9
...
...
@@ -57,11 +57,11 @@ public class CylinderUnitController extends BaseController {
unitList
.
stream
().
forEach
(
t
->
{
CylinderUnitDto
temp
=
new
CylinderUnitDto
();
BeanUtils
.
copyProperties
(
t
,
temp
);
if
(
t
.
getFillingPermitDate
()
!=
null
&&
t
.
getFillingPermitDate
().
getTime
()
<
System
.
currentTimeMillis
())
{
temp
.
setOutOfDate
(
true
);
}
else
{
temp
.
setOutOfDate
(
false
);
}
//
if(t.getFillingPermitDate() != null && t.getFillingPermitDate().getTime() < System.currentTimeMillis()) {
//
temp.setOutOfDate(true);
//
} else {
//
temp.setOutOfDate(false);
//
}
result
.
add
(
temp
);
});
return
ResponseHelper
.
buildResponse
(
result
);
...
...
@@ -82,10 +82,10 @@ public class CylinderUnitController extends BaseController {
Map
<
String
,
Long
>
cylinderInfo
=
iCylinderInfoService
.
queryNumAndOutOfDateNum
(
unit
.
getSequenceNbr
());
if
(
cylinderInfo
!=
null
)
{
if
(
cylinderInfo
.
get
(
"cylinderNum"
)
!=
null
)
{
unit
.
setCylinderNumber
(
cylinderInfo
.
get
(
"cylinderNum"
));
//
unit.setCylinderNumber(cylinderInfo.get("cylinderNum"));
}
if
(
cylinderInfo
.
get
(
"outOfDateNum"
)
!=
null
)
{
unit
.
setCylinderOutOfDate
(
cylinderInfo
.
get
(
"outOfDateNum"
));
//
unit.setCylinderOutOfDate(cylinderInfo.get("outOfDateNum"));
}
}
return
ResponseHelper
.
buildResponse
(
unit
);
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/RegUnitInfoController.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
controller
;
import
com.baomidou.mybatisplus.extension.api.R
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.tzs.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.
component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.
boot.module.tzs.flc.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.systemctl.Systemctl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -24,7 +21,6 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
javax.ws.rs.DELETE
;
import
java.util.Collection
;
import
java.util.HashMap
;
import
java.util.List
;
...
...
@@ -67,7 +63,7 @@ public class RegUnitInfoController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"单位注册校验"
,
notes
=
"单位注册校验"
)
public
ResponseModel
<
RegUnitInfoDto
>
unitCheck
(
@PathVariable
String
unitCode
,
@RequestParam
String
unitType
)
{
if
(
ValidationUtil
.
isEmpty
(
unitCode
))
{
if
(
ValidationUtil
.
isEmpty
(
unitCode
))
{
throw
new
BadRequest
(
"单位编码不能为空"
);
}
RegUnitInfoDto
regUnitInfoDto
=
iRegUnitInfoService
.
unitCheck
(
unitCode
,
unitType
);
...
...
@@ -95,13 +91,12 @@ public class RegUnitInfoController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{tel}/sendTelCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"发送手机号验证码"
,
notes
=
"发送手机号验证码"
)
public
ResponseModel
<
Boolean
>
sendTelCode
(
@PathVariable
(
value
=
"tel"
)
String
tel
)
{
public
ResponseModel
<
Boolean
>
sendTelCode
(
@PathVariable
(
value
=
"tel"
)
String
tel
)
throws
Exception
{
if
(
ValidationUtil
.
isEmpty
(
tel
))
{
throw
new
BadRequest
(
"手机号不能为空"
);
}
try
{
Privilege
.
authClient
.
mobileVerify
(
tel
);
}
catch
(
Exception
e
)
{
Boolean
isReg
=
(
Boolean
)
Privilege
.
authClient
.
mobileVerify
(
tel
).
getResult
();
if
(
isReg
){
throw
new
RuntimeException
(
"该手机号已注册!"
);
}
Boolean
flag
;
...
...
@@ -136,9 +131,9 @@ public class RegUnitInfoController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{tel}/{code}/verifyTelCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
验证手机号验证码是否成功"
,
notes
=
"验证手机号验证码是否成功
"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"
手机号验证码校验"
,
notes
=
"手机号验证码校验
"
)
public
ResponseModel
<
Boolean
>
verifyTelCode
(
@PathVariable
(
value
=
"tel"
)
String
tel
,
@PathVariable
(
value
=
"code"
)
String
code
)
{
B
oolean
flag
=
false
;
b
oolean
flag
=
false
;
if
(
ValidationUtil
.
isEmpty
(
tel
)
||
ValidationUtil
.
isEmpty
(
code
))
{
throw
new
BadRequest
(
"参数校验失败."
);
}
...
...
@@ -158,17 +153,17 @@ public class RegUnitInfoController extends BaseController {
public
ResponseModel
<
Boolean
>
hasExistUser
(
@PathVariable
(
value
=
"userName"
)
String
userName
)
{
boolean
flag
=
false
;
AgencyUserModel
user
=
Privilege
.
agencyUserClient
.
queryByUserName
(
userName
).
getResult
();
if
(
user
!=
null
)
{
if
(
user
!=
null
)
{
flag
=
true
;
}
return
ResponseHelper
.
buildResponse
(
flag
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@DeleteMapping
(
value
=
"/{unitCode}/logOut"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"企业注销"
,
notes
=
"企业注销"
)
public
ResponseModel
unitLogOut
(
@PathVariable
String
unitCode
){
public
ResponseModel
unitLogOut
(
@PathVariable
String
unitCode
)
{
return
ResponseHelper
.
buildResponse
(
iRegUnitInfoService
.
unitLogOut
(
unitCode
));
}
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/TzCylinderController.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
controller
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.PageParam
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.TzCylinderTraceDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.ITzCylinderService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
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
;
@RestController
@Api
(
tags
=
"燃气气瓶Api"
)
@RequestMapping
(
value
=
"/cylinder"
)
public
class
TzCylinderController
{
@Autowired
ITzCylinderService
iTzCylinderService
;
/**
* 气瓶基本信息列表分页查询
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"气瓶基本信息列表分页查询"
,
notes
=
"气瓶基本信息列表分页查询"
)
public
ResponseModel
<
IPage
<
TzCylinderInfoDto
>>
listPage
(
PageParam
pageParam
,
TzCylinderInfoDto
tzCylinderInfoDto
,
String
key
){
return
ResponseHelper
.
buildResponse
(
iTzCylinderService
.
getCylinderInfoDtoList
(
pageParam
,
tzCylinderInfoDto
,
key
));
}
/**
* 根据id查询追溯详情
* @param sequenceNbr 气瓶基本信息的sequenceNbr
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/trace/{sequenceNbr}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询追溯详情"
,
notes
=
"根据sequenceNbr查询追溯详情"
)
public
ResponseModel
<
TzCylinderTraceDto
>
selectById
(
HttpServletRequest
request
,
@PathVariable
String
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
iTzCylinderService
.
getCylinderTraceDto
(
sequenceNbr
));
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderFillingCheckServiceImpl.java
View file @
425d40e9
...
...
@@ -18,7 +18,7 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderFillingCheckServiceImpl
extends
BaseService
<
CylinderFillingCheckDto
,
CylinderFillingCheck
,
CylinderFillingCheckMapper
>
implements
ICylinderFillingCheckService
{
public
class
CylinderFillingCheckServiceImpl
extends
BaseService
<
CylinderFillingCheckDto
,
CylinderFillingCheck
,
CylinderFillingCheckMapper
>
implements
ICylinderFillingCheckService
{
/**
* 分页查询
*/
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderFillingExamineServiceImpl.java
View file @
425d40e9
...
...
@@ -16,7 +16,7 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderFillingExamineServiceImpl
extends
BaseService
<
CylinderFillingExamineDto
,
CylinderFillingExamine
,
CylinderFillingExamineMapper
>
implements
ICylinderFillingExamineService
{
public
class
CylinderFillingExamineServiceImpl
extends
BaseService
<
CylinderFillingExamineDto
,
CylinderFillingExamine
,
CylinderFillingExamineMapper
>
implements
ICylinderFillingExamineService
{
/**
* 分页查询
*/
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderFillingRecordServiceImpl.java
View file @
425d40e9
...
...
@@ -45,14 +45,14 @@ public class CylinderFillingRecordServiceImpl extends BaseService<CylinderFillin
public
Page
<
CylinderFillingRecordDto
>
queryListByQueryDto
(
Page
<
CylinderFillingRecordDto
>
page
,
CylinderFillingRecordDto
cylinderFillingRecordDto
,
String
sortParam
,
String
sortRule
)
{
Page
<
List
<
CylinderFillingRecordDto
>>
list
=
this
.
baseMapper
.
queryListByQueryDto
(
page
,
cylinderFillingRecordDto
.
getFillingUnitName
(),
cylinderFillingRecordDto
.
getPropertyUnit
(),
cylinderFillingRecordDto
.
getFactoryNum
(),
cylinderFillingRecordDto
.
getCylinderVariety
(),
cylinderFillingRecordDto
.
getQrCode
(),
cylinderFillingRecordDto
.
getElectronicLabelCode
(),
cylinderFillingRecordDto
.
getSequenceCode
(),
cylinderFillingRecordDto
.
getUnitInnerCode
(),
//
cylinderFillingRecordDto.getFillingUnitName(),
//
cylinderFillingRecordDto.getPropertyUnit(),
//
cylinderFillingRecordDto.getFactoryNum(),
//
cylinderFillingRecordDto.getCylinderVariety(),
//
cylinderFillingRecordDto.getQrCode(),
//
cylinderFillingRecordDto.getElectronicLabelCode(),
//
cylinderFillingRecordDto.getSequenceCode(),
//
cylinderFillingRecordDto.getUnitInnerCode(),
cylinderFillingRecordDto
.
getFillingStarttime
(),
cylinderFillingRecordDto
.
getFillingEndtime
(),
sortParam
,
sortRule
,
cylinderFillingRecordDto
.
getAppId
()
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderFillingServiceImpl.java
View file @
425d40e9
...
...
@@ -18,7 +18,7 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderFillingServiceImpl
extends
BaseService
<
CylinderFillingDto
,
CylinderFilling
,
CylinderFillingMapper
>
implements
ICylinderFillingService
{
public
class
CylinderFillingServiceImpl
extends
BaseService
<
CylinderFillingDto
,
CylinderFilling
,
CylinderFillingMapper
>
implements
ICylinderFillingService
{
/**
* 分页查询
*/
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
425d40e9
...
...
@@ -591,8 +591,8 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
public
Page
<
CylinderInfoDto
>
earlyWarningLevelPageList
(
Page
<
CylinderInfoDto
>
page
,
String
earlyWarningLevel
)
{
Page
<
CylinderInfoDto
>
result
=
this
.
baseMapper
.
queryPageListByEarlyWarningLevel
(
page
,
earlyWarningLevel
);
result
.
getRecords
().
forEach
(
r
->
{
r
.
setEarlyWarningLevelName
(
EarlyWarningLevelEnum
.
getEumByLevel
(
earlyWarningLevel
).
getName
());
r
.
setInspectionStatusDesc
(
EarlyWarningLevelEnum
.
getEumByLevel
(
earlyWarningLevel
).
getStatus
());
//
r.setEarlyWarningLevelName(EarlyWarningLevelEnum.getEumByLevel(earlyWarningLevel).getName());
//
r.setInspectionStatusDesc(EarlyWarningLevelEnum.getEumByLevel(earlyWarningLevel).getStatus());
});
return
result
;
...
...
@@ -638,16 +638,16 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
CylinderInfoDto
cylinderInfoDto
=
this
.
getDetail
(
r
.
getSequenceCode
());
try
{
CylWarningMsgDto
cylWarningMsgDto
=
new
CylWarningMsgDto
();
int
interval
=
DateUtils
.
dateBetweenIncludeToday
(
now
,
cylinderInfoDto
.
getNextInspectionDate
())
-
1
;
cylWarningMsgDto
.
setNum
(
String
.
valueOf
(
interval
));
//
int interval = DateUtils.dateBetweenIncludeToday(now, cylinderInfoDto.getNextInspectionDate()) - 1;
//
cylWarningMsgDto.setNum(String.valueOf(interval));
cylWarningMsgDto
.
setFactoryNum
(
cylinderInfoDto
.
getFactoryNum
());
cylWarningMsgDto
.
setUserType
(
cylinderInfoDto
.
getCustomType
());
cylWarningMsgDto
.
setUserPeople
(
cylinderInfoDto
.
getCustomName
());
cylWarningMsgDto
.
setUserPeoplePhone
(
cylinderInfoDto
.
getContactPhone
());
//
cylWarningMsgDto.setUserType(cylinderInfoDto.getCustomType());
//
cylWarningMsgDto.setUserPeople(cylinderInfoDto.getCustomName());
//
cylWarningMsgDto.setUserPeoplePhone(cylinderInfoDto.getContactPhone());
cylWarningMsgDto
.
setCylSeq
(
cylinderInfoDto
.
getSequenceCode
());
cylWarningMsgDto
.
setCompanyName
(
cylinderInfoDto
.
getUnitName
());
cylWarningMsgDto
.
setPhone
(
cylinderInfoDto
.
getPersonMobilePhone
());
cylWarningMsgDto
.
setPeople
(
cylinderInfoDto
.
getUnitPerson
());
//
cylWarningMsgDto.setPhone(cylinderInfoDto.getPersonMobilePhone());
//
cylWarningMsgDto.setPeople(cylinderInfoDto.getUnitPerson());
cylWarningMsgDto
.
setCurrentTime
(
dateStr
);
// 2.循环调用规则 触发计算等级及发送消息
if
(
log
.
isInfoEnabled
())
{
...
...
@@ -661,7 +661,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
public
CylinderInfoDto
getDetail
(
String
sequenceCode
)
{
CylinderInfoDto
dto
=
this
.
baseMapper
.
getDetail
(
sequenceCode
);
dto
.
setInspectionStatusDesc
(
StringUtils
.
isNotEmpty
(
dto
.
getEarlyWarningLevel
())
?
EarlyWarningLevelEnum
.
getEumByLevel
(
dto
.
getEarlyWarningLevel
()).
getStatus
()
:
""
);
//
dto.setInspectionStatusDesc(StringUtils.isNotEmpty(dto.getEarlyWarningLevel()) ? EarlyWarningLevelEnum.getEumByLevel(dto.getEarlyWarningLevel()).getStatus() : "");
return
dto
;
}
...
...
@@ -692,7 +692,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
List
<
CylinderInfo
>
cylinderInfos
=
new
ArrayList
<>();
cylinderInfoDtos
.
forEach
(
c
->
{
CylinderInfo
cylinderInfo
=
this
.
getOne
(
new
LambdaQueryWrapper
<
CylinderInfo
>().
eq
(
CylinderInfo:
:
getSequenceCode
,
c
.
getSequenceCode
()));
cylinderInfo
.
setNextInspectionDate
(
c
.
getNextInspectionDate
());
//
cylinderInfo.setNextInspectionDate(c.getNextInspectionDate());
cylinderInfos
.
add
(
cylinderInfo
);
});
if
(!
cylinderInfos
.
isEmpty
())
{
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderInspectionServiceImpl.java
View file @
425d40e9
...
...
@@ -16,7 +16,7 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderInspectionServiceImpl
extends
BaseService
<
CylinderInspectionDto
,
CylinderInspection
,
CylinderInspectionMapper
>
implements
ICylinderInspectionService
{
public
class
CylinderInspectionServiceImpl
extends
BaseService
<
CylinderInspectionDto
,
CylinderInspection
,
CylinderInspectionMapper
>
implements
ICylinderInspectionService
{
/**
* 分页查询
*/
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderTagsServiceImpl.java
View file @
425d40e9
...
...
@@ -16,7 +16,7 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderTagsServiceImpl
extends
BaseService
<
CylinderTagsDto
,
CylinderTags
,
CylinderTagsMapper
>
implements
ICylinderTagsService
{
public
class
CylinderTagsServiceImpl
extends
BaseService
<
CylinderTagsDto
,
CylinderTags
,
CylinderTagsMapper
>
implements
ICylinderTagsService
{
/**
* 分页查询
*/
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderUnitServiceImpl.java
View file @
425d40e9
...
...
@@ -16,7 +16,7 @@ import java.util.List;
* @date 2021-12-14
*/
@Service
public
class
CylinderUnitServiceImpl
extends
BaseService
<
CylinderUnitDto
,
CylinderUnit
,
CylinderUnitMapper
>
implements
ICylinderUnitService
{
public
class
CylinderUnitServiceImpl
extends
BaseService
<
CylinderUnitDto
,
CylinderUnit
,
CylinderUnitMapper
>
implements
ICylinderUnitService
{
/**
* 分页查询
*/
...
...
@@ -52,7 +52,13 @@ public class CylinderUnitServiceImpl extends BaseService<CylinderUnitDto,Cylinde
}
/**
* 后边对接需要更改,目前没值默认0
* @param code
* @return
*/
public
Integer
getWarnNum
(
String
code
)
{
return
baseMapper
.
getWarnNum
(
code
);
// return baseMapper.getWarnNum(code);
return
0
;
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/RegUnitIcServiceImpl.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.api.service.IRegUnitIcService
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitIc
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.RegUnitIcMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.IRegUnitIcService
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
service
.
impl
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.client.RestTemplate
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
...
...
@@ -11,33 +31,22 @@ import com.yeejoin.amos.boot.module.common.api.entity.OrgUsr;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.RegUnitInfo
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.tzs.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.boot.module.tzs.biz.service.impl.BaseUnitLicenceServiceImpl
;
import
com.yeejoin.amos.boot.module.tzs.biz.service.impl.TzBaseEnterpriseInfoServiceImpl
;
import
com.yeejoin.amos.boot.module.tzs.biz.service.impl.TzsAuthServiceImpl
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitIc
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.RegUnitInfo
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.enums.UnitReviewStateEnum
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.RegUnitInfoMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.IRegUnitInfoService
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.RoleModel
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.client.RestTemplate
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
java.util.*
;
import
java.util.stream.Collectors
;
/**
* 单位注册信息表服务实现类
...
...
@@ -88,6 +97,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
tzsAuthServiceImpl
.
setRequestContext
();
// 注册用统一信用码注册,默认证件类型为营业执照,数据来源:cb_data_dictionary code = 1060
model
.
setUnitCodeType
(
"1060"
);
model
.
setUnitCodeTypeName
(
"营业执照"
);
Bean
.
copyExistPropertis
(
model
,
regUnitInfo
);
// 1.插入单位注册许可信息表:tz_base_unit_licence
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
model
.
getUnitLicences
();
...
...
@@ -98,13 +108,15 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
Bean
.
copyExistPropertis
(
s
,
target
);
return
target
;
}).
collect
(
Collectors
.
toList
());
baseUnitLicenceService
.
saveOrUpdateBatch
(
baseUnitLicences
);
if
(!
baseUnitLicences
.
isEmpty
()){
baseUnitLicenceService
.
saveOrUpdateBatch
(
baseUnitLicences
);
}
// 2.插入工商单位信息表:tz_flc_reg_unit_ic
RegUnitIc
regUnitIc
=
new
RegUnitIc
();
model
.
getRegUnitIc
().
setUnitCode
(
model
.
getUnitCode
());
model
.
getRegUnitIc
().
setUnitName
(
model
.
getName
());
Bean
.
copyExistPropertis
(
model
.
getRegUnitIc
(),
regUnitIc
);
regUnitIcService
.
save
(
regUnitIc
);
regUnitIcService
.
save
OrUpdate
(
regUnitIc
);
// 3.调用平台进行创建单位、用户信息,同步用户信息
if
(
UnitReviewStateEnum
.
NO_NEED_REVIEW
.
getCode
().
equals
(
model
.
getState
()))
{
// 3.1 创建企业信息
...
...
@@ -122,6 +134,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
// 5.3工商信息
model
.
setRegUnitIc
(
Bean
.
toModel
(
regUnitIc
,
new
RegUnitIcDto
()));
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
// 失败后回滚:删除已经创建的企业信息
if
(
StringUtils
.
isNotEmpty
(
regUnitInfo
.
getAmosCompanySeq
()))
{
FeignClientResult
<
CompanyModel
>
feignClientResult
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
parseLong
(
regUnitInfo
.
getAmosCompanySeq
()));
...
...
@@ -142,7 +155,12 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
}
public
void
createBaseEnterpriseInfo
(
RegUnitInfoDto
regUnitInfo
)
{
// 1.查询管辖公司的信息
FeignClientResult
<
CompanyModel
>
feignClientResult
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
parseLong
(
regUnitInfo
.
getManagementUnitId
()));
CompanyModel
managementCompany
=
feignClientResult
.
getResult
();
// 2.填充数据
TzBaseEnterpriseInfo
baseEnterpriseInfo
=
new
TzBaseEnterpriseInfo
();
baseEnterpriseInfo
.
setUseUnitCertificate
(
regUnitInfo
.
getUnitCodeTypeName
());
baseEnterpriseInfo
.
setUnitType
(
regUnitInfo
.
getUnitType
());
baseEnterpriseInfo
.
setUseCode
(
regUnitInfo
.
getUnitCode
());
baseEnterpriseInfo
.
setUseUnit
(
regUnitInfo
.
getName
());
...
...
@@ -158,6 +176,11 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
baseEnterpriseInfo
.
setContactPhone
(
regUnitInfo
.
getContactPersonTel
());
baseEnterpriseInfo
.
setLongitude
(
regUnitInfo
.
getLongitude
());
baseEnterpriseInfo
.
setLatitude
(
regUnitInfo
.
getLatitude
());
// 管辖机构信息
baseEnterpriseInfo
.
setSuperviseCode
(
managementCompany
.
getCompanyCode
());
baseEnterpriseInfo
.
setSuperviseOrgCode
(
managementCompany
.
getOrgCode
());
// 这个表有两个字段所以赋值两字段
baseEnterpriseInfo
.
setSuperviseOrgName
(
regUnitInfo
.
getManagementUnit
());
baseEnterpriseInfo
.
setGoverningBody
(
regUnitInfo
.
getManagementUnit
());
baseEnterpriseInfo
.
setDataSources
(
"企业注册"
);
baseEnterpriseInfo
.
setIndustry
(
regUnitInfo
.
getRegUnitIc
().
getIndustryName
());
...
...
@@ -179,7 +202,11 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
// 2.组织返回数据
RegUnitInfoDto
regUnitInfoDto
=
new
RegUnitInfoDto
();
if
(
USE_UNIT_TYPE_CODE
.
equals
(
unitType
))
{
// 2.1 使用单位调用行政许可系统接口进行查询工商信息
// 本地库有的化 就不去其他系统查询
RegUnitIc
regUnitIc
=
regUnitIcService
.
getOne
(
new
LambdaQueryWrapper
<
RegUnitIc
>().
eq
(
RegUnitIc:
:
getUnitCode
,
unitCode
));
regUnitInfoDto
.
setRegUnitIc
(
Bean
.
toModel
(
regUnitIc
,
new
RegUnitIcDto
()));
if
(
regUnitIc
==
null
){
// 2.1 使用单位调用行政许可系统接口进行查询工商信息
// MultiValueMap<String, String> headers = new HttpHeaders();
// headers.add("header-1","v1");
// headers.add("header-2","v2");
...
...
@@ -190,8 +217,10 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
// URI.create("url"));
// ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(requestEntity,JSONObject.class);
// JSONObject result = responseEntity.getBody();
// 2.2 工商信息组装
// 2.2 工商信息组装
// regUnitInfoDto.setRegUnitIc();
}
}
else
{
RegUnitIc
regUnitIc
=
regUnitIcService
.
getOne
(
new
LambdaQueryWrapper
<
RegUnitIc
>().
eq
(
RegUnitIc:
:
getUnitCode
,
unitCode
));
regUnitInfoDto
.
setRegUnitIc
(
Bean
.
toModel
(
regUnitIc
,
new
RegUnitIcDto
()));
...
...
@@ -285,7 +314,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
List
<
Long
>
roleIds
=
new
ArrayList
<>();
Set
<
String
>
roleNameSet
=
new
HashSet
<>();
// 3.1创建公司
companyInfo
.
setAddress
(
regUnitInfo
.
getProvince
()
+
regUnitInfo
.
getCity
()
+
regUnitInfo
.
getDistrict
()
+
regUnitInfo
.
getStree
()
+
regUnitInfo
.
getCommunity
()
+
regUnitInfo
.
getAddress
(
));
companyInfo
.
setAddress
(
dealNull2EmptyString
(
regUnitInfo
.
getProvince
())
+
dealNull2EmptyString
(
regUnitInfo
.
getCity
())
+
dealNull2EmptyString
(
regUnitInfo
.
getDistrict
())
+
dealNull2EmptyString
(
regUnitInfo
.
getStree
())
+
dealNull2EmptyString
(
regUnitInfo
.
getCommunity
())
+
dealNull2EmptyString
(
regUnitInfo
.
getAddress
()
));
companyInfo
.
setAgencyCode
(
"tzs"
);
companyInfo
.
setParentId
(
Long
.
parseLong
(
regUnitInfo
.
getManagementUnitId
()));
companyInfo
.
setLevel
(
"company"
);
...
...
@@ -357,4 +386,8 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
throw
new
RuntimeException
(
e
.
getMessage
());
}
}
private
String
dealNull2EmptyString
(
String
t
){
return
StringUtils
.
isEmpty
(
t
)
?
""
:
t
;
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/TzCylinderServiceImpl.java
0 → 100644
View file @
425d40e9
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
service
.
impl
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.api.entity.PageParam
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.*
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderInfo
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.TzCylinderMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.ITzCylinderService
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 气瓶基本信息 服务实现类
*
* @author duanwei
* @date 2022-08-11
*/
@Service
public
class
TzCylinderServiceImpl
extends
BaseService
<
TzCylinderInfoDto
,
CylinderInfo
,
TzCylinderMapper
>
implements
ITzCylinderService
{
@Autowired
private
TzCylinderMapper
tzCylinderMapper
;
@Override
public
IPage
<
TzCylinderInfoDto
>
getCylinderInfoDtoList
(
PageParam
pageParam
,
TzCylinderInfoDto
tzCylinderInfoDto
,
String
key
)
{
Page
<
TzCylinderInfoDto
>
page
=
new
Page
<>(
pageParam
.
getCurrent
(),
pageParam
.
getSize
());
System
.
out
.
println
(
"key有值:"
+
key
);
String
superviseOrgCode
=
Privilege
.
companyClient
.
seleteOne
(
Long
.
valueOf
(
key
)).
getResult
().
getOrgCode
();
return
tzCylinderMapper
.
getTzCylinderInfoList
(
page
,
tzCylinderInfoDto
,
superviseOrgCode
);
}
@Override
public
TzCylinderTraceDto
getCylinderTraceDto
(
String
sequenceNbr
)
{
String
orgCode
=
tzCylinderMapper
.
getSequencCode
(
sequenceNbr
);
TzCylinderProduceDto
tzCylinderProduceDto
=
tzCylinderMapper
.
getTzCylinderProduceDto
(
orgCode
);
TzCylinderInfoDto
tzCylinderInfoDto
=
tzCylinderMapper
.
getTzCylinderInfoDto
(
sequenceNbr
);
TzCylinderTagsDto
tzCylinderTagsDto
=
tzCylinderMapper
.
getTzCylinderTagsDto
(
orgCode
);
List
<
TzCylinderInspectionDto
>
tzCylinderInspectionDtoList
=
tzCylinderMapper
.
getTzCylinderInspectionDto
(
orgCode
);
List
<
TzCylinderFillingDto
>
tzCylinderFillingDtoList
=
tzCylinderMapper
.
getTzCylinderFillingDto
(
orgCode
);
/**
* 取气瓶追溯详情 充装前检查项 名称和结果列表
*/
List
<
TzCylinderCheckDto
>
tzCylinderCheckDtoList
=
tzCylinderMapper
.
getTzCylinderCheckItem
();
Map
<
String
,
String
>
map
=
new
HashMap
<>();
for
(
TzCylinderCheckDto
tzCylinderCheckDto
:
tzCylinderCheckDtoList
){
map
.
put
(
tzCylinderCheckDto
.
getItem
(),
tzCylinderCheckDto
.
getExplain
());
}
for
(
TzCylinderFillingDto
tzCylinderFillingDto
:
tzCylinderFillingDtoList
){
List
<
TzCylinderCheckDto
>
tzCylinderCheckDtoListResult
=
new
ArrayList
<>();
TzCylinderBeforeCheckDto
tzcylinderBeforeCheckDto
=
tzCylinderMapper
.
getTzCylinderBeforeCheck
(
tzCylinderFillingDto
.
getFillingBeforeId
());
JSONObject
obj
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
tzcylinderBeforeCheckDto
));
for
(
String
str
:
obj
.
keySet
())
{
String
explain
=
map
.
get
(
str
);
String
value
=
String
.
valueOf
(
obj
.
get
(
str
))
;
TzCylinderCheckDto
tzcylinderCheckDto
=
new
TzCylinderCheckDto
(
str
,
explain
,
value
);
tzCylinderCheckDtoListResult
.
add
(
tzcylinderCheckDto
);
}
tzCylinderFillingDto
.
setTzCylinderCheckDtoList
(
tzCylinderCheckDtoListResult
);
}
/**
* 取气瓶追溯详情 充装后检查项 名称和结果列表
*/
List
<
TzCylinderCheckDto
>
tzCylinderAfterCheckDtoList
=
tzCylinderMapper
.
getTzCylinderAfterCheckItem
();
Map
<
String
,
String
>
afterMap
=
new
HashMap
<>();
for
(
TzCylinderCheckDto
tzCylinderCheckDto
:
tzCylinderAfterCheckDtoList
){
afterMap
.
put
(
tzCylinderCheckDto
.
getItem
(),
tzCylinderCheckDto
.
getExplain
());
}
for
(
TzCylinderFillingDto
tzCylinderFillingDto
:
tzCylinderFillingDtoList
){
List
<
TzCylinderCheckDto
>
tzCylinderAfterCheckDtoListResult
=
new
ArrayList
<>();
TzCylinderAfterCheckDto
tzcylinderAfterCheckDto
=
tzCylinderMapper
.
getTzCylinderAfterCheck
(
tzCylinderFillingDto
.
getFillingCheckId
());
JSONObject
obj
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
tzcylinderAfterCheckDto
));
for
(
String
str
:
obj
.
keySet
())
{
String
explain
=
afterMap
.
get
(
str
);
String
value
=
String
.
valueOf
(
obj
.
get
(
str
))
;
TzCylinderCheckDto
tzcylinderCheckDto
=
new
TzCylinderCheckDto
(
str
,
explain
,
value
);
tzCylinderAfterCheckDtoListResult
.
add
(
tzcylinderCheckDto
);
}
tzCylinderFillingDto
.
setTzCylinderAfterCheckDtoList
(
tzCylinderAfterCheckDtoListResult
);
}
return
new
TzCylinderTraceDto
(
tzCylinderProduceDto
,
tzCylinderInfoDto
,
tzCylinderTagsDto
,
tzCylinderInspectionDtoList
,
tzCylinderFillingDtoList
);
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/resources/db/changelog/tzs-1.0.0.1.xml
View file @
425d40e9
...
...
@@ -324,5 +324,399 @@
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (1553, "54","混合气体","CZJZMC",b'0',1);
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-07"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_base_enterprise_info"
columnName=
"rec_user_name"
/>
</not>
</preConditions>
<comment>
tz_base_enterprise_info 增加公共字段 rec_user_name
</comment>
<sql>
ALTER TABLE `tz_base_enterprise_info` add column `rec_user_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人名称';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-08"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_base_enterprise_info"
columnName=
"is_delete"
/>
</not>
</preConditions>
<comment>
tz_base_enterprise_info 增加公共字段 is_delete
</comment>
<sql>
ALTER TABLE `tz_base_enterprise_info` add column `is_delete` bit(1) DEFAULT b'0' COMMENT '是否删除(0:未删除,1:已删除)';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-07"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_base_enterprise_info"
columnName=
"rec_user_name"
/>
</not>
</preConditions>
<comment>
tz_base_enterprise_info 增加公共字段 rec_user_name
</comment>
<sql>
ALTER TABLE `tz_base_enterprise_info` add column `rec_user_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人名称';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660201816131-09"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"tz_flc_reg_unit_info"
columnName=
"unit_code_type_name"
/>
</not>
</preConditions>
<comment>
tz_flc_reg_unit_info 增加字段 unit_code_type_name 证件类型名称
</comment>
<sql>
ALTER TABLE `tz_flc_reg_unit_info` add column `unit_code_type_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '证件类型名称';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-01"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"tz_flc_reg_unit_ic"
columnName=
"approved_date"
/>
</preConditions>
<comment>
tz_flc_reg_unit_ic approved_date datetime->date 核准时间
</comment>
<sql>
ALTER TABLE `tz_flc_reg_unit_ic` modify column `approved_date` date DEFAULT NULL COMMENT '核准时间';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-02"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"tz_base_unit_licence"
columnName=
"expiry_date"
/>
</preConditions>
<comment>
tz_base_unit_licence expiry_date datetime->date 有效期至
</comment>
<sql>
ALTER TABLE `tz_base_unit_licence` modify column `expiry_date` date DEFAULT NULL COMMENT '有效期至';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-03"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"tz_base_unit_licence"
columnName=
"issue_date"
/>
</preConditions>
<comment>
tz_base_unit_licence issue_date datetime->date 发证日期
</comment>
<sql>
ALTER TABLE `tz_base_unit_licence` modify column `issue_date` date DEFAULT NULL COMMENT '发证日期';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-04"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"tz_base_unit_licence"
columnName=
"change_date"
/>
</preConditions>
<comment>
tz_base_unit_licence change_date datetime->date 变更日期
</comment>
<sql>
ALTER TABLE `tz_base_unit_licence` modify column `change_date` date DEFAULT NULL COMMENT '变更日期';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-05"
>
<preConditions
onFail=
"MARK_RAN"
>
<columnExists
tableName=
"tz_base_unit_licence"
columnName=
"apply_type"
/>
</preConditions>
<comment>
tz_base_unit_licence apply_type 注释修改
</comment>
<sql>
ALTER TABLE `tz_base_unit_licence` modify column `apply_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '许可方式/许可状态';
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-06"
>
<comment>
单位注册使用到的字典 设备品种
</comment>
<sql>
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1600', '1000', '锅炉', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1601', '1100', '承压蒸汽锅炉', 'sbpz', NULL, '1600', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1602', '1200', '承压热水锅炉', 'sbpz', NULL, '1600', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1603', '1300', '有机热载体锅炉', 'sbpz', NULL, '1600', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1604', '1310', '有机热载体气相炉', 'sbpz', NULL, '1603', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1605', '1320', '有机热载体液相炉', 'sbpz', NULL, '1603', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1606', '2000', '压力容器', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1607', '2100', '固定式压力容器', 'sbpz', NULL, '1606', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1608', '2110', '超高压容器', 'sbpz', NULL, '1607', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1609', '2130', '第三类压力容器', 'sbpz', NULL, '1607', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1610', '2150', '第二类压力容器', 'sbpz', NULL, '1607', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1611', '2170', '第一类压力容器', 'sbpz', NULL, '1607', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1612', '2200', '移动式压力容器', 'sbpz', NULL, '1606', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1613', '2210', '铁路罐车', 'sbpz', NULL, '1612', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1614', '2220', '汽车罐车', 'sbpz', NULL, '1612', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1615', '2230', '长管拖车', 'sbpz', NULL, '1612', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1616', '2240', '罐式集装箱', 'sbpz', NULL, '1612', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1617', '2250', '管束式集装箱', 'sbpz', NULL, '1612', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1618', '2300', '气瓶', 'sbpz', NULL, '1606', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1619', '2310', '无缝气瓶', 'sbpz', NULL, '1618', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1620', '2320', '焊接气瓶', 'sbpz', NULL, '1618', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1621', '23T0', '特种气瓶(内装填料气瓶、纤维缠绕气瓶、低温绝热气瓶)', 'sbpz', NULL, '1618', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1622', '2400', '氧舱', 'sbpz', NULL, '1606', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1623', '2410', '医用氧舱', 'sbpz', NULL, '1622', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1624', '2420', '高气压舱', 'sbpz', NULL, '1622', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1625', '3000', '电梯', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1626', '3100', '曳引与强制驱动电梯', 'sbpz', NULL, '1625', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1627', '3110', '曳引驱动乘客电梯', 'sbpz', NULL, '1626', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1628', '3120', '曳引驱动载货电梯', 'sbpz', NULL, '1626', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1629', '3130', '强制驱动载货电梯', 'sbpz', NULL, '1626', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1630', '3200', '液压驱动电梯', 'sbpz', NULL, '1625', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1631', '3210', '液压乘客电梯', 'sbpz', NULL, '1630', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1632', '3220', '液压载货电梯', 'sbpz', NULL, '1630', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1633', '3300', '自动扶梯与自动人行道', 'sbpz', NULL, '1625', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1634', '3310', '自动扶梯', 'sbpz', NULL, '1633', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1635', '3320', '自动人行道', 'sbpz', NULL, '1633', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1636', '3400', '其它类型电梯', 'sbpz', NULL, '1625', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1637', '3410', '防爆电梯', 'sbpz', NULL, '1636', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1638', '3420', '消防员电梯', 'sbpz', NULL, '1636', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1639', '3430', '杂物电梯', 'sbpz', NULL, '1636', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1640', '4000', '起重机械', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1641', '4100', '桥式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1642', '4110', '通用桥式起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1643', '4130', '防爆桥式起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1644', '4140', '绝缘桥式起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1645', '4150', '冶金桥式起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1646', '4170', '电动单梁起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1647', '4190', '电动葫芦桥式起重机', 'sbpz', NULL, '1641', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1648', '4200', '门式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1649', '4210', '通用门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1650', '4220', '防爆门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1651', '4230', '轨道式集装箱门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1652', '4240', '轮胎式集装箱门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1653', '4250', '岸边集装箱起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1654', '4260', '造船门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1655', '4270', '电动葫芦门式起重机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1656', '4280', '装卸桥', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1657', '4290', '架桥机', 'sbpz', NULL, '1648', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1658', '4300', '塔式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1659', '4310', '普通塔式起重机', 'sbpz', NULL, '1658', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1660', '4320', '电站塔式起重机', 'sbpz', NULL, '1658', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1661', '4400', '流动式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1662', '4410', '轮胎起重机', 'sbpz', NULL, '1661', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1663', '4420', '履带起重机', 'sbpz', NULL, '1661', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1664', '4440', '集装箱正面吊运起重机', 'sbpz', NULL, '1661', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1665', '4450', '铁路起重机', 'sbpz', NULL, '1661', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1666', '4700', '门座式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1667', '4710', '门座起重机', 'sbpz', NULL, '1666', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1668', '4760', '固定式起重机', 'sbpz', NULL, '1666', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1669', '4800', '升降机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1670', '4860', '施工升降机', 'sbpz', NULL, '1669', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1671', '4870', '简易升降机', 'sbpz', NULL, '1669', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1672', '4900', '缆索式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1673', '4A00', '桅杆式起重机', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1674', '4D00', '机械式停车设备', 'sbpz', NULL, '1640', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1675', '5000', '场(厂)内专用机动车辆', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1676', '5100', '机动工业车辆', 'sbpz', NULL, '1675', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1677', '5110', '叉车', 'sbpz', NULL, '1676', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1678', '5200', '非公路用旅游观光车辆', 'sbpz', NULL, '1675', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1679', '6000', '大型游乐设施', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1680', '6100', '观览车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1681', '6200', '滑行车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1682', '6300', '架空游览车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1683', '6400', '陀螺类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1684', '6500', '飞行塔类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1685', '6600', '转马类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1686', '6700', '自控飞机类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1687', '6800', '赛车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1688', '6900', '小火车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1689', '6A00', '碰碰车类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1690', '6B00', '滑道类', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1691', '6D00', '水上游乐设施', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1692', '6D10', '峡谷漂流系列', 'sbpz', NULL, '1691', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1693', '6D20', '水滑梯系列', 'sbpz', NULL, '1691', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1694', '6D40', '碰碰船系列', 'sbpz', NULL, '1691', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1695', '6E00', '无动力游乐设施', 'sbpz', NULL, '1679', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1696', '6E10', '蹦极系列', 'sbpz', NULL, '1695', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1697', '6E20', '滑索系列', 'sbpz', NULL, '1695', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1698', '6E30', '空中飞人系列', 'sbpz', NULL, '1695', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1699', '6E40', '系留式观光气球系列', 'sbpz', NULL, '1695', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1700', '7000', '压力管道元件', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1701', '7100', '压力管道管子', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1702', '7110', '无缝钢管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1703', '7120', '焊接钢管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1704', '7130', '有色金属管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1705', '7140', '球墨铸铁管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1706', '7150', '复合管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1707', '71F0', '非金属材料管', 'sbpz', NULL, '1701', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1708', '7200', '压力管道管件', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1709', '7210', '非焊接管件(无缝管件)', 'sbpz', NULL, '1708', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1710', '7220', '焊接管件(有缝管件)', 'sbpz', NULL, '1708', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1711', '7230', '锻制管件', 'sbpz', NULL, '1708', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1712', '7270', '复合管件', 'sbpz', NULL, '1708', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1713', '72F0', '非金属管件', 'sbpz', NULL, '1708', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1714', '7300', '压力管道阀门', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1715', '7310', '安全阀', 'sbpz', NULL, '1714', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1716', '7320', '金属阀门', 'sbpz', NULL, '1714', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1717', '73F0', '非金属阀门', 'sbpz', NULL, '1714', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1718', '73T0', '特种阀门', 'sbpz', NULL, '1714', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1719', '7400', '压力管道法兰', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1720', '7410', '钢制锻造法兰', 'sbpz', NULL, '1719', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1721', '7420', '非金属法兰', 'sbpz', NULL, '1719', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1722', '7500', '补偿器', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1723', '7510', '金属波纹膨胀节', 'sbpz', NULL, '1722', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1724', '7530', '旋转补偿器', 'sbpz', NULL, '1722', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1725', '75F0', '非金属膨胀节', 'sbpz', NULL, '1722', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1726', '7700', '压力管道密封元件', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1727', '7710', '金属密封元件', 'sbpz', NULL, '1726', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1728', '77F0', '非金属密封元件', 'sbpz', NULL, '1726', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1729', '7T00', '压力管道特种元件', 'sbpz', NULL, '1700', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1730', '7T10', '防腐管道元件', 'sbpz', NULL, '1729', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1731', '7TZ0', '元件组合装置', 'sbpz', NULL, '1729', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1732', '8000', '压力管道', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1733', '8100', '长输管道', 'sbpz', NULL, '1732', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1734', '8110', '输油管道', 'sbpz', NULL, '1733', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1735', '8120', '输气管道', 'sbpz', NULL, '1733', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1736', '8200', '公用管道', 'sbpz', NULL, '1732', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1737', '8210', '燃气管道', 'sbpz', NULL, '1736', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1738', '8220', '热力管道', 'sbpz', NULL, '1736', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1739', '8300', '工业管道', 'sbpz', NULL, '1732', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1740', '8310', '工艺管道', 'sbpz', NULL, '1739', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1741', '8320', '动力管道', 'sbpz', NULL, '1739', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1742', '8330', '制冷管道', 'sbpz', NULL, '1739', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1743', '9000', '客运索道', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1744', '9100', '客运架空索道', 'sbpz', NULL, '1743', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1745', '9110', '往复式客运架空索道', 'sbpz', NULL, '1744', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1746', '9120', '循环式客运架空索道', 'sbpz', NULL, '1744', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1747', '9200', '客运缆车', 'sbpz', NULL, '1743', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1748', '9210', '往复式客运缆车', 'sbpz', NULL, '1747', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1749', '9220', '循环式客运缆车', 'sbpz', NULL, '1747', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1750', '9300', '客运拖牵索道', 'sbpz', NULL, '1743', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1751', '9310', '低位客运拖牵索道', 'sbpz', NULL, '1750', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1752', '9320', '高位客运拖牵索道', 'sbpz', NULL, '1750', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1753', 'F000', '安全附件', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1754', 'F220', '爆破片装置', 'sbpz', NULL, '1753', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1755', 'F230', '紧急切断阀', 'sbpz', NULL, '1753', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1756', 'F260', '气瓶阀门', 'sbpz', NULL, '1753', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1757', '1110', '承压蒸汽锅炉', 'SBPZ', NULL, '1601', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1758', '1210', '承压热水锅炉', 'SBPZ', NULL, '1602', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1759', '4910', '缆索式起重机', 'SBPZ', NULL, '1672', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1760', '4A10', '桅杆式起重机', 'SBPZ', NULL, '1673', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1761', '4D10', '机械式停车设备', 'SBPZ', NULL, '1674', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1762', '6110', '观览车类', 'SBPZ', NULL, '1680', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1763', '6210', '滑行车类', 'SBPZ', NULL, '1681', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1764', '6310', '架空游览车类', 'SBPZ', NULL, '1682', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1765', '6410', '陀螺类', 'SBPZ', NULL, '1683', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1766', '6510', '飞行塔类', 'SBPZ', NULL, '1684', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1767', '6610', '转马类', 'SBPZ', NULL, '1685', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1768', '6710', '自控飞机类', 'SBPZ', NULL, '1686', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1769', '6810', '赛车类', 'SBPZ', NULL, '1687', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1770', '6910', '小火车类', 'SBPZ', NULL, '1688', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1771', '6A10', '碰碰车类', 'SBPZ', NULL, '1689', NULL, NULL, NULL, b'0', '1');
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1772', '6B10', '滑道类', 'SBPZ', NULL, '1690', NULL, NULL, NULL, b'0', '1');
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-07"
>
<comment>
单位注册使用到的字典 许可项目
</comment>
<sql>
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2000,0001,"压力容器设计","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2001,0002,"压力管道设计","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2002,0003,"锅炉制造(含安装(散装锅炉除外)、修理 、改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2003,0004,"压力容器制造(含安装,修理,改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2004,0005,"安全附件制造","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2005,0006,"压力管道元件制造","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2006,0007,"境外特种设备制造","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2007,0008,"电梯制造(含安装、修理、改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2008,0009,"起重机械制造(含安装、修理改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2009,0010,"客运索道制造(含安装、修理、改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2010,0011,"场(厂)内专用机动车辆制造(含安装、修理、改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2011,0012,"大型游乐设施制造(含安装、修理、改造)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2012,0013,"承压类特种设备安装、修理、改造","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2013,0014,"电梯安装 ( 含修理 )","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2014,0015,"起重机械安装(含修理)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2015,0016,"客运索道安装 (含修理)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2016,0017,"大型游乐设施安装(含修理)","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2017,0018,"场(厂)内专用机动车辆修理","XKXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2018,0019,"移动式压力容器、气瓶充装","XKXM",b'0',1);
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-08"
>
<comment>
单位注册使用到的字典 许可子项目
</comment>
<sql>
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2019,0100,"固定式压力容器规则设计","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2020,0101,"移动式压力容器规则设计","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2021,0102,"长输管道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2022,0103,"公用管道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2023,0104,"工业管道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2024,0105,"锅炉","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2026,0107,"移动式压力容器,包含:、铁路罐车、汽车罐车、罐式集装箱、长管拖车 、管束式集装箱","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2027,0108,"氧舱","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2029,0110,"爆破片装置","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2030,0111,"安全阀","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2031,0112,"紧急切断阀","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2032,0113,"燃气气瓶阀门","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2033,0114,"压力管道管子","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2034,0115,"压力管道阀门(","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2035,0116,"压力管道管件","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2036,0117,"压力管道法兰","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2037,0118,"补偿器","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2038,0119,"元件组合装置","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2039,0120,"曳引驱动乘客电梯(含消防员电梯)(A2,B)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2040,0121,"曳引驱动载货电梯和强制驱动载货电梯 (含防爆电梯中的载货电梯)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2041,0122,"自动扶梯与自动人行道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2042,0123,"液压驱动电梯","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2043,0124,"杂物电梯(含防爆电梯中的杂物电梯)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2044,0125,"桥式、门式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2045,0126,"流动式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2046,0127,"门座式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2047,0128,"机械式停车设备","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2048,0129,"塔式起重机、升降机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2049,0130,"缆索式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2050,0131,"枪杆式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2051,0132,"客运架空索道(脱挂抱索器索道、双线往复式索道、单线固定抱索修器索道)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2052,0133,"客运缆车","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2053,0134,"客运拖牵索道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2054,0135,"机动工业车辆(叉车)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2055,0136,"非公路用旅游观光车辆(观光车、观光列车)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2056,0137,"滑行和旋转类(含游乐车辆和无动力类)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2057,0138,"游乐车辆和无动力类","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2058,0139,"水上游乐设施","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2059,0140,"锅炉安装(含修理 、改造)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2060,0141,"长输管道安装(含修理、改造)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2061,0142,"公用管道安装","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2062,0143,"工业管道安装","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2063,0144,"曳引驱动乘客电梯(含消防员电梯)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2064,0145,"曳引驱动载货电梯和强制驱动载货电梯 (含防爆电梯中的载货电梯 )","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2065,0146,"自动扶梯与自动人行道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2066,0147,"液压驱动电梯","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2067,0148,"杂物电梯(含防爆电梯中的杂物电梯)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2068,0149,"桥式 、门式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2069,0150,"流动式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2070,0151,"门座式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2071,0152,"机械式停车设备","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2072,0153,"塔式起重机、升降机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2073,0154,"缆索式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2074,0155,"桅杆式起重机","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2075,0156,"双线往复式索道单线固定抱索器索道)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2076,0157,"客运缆车","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2077,0158,"客运拖牵索道","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2078,0159,"滑行和旋转类(含游乐车辆和无动力类)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2079,0160,"游乐车辆和无动力类","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2080,0161,"水上游乐设施","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2081,0162,"机动工业车辆(叉车)","XKZXM",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2082,0163,"非公路用旅游观光车辆(观光车、观光列车)","XKZXM",b'0',1);
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-09"
>
<comment>
单位注册使用到的字典 许可参数
</comment>
<sql>
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2083,0200,"设计压力大于 4.0MPa(表压,下同)的长输输油输气管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2084,0201,"设计压力大于 4.0MPa(表压,下同)的长输输油输气管道以外其他长输管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2085,0202,"燃气管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2086,0203,"热力管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2087,0204,"动力管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2091,0208,"GC1级以外的工艺管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2092,0209,"制冷管道","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2093,0210,"额定出口压力大于 2.5MPa 的蒸汽和热水锅炉","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2094,0211,"额定出口压力小于等于 2.5MPa 的蒸汽和热水锅炉 ,有机热载体锅炉 。","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2095,0212,"用于移动式压力容器上的紧急切断阀","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2096,0213,"公称压力大于或者等于10MPa且公称直径大于或者等于 300mm的金属阀门","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2097,0214,"公称压力大于 4.0MPa 且设计温度低于或者等于零下 101℃的金属阀门","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2098,0215,"公称压力 大于或者等于 10 MPa 且公称通径大于或者等于 100mm 的安全阀;","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2099,0216,"公称压力 大于或者等于 4.0MPa","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2100,0217,"公称直径大于或者等于150mm且公称压力 大于或者等于10MPa用于压力管道的无缝钢管","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2101,0218,"公称直径大于或者等于800mm用于输送石油天然气的焊接钢管","XKCS",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2102,0219,"公称直径大于或者等于 450mm用于输送燃气的聚乙烯管","XKCS",b'0',1);
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-10"
>
<comment>
单位注册使用到的字典 充装介质类别
</comment>
<sql>
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2103,0300,"紧缩气体","CZJZLB",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2104,0301,"液化气体","CZJZLB",b'0',1);
REPLACE INTO `cb_data_dictionary`(`sequence_nbr`, `code`, `name`, `type`, `is_delete`, `sort_num`) VALUES (2105,0302,"溶解气体","CZJZLB",b'0',1);
</sql>
</changeSet>
<changeSet
author=
"suhuiguang"
id=
"1660546840856-11"
>
<comment>
单位注册使用到的字典 证书类型名称修改
</comment>
<sql>
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `parent`, `rec_user_name`, `rec_user_id`, `rec_date`, `is_delete`, `sort_num`) VALUES ('1202', '1202', '充装单位', 'zslx', NULL, NULL, NULL, NULL, NULL, b'0', '1');
</sql>
</changeSet>
</databaseChangeLog>
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