Exemple #1
0
 private void SyncToDB()
 {
     try
     {
         List <WF_CountersignParameter> paramInfos = new List <WF_CountersignParameter>();
         foreach (ListItem item in chklCountersignDept.Items)
         {
             if (item.Selected)
             {
                 paramInfos.Add(new WF_CountersignParameter()
                 {
                     CountersignDeptCode = item.Value,
                     CountersignDeptName = item.Text,
                     CreateByUserCode    = _BPMContext.CurrentPWordUser.DepartCode,
                     CreateByUserName    = _BPMContext.CurrentPWordUser.DepartName,
                     SeCode = 0
                 });
             }
         }
         WF_CounterSign.SyncDataToDB(_BPMContext.ProcID, paramInfos);
     }
     catch (Exception ex)
     {
     }
 }
Exemple #2
0
    protected void btnStart_Click(object sender, EventArgs e)
    {
        List <WF_CountersignParameter> item = new List <WF_CountersignParameter>();

        WF_CounterSign.SyncDataToDB("1", item);
    }