|
@@ -20,6 +20,7 @@ import kd.bos.orm.query.QFilter;
|
|
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
|
|
import kd.bos.servicehelper.operation.DeleteServiceHelper;
|
|
|
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
|
|
+import kd.data.rsa.helper.CodeRuleHelper;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
@@ -317,8 +318,9 @@ public class TransDetailApiPlugin implements Serializable {
|
|
|
long Id = DB.genLongId("t_bei_elecreceipt");
|
|
|
elecreceiptDyn.set("id", Id);
|
|
|
|
|
|
+ String billNo = CodeRuleHelper.generateNumber(BeiElecreceiptConstantInfo.ENTITYID, elecreceiptDyn, null, null);
|
|
|
elecreceiptDyn.set(BeiElecreceiptConstantInfo.DETAILID, transDetail.get(BeiTransdetailConstantInfo.DETAILID));
|
|
|
- elecreceiptDyn.set(BeiElecreceiptConstantInfo.BILLNO, transDetail.get(BeiTransdetailConstantInfo.BILLNO));
|
|
|
+ elecreceiptDyn.set(BeiElecreceiptConstantInfo.BILLNO, billNo);
|
|
|
elecreceiptDyn.set(BeiElecreceiptConstantInfo.COMPANY, transDetail.get(BeiTransdetailConstantInfo.COMPANY));
|
|
|
elecreceiptDyn.set(BeiElecreceiptConstantInfo.ACCOUNTBANK, transDetail.get(BeiTransdetailConstantInfo.ACCOUNTBANK));
|
|
|
elecreceiptDyn.set(BeiElecreceiptConstantInfo.CURRENCY, transDetail.get(BeiTransdetailConstantInfo.CURRENCY));
|