Commit f40c7e8d authored by 吴江's avatar 吴江

Merge branch 'develop_unit_register' into 'developer'

Develop unit register See merge request !13
parents f806b680 eb45d6c6
...@@ -11,4 +11,4 @@ redis.cache.failure.time=10800 ...@@ -11,4 +11,4 @@ redis.cache.failure.time=10800
# mybatis-plus # mybatis-plus
mybatis-plus.mapper-locations=classpath:mapper/*Mapper.xml mybatis-plus.mapper-locations=classpath:mapper/*Mapper.xml
mybatis-plus.type-aliases-super-type=org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity mybatis-plus.type-aliases-super-type=org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
mybatis-plus.global-config.db-config.id-type=id_worker mybatis-plus.global-config.db-config.id-type=ID_WORKER
package com.yeejoin.amos.boot.module.tzs.api.dto; package com.yeejoin.amos.boot.module.tzs.api.dto;
import java.util.List;
import com.yeejoin.amos.boot.biz.common.dto.BaseDto; import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgConstructionInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgDesignInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgInspectionInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgMaintenanceInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgOtherInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgProduceInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgRegistrationInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgSuperviseInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgUseInfo;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -83,16 +76,29 @@ public class TzsJgBasicInfoDto extends BaseDto { ...@@ -83,16 +76,29 @@ public class TzsJgBasicInfoDto extends BaseDto {
@ApiModelProperty(value = "施工信息-最新一次") @ApiModelProperty(value = "施工信息-最新一次")
private TzsJgConstructionInfoDto constructionInfo; private TzsJgConstructionInfoDto constructionInfo;
@ApiModelProperty(value = "施工信息列表")
private List<TzsJgConstructionInfoDto> constructionInfoList;
@ApiModelProperty(value = "维保信息") @ApiModelProperty(value = "维保信息")
private TzsJgMaintenanceInfoDto maintenanceInfo; private TzsJgMaintenanceInfoDto maintenanceInfo;
@ApiModelProperty(value = "维保信息列表")
private List<TzsJgMaintenanceInfoDto> maintenanceInfoList;
@ApiModelProperty(value = "技术信息") @ApiModelProperty(value = "技术信息")
private TzsJgElevatorTechInfoDto elevatorTechInfo; private TzsJgElevatorTechInfoDto elevatorTechInfo;
@ApiModelProperty(value = "检验信息") @ApiModelProperty(value = "检验信息")
private TzsJgInspectionInfoDto inspectionInfo; private TzsJgInspectionInfoDto inspectionInfo;
@ApiModelProperty(value = "检验信息列表")
private List<TzsJgInspectionInfoDto> inspectionInfoList;
@ApiModelProperty(value = "其他信息") @ApiModelProperty(value = "其他信息")
private TzsJgOtherInfoDto otherInfo; private TzsJgOtherInfoDto otherInfo;
@ApiModelProperty(value = "附件信息")
private List<TzsJgEnclosureInfoDto> enclousureInfo;
private String superviseKey;
} }
...@@ -51,4 +51,5 @@ public class TzsJgFile extends BaseEntity { ...@@ -51,4 +51,5 @@ public class TzsJgFile extends BaseEntity {
@ApiModelProperty(value = "对接公司编码") @ApiModelProperty(value = "对接公司编码")
private String appId; private String appId;
private Long squNbr;
} }
...@@ -10,7 +10,7 @@ package com.yeejoin.amos.boot.module.tzs.api.enums; ...@@ -10,7 +10,7 @@ package com.yeejoin.amos.boot.module.tzs.api.enums;
public enum JgFileObjectEnum { public enum JgFileObjectEnum {
DESIGN_INFO("designInf"), DESIGN_INFO("designInfo"),
PRODUCE_INFO("produceInfo"), PRODUCE_INFO("produceInfo"),
REGISTRATION_INFO("registrationInfo"), REGISTRATION_INFO("registrationInfo"),
MAINTENANCE_INFO("maintenanceInfo"), MAINTENANCE_INFO("maintenanceInfo"),
......
...@@ -39,6 +39,11 @@ ...@@ -39,6 +39,11 @@
supervise.sequence_code supervise.sequence_code
<where> <where>
<if <if
test="tzsJgBasicInfoDto.orgBranchCode!=null and tzsJgBasicInfoDto.orgBranchCode!='' ">
AND supervise.org_branch_code LIKE
CONCAT('%',#{tzsJgBasicInfoDto.orgBranchCode},'%')
</if>
<if
test="tzsJgBasicInfoDto.orgBranchName!=null and tzsJgBasicInfoDto.orgBranchName!='' "> test="tzsJgBasicInfoDto.orgBranchName!=null and tzsJgBasicInfoDto.orgBranchName!='' ">
AND supervise.org_branch_name LIKE AND supervise.org_branch_name LIKE
CONCAT('%',#{tzsJgBasicInfoDto.orgBranchName},'%') CONCAT('%',#{tzsJgBasicInfoDto.orgBranchName},'%')
...@@ -70,7 +75,7 @@ ...@@ -70,7 +75,7 @@
</if> </if>
<if <if
test="tzsJgBasicInfoDto.equDefine!=null and tzsJgBasicInfoDto.equDefine!='' "> test="tzsJgBasicInfoDto.equDefine!=null and tzsJgBasicInfoDto.equDefine!='' ">
AND supervise.equ_define LIKE AND registration.equ_define LIKE
CONCAT('%',#{tzsJgBasicInfoDto.equDefine},'%') CONCAT('%',#{tzsJgBasicInfoDto.equDefine},'%')
</if> </if>
<if <if
......
package com.yeejoin.amos.boot.module.tzs.biz.service.impl; package com.yeejoin.amos.boot.module.tzs.biz.service.impl;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
...@@ -14,6 +15,7 @@ import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgBasicInfoDto; ...@@ -14,6 +15,7 @@ import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgBasicInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgConstructionInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgConstructionInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgDesignInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgDesignInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgElevatorTechInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgElevatorTechInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgEnclosureInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgInspectionInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgInspectionInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgMaintenanceInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgMaintenanceInfoDto;
import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgOtherInfoDto; import com.yeejoin.amos.boot.module.tzs.api.dto.TzsJgOtherInfoDto;
...@@ -25,6 +27,7 @@ import com.yeejoin.amos.boot.module.tzs.api.entity.PageParam; ...@@ -25,6 +27,7 @@ import com.yeejoin.amos.boot.module.tzs.api.entity.PageParam;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgConstructionInfo; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgConstructionInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgDesignInfo; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgDesignInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgElevatorTechInfo; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgElevatorTechInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgEnclosureInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgFile; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgFile;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgInspectionInfo; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgInspectionInfo;
import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgMaintenanceInfo; import com.yeejoin.amos.boot.module.tzs.api.entity.TzsJgMaintenanceInfo;
...@@ -39,6 +42,7 @@ import com.yeejoin.amos.boot.module.tzs.api.mapper.TzsJgMapper; ...@@ -39,6 +42,7 @@ import com.yeejoin.amos.boot.module.tzs.api.mapper.TzsJgMapper;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgConstructionInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgConstructionInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgDesignInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgDesignInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgElevatorTechInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgElevatorTechInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgEnclosureInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgFileService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgFileService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgInspectionInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgInspectionInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgMaintenanceInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgMaintenanceInfoService;
...@@ -48,6 +52,9 @@ import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgRegistrationInfoServic ...@@ -48,6 +52,9 @@ import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgRegistrationInfoServic
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgSuperviseInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgSuperviseInfoService;
import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgUseInfoService; import com.yeejoin.amos.boot.module.tzs.api.service.ITzsJgUseInfoService;
import com.yeejoin.amos.component.feign.model.FeignClientResult;
import com.yeejoin.amos.feign.privilege.Privilege;
import com.yeejoin.amos.feign.privilege.model.CompanyModel;
@Service @Service
public class TzsJgServiceImpl implements ITzsJgService { public class TzsJgServiceImpl implements ITzsJgService {
...@@ -88,6 +95,9 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -88,6 +95,9 @@ public class TzsJgServiceImpl implements ITzsJgService {
@Autowired @Autowired
ITzsJgFileService iTzsJgFileService; ITzsJgFileService iTzsJgFileService;
@Autowired
ITzsJgEnclosureInfoService iTzsJgEnclosureInfoService;
/** /**
* 文件服务器地址 * 文件服务器地址
*/ */
...@@ -96,6 +106,13 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -96,6 +106,13 @@ public class TzsJgServiceImpl implements ITzsJgService {
@Override @Override
public IPage<TzsJgBasicInfoDto> page(PageParam pageParam, TzsJgBasicInfoDto tzsJgBasicInfoDto) { public IPage<TzsJgBasicInfoDto> page(PageParam pageParam, TzsJgBasicInfoDto tzsJgBasicInfoDto) {
if (tzsJgBasicInfoDto.getSuperviseKey() != null) {
FeignClientResult<CompanyModel> result = Privilege.companyClient
.seleteOne(Long.valueOf(tzsJgBasicInfoDto.getSuperviseKey()));
if (result.getResult() != null) {
tzsJgBasicInfoDto.setOrgBranchCode(result.getResult().getOrgCode());
}
}
Page<TzsJgBasicInfoDto> page = new Page<>(pageParam.getCurrent(), pageParam.getSize()); Page<TzsJgBasicInfoDto> page = new Page<>(pageParam.getCurrent(), pageParam.getSize());
return tzsJgMapper.page(page, tzsJgBasicInfoDto); return tzsJgMapper.page(page, tzsJgBasicInfoDto);
} }
...@@ -115,12 +132,12 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -115,12 +132,12 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (designInfo != null) { if (designInfo != null) {
BeanUtils.copyProperties(designInfo, designInfoDto); BeanUtils.copyProperties(designInfo, designInfoDto);
List<TzsJgFile> designFile = iTzsJgFileService List<TzsJgFile> designFile = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, designInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.DESIGN_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.DESIGN_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.DESIGN_FILE.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.DESIGN_FILE.getAttribute()));
designFile.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); designFile.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
List<TzsJgFile> designCode = iTzsJgFileService List<TzsJgFile> designCode = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, designInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.DESIGN_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.DESIGN_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.DESIGN_CODE.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.DESIGN_CODE.getAttribute()));
designCode.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); designCode.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
...@@ -133,23 +150,23 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -133,23 +150,23 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (produceInfo != null) { if (produceInfo != null) {
BeanUtils.copyProperties(produceInfo, produceInfoDto); BeanUtils.copyProperties(produceInfo, produceInfoDto);
List<TzsJgFile> produceStandard = iTzsJgFileService List<TzsJgFile> produceStandard = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, produceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.PRODUCE_STANDARD.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.PRODUCE_STANDARD.getAttribute()));
List<TzsJgFile> productCertificate = iTzsJgFileService List<TzsJgFile> productCertificate = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, produceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.PRODUCT_CERTIFICATE.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.PRODUCT_CERTIFICATE.getAttribute()));
List<TzsJgFile> iumInstructions = iTzsJgFileService List<TzsJgFile> iumInstructions = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, produceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.IUM_INSTRUCTIONS.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.IUM_INSTRUCTIONS.getAttribute()));
List<TzsJgFile> supervisionCert = iTzsJgFileService List<TzsJgFile> supervisionCert = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, produceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.SUPERVISION_CERT.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.SUPERVISION_CERT.getAttribute()));
List<TzsJgFile> ceCert = iTzsJgFileService List<TzsJgFile> ceCert = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, produceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.PRODUCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.CE_CERT.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.CE_CERT.getAttribute()));
produceStandard.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); produceStandard.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
...@@ -169,7 +186,7 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -169,7 +186,7 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (registrationInfo != null) { if (registrationInfo != null) {
BeanUtils.copyProperties(registrationInfo, registrationInfoDto); BeanUtils.copyProperties(registrationInfo, registrationInfoDto);
List<TzsJgFile> useRegistCertificate = iTzsJgFileService.list(new LambdaQueryWrapper<TzsJgFile>() List<TzsJgFile> useRegistCertificate = iTzsJgFileService.list(new LambdaQueryWrapper<TzsJgFile>()
.eq(TzsJgFile::getSequenceCode, code) .eq(TzsJgFile::getSquNbr, registrationInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.REGISTRATION_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.REGISTRATION_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.USE_REGIST_CERTIFICATE.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.USE_REGIST_CERTIFICATE.getAttribute()));
useRegistCertificate.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); useRegistCertificate.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
...@@ -188,6 +205,18 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -188,6 +205,18 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (constructionInfo != null) { if (constructionInfo != null) {
BeanUtils.copyProperties(constructionInfo, constructionInfoDto); BeanUtils.copyProperties(constructionInfo, constructionInfoDto);
} }
List<TzsJgConstructionInfo> constructionInfoList = iTzsJgConstructionInfoService
.list(new LambdaQueryWrapper<TzsJgConstructionInfo>().eq(TzsJgConstructionInfo::getSequenceCode, code));
List<TzsJgConstructionInfoDto> constructionInfoDtoList = new ArrayList<>();
if (!constructionInfoList.isEmpty()) {
for (TzsJgConstructionInfo constructionInfoOne : constructionInfoList) {
TzsJgConstructionInfoDto constructionInfoDtoOne = new TzsJgConstructionInfoDto();
BeanUtils.copyProperties(constructionInfoOne, constructionInfoDtoOne);
constructionInfoDtoList.add(constructionInfoDtoOne);
}
}
TzsJgMaintenanceInfo maintenanceInfo = iTzsJgMaintenanceInfoService TzsJgMaintenanceInfo maintenanceInfo = iTzsJgMaintenanceInfoService
.getOne(new LambdaQueryWrapper<TzsJgMaintenanceInfo>().eq(TzsJgMaintenanceInfo::getSequenceCode, code) .getOne(new LambdaQueryWrapper<TzsJgMaintenanceInfo>().eq(TzsJgMaintenanceInfo::getSequenceCode, code)
.orderByDesc(TzsJgMaintenanceInfo::getRecDate).last("limit 1")); .orderByDesc(TzsJgMaintenanceInfo::getRecDate).last("limit 1"));
...@@ -195,12 +224,30 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -195,12 +224,30 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (maintenanceInfo != null) { if (maintenanceInfo != null) {
BeanUtils.copyProperties(maintenanceInfo, maintenanceInfoDto); BeanUtils.copyProperties(maintenanceInfo, maintenanceInfoDto);
List<TzsJgFile> repairInform = iTzsJgFileService List<TzsJgFile> repairInform = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, maintenanceInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.MAINTENANCE_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.MAINTENANCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.REPAIR_INFORM.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.REPAIR_INFORM.getAttribute()));
repairInform.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); repairInform.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
maintenanceInfoDto.setRepairInform(repairInform); maintenanceInfoDto.setRepairInform(repairInform);
} }
List<TzsJgMaintenanceInfo> maintenanceInfoList = iTzsJgMaintenanceInfoService
.list(new LambdaQueryWrapper<TzsJgMaintenanceInfo>().eq(TzsJgMaintenanceInfo::getSequenceCode, code));
List<TzsJgMaintenanceInfoDto> maintenanceInfoDtoList = new ArrayList<>();
if (!maintenanceInfoList.isEmpty()) {
for (TzsJgMaintenanceInfo maintenanceInfoOne : maintenanceInfoList) {
TzsJgMaintenanceInfoDto maintenanceInfoDtoOne = new TzsJgMaintenanceInfoDto();
BeanUtils.copyProperties(maintenanceInfoOne, maintenanceInfoDtoOne);
List<TzsJgFile> repairInform = iTzsJgFileService.list(new LambdaQueryWrapper<TzsJgFile>()
.eq(TzsJgFile::getSquNbr, maintenanceInfoOne.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.MAINTENANCE_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.REPAIR_INFORM.getAttribute()));
repairInform.forEach(e -> e.setFileUrl(fileServerUrl + e.getFileUrl()));
maintenanceInfoDtoOne.setRepairInform(repairInform);
maintenanceInfoDtoList.add(maintenanceInfoDtoOne);
}
}
TzsJgInspectionInfo inspectionInfo = iTzsJgInspectionInfoService TzsJgInspectionInfo inspectionInfo = iTzsJgInspectionInfoService
.getOne(new LambdaQueryWrapper<TzsJgInspectionInfo>().eq(TzsJgInspectionInfo::getSequenceCode, code) .getOne(new LambdaQueryWrapper<TzsJgInspectionInfo>().eq(TzsJgInspectionInfo::getSequenceCode, code)
.orderByDesc(TzsJgInspectionInfo::getRecDate).last("limit 1")); .orderByDesc(TzsJgInspectionInfo::getRecDate).last("limit 1"));
...@@ -208,12 +255,30 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -208,12 +255,30 @@ public class TzsJgServiceImpl implements ITzsJgService {
if (inspectionInfo != null) { if (inspectionInfo != null) {
BeanUtils.copyProperties(inspectionInfo, inspectionInfoDto); BeanUtils.copyProperties(inspectionInfo, inspectionInfoDto);
List<TzsJgFile> inspectionReport = iTzsJgFileService List<TzsJgFile> inspectionReport = iTzsJgFileService
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) .list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, inspectionInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.INSPECTION_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.INSPECTION_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.INSPECTION_REPORT.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.INSPECTION_REPORT.getAttribute()));
inspectionReport.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); inspectionReport.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
inspectionInfoDto.setInspectionReport(inspectionReport); inspectionInfoDto.setInspectionReport(inspectionReport);
} }
List<TzsJgInspectionInfo> inspectionInfoList = iTzsJgInspectionInfoService
.list(new LambdaQueryWrapper<TzsJgInspectionInfo>().eq(TzsJgInspectionInfo::getSequenceCode, code));
List<TzsJgInspectionInfoDto> inspectionInfoDtoList = new ArrayList<>();
if (!inspectionInfoList.isEmpty()) {
for (TzsJgInspectionInfo inspectionInfoOne : inspectionInfoList) {
TzsJgInspectionInfoDto inspectionInfoDtoOne = new TzsJgInspectionInfoDto();
BeanUtils.copyProperties(inspectionInfoOne, inspectionInfoDtoOne);
List<TzsJgFile> repairInform = iTzsJgFileService.list(
new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, inspectionInfoOne.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.INSPECTION_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.INSPECTION_REPORT.getAttribute()));
repairInform.forEach(e -> e.setFileUrl(fileServerUrl + e.getFileUrl()));
inspectionInfoDtoOne.setInspectionReport(repairInform);
inspectionInfoDtoList.add(inspectionInfoDtoOne);
}
}
TzsJgOtherInfo otherInfo = iTzsJgOtherInfoService TzsJgOtherInfo otherInfo = iTzsJgOtherInfoService
.getOne(new LambdaQueryWrapper<TzsJgOtherInfo>().eq(TzsJgOtherInfo::getSequenceCode, code)); .getOne(new LambdaQueryWrapper<TzsJgOtherInfo>().eq(TzsJgOtherInfo::getSequenceCode, code));
TzsJgOtherInfoDto otherInfoDto = new TzsJgOtherInfoDto(); TzsJgOtherInfoDto otherInfoDto = new TzsJgOtherInfoDto();
...@@ -225,13 +290,26 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -225,13 +290,26 @@ public class TzsJgServiceImpl implements ITzsJgService {
TzsJgElevatorTechInfoDto elevatorTechInfoDto = new TzsJgElevatorTechInfoDto(); TzsJgElevatorTechInfoDto elevatorTechInfoDto = new TzsJgElevatorTechInfoDto();
if (elevatorTechInfo != null) { if (elevatorTechInfo != null) {
BeanUtils.copyProperties(elevatorTechInfo, elevatorTechInfoDto); BeanUtils.copyProperties(elevatorTechInfo, elevatorTechInfoDto);
List<TzsJgFile> governorEffiReport = iTzsJgFileService List<TzsJgFile> governorEffiReport = iTzsJgFileService.list(
.list(new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSequenceCode, code) new LambdaQueryWrapper<TzsJgFile>().eq(TzsJgFile::getSquNbr, elevatorTechInfo.getSequenceNbr())
.eq(TzsJgFile::getObjectType, JgFileObjectEnum.ELEVATOR_TECH_INFO.getObject()) .eq(TzsJgFile::getObjectType, JgFileObjectEnum.ELEVATOR_TECH_INFO.getObject())
.eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.GOVERNOR_EFFI_REPORT.getAttribute())); .eq(TzsJgFile::getAttributeType, JgFileAttributeEnum.GOVERNOR_EFFI_REPORT.getAttribute()));
governorEffiReport.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl())); governorEffiReport.forEach(i -> i.setFileUrl(fileServerUrl + i.getFileUrl()));
elevatorTechInfoDto.setGovernorEffiReport(governorEffiReport); elevatorTechInfoDto.setGovernorEffiReport(governorEffiReport);
} }
List<TzsJgEnclosureInfo> enclosureInfoList = iTzsJgEnclosureInfoService
.list(new LambdaQueryWrapper<TzsJgEnclosureInfo>().eq(TzsJgEnclosureInfo::getSequenceCode, code));
List<TzsJgEnclosureInfoDto> enclosureInfoDtoList = new ArrayList<TzsJgEnclosureInfoDto>();
if (!enclosureInfoList.isEmpty()) {
for (TzsJgEnclosureInfo enclosureInfo : enclosureInfoList) {
TzsJgEnclosureInfoDto enclosureInfoDtoOne = new TzsJgEnclosureInfoDto();
BeanUtils.copyProperties( enclosureInfo, enclosureInfoDtoOne);
//repairInform.forEach(e -> e.setFileUrl(fileServerUrl + e.getFileUrl()));
enclosureInfoDtoList.add(enclosureInfoDtoOne);
}
}
dto.setSequenceCode(code); dto.setSequenceCode(code);
if (superviseInfo != null) { if (superviseInfo != null) {
dto.setSuperviseCode(superviseInfo.getSuperviseCode()); dto.setSuperviseCode(superviseInfo.getSuperviseCode());
...@@ -265,8 +343,12 @@ public class TzsJgServiceImpl implements ITzsJgService { ...@@ -265,8 +343,12 @@ public class TzsJgServiceImpl implements ITzsJgService {
dto.setUseInfo(useInfoDto); dto.setUseInfo(useInfoDto);
dto.setElevatorTechInfo(elevatorTechInfoDto); dto.setElevatorTechInfo(elevatorTechInfoDto);
dto.setConstructionInfo(constructionInfoDto); dto.setConstructionInfo(constructionInfoDto);
dto.setConstructionInfoList(constructionInfoDtoList);
dto.setMaintenanceInfo(maintenanceInfoDto); dto.setMaintenanceInfo(maintenanceInfoDto);
dto.setMaintenanceInfoList(maintenanceInfoDtoList);
dto.setInspectionInfo(inspectionInfoDto); dto.setInspectionInfo(inspectionInfoDto);
dto.setInspectionInfoList(inspectionInfoDtoList);
dto.setEnclousureInfo(enclosureInfoDtoList);
dto.setOtherInfo(otherInfoDto); dto.setOtherInfo(otherInfoDto);
return dto; return dto;
} }
......
...@@ -725,5 +725,183 @@ ...@@ -725,5 +725,183 @@
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 ('1600', '1000', '移动式压力容器气瓶充装', 'sbpz', NULL, NULL, NULL, NULL, NULL, b'0', '1');
</sql> </sql>
</changeSet> </changeSet>
<changeSet id="1660546840856-13" author="suhuiguang">
<comment>许可项目、许可子项目、许可参数</comment>
<sql>
DELETE FROM `cb_data_dictionary` WHERE type = 'XKXM';
DELETE FROM `cb_data_dictionary` WHERE type = 'XKZXM';
DELETE FROM `cb_data_dictionary` WHERE type = 'XKCS';
DELETE FROM `cb_data_dictionary` WHERE `sequence_nbr` between 2111 and 2206;
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2000","XK2000","压力容器设计","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2001","XK2001","压力管道设计","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2002","XK2002","锅炉制造(含安装(散装锅炉除外)、修理改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2003","XK2003","压力容器制造(含安装,修理,改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2004","XK2004","安全附件制造","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2005","XK2005","压力管道元件制造","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2006","XK2006","境外特种设备制造","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2007","XK2007","电梯制造(含安装、修理、改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2008","XK2008","起重机械制造(含安装、修理改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2009","XK2009","客运索道制造(含安装、修理、改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2010","XK2010","场(厂)内专用机动车辆制造(含安装、修理、造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2011","XK2011","大型游乐设施制造(含安装、修理、改造)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2012","XK2012","承压类特种设备安装、修理、改造","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2013","XK2013","电梯安装 ( 含修理 )","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2014","XK2014","起重机械安装(含修理)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2015","XK2015","客运索道安装 (含修理)","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2016","XK2016","大型游乐设施安装( 含修理 )","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2017","XK2017","场(厂)内专用机动车辆修理","XKXM","","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2018","XK2018","固定式压力容器规则设计","XKZXM","XK2000","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2019","XK2019","移动式压力容器规则设计","XKZXM","XK2000","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2020","XK2020","长输管道","XKZXM","XK2001","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2021","XK2021","公用管道","XKZXM","XK2001","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2022","XK2022","工业管道","XKZXM","XK2001","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2023","XK2023","锅炉 ","XKZXM","XK2002","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2024","XK2024","固定式压力容器","XKZXM","XK2003","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2025","XK2025","移动式压力容器","XKZXM","XK2003","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2026","XK2026","氧舱","XKZXM","XK2003","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2027","XK2027","气瓶","XKZXM","XK2003","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2028","XK2028","爆破片装置","XKZXM","XK2004","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2029","XK2029","安全阀 ","XKZXM","XK2004","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2030","XK2030","紧急切断阀 ","XKZXM","XK2004","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2031","XK2031","燃气气瓶阀门 ","XKZXM","XK2004","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2032","XK2032","压力管道管子","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2033","XK2033","压力管道阀门","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2034","XK2034","压力管道管件","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2035","XK2035","压力管道法兰","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2036","XK2036","补偿器","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2037","XK2037","元件组合装置","XKZXM","XK2005","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2038","XK2038","锅炉","XKZXM","XK2006","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2039","XK2039","压力容器","XKZXM","XK2006","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2040","XK2040","气瓶","XKZXM","XK2006","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2041","XK2041","安全附件(安全阀爆破片装置 、紧急切断阀、燃气气瓶阀门)","XKZXM","XK2006","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2042","XK2042","压力管道元件(压力管道管子、压力管道阀)","XKZXM","XK2006","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2043","XK2043","曳引驱动乘客电梯(含消防员电梯)","XKZXM","XK2007","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2044","XK2044","曳引驱动载货电梯和强制驱动载货电梯 (含防爆电梯中的载货电梯)","XKZXM","XK2007","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2045","XK2045","自动扶梯与自动人行道","XKZXM","XK2007","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2046","XK2046","液压驱动电梯","XKZXM","XK2007","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2047","XK2047","杂物电梯(含防爆电梯中的杂物电梯)","XKZXM","XK2007","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2048","XK2048","桥式、门式起重机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2049","XK2049","流动式起重机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2050","XK2050","门座式起重机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2051","XK2051","机械式停车设备","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2052","XK2052","塔式起重机、升降机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2053","XK2053","缆索式起重机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2054","XK2054","枪杆式起重机","XKZXM","XK2008","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2055","XK2055","客运架空索道(脱挂抱索器索道、双线往复式索道、单线固定抱索修器索道)","XKZXM","XK2009","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2056","XK2056","客运缆车","XKZXM","XK2009","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2057","XK2057","客运拖牵索道","XKZXM","XK2009","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2058","XK2058","机动工业车辆(叉车)","XKZXM","XK2010","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2059","XK2059","非公路用旅游观光车辆(观光车、观光列车)","XKZXM","XK2010","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2060","XK2060","滑行和旋转类(含游乐车辆和无动力类)","XKZXM","XK2011","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2061","XK2061","游乐车辆和无动力类","XKZXM","XK2011","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2062","XK2062","水上游乐设施","XKZXM","XK2011","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2063","XK2063","锅炉安装(含修理 、改造)","XKZXM","XK2012","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2064","XK2064","长输管道安装(含修理、改造)","XKZXM","XK2012","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2065","XK2065","公用管道安装","XKZXM","XK2012","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2066","XK2066","工业管道安装","XKZXM","XK2012","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2067","XK2067","曳引驱动乘客电梯(含消防员电梯)","XKZXM","XK2013","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2068","XK2068","曳引驱动载货电梯和强制驱动载货电梯 (含防爆电梯中的载货电梯 )","XKZXM","XK2013","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2069","XK2069","自动扶梯与自动人行道","XKZXM","XK2013","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2070","XK2070","液压驱动电梯","XKZXM","XK2013","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2071","XK2071","杂物电梯(含防爆电梯中的杂物电梯)","XKZXM","XK2013","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2072","XK2072","桥式 、门式起重机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2073","XK2073","流动式起重机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2074","XK2074","门座式起重机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2075","XK2075","机械式停车设备","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2076","XK2076","塔式起重机、升降机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2077","XK2077","缆索式起重机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2078","XK2078","桅杆式起重机","XKZXM","XK2014","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2079","XK2079","客运架空索道(脱挂抱索器索道、双线往复式索道单线固定抱索器索道)","XKZXM","XK2015","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2080","XK2080","客运缆车","XKZXM","XK2015","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2081","XK2081","客运拖牵索道","XKZXM","XK2015","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2082","XK2082","滑行和旋转类(含游乐车辆和无动力类)","XKZXM","XK2016","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2083","XK2083","游乐车辆和无动力类","XKZXM","XK2016","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2084","XK2084","水上游乐设施","XKZXM","XK2016","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2085","XK2085","机动工业车辆(叉车)","XKZXM","XK2017","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2086","XK2086","非公路用旅游观光车辆(观光车、观光列车)","XKZXM","XK2017","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2087","XK2087","GA1","XKCS","XK2020","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2088","XK2088","GA2","XKCS","XK2020","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2089","XK2089","GB1","XKCS","XK2021","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2090","XK2090","GB2","XKCS","XK2021","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2091","XK2091","GC1","XKCS","XK2022","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2092","XK2092","GC2","XKCS","XK2022","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2093","XK2093","GCD","XKCS","XK2022","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2094","XK2094","A","XKCS","XK2023","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2095","XK2095","B","XKCS","XK2023","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2096","XK2096","A1","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2097","XK2097","A2","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2098","XK2098","A3","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2099","XK2099","A4","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2100","XK2100","A6","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2101","XK2101","D","XKCS","XK2024","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2102","XK2102","C1","XKCS","XK2025","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2103","XK2103","C2","XKCS","XK2025","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2104","XK2104","C3","XKCS","XK2025","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2105","XK2105","A5","XKCS","XK2026","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2106","XK2106","B1","XKCS","XK2027","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2107","XK2107","B2","XKCS","XK2027","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2108","XK2108","B3","XKCS","XK2027","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2109","XK2109","B4","XKCS","XK2027","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2110","XK2110","B5","XKCS","XK2027","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2111","XK2111","A","XKCS","XK2028","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2112","XK2112","B","XKCS","XK2028","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2113","XK2113","A","XKCS","XK2029","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2114","XK2114","B","XKCS","XK2029","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2115","XK2115","A","XKCS","XK2030","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2116","XK2116","B","XKCS","XK2030","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2117","XK2117","A","XKCS","XK2031","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2118","XK2118","B","XKCS","XK2031","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2119","XK2119","A","XKCS","XK2032","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2120","XK2120","B","XKCS","XK2032","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2121","XK2121","A1","XKCS","XK2033","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2122","XK2122","A2","XKCS","XK2033","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2123","XK2123","B","XKCS","XK2033","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2124","XK2124","B1","XKCS","XK2034","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2125","XK2125","B2","XKCS","XK2034","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2126","XK2126","钢制锻造法兰","XKCS","XK2035","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2127","XK2127","B1","XKCS","XK2036","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2128","XK2128","B2","XKCS","XK2036","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2129","XK2129","A1","XKCS","XK2043","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2130","XK2130","A2","XKCS","XK2043","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2131","XK2131","B","XKCS","XK2043","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2132","XK2132","A","XKCS","XK2048","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2133","XK2133","B","XKCS","XK2048","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2134","XK2134","A","XKCS","XK2049","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2135","XK2135","B","XKCS","XK2049","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2136","XK2136","A","XKCS","XK2050","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2137","XK2137","B","XKCS","XK2050","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2138","XK2138","A","XKCS","XK2060","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2139","XK2139","B","XKCS","XK2060","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2140","XK2140","A","XKCS","XK2063","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2141","XK2141","B","XKCS","XK2063","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2142","XK2142","GA1","XKCS","XK2064","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2143","XK2143","GA2","XKCS","XK2064","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2144","XK2144","GB1","XKCS","XK2065","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2145","XK2145","GB2","XKCS","XK2065","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2146","XK2146","GC1","XKCS","XK2066","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2147","XK2147","GC2","XKCS","XK2066","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2148","XK2148","GCD","XKCS","XK2066","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2149","XK2149","A1","XKCS","XK2067","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2150","XK2150","A2","XKCS","XK2067","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2151","XK2151","B","XKCS","XK2067","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2152","XK2152","A","XKCS","XK2072","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2153","XK2153","B","XKCS","XK2072","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2154","XK2154","A","XKCS","XK2073","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2155","XK2155","B","XKCS","XK2073","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2156","XK2156","A","XKCS","XK2074","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2157","XK2157","B","XKCS","XK2074","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2158","XK2158","A","XKCS","XK2082","\0","1");
REPLACE INTO `cb_data_dictionary` (`sequence_nbr`, `code`, `name`, `type`, `type_desc`, `is_delete`, `sort_num`) VALUES ("2159","XK2159","B","XKCS","XK2082","\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 ('2160', '300', '紧缩气体', 'CZJZLB', 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 ('2161', '301', '液化气体', 'CZJZLB', 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 ('2162', '302', '溶解气体', 'CZJZLB', NULL, NULL, NULL, NULL, NULL, b'0', '1');
</sql>
</changeSet>
<changeSet id="1660546840856-15" author="suhuiguang">
<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 ('1201', '1201', '生产单位(设计、制造、安装、改造、维修单位)', 'zslx', NULL, NULL, NULL, NULL, NULL, b'0', '1');
</sql>
</changeSet>
</databaseChangeLog> </databaseChangeLog>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment