Commit 2cd1501a authored by 刘林's avatar 刘林

fix(static):证件类型添加默认值身份证

parent ec158684
......@@ -91,11 +91,11 @@ public class EnterpriseBizServiceImpl {
List<String> unitTypeList = new ArrayList<>();
unitTypeList.add(tzBaseEnterpriseInfoDto.getUnitType());
if (tzBaseEnterpriseInfoDto.getUnitType().equals(UnitTypeEnum.SYDW.getName())) {
if (UnitTypeEnum.SYDW.getName().equals(tzBaseEnterpriseInfoDto.getUnitType())) {
unitTypeList.add(UnitTypeEnum.GRZT.getName());
}
if(tzBaseEnterpriseInfoDto.getUnitType().contains(UnitTypeEnum.JYJCJG.getName())){
if(tzBaseEnterpriseInfoDto.getUnitType() != null && tzBaseEnterpriseInfoDto.getUnitType().contains(UnitTypeEnum.JYJCJG.getName())){
if(!ObjectUtils.isEmpty(tzBaseEnterpriseInfoDto.getJyjcStatus())){
String jyjcStatus = tzBaseEnterpriseInfoDto.getJyjcStatus();
String[] array = jyjcStatus.split("-");
......
......@@ -96,8 +96,8 @@
<if test=" tzBaseEnterpriseInfoDto.unitType.indexOf('使用单位')!=-1">
(SELECT cdd.name from amos_tzs_biz.cb_data_dictionary cdd WHERE cdd.code = industry_supervisor and cdd.type = 'HYZGBM') AS industrySupervisorName,
</if>
CONCAT(street,'/',address) AS full_address
CONCAT(street,'/',address) AS full_address,
COALESCE(use_unit_certificate, '身份证') AS use_unit_certificate
FROM
tz_base_enterprise_info
<if test=" tzBaseEnterpriseInfoDto.unitType.indexOf('检验检测机构') !=-1 ">
......
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