25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using HKCardOUT.Helper;
- using HKCardOUT.Logic;
- using HKCardOUT.Logic.Model;
- using HKLib.Dto;
- using HKLib.RabbitMQ.Config;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using XExten.Advance.LinqFramework;
-
- namespace HKCardOUT
- {
- public class CardHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- var dto = msg.ToModel<CardStutasDto>();
-
- DbContext.Context.Updateable<CardStutas>().SetColumns(t => t.Stutas == dto.Stutas).Where(t => t.CardNo == dto.CardNo).ExecuteCommand();
-
- }
- }
- public class TimeHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- DataBus.Times = msg.ToModel<TimeSpilte>();
- }
- }
- public class TestHandle : IAccept
- {
- public void AcceptMQ<T>(string msg)
- {
- var X = msg;
- }
- }
- }
|