删除
<h3>删除方法的调用回写</h3>
<pre><code>/**
* 封装说明:
* infoValue.billcode 单据号
* infoValue.billtype 单据类型
* infoValue.billInfo 单据结构
* infoValue.logType 操作类型
* infoValue.oldBean 修改前(oldBean.main 主表;oldBean.detailList 明细;otherMap<billtype, otherBean> 其他单据信息数据,otherBean结构同oldBean...);
* infoValue.newBean 修改后(结构同oldBean);
*/
#set($billInfo=$vs.proc.invoke('com.golden.bdp.sdp.billtypeInfo','getInfoByBilltype',$form.BILLTYPE_CODE));
#set($infoValue=$vs.util.newMap());
#set($infoValue.billcode=$form.get($billInfo.maintable.billcodecolumn));
#set($infoValue.billtype=$form.BILLTYPE_CODE);
#set($infoValue.billInfo=$billInfo);
#set($infoValue.logType='delete');
#set($oldBean=$vs.proc.invoke('com.golden.bdp.sdp.billtypeInfo','getInfoValue',$infoValue));
#set($infoValue.oldBean=$oldBean);
#set($oldMod=$oldBean.main);
#set($detailList=$oldBean.detailList);
#set($oldDetailMap = $oldBean.detailMap);</code></pre>
<pre><code>//回写
#set($backProc = $vs.proc.find('com.golden.bdp.sdp.billBack'))
$backProc.executeBack($infoValue,null)</code></pre>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=310babd2632a223a705dd4429f36d9c7&file=file.png" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=7a54cd0f7a2cbba2d04c54a602e29d78&file=file.png" alt="" /></p>