ClearSubData.js 427 Bytes
Newer Older
1 2 3 4 5
/**
 * 清空子表数据
 * @author raojiaguan
 * @data 2022年3月25日11:47:28
 */
wangcong committed
6 7 8 9 10
export default {
    execute: function () {
        if (arguments && arguments[0] && arguments[1]) {
            let context = arguments[1]
            let tableName = arguments[0][0].StaticValue
11
            context.clearSubDatas(tableName)
wangcong committed
12 13 14 15 16 17
        }
    },
    getResultType: function () {
        return FMR.ConstDataTypes.General;
    }
}