本文共 1298 字,大约阅读时间需要 4 分钟。
默认在home下.kettle/kettle.properties,
Mac下在 /Users/chenyanli/.kettle/kettle.properties windows下载C:\Users\Administrator.kettle\kettle.properties 数据库连接配置文件在/Users/chenyanli/.kettle/shared.xmlhttps://help.pentaho.com/Documentation/5.1/0L0/0Y0/0N0/000
or 是 ||, and &&
var ez_dis_prod_catg_act_ind =‘Y’; if(IsRemove || Disabled) { ez_dis_prod_catg_act_ind=‘N’; } 这个判断全部为Nvar act_ind =‘Y’;
Alert('IsRemove is: '+IsRemove); if(IsRemove == ‘true’) { act_ind=‘N’; } Alert(act_ind);var pkg_nr=package_number.replace(/[\r\n\0]/g,’’).replace(/|/g,’/’).substr(0,75);
cust_remark_txt=cust_remark_txt.replace(’\0’,’’); prod_nm=prod_nm.replace(/[\r\n]/g,’’).replace(/"/g,’’).replace(/|/g,’/’);if (platform !=null){platform = platform.replace(/[\r\n\0]/g,'');}
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-WlwIYmvc-1614857905823)(evernotecid://A5498431-5115-4AF3-B907-1FA92C452698/appyinxiangcom/24880895/ENResource/p374)]
if(event_date0 || event_datenull)
{ var thrd_prty_dlvry_stts_upd_ts = ‘\N’; } else { var thrd_prty_dlvry_stts_upd_ts=date2str(new Date((event_date+str2num(getVariable(“UNIX_TIME_ADD_SEC”,"")))*1000),“yyyy/MM/dd HH:mm:ss”); } dd转载地址:http://jjwmf.baihongyu.com/