添加日志

This commit is contained in:
yangjun 2026-03-24 16:04:25 +08:00
parent 07a38a5b2c
commit 8c34062fef
1 changed files with 4 additions and 0 deletions

View File

@ -186,7 +186,9 @@ public class ElderApi {
}
String orgCode = nuId.substring(4, 7);
IPage<OrgAllInfoApiEntity> list = orgApplyInfoApi.queryOrgAllInfo(pageNo, pageSize, orgCode, null);
List<OrgAllInfoApiEntity> records = list.getRecords();
System.out.println("1111111111111111111:"+orgCode+"----------"+records);
if (records == null || records.size() == 0) {
return Result.ok(null);
}
@ -196,11 +198,13 @@ public class ElderApi {
JSONObject orgInfo = null;
try {
orgInfo = sysBaseAPI.getOrgInfo(orgCode, "payable_amount");
System.out.println("2222222222222222222222:"+orgInfo);
} finally {
DynamicDataSourceContextHolder.clear();
}
if (orgInfo != null && StringUtils.isNotBlank(orgInfo.getString("payableAmount"))) {
result.setPayableAmount(new BigDecimal(orgInfo.getString("payableAmount")));
System.out.println("2222222222222222222222:"+orgInfo);
} else {
return Result.ok(null);
}