|
@@ -180,9 +180,12 @@ public class TaCompanyServiceImpl extends ServiceImpl<TaCompanyMapper, TaCompany
|
180
|
180
|
|
181
|
181
|
DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
182
|
182
|
String auditorTime = companyJson.getString("auditorTime");
|
183
|
|
- int index = auditorTime.lastIndexOf(".");
|
184
|
|
- String substringTime = auditorTime.substring(0, index);
|
185
|
|
- taCompany.setVerifyTime(StringUtils.isEmpty(companyJson.getString("auditorTime")) ? null : LocalDateTime.parse(substringTime,df));
|
|
183
|
+ if (!StringUtils.isEmpty(auditorTime)){
|
|
184
|
+ int index = auditorTime.lastIndexOf(".");
|
|
185
|
+ String substringTime = auditorTime.substring(0, index);
|
|
186
|
+ taCompany.setVerifyTime(LocalDateTime.parse(substringTime,df));
|
|
187
|
+ }
|
|
188
|
+ taCompany.setVerifyTime(null);
|
186
|
189
|
}
|
187
|
190
|
|
188
|
191
|
//银行卡信息
|