| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 更新订单扩展表剩余印刷数量 |
| | | /// </summary> |
| | | /// <param name="Keyid"></param> |
| | | /// <param name="SurplusPrintNum"></param> |
| | | /// <param name="Operator"></param> |
| | | /// <returns></returns> |
| | | public bool UpSurplusPrintNumsql(int? Keyid, int? SurplusPrintNum, string Operator) |
| | | { |
| | | |
| | | try |
| | | { |
| | | var sqlStr = "UPDATE [EC_OrderExtend] SET [SurplusPrintNum]=[PrintNum] WHERE Keyid=@Keyid "; |
| | | SqlParameter par = new SqlParameter("@Keyid", Keyid); |
| | | _dataBase.ExecuteSql(sqlStr, par); |
| | | |
| | | return true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw ex; |
| | | } |
| | | } |
| | | |
| | | public bool UpdateModel(Infrastructure.Domain.IAggregateRoot model) |
| | | { |
| | | throw new NotImplementedException(); |