Commit 7fd7bc65 authored by Lambertliu's avatar Lambertliu

fix(jg):生产环境问题处理

parent 40f05770
......@@ -412,12 +412,11 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if("unit".equals(jgUseRegistration.getManageType())){
if (registerInfo.getEquList().equals(EquipmentClassifityEnum.YLGD.getCode())){
if(inspectionDetectionInfo.getInspectReportNo() != null && inspectionDetectionInfo.getInspectReport() != null) {
// 压力管道逻辑,根据设备record + 检验报告编号判定唯一一条检验流水,有进行更新,无则进行插入
String record = equipment.get("record").toString();
inspectionDetectionInfo.setInspectConclusion((String) equipment.get("inspectConclusionCode"));
saveEquipOfPieLineInspectData(record, inspectionDetectionInfo);
}
// 压力管道逻辑,根据设备record + 检验报告编号判定唯一一条检验流水,有进行更新,无则进行插入
String record = (String) equipment.get("record");
inspectionDetectionInfo.setInspectConclusion((String) equipment.get("inspectConclusionCode"));
inspectionDetectionInfo.setSequenceNbr((String) equipment.get("jySeq"));
saveEquipOfPieLineInspectData(record, inspectionDetectionInfo);
}
} else {
// 其他逻辑
......@@ -443,22 +442,18 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
private void saveEquipOfPieLineInspectData(String record, InspectionDetectionInfo inspectionDetectionInfo) {
// 检验机构 + 设备+ 检验报告编号时 , 是唯一的为了防止老数据有重复的,程序健壮,故使用list进行处理
LambdaQueryWrapper<InspectionDetectionInfo> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(AbstractEquipBaseEntity::getRecord, record)
.eq(!StringUtils.isEmpty(inspectionDetectionInfo.getInspectReportNo()), InspectionDetectionInfo::getInspectReportNo, inspectionDetectionInfo.getInspectReportNo())
.eq(InspectionDetectionInfo::getInspectOrgCode, inspectionDetectionInfo.getInspectOrgCode());
List<InspectionDetectionInfo> inspectionDetectionInfos = inspectionDetectionInfoMapper.selectList(wrapper);
if(inspectionDetectionInfos.isEmpty()){
inspectionDetectionInfo.setRecord(record);
inspectionDetectionInfo.setRecDate(new Date());
// LambdaQueryWrapper<InspectionDetectionInfo> wrapper = new LambdaQueryWrapper<>();
// wrapper.eq(AbstractEquipBaseEntity::getRecord, record)
// .eq(!StringUtils.isEmpty(inspectionDetectionInfo.getInspectReportNo()), InspectionDetectionInfo::getInspectReportNo, inspectionDetectionInfo.getInspectReportNo())
// .eq(InspectionDetectionInfo::getInspectOrgCode, inspectionDetectionInfo.getInspectOrgCode());
// List<InspectionDetectionInfo> inspectionDetectionInfos = inspectionDetectionInfoMapper.selectList(wrapper);
inspectionDetectionInfo.setRecDate(new Date());
if (Objects.isNull(inspectionDetectionInfo.getSequenceNbr())) {
inspectionDetectionInfo.setSequenceNbr(sequence.nextId() + "");
inspectionDetectionInfo.setRecord(record);
inspectionDetectionInfoMapper.insert(inspectionDetectionInfo);
} else {
for (InspectionDetectionInfo inspectionDetectionInfo1 : inspectionDetectionInfos) {
Bean.copyExistPropertis(inspectionDetectionInfo, inspectionDetectionInfo1);
inspectionDetectionInfo1.setRecDate(new Date());
inspectionDetectionInfoMapper.updateById(inspectionDetectionInfo1);
}
inspectionDetectionInfoMapper.updateById(inspectionDetectionInfo);
}
}
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"
xmlns:wpsCustomData="http://www.wps.cn/officeDocument/2013/wpsCustomData">
<o:DocumentProperties>
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"
xmlns:wpsCustomData="http://www.wps.cn/officeDocument/2013/wpsCustomData"><o:DocumentProperties>
<o:Author>Admin</o:Author>
<o:LastAuthor>Ac</o:LastAuthor>
<o:LastAuthor>mly</o:LastAuthor>
<o:Created>2025-02-11T02:12:00Z</o:Created>
<o:LastSaved>2025-02-18T08:02:56Z</o:LastSaved>
<o:LastSaved>2025-03-03T10:02:32Z</o:LastSaved>
<o:TotalTime>2880</o:TotalTime>
<o:Pages>1</o:Pages>
<o:Words>264</o:Words>
<o:Characters>479</o:Characters>
<o:Words>284</o:Words>
<o:Characters>579</o:Characters>
<o:Lines>0</o:Lines>
<o:Paragraphs>0</o:Paragraphs>
<o:CharactersWithSpaces>561</o:CharactersWithSpaces>
<o:CharactersWithSpaces>641</o:CharactersWithSpaces>
<o:Version>14</o:Version>
</o:DocumentProperties>
<o:CustomDocumentProperties>
<o:KSOTemplateDocerSaveRecord dt:dt="string">eyJoZGlkIjoiNTRkYjJiYWQwMzVkYWEwZGNmODdlMzhmYWExNTZhZjEiLCJ1c2VySWQiOiI5MjI2NjY0ODIifQ==</o:KSOTemplateDocerSaveRecord>
<o:KSOProductBuildVer dt:dt="string">2052-12.1.0.19770</o:KSOProductBuildVer>
<o:ICV dt:dt="string">ABD7B8E3D9BF4ECEBA5B26F5C7E6D88A_12</o:ICV>
<o:KSOTemplateDocerSaveRecord dt:dt="string">
eyJoZGlkIjoiNTRkYjJiYWQwMzVkYWEwZGNmODdlMzhmYWExNTZhZjEiLCJ1c2VySWQiOiI5MjI2NjY0ODIifQ==
</o:KSOTemplateDocerSaveRecord>
<o:KSOProductBuildVer dt:dt="string">2052-12.1.0.18543</o:KSOProductBuildVer>
<o:ICV dt:dt="string">C97ACE8DD1724BBA88F0940962A6C6D0_12</o:ICV>
</o:CustomDocumentProperties>
<w:fonts>
<w:defaultFonts w:ascii="Calibri" w:fareast="宋体" w:h-ansi="Calibri" w:cs="Times New Roman"/>
......@@ -36,84 +35,96 @@
<w:charset w:val="00"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF"
w:csb-1="FFFF0000"/>
</w:font>
<w:font w:name="宋体">
<w:panose-1 w:val="02010600030101010101"/>
<w:charset w:val="86"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="00000003" w:usb-1="288F0000" w:usb-2="00000006" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
<w:sig w:usb-0="00000203" w:usb-1="288F0000" w:usb-2="00000006" w:usb-3="00000000" w:csb-0="00040001"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Wingdings">
<w:panose-1 w:val="05000000000000000000"/>
<w:charset w:val="02"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Arial">
<w:panose-1 w:val="020B0604020202020204"/>
<w:charset w:val="01"/>
<w:family w:val="SWiss"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF"
w:csb-1="FFFF0000"/>
</w:font>
<w:font w:name="黑体">
<w:panose-1 w:val="02010609060101010101"/>
<w:charset w:val="86"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="800002BF" w:usb-1="38CF7CFA" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
<w:sig w:usb-0="800002BF" w:usb-1="38CF7CFA" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Courier New">
<w:panose-1 w:val="02070309020205020404"/>
<w:charset w:val="01"/>
<w:family w:val="Modern"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF"
w:csb-1="FFFF0000"/>
</w:font>
<w:font w:name="Symbol">
<w:panose-1 w:val="05050102010706020507"/>
<w:charset w:val="02"/>
<w:family w:val="Roman"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Calibri">
<w:panose-1 w:val="020F0502020204030204"/>
<w:charset w:val="00"/>
<w:family w:val="SWiss"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E4002EFF" w:usb-1="C000247B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="200001FF" w:csb-1="00000000"/>
<w:sig w:usb-0="E4002EFF" w:usb-1="C000247B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="200001FF"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Wingdings">
<w:panose-1 w:val="05000000000000000000"/>
<w:charset w:val="00"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000"
w:csb-1="00000000"/>
</w:font>
<w:font w:name="Arial">
<w:panose-1 w:val="020B0604020202020204"/>
<w:charset w:val="00"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C000785B" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF"
w:csb-1="FFFF0000"/>
</w:font>
<w:font w:name="Courier New">
<w:panose-1 w:val="02070309020205020404"/>
<w:charset w:val="00"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF" w:csb-1="FFFF0000"/>
<w:sig w:usb-0="E0002EFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="400001FF"
w:csb-1="FFFF0000"/>
</w:font>
<w:font w:name="Symbol">
<w:panose-1 w:val="05050102010706020507"/>
<w:charset w:val="00"/>
<w:family w:val="Auto"/>
<w:pitch w:val="Default"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/>
<w:sig w:usb-0="00000000" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000"
w:csb-1="00000000"/>
</w:font>
</w:fonts>
<w:styles>
......@@ -445,7 +456,7 @@
</w:bgPict>
<w:docPr>
<w:view w:val="print"/>
<w:zoom w:percent="110"/>
<w:zoom w:percent="100"/>
<w:characterSpacingControl w:val="CompressPunctuation"/>
<w:documentProtection w:enforcement="off"/>
<w:punctuationKerning/>
......@@ -558,8 +569,8 @@
<w:tbl>
<w:tblPr>
<w:tblStyle w:val="a5"/>
<w:tblW w:w="9076" w:type="dxa"/>
<w:tblInd w:w="1420" w:type="dxa"/>
<w:tblW w:w="9230" w:type="dxa"/>
<w:tblInd w:w="1265" w:type="dxa"/>
<w:tblBorders>
<w:top w:val="single" w:sz="2" wx:bdrwidth="5" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" wx:bdrwidth="5" w:space="0" w:color="000000"/>
......@@ -577,11 +588,11 @@
</w:tblCellMar>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="847"/>
<w:gridCol w:w="2383"/>
<w:gridCol w:w="1690"/>
<w:gridCol w:w="2198"/>
<w:gridCol w:w="1958"/>
<w:gridCol w:w="900"/>
<w:gridCol w:w="2205"/>
<w:gridCol w:w="2115"/>
<w:gridCol w:w="1770"/>
<w:gridCol w:w="2240"/>
</w:tblGrid>
<w:tr>
<w:tblPrEx>
......@@ -605,7 +616,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="restart"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -651,7 +662,8 @@
<w:pPr>
<w:pStyle w:val="a6"/>
<w:spacing w:before="78" w:line="247" w:line-rule="auto"/>
<w:ind w:left="176" w:right="184" w:right-chars="0" w:hanging="1" w:first-line-chars="0"/>
<w:ind w:left="176" w:right="184" w:right-chars="0" w:hanging="1"
w:first-line-chars="0"/>
<w:jc w:val="left"/>
</w:pPr>
<w:r>
......@@ -661,28 +673,16 @@
<w:t>设备</w:t>
</w:r>
<w:r>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t>基本</w:t>
</w:r>
<w:r>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t>情况</w:t>
<w:t>基本情况</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -721,7 +721,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1690" w:type="dxa"/>
<w:tcW w:w="2115" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -750,7 +750,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2198" w:type="dxa"/>
<w:tcW w:w="1770" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -786,7 +786,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1958" w:type="dxa"/>
<w:tcW w:w="2240" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -838,7 +838,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="nil"/>
......@@ -866,7 +866,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -902,7 +902,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1690" w:type="dxa"/>
<w:tcW w:w="2115" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="center"/>
</w:tcPr>
......@@ -927,7 +927,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2198" w:type="dxa"/>
<w:tcW w:w="1770" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -960,7 +960,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1958" w:type="dxa"/>
<w:tcW w:w="2240" w:type="dxa"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -1009,7 +1009,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="restart"/>
<w:tcBorders>
<w:left w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -1075,28 +1075,16 @@
<w:t>设备</w:t>
</w:r>
<w:r>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t>使用</w:t>
</w:r>
<w:r>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t>情况</w:t>
<w:t>使用情况</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1117,7 +1105,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="5846" w:type="dxa"/>
<w:tcW w:w="6125" w:type="dxa"/>
<w:gridSpan w:val="3"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -1168,7 +1156,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="nil"/>
......@@ -1197,7 +1185,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1219,7 +1207,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="5846" w:type="dxa"/>
<w:tcW w:w="6125" w:type="dxa"/>
<w:gridSpan w:val="3"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -1271,7 +1259,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="nil"/>
......@@ -1300,7 +1288,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1321,7 +1309,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1690" w:type="dxa"/>
<w:tcW w:w="2115" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="center"/>
</w:tcPr>
......@@ -1348,7 +1336,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2198" w:type="dxa"/>
<w:tcW w:w="1770" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1371,7 +1359,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1958" w:type="dxa"/>
<w:tcW w:w="2240" w:type="dxa"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -1420,7 +1408,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="nil"/>
......@@ -1449,7 +1437,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1475,7 +1463,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1690" w:type="dxa"/>
<w:tcW w:w="2115" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="center"/>
</w:tcPr>
......@@ -1500,7 +1488,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2198" w:type="dxa"/>
<w:tcW w:w="1770" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1523,7 +1511,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1958" w:type="dxa"/>
<w:tcW w:w="2240" w:type="dxa"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -1572,7 +1560,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="847" w:type="dxa"/>
<w:tcW w:w="900" w:type="dxa"/>
<w:vmerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="nil"/>
......@@ -1600,7 +1588,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2383" w:type="dxa"/>
<w:tcW w:w="2205" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1620,7 +1608,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1690" w:type="dxa"/>
<w:tcW w:w="2115" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="center"/>
</w:tcPr>
......@@ -1645,7 +1633,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2198" w:type="dxa"/>
<w:tcW w:w="1770" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:vAlign w:val="top"/>
</w:tcPr>
......@@ -1668,7 +1656,7 @@
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1958" w:type="dxa"/>
<w:tcW w:w="2240" w:type="dxa"/>
<w:tcBorders>
<w:right w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
</w:tcBorders>
......@@ -1718,7 +1706,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="9076" w:type="dxa"/>
<w:tcW w:w="9230" w:type="dxa"/>
<w:gridSpan w:val="5"/>
<w:tcBorders>
<w:left w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -1737,19 +1725,7 @@
<w:rPr>
<w:spacing w:val="4"/>
</w:rPr>
<w:t>在此申明:所申报的内容真实;</w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-59"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="4"/>
</w:rPr>
<w:t>在使用过程中</w:t>
<w:t>在此申明:所申报的内容真实;在使用过程中</w:t>
</w:r>
<w:r>
<w:rPr>
......@@ -1758,9 +1734,6 @@
<w:t>,将严格执行《中华人民共和国</w:t>
</w:r>
<w:r>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="7"/>
</w:rPr>
......@@ -1863,29 +1836,9 @@
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="4"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-3"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:rFonts w:hint="fareast"/>
<w:spacing w:val="-3"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-3"/>
</w:rPr>
<w:t> 日期:</w:t>
<w:t> 日期:</w:t>
</w:r>
<w:r>
<w:rPr>
......@@ -1938,23 +1891,9 @@
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="4"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:rFonts w:hint="fareast"/>
<w:spacing w:val="4"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t> 日期:</w:t>
<w:t> 日期:</w:t>
</w:r>
<w:r>
<w:rPr>
......@@ -1989,7 +1928,7 @@
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="9076" w:type="dxa"/>
<w:tcW w:w="9230" w:type="dxa"/>
<w:gridSpan w:val="5"/>
<w:tcBorders>
<w:left w:val="single" w:sz="6" wx:bdrwidth="15" w:space="0" w:color="000000"/>
......@@ -2055,43 +1994,13 @@
<w:rPr>
<w:spacing w:val="-3"/>
</w:rPr>
<w:t>登记机关登记人员: 日期:</w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="2"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="14"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t></w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="29"/>
</w:rPr>
<w:t></w:t>
<w:t>登记机关登记人员: 日期:</w:t>
</w:r>
<w:r>
<w:rPr>
<w:spacing w:val="-2"/>
</w:rPr>
<w:t> </w:t>
<w:t> 年 月</w:t>
</w:r>
</w:p>
<w:p>
......@@ -2144,9 +2053,9 @@
<w:p/>
<w:sectPr>
<w:pgSz w:w="11905" w:h="16840"/>
<w:pgMar w:top="1523" w:right="4" w:bottom="1323" w:left="0" w:header="1208" w:footer="1135" w:gutter="0"/>
<w:pgMar w:top="1523" w:right="4" w:bottom="1323" w:left="0" w:header="1208" w:footer="1135"
w:gutter="0"/>
<w:cols w:space="720"/>
</w:sectPr>
</wx:sect>
</w:body>
</w:wordDocument>
\ No newline at end of file
</w:body></w:wordDocument>
\ No newline at end of file
......@@ -203,13 +203,13 @@ public class TzBaseEnterpriseInfoServiceImpl
List<BaseUnitLicence> unitLicences = baseUnitLicenceService.list(new LambdaQueryWrapper<BaseUnitLicence>()
.eq(BaseUnitLicence::getUnitCode, tzBaseEnterpriseInfo.getUseCode()));
List<BaseUnitLicenceDto> unitLicenceDtos = new ArrayList<>();
List<BaseUnitLicence> unitLicencesCollect;
if ("监管机构".equals(companyType)) {
unitLicencesCollect = unitLicences;
} else {
// 解决脏数据问题,脏数据不再显示
unitLicencesCollect = unitLicences.stream()
.filter(baseUnitLicence -> baseUnitLicence.getCertTypeCode() != null && COMPANY_TYPE_CERT_TYPE_MAP.get(companyType).contains((baseUnitLicence.getCertTypeCode())))
List<BaseUnitLicence> unitLicencesCollect = Optional.ofNullable(unitLicences).orElse(Collections.emptyList());
if (!"监管机构".equals(companyType)) {
List<String> certTypeList = Arrays.asList(Optional.ofNullable(COMPANY_TYPE_CERT_TYPE_MAP.get(companyType))
.orElse("")
.split(","));
unitLicencesCollect = unitLicencesCollect.stream()
.filter(unit -> unit.getCertTypeCode() != null && certTypeList.contains(unit.getCertTypeCode()))
.collect(Collectors.toList());
}
if (!ValidationUtil.isEmpty(unitLicencesCollect)) {
......
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