Example #1
0
 public int SelectContractAskPay(ContractAskPayInfo ci)
 {
     if (publicDbOpClass.DataTableQuary("select * from EPM_Con_ContractAskPay    where ID=" + ci.ID.ToString() + "   ").Rows.Count > 0)
     {
         return(1);
     }
     return(0);
 }
Example #2
0
 public int UpdateContractAskPay(ContractAskPayInfo ci)
 {
     return(publicDbOpClass.ExecSqlString(string.Concat(new object[] { "Update [EPM_Con_ContractAskPay]  SET AskPayCode='", ci.AskPayCode, "',  AskPayType='", ci.AskPayType, "',  AskPayIdea='", ci.AskPayIdea, "',  AskPayContent='", ci.AskPayContent, "',  AskPayDate='", ci.AskPayDate, "'   where  ID=", ci.ID.ToString() })));
 }