Beispiel #1
0
 public static GetPCodeModel SelectGetCouponRulesByGetRuleId(Guid getruleId)
 {
     using (var c = ProcessConnection.OpenGungnir)
     {
         return(DalThirdPartyCouponConfig.SelectGetCouponRulesByGetRuleId(c, getruleId));
     }
 }
Beispiel #2
0
 public static bool DeleteThirdPartyCouponConfig(int id)
 {
     using (var c = ProcessConnection.OpenGungnir)
     {
         return(DalThirdPartyCouponConfig.DeleteThirdPartyCouponConfig(c, id));
     }
 }
Beispiel #3
0
 public static ThirdPartyCouponConfigModel SelecThirdPartyCouponConfigModelById(int id)
 {
     using (var c = ProcessConnection.OpenGungnirReadOnly)
     {
         return(DalThirdPartyCouponConfig.SelectThirdPartyCouponConfigModelById(c, id));
     }
 }
Beispiel #4
0
 public int InsertThirdPartyCouponConfig(ThirdPartyCouponConfigModel model)
 {
     return(dbManager.Execute(connection => DalThirdPartyCouponConfig.InsertThirdPartyCouponConfig(connection, model)));
 }
Beispiel #5
0
 public static int SelectThirdPartyCouponConfigsByChannelAndPatch(string thirdPartyChannel, string thirdPartyCouponPatch)
 {
     return(DalThirdPartyCouponConfig.SelectThirdPartyCouponConfigsByChannelAndPatch(thirdPartyChannel, thirdPartyCouponPatch));
 }
Beispiel #6
0
 public static IEnumerable <ThirdPartyCouponConfigModel> SelecThirdPartyCouponConfigModels(int pageNum, int pageSize)
 {
     return(DalThirdPartyCouponConfig.SelectThirdPartyCouponConfigModels(pageNum, pageSize));
 }