|
@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
24
|
24
|
import org.springframework.stereotype.Service;
|
25
|
25
|
|
26
|
26
|
import java.time.LocalDateTime;
|
|
27
|
+import java.time.format.DateTimeFormatter;
|
27
|
28
|
|
28
|
29
|
/**
|
29
|
30
|
* <p>
|
|
@@ -159,13 +160,15 @@ public class TaCompanyServiceImpl extends ServiceImpl<TaCompanyMapper, TaCompany
|
159
|
160
|
taCompany.setCreditCode(companyJson.getString("organization"));
|
160
|
161
|
taCompany.setStatus(companyJson.getInteger("status"));
|
161
|
162
|
taCompany.setReason(companyJson.getString("auditFailReason"));
|
162
|
|
- taCompany.setVerifyTime(StringUtils.isEmpty(companyJson.getString("auditorTime")) ? null : LocalDateTime.parse(companyJson.getString("auditorTime")));
|
|
163
|
+
|
|
164
|
+ DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.s");
|
|
165
|
+ taCompany.setVerifyTime(StringUtils.isEmpty(companyJson.getString("auditorTime")) ? null : LocalDateTime.parse(companyJson.getString("auditorTime"),df));
|
163
|
166
|
}
|
164
|
167
|
|
165
|
168
|
//银行卡信息
|
166
|
|
- JSONObject bankJson = dataJson.getJSONObject("company");
|
|
169
|
+ JSONObject bankJson = dataJson.getJSONObject("bankCard");
|
167
|
170
|
if (null != bankJson){
|
168
|
|
- taCompany.setBankName(bankJson.getString("BankName"));
|
|
171
|
+ taCompany.setBankName(bankJson.getString("bankName"));
|
169
|
172
|
taCompany.setSubbranchName(bankJson.getString("bankDetailName"));
|
170
|
173
|
taCompany.setBankAccount(bankJson.getString("bankCardNo"));
|
171
|
174
|
}
|