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
8bf66b88
Commit
8bf66b88
authored
Jul 02, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_bugfix' into develop_tzs_bugfix
parents
500dcdc2
5db7516e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
16 deletions
+49
-16
TzBaseEnterpriseInfoDto.java
...mos/boot/module/jczs/api/dto/TzBaseEnterpriseInfoDto.java
+1
-1
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+27
-5
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+2
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+2
-2
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+1
-1
JgChangeVehicleRegistrationUnitServiceImpl.java
...vice/impl/JgChangeVehicleRegistrationUnitServiceImpl.java
+3
-2
TzsUserInfoServiceImpl.java
...t/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
+13
-5
No files found.
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-api/src/main/java/com/yeejoin/amos/boot/module/jczs/api/dto/TzBaseEnterpriseInfoDto.java
View file @
8bf66b88
...
@@ -306,7 +306,7 @@ public class TzBaseEnterpriseInfoDto extends BaseDto {
...
@@ -306,7 +306,7 @@ public class TzBaseEnterpriseInfoDto extends BaseDto {
private
String
cityCode
;
private
String
cityCode
;
@ApiModelProperty
(
value
=
"创建时间"
)
@ApiModelProperty
(
value
=
"创建时间"
)
protected
Date
createDate
;
protected
String
createDate
;
/**
/**
...
...
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
8bf66b88
...
@@ -36,8 +36,15 @@
...
@@ -36,8 +36,15 @@
<select
id=
"page"
<select
id=
"page"
resultType=
"com.yeejoin.amos.boot.module.jczs.api.dto.TzBaseEnterpriseInfoDto"
>
resultType=
"com.yeejoin.amos.boot.module.jczs.api.dto.TzBaseEnterpriseInfoDto"
>
SELECT
SELECT "sequence_nbr","use_unit_code","supervise_code","use_unit_certificate","unit_type","use_code","use_unit","supervise_org_code",
*,
"supervise_org_name","key_unit","class_places","province","city","district","street","community",
"address","legal_person","legal_phone","use_contact","contact_phone","safety_one","safety_one_id","safety_one_phone",
"safety_two","safety_two_id","safety_two_phone","longitude","latitude","sync_date","sync_state","app_id","rec_date","rec_user_id",
"governing_body","data_sources","industry","registration_authority","approval_time","operating_status","mainten_person","mainten_telephone",
"sqa","quality_person","quality_telephone","technical_person","is_delete","rec_user_name","equip_category","unit_business_license","unit_exequatur",
"safety_two_photo","safety_one_photo","sqa_phone","qr_code","industry_supervisor","regulatory_labels",
"register_type","other_accessories","status" ,"org_code","office_region","office_address",
DATE_FORMAT(create_date,'%Y-%m-%d') as createDate,
CONCAT(province,'/',city,'/',district) AS region,
CONCAT(province,'/',city,'/',district) AS region,
CONCAT(street,'/',address) AS full_address
CONCAT(street,'/',address) AS full_address
FROM
FROM
...
@@ -87,8 +94,15 @@
...
@@ -87,8 +94,15 @@
<select
id=
"pageList"
<select
id=
"pageList"
resultType=
"com.yeejoin.amos.boot.module.jczs.api.dto.TzBaseEnterpriseInfoDto"
>
resultType=
"com.yeejoin.amos.boot.module.jczs.api.dto.TzBaseEnterpriseInfoDto"
>
SELECT
SELECT "sequence_nbr","use_unit_code","supervise_code","use_unit_certificate","unit_type","use_code","use_unit","supervise_org_code",
*,
"supervise_org_name","key_unit","class_places","province","city","district","street","community",
"address","legal_person","legal_phone","use_contact","contact_phone","safety_one","safety_one_id","safety_one_phone",
"safety_two","safety_two_id","safety_two_phone","longitude","latitude","sync_date","sync_state","app_id","rec_date","rec_user_id",
"governing_body","data_sources","industry","registration_authority","approval_time","operating_status","mainten_person","mainten_telephone",
"sqa","quality_person","quality_telephone","technical_person","is_delete","rec_user_name","equip_category","unit_business_license","unit_exequatur",
"safety_two_photo","safety_one_photo","sqa_phone","qr_code","industry_supervisor","regulatory_labels",
"register_type","other_accessories","status" ,"org_code","office_region","office_address",
DATE_FORMAT(create_date,'%Y-%m-%d') as createDate,
CONCAT(province,'/',city,'/',district) AS region,
CONCAT(province,'/',city,'/',district) AS region,
CONCAT(street,'/',address) AS full_address
CONCAT(street,'/',address) AS full_address
FROM
FROM
...
@@ -123,6 +137,14 @@
...
@@ -123,6 +137,14 @@
AND legal_phone LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.legalPhone},'%')
AND legal_phone LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.legalPhone},'%')
</if>
</if>
<if
<if
test=
"tzBaseEnterpriseInfoDto.useContact!=null and tzBaseEnterpriseInfoDto.useContact!='' "
>
AND use_contact LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.useContact},'%')
</if>
<if
test=
"tzBaseEnterpriseInfoDto.contactPhone!=null and tzBaseEnterpriseInfoDto.contactPhone!='' "
>
AND contact_phone LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.contactPhone},'%')
</if>
<if
test=
"tzBaseEnterpriseInfoDto.superviseOrgCode!=null and tzBaseEnterpriseInfoDto.superviseOrgCode!='' "
>
test=
"tzBaseEnterpriseInfoDto.superviseOrgCode!=null and tzBaseEnterpriseInfoDto.superviseOrgCode!='' "
>
AND supervise_org_code LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.superviseOrgCode},'%')
AND supervise_org_code LIKE CONCAT('%',#{tzBaseEnterpriseInfoDto.superviseOrgCode},'%')
</if>
</if>
...
@@ -156,7 +178,7 @@
...
@@ -156,7 +178,7 @@
<if
test=
"sort != null"
>
<if
test=
"sort != null"
>
${sort.field} ${sort.sortType},
${sort.field} ${sort.sortType},
</if>
</if>
rec
_date DESC,sequence_nbr DESC
create
_date DESC,sequence_nbr DESC
</select>
</select>
<select
id=
"queryBaseEnterpriseInIds"
resultType=
"com.yeejoin.amos.boot.module.jczs.api.vo.BaseEnterpriseVo"
>
<select
id=
"queryBaseEnterpriseInIds"
resultType=
"com.yeejoin.amos.boot.module.jczs.api.vo.BaseEnterpriseVo"
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/DataDockServiceImpl.java
View file @
8bf66b88
...
@@ -717,6 +717,7 @@ public class DataDockServiceImpl {
...
@@ -717,6 +717,7 @@ public class DataDockServiceImpl {
ESEquipmentCategoryDto
equipmentCategoryDto
=
JSON
.
parseObject
(
toJSONString
(
map
),
ESEquipmentCategoryDto
.
class
);
ESEquipmentCategoryDto
equipmentCategoryDto
=
JSON
.
parseObject
(
toJSONString
(
map
),
ESEquipmentCategoryDto
.
class
);
if
(!
ObjectUtils
.
isEmpty
(
equipmentCategoryDto
))
{
if
(!
ObjectUtils
.
isEmpty
(
equipmentCategoryDto
))
{
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
equipmentCategoryDto
.
setCREATE_DATE
(
time
);
equipmentCategoryDto
.
setREC_DATE
(
time
);
equipmentCategoryDto
.
setREC_DATE
(
time
);
equipmentCategoryDto
.
setSTATUS
(
"已认领"
);
equipmentCategoryDto
.
setSTATUS
(
"已认领"
);
equipmentCategoryDto
.
setIS_DO_BUSINESS
(
Boolean
.
TRUE
);
equipmentCategoryDto
.
setIS_DO_BUSINESS
(
Boolean
.
TRUE
);
...
@@ -2110,6 +2111,7 @@ public class DataDockServiceImpl {
...
@@ -2110,6 +2111,7 @@ public class DataDockServiceImpl {
ESEquipmentCategoryDto
esEquipmentDto
=
JSON
.
parseObject
(
toJSONString
(
pipeline
),
ESEquipmentCategoryDto
.
class
);
ESEquipmentCategoryDto
esEquipmentDto
=
JSON
.
parseObject
(
toJSONString
(
pipeline
),
ESEquipmentCategoryDto
.
class
);
esEquipmentDto
.
setDATA_SOURCE
(
paramsDto
.
getDataSource
());
esEquipmentDto
.
setDATA_SOURCE
(
paramsDto
.
getDataSource
());
esEquipmentDto
.
setREC_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setREC_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setCREATE_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setSEQUENCE_NBR
(
record
);
esEquipmentDto
.
setSEQUENCE_NBR
(
record
);
esEquipmentDto
.
setIS_INTO_MANAGEMENT
(
Boolean
.
TRUE
);
esEquipmentDto
.
setIS_INTO_MANAGEMENT
(
Boolean
.
TRUE
);
esEquipmentDto
.
setEQU_CATEGORY_CODE
(
paramsDto
.
getEquCategoryCode
());
esEquipmentDto
.
setEQU_CATEGORY_CODE
(
paramsDto
.
getEquCategoryCode
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
8bf66b88
...
@@ -3745,9 +3745,8 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -3745,9 +3745,8 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
}
}
if
(!
ObjectUtils
.
isEmpty
(
dto
))
{
if
(!
ObjectUtils
.
isEmpty
(
dto
))
{
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
long
now
=
new
Date
().
getTime
();
dto
.
setREC_DATE
(
time
);
dto
.
setREC_DATE
(
time
);
dto
.
setCREATE_DATE
(
now
);
dto
.
setCREATE_DATE
(
time
);
// 需要安装的设备 安装告知审批通过 清除设备的USC_UNIT_CREDIT_CODE安装单位信息
// 需要安装的设备 安装告知审批通过 清除设备的USC_UNIT_CREDIT_CODE安装单位信息
// 使用单位编辑 防止更新设备时将安改维单位信息更新到es中
// 使用单位编辑 防止更新设备时将安改维单位信息更新到es中
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
...
@@ -4142,6 +4141,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -4142,6 +4141,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
inspectionDetectionInfo
.
getNextInspectDate
()
!=
null
)
{
if
(
inspectionDetectionInfo
.
getNextInspectDate
()
!=
null
)
{
esEquipmentDto
.
setNEXT_INSPECT_DATE
(
inspectionDetectionInfo
.
getNextInspectDate
().
getTime
());
esEquipmentDto
.
setNEXT_INSPECT_DATE
(
inspectionDetectionInfo
.
getNextInspectDate
().
getTime
());
}
}
esEquipmentDto
.
setCREATE_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setREC_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setREC_DATE
(
System
.
currentTimeMillis
());
esEquipmentDto
.
setSEQUENCE_NBR
(
record
);
esEquipmentDto
.
setSEQUENCE_NBR
(
record
);
esEquipmentDto
.
setFACTORY_NUM
(
factoryInfo
.
getFactoryNum
());
esEquipmentDto
.
setFACTORY_NUM
(
factoryInfo
.
getFactoryNum
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
View file @
8bf66b88
...
@@ -1239,7 +1239,7 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -1239,7 +1239,7 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
idxBizJgUseInfoService
.
update
(
idxBizJgUseInfoService
.
update
(
new
IdxBizJgUseInfo
()
new
IdxBizJgUseInfo
()
.
setEstateUnitCreditCode
(
enterpriseInfo
.
getUseUnitCode
())
.
setEstateUnitCreditCode
(
enterpriseInfo
.
getUseUnitCode
())
.
setEquState
(
"1"
)
.
setEquState
(
EquimentEnum
.
ZAIYONG
.
getCode
().
toString
()
)
.
setEstateUnitName
(
enterpriseInfo
.
getUseUnit
()),
.
setEstateUnitName
(
enterpriseInfo
.
getUseUnit
()),
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>()
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>()
.
in
(
IdxBizJgUseInfo:
:
getRecord
,
records
)
.
in
(
IdxBizJgUseInfo:
:
getRecord
,
records
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgChangeVehicleRegistrationUnitServiceImpl.java
View file @
8bf66b88
...
@@ -32,6 +32,7 @@ import com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgOtherInfo;
...
@@ -32,6 +32,7 @@ import com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgOtherInfo;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgRegisterInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgRegisterInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgUseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgUseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgUseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgUseInfoMapper
;
...
@@ -455,7 +456,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -455,7 +456,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
HashMap
<
String
,
Map
<
String
,
Object
>>
objMap
=
new
HashMap
<>();
HashMap
<
String
,
Map
<
String
,
Object
>>
objMap
=
new
HashMap
<>();
ids
.
forEach
(
item
->
{
ids
.
forEach
(
item
->
{
HashMap
<
String
,
Object
>
param
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
param
=
new
HashMap
<>();
param
.
put
(
"EQU_STATE"
,
"1"
);
param
.
put
(
"EQU_STATE"
,
EquimentEnum
.
ZAIYONG
.
getCode
().
toString
()
);
param
.
put
(
"USE_UNIT_NAME"
,
jgChangeVehicleRegistrationUnit
.
getNewUseUnitName
());
param
.
put
(
"USE_UNIT_NAME"
,
jgChangeVehicleRegistrationUnit
.
getNewUseUnitName
());
param
.
put
(
"USE_UNIT_CREDIT_CODE"
,
jgChangeVehicleRegistrationUnit
.
getNewUseUnitCreditCode
());
param
.
put
(
"USE_UNIT_CREDIT_CODE"
,
jgChangeVehicleRegistrationUnit
.
getNewUseUnitCreditCode
());
// 更新车用气瓶变更登记后,修改气瓶的单位内部编号为车牌号 bug23732
// 更新车用气瓶变更登记后,修改气瓶的单位内部编号为车牌号 bug23732
...
@@ -595,7 +596,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
...
@@ -595,7 +596,7 @@ public class JgChangeVehicleRegistrationUnitServiceImpl extends BaseService<JgCh
LambdaUpdateWrapper
<
IdxBizJgUseInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
IdxBizJgUseInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
in
(
IdxBizJgUseInfo:
:
getRecord
,
collect
);
updateWrapper
.
in
(
IdxBizJgUseInfo:
:
getRecord
,
collect
);
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getUseInnerCode
,
jgChangeVehicleRegistrationUnit
.
getNewCarNumber
());
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getUseInnerCode
,
jgChangeVehicleRegistrationUnit
.
getNewCarNumber
());
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getEquState
,
"1"
);
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getEquState
,
EquimentEnum
.
ZAIYONG
.
getCode
().
toString
()
);
jgUseInfoMapper
.
update
(
null
,
updateWrapper
);
jgUseInfoMapper
.
update
(
null
,
updateWrapper
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
View file @
8bf66b88
...
@@ -1487,6 +1487,9 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1487,6 +1487,9 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
}).
headRowNumber
(
2
).
sheet
(
sheetNo
,
sheetName
).
doRead
();
}).
headRowNumber
(
2
).
sheet
(
sheetNo
,
sheetName
).
doRead
();
}
}
}
}
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
// 存在检验不通过的数据则返回错误信息,不在向下写入库
// 存在检验不通过的数据则返回错误信息,不在向下写入库
if
(!
sheetError
.
isEmpty
())
{
if
(!
sheetError
.
isEmpty
())
{
sendErrorContext
(
sheetError
);
sendErrorContext
(
sheetError
);
...
@@ -1506,14 +1509,12 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1506,14 +1509,12 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
if
(!
sheetError
.
isEmpty
())
{
if
(!
sheetError
.
isEmpty
())
{
sendErrorContext
(
sheetError
);
sendErrorContext
(
sheetError
);
}
}
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
return
ResponseHelper
.
buildResponse
(
"success"
);
return
ResponseHelper
.
buildResponse
(
"success"
);
}
}
private
void
sendErrorContext
(
ArrayList
<
String
>
sheetError
)
throws
IOException
{
private
void
sendErrorContext
(
ArrayList
<
String
>
sheetError
)
{
// 发送错误文件
// 发送错误文件
try
{
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
uuid
=
UUID
.
randomUUID
().
toString
();
startDownLoadMsg
(
"人员导入错误文件"
,
uuid
);
startDownLoadMsg
(
"人员导入错误文件"
,
uuid
);
File
tempFile
=
File
.
createTempFile
(
"errors"
,
".txt"
);
File
tempFile
=
File
.
createTempFile
(
"errors"
,
".txt"
);
...
@@ -1532,7 +1533,9 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1532,7 +1533,9 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
.
fluentPut
(
"url"
,
urlString
)
.
fluentPut
(
"url"
,
urlString
)
.
fluentPut
(
"time"
,
new
Date
().
getTime
()));
.
fluentPut
(
"time"
,
new
Date
().
getTime
()));
tempFile
.
delete
();
tempFile
.
delete
();
throw
new
BadRequest
(
"校验出错,请查看错误文件!"
);
}
finally
{
throw
new
BadRequest
(
"数据校验错误,详见人员导入错误文件!"
);
}
}
}
private
void
companyUserCheckField
(
ArrayList
<
String
>
sheetError
,
String
sheetName
,
List
<
CompanyUserImportDto
>
dataList
,
private
void
companyUserCheckField
(
ArrayList
<
String
>
sheetError
,
String
sheetName
,
List
<
CompanyUserImportDto
>
dataList
,
...
@@ -2203,7 +2206,12 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -2203,7 +2206,12 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
Map
.
Entry
<
String
,
JsonNode
>
entry
=
fields
.
next
();
Map
.
Entry
<
String
,
JsonNode
>
entry
=
fields
.
next
();
String
postCode
=
entry
.
getKey
();
// 主岗位
String
postCode
=
entry
.
getKey
();
// 主岗位
JsonNode
subPostCode
=
entry
.
getValue
();
// 子岗位
JsonNode
subPostCode
=
entry
.
getValue
();
// 子岗位
// 确保最大范围包含子类型
if
(
subPostCode
.
isEmpty
()){
allPostUnderTheUnit
.
put
(
postCode
,
subPostCode
);
allPostUnderTheUnit
.
put
(
postCode
,
subPostCode
);
}
else
{
allPostUnderTheUnit
.
putIfAbsent
(
postCode
,
subPostCode
);
}
}
}
}
}
});
});
...
...
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