Ejemplo n.º 1
0
 /// <summary>
 /// 冲药
 /// </summary>
 private void SendPharm(string GroupIndex)
 {
     if ((bool)this.OnFeeTIME("0"))//查询当前是否需要扣除费用
     {
         if (this.dtpQueryTime.Value.ToShortDateString() == Sysdate.ToShortDateString())
         {
             string flag = this.OnPharmFee(GroupIndex, Sysdate, 1).ToString();
             if (flag != "Successed")
             {
                 Message.Show("医嘱\"" + GroupIndex + "\"扣除费用时发生异常:" + flag);
             }
         }
     }
 }
Ejemplo n.º 2
0
 public void InitPage()
 {
     dtStart.DateTime = DateTime.Parse(Sysdate.ToShortDateString()).AddMonths(-1);
     dtEnd.DateTime   = DateTime.Parse(Sysdate.ToShortDateString()).AddDays(1).AddSeconds(-1);
 }