|
@@ -417,6 +417,7 @@ public class TransDetailApiPlugin implements Serializable {
|
|
|
String receiptNo = transDetail.getString(BeiTransdetailConstantInfo.RECEIPTNO);
|
|
|
if(!EmptyUtils.isEmpty(elecreceipt)){
|
|
|
elecreceiptDyn = elecreceipt;
|
|
|
+ return "";
|
|
|
}else {
|
|
|
|
|
|
elecreceiptDyn = BusinessDataServiceHelper.newDynamicObject(BeiElecreceiptConstantInfo.ENTITYID);
|
|
@@ -466,7 +467,7 @@ public class TransDetailApiPlugin implements Serializable {
|
|
|
* 地址格式:address="ftp:\\\\172.16.3.232\\Files\\12Qwee.pdf";
|
|
|
* 格式 :ftp:
|
|
|
*/
|
|
|
- if(EmptyUtils.isNotEmpty(electricAddress)){
|
|
|
+ if(EmptyUtils.isEmpty(elecreceipt) && EmptyUtils.isNotEmpty(electricAddress)){
|
|
|
String address = electricAddress;
|
|
|
address = address.replace("//", "/");
|
|
|
address = address.replace("\\", "/");
|