parent
acc65ec3e8
commit
0648da693d
|
@ -252,9 +252,9 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
|||
String key = dynamicObject.getString("shkd_tarfield");
|
||||
Object shkd_soufield = dynamicObject.get("shkd_soufield");
|
||||
Object value = null;
|
||||
if (shkd_soufield != null) {
|
||||
if (shkd_soufield != null && !"".equals(shkd_soufield)) {
|
||||
String[] parts = shkd_soufield.toString().split("\\.");
|
||||
logger.info("dynamic:{}\nparts: {}", dynamic, Arrays.toString(parts));
|
||||
logger.info("dynamic:{}\nshkd_soufield:{}\nparts: {}", dynamic, shkd_soufield, Arrays.toString(parts));
|
||||
if (parts.length == 1) {
|
||||
if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) {
|
||||
String objectType = dynamic.getString(parts[0]);
|
||||
|
@ -324,9 +324,9 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
|||
String key = dynamicObject.getString("shkd_tarfield");
|
||||
Object shkd_soufield = dynamicObject.get("shkd_soufield");
|
||||
Object value = null;
|
||||
if (shkd_soufield != null) {
|
||||
if (shkd_soufield != null && !"".equals(shkd_soufield)) {
|
||||
String[] parts = shkd_soufield.toString().split("\\.");
|
||||
logger.info("dynamic:{}\nparts: {}", dynamic, Arrays.toString(parts));
|
||||
logger.info("dynamic:{}\nshkd_soufield:{}\nparts: {}", dynamic, shkd_soufield, Arrays.toString(parts));
|
||||
if (parts.length == 1) {
|
||||
if ("payeetype".equals(parts[0]) || "payertype".equals(parts[0])) {
|
||||
String objectType = dynamic.getString(parts[0]);
|
||||
|
|
Loading…
Reference in New Issue