parent
cdbbfd3da2
commit
962cc68ddb
|
@ -4,10 +4,13 @@ import kd.bos.dataentity.entity.DynamicObject;
|
|||
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
||||
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
||||
import kd.bos.entity.plugin.args.AfterOperationArgs;
|
||||
import kd.bos.i18n.mservice.I18nServiceHelper;
|
||||
import kd.bos.i18n.mservice.utils.AmountConvertResult;
|
||||
import kd.bos.orm.query.QCP;
|
||||
import kd.bos.orm.query.QFilter;
|
||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||
|
@ -27,6 +30,12 @@ public class PaymentSlipAssociationFixed extends AbstractOperationServicePlugIn
|
|||
// 付款单
|
||||
DynamicObject fkDynamicObject = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(), dataEntity.getDynamicObjectType());
|
||||
|
||||
BigDecimal actpayamt = fkDynamicObject.getBigDecimal("actpayamt");
|
||||
AmountConvertResult result = I18nServiceHelper.amountConvertUppercase("ZH", "CNY", actpayamt.toString(), "false");
|
||||
if (result.isSuccess()) {
|
||||
fkDynamicObject.set("actpayamt", result.getResult());
|
||||
}
|
||||
|
||||
String shkdBusinessname = dataEntity.getString("shkd_businessname");//来源系统
|
||||
|
||||
if (dataEntity.get("settletnumber") != null) {
|
||||
|
|
Loading…
Reference in New Issue