You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 rivejä
543 B

  1. using HKCardOUT.Logic;
  2. using HKCardOUT.Logic.Model;
  3. using HKLib.Dto;
  4. using HKLib.RabbitMQ.Config;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Text;
  8. using XExten.Advance.LinqFramework;
  9. namespace HKCardOUT
  10. {
  11. public class MqHandle : IAccept
  12. {
  13. public void AcceptMQ<T>(string msg)
  14. {
  15. var dto = msg.ToModel<CardStutasDto>();
  16. DbContext.Context.Updateable<CardStutas>().SetColumns(t => t.Stutas == dto.Stutas).Where(t => t.CardNo == dto.CardNo).ExecuteCommand();
  17. }
  18. }
  19. }