createVariable('template','VARCHAR','public');
createVariable('string_19','VARCHAR','public');//内容
createVariable('string_18','VARCHAR','public');//接收人
createVariable('ls_name','varchar');//标题
createVariable('ls_msgid','long');//消息id
createVariable('type','VARCHAR','public');//消息类型
createVariable('phone','VARCHAR','public');//手机号码
//消息模板 在参数维护功能中维护
$template=#db.selectObject("select paramvalue from sys_config_info where paramgroupid='xtxx001' and paramcode='xt_bidding_msg6'");
$template=$template.replaceAll('string_1',$y_cm);
$template=$template.replaceAll('string_3',$house_address);
$template=$template.replaceAll('string_2',#dt.format($ht_begintime,"yyyy-MM-dd HH:mm:ss"));
//消息标题 在参数维护功能中维护
$ls_name=#db.selectObject("select paramvalue from sys_config_info where paramgroupid='xtxx001' and paramcode='xt_bidding_msg6_title'");
$type='bidding';//根据实际类型做变更
$string_19=$template;//消息内容
$string_18=$y_tel;//接收人
if (!isEmpty($string_18)){
$ls_msgid=#app.notice($type,$ls_name,$string_19,$string_18.split(','));//提示消息
}
//手机号码
$phone=$y_tel;
//手机号:单个/多个用逗号隔开/数组
import cn.easyplatform.ShunChengSM.SMsgService;
SMsgService.sendSM($phone,$string_19);