|
|
@ -212,6 +212,9 @@ public class IcTripReportRecordServiceImpl extends BaseServiceImpl<IcTripReportR |
|
|
|
} |
|
|
|
//磐石
|
|
|
|
if(StrConstant.PS_CUSTOMER_ID.equals(formDTO.getCustomerId())){ |
|
|
|
if(StringUtils.isEmpty(formDTO.getRegisteredResidence())){ |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "户籍地为必填", "户籍地为必填"); |
|
|
|
} |
|
|
|
if(StringUtils.isEmpty(formDTO.getNatOutcome())){ |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "48小时核算记录为必填", "48小时核算记录为必填"); |
|
|
|
} |
|
|
@ -370,6 +373,9 @@ public class IcTripReportRecordServiceImpl extends BaseServiceImpl<IcTripReportR |
|
|
|
} |
|
|
|
//磐石
|
|
|
|
if(StrConstant.PS_CUSTOMER_ID.equals(formDTO.getCustomerId())){ |
|
|
|
if(StringUtils.isEmpty(formDTO.getRegisteredResidence())){ |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "户籍地为必填", "户籍地为必填"); |
|
|
|
} |
|
|
|
if(StringUtils.isEmpty(formDTO.getNatOutcome())){ |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "48小时核算记录为必填", "48小时核算记录为必填"); |
|
|
|
} |
|
|
|