修改人:邹江涛

修改内容:API映射公共单据
修改时间:2024/12/03
This commit is contained in:
zoujiangtao 2024-12-03 18:04:02 +08:00
parent d8a12ec6a7
commit acc65ec3e8
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
Object value = null; Object value = null;
if (shkd_soufield != null) { if (shkd_soufield != null) {
String[] parts = shkd_soufield.toString().split("\\."); String[] parts = shkd_soufield.toString().split("\\.");
logger.info("billObject{}\nparts: {}", billObject, Arrays.toString(parts));
if (parts.length == 1) { if (parts.length == 1) {
if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) { if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) {
String objectType = billObject.getString(parts[0]); String objectType = billObject.getString(parts[0]);
@ -253,6 +254,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
Object value = null; Object value = null;
if (shkd_soufield != null) { if (shkd_soufield != null) {
String[] parts = shkd_soufield.toString().split("\\."); String[] parts = shkd_soufield.toString().split("\\.");
logger.info("dynamic{}\nparts: {}", dynamic, Arrays.toString(parts));
if (parts.length == 1) { if (parts.length == 1) {
if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) { if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) {
String objectType = dynamic.getString(parts[0]); String objectType = dynamic.getString(parts[0]);
@ -324,6 +326,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
Object value = null; Object value = null;
if (shkd_soufield != null) { if (shkd_soufield != null) {
String[] parts = shkd_soufield.toString().split("\\."); String[] parts = shkd_soufield.toString().split("\\.");
logger.info("dynamic{}\nparts: {}", dynamic, Arrays.toString(parts));
if (parts.length == 1) { if (parts.length == 1) {
if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) { if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) {
String objectType = dynamic.getString(parts[0]); String objectType = dynamic.getString(parts[0]);