예제 #1
0
파일: SMSSend.cs 프로젝트: evaseemefly/PMS
 public SMSSend()
 {
     departmentBLL = new P_DepartmentInfoBLL();
     groupBLL = new P_GroupBLL();
     personBLL = new P_PersonInfoBLL();
     jobTemplateBLL = new J_JobTemplateBLL();
     jobInfoBLL = new J_JobInfoBLL();
     userInfoBLL = new UserInfoBLL();
     smsContentBLL = new S_SMSContentBLL();
     smsRecord_CurrentBLL = new S_SMSRecord_CurrentBLL();
     SetRedisProperties();
 }
예제 #2
0
 private ExistEnum CheckTargetMsgIdContainsPhone(string msgid, string phone)
 {
     PMS.IBLL.IS_SMSContentBLL contentBLL = new S_SMSContentBLL();
     var content_temp = contentBLL.GetListBy(c => c.msgId == msgid).FirstOrDefault();
     var record_temp = from r in content_temp.S_SMSRecord_Current
                       where r.PhoneNum == phone
                       select r;
     if (record_temp != null)
     {
         return ExistEnum.isExist;
     }
     return ExistEnum.isNotExist;
 }