You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.4 KiB
2 lines
2.4 KiB
var B=Object.defineProperty;var d=(o,t,r)=>t in o?B(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r;var u=(o,t,r)=>(d(o,typeof t!="symbol"?t+"":t,r),r);var l=(o,t,r)=>new Promise((c,a)=>{var m=n=>{try{s(r.next(n))}catch(i){a(i)}},p=n=>{try{s(r.throw(n))}catch(i){a(i)}},s=n=>n.done?c(n.value):Promise.resolve(n.value).then(m,p);s((r=r.apply(o,t)).next())});import{UAC as f}from"./UAC-8e255d47.js";import{Map as T}from"./Map-73575e6b.js";import{EntityMyPK as F,EntitiesMyPK as y}from"./EntityMyPK-e742fec8.js";import"./index-f4658ae7.js";import"./Attrs-62391d6b.js";import"./EnumLab-3cbd0812.js";import"./DataType-33901a1c.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";import"./Attr-d5feb8b8.js";import"./RefMethod-33a71db4.js";import"./SearchNormal-5c7fda42.js";import"./SearchFKEnum-31a3a609.js";import"./Glo-fda3f906.js";import"./EnMapExt-8e17025c.js";import"./Entities-6a72b013.js";class e{}u(e,"FlowNo","FlowNo"),u(e,"RefPKVal","RefPKVal"),u(e,"AttrKey","AttrKey"),u(e,"AttrName","AttrName"),u(e,"AttrType","AttrType"),u(e,"ToFieldKey","ToFieldKey"),u(e,"ToFieldName","ToFieldName"),u(e,"ToFieldType","ToFieldType"),u(e,"TurnFunc","TurnFunc"),u(e,"IsSync","IsSync");class A extends F{constructor(t){super("TS.AttrFlow.SyncDataField"),t&&(this.MyPK=t)}get HisUAC(){const t=new f;return t.IsDelete=!0,t.IsUpdate=!0,t.IsInsert=!0,t}get EnMap(){const t=new T("WF_SyncDataField","\u5B57\u6BB5\u540C\u6B65");t.AddMyPK(),t.AddTBString(e.FlowNo,null,"\u6D41\u7A0B\u7F16\u53F7",!1,!1,0,10,50,!0),t.AddTBString(e.RefPKVal,null,"\u5173\u952E\u5185\u5BB9",!1,!1,0,50,50,!0),t.AddTBString(e.AttrKey,null,"\u5B57\u6BB5",!0,!0,0,100,50,!1),t.AddTBString(e.AttrName,null,"\u5B57\u6BB5\u540D",!0,!0,0,100,50,!1),t.AddTBString(e.AttrType,null,"\u7C7B\u578B",!0,!0,0,100,50,!1),t.AddTBString(e.ToFieldKey,null,"\u540C\u6B65\u5230\u5B57\u6BB5",!0,!1,0,100,50,!1);const r="@none=\u65E0@varch2int=varchar\u8F6Cint@varchar2float=varchar\u8F6Cfloat@varchar2Date=varchar\u8F6Cdate@number2varchar=number\u8F6Cvarchar@int2boolen=int\u8F6Cboolen";return t.AddDDLStringEnum(e.TurnFunc,null,"\u8F6C\u6362\u51FD\u6570",r,!0,null,!1),t.AddBoolean(e.IsSync,!1,"\u540C\u6B65?",!0,!0),this._enMap=t,this._enMap}beforeInsert(){return l(this,null,function*(){return Promise.resolve(!0)})}}class G extends y{get GetNewEntity(){return new A}constructor(){super()}}export{A as SyncDataField,e as SyncDataFieldAttr,G as SyncDataFields};
|