服务器端函数
- 基本函数
- Object len(String asValue)
- Object iif(boolean aStatus, Object aValue1,Object aValue2)
- String Str(Object aValue)
- String left(String asValue,int aCount)
- boolean startsWith(String asValue,String asSubStr )
- boolean endsWith(String asValue,String asSubStr)
- String right(String asValue,int aCount)
- String formatDt(Date aDate,String asFormat)
- dateSub(date1, date2) date2 减去 date1 ,结果为天数 ,包含小数
- String trim(String asStr)
- boolean IsZero(double aValue)
- Object IsZero(double aValue,Object aZeroValue)
- boolean isNull(Object aObj)
- Object isNull(Object aObj,Object aValue)
- boolean isEmpty(Object aObj)
- Object isEmpty(Object aObj,Object aValue)
- String substr(String asValue, int begin ,int count)
- String substr(String asValue, int begin )
- String rmb(Double avalue)
- long monthIndex(String asMonth)
- String splitStr(String asStr,String asSplitor,String asNewSplitor,String asQuotor)
- public String appendBefore(String asValue,String asChar,int totalSize) 字符串开始填充字符,总长度保持固定值。 如果字符串超出总长度不添加,保持元字符串
- public String randomAlNum(int len) 生成随机字母和数字的字符串,参数为长度
- request函数
- Date hostTime() 与_HOSTTIME 同名
- Date hostDate() _HOSTDATE
- String clienttype()
- Long emtouserid(Long employeeid) boolean inworkgroup(String asWorkGroupCode)
- boolean inworkgroupem(Long employeeid, String aWorkGroupCode)
- boolean inworkgroupuser(Long aUserID, String aWorkGroupCode)
- Long userhouseid()
- Long houseid()
- Long roomid()
- Date hostDate() throws ASException {
- Long userid()
- String username()
- String workgroups()
- String usercode()
- Long useremployeeid()
- String useremployeename()
- String userproperty(String asProppertyCode)
- Object metaparam(String asDomainPath,String asParamCode)
- Long ettid(String domainPath) 获得实体的id
- Long attid(STring domainPath) 获得属性的id
- String roomType() 获得系统的类型代码
public Object metaparam(String asDomainPath,String asParamCode)
public String clienttype()
public List<Long> usersOfWorkgroups(Long...asWorkGroup)
public Long emid(String asEmployeeCode)
public Long emtouserid(Long employeeid);
Long emuserid(Long employeeid)
public String emusercode(Long employeeid)
public String emusername(Long employeeid)
public boolean inworkgroup(String asWorkGroupCode)
public boolean inworkgroupem(Long employeeid, String aWorkGroupCode)
public boolean inworkgroupuser(Long aUserID, String aWorkGroupCode)
public Long userhouseid()
public Long ettid(String asPath)
public Long attid(String asPath)
public Long houseid();
public String housename()
public Long roomid()
public String roomType()
public Date hostDate()
public Long userid()
public Long employeeid()
public String username()
public String workgroups()
public String usercode()
public Long useremployeeid()
public String useremployeename()
public String userproperty(String asProppertyCode)
- 数据集
- ObjRow row()
- Object sn(String asId) throws ASException
- Object _sn(String asId) throws ASException
- Object param(String asParamCode) throws ASException
- Object fv(String asField) throws ASException
- String blEntityId()
- String blEntityName()
- String blEntityCode()
- String EntityId()
- String EntityName()
- String EntityCode()
Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator