Esempio n. 1
0
 private int UpdateCostRecord(T_OA_COSTRECORD cvInfo)
 {
     CostRecordManagementBll crmBll = new CostRecordManagementBll();
     if (crmBll.UpdateInfo(cvInfo) == -1)
     {
         return -1;
     }
     return 1;
 }
Esempio n. 2
0
        private int UpdateCostRecord(T_OA_COSTRECORD cvInfo)
        {
            CostRecordManagementBll crmBll = new CostRecordManagementBll();

            if (crmBll.UpdateInfo(cvInfo) == -1)
            {
                return(-1);
            }
            return(1);
        }
Esempio n. 3
0
 private int UpdateCostRecordList(List<T_OA_COSTRECORD> cvInfoList)
 {
     CostRecordManagementBll crmBll = new CostRecordManagementBll();
     foreach (T_OA_COSTRECORD cvInfo in cvInfoList)
     {
         if (crmBll.UpdateInfo(cvInfo) == -1)
         {
             return -1;
         }
     }
     return 1;
 }
Esempio n. 4
0
        private int UpdateCostRecordList(List <T_OA_COSTRECORD> cvInfoList)
        {
            CostRecordManagementBll crmBll = new CostRecordManagementBll();

            foreach (T_OA_COSTRECORD cvInfo in cvInfoList)
            {
                if (crmBll.UpdateInfo(cvInfo) == -1)
                {
                    return(-1);
                }
            }
            return(1);
        }