日志

https://github.com/Microsoft/referencesource 

 

oracle 存储过程

 

 

Autofac - auto registration error : No constructors can be found with 'Public binding flags'

I'm not sure why UserService has a private constructor. Is there a reason for this?

 

 

 

   var list = _CardRepository.Query().Where(expr).Select(p => new Card() { Cardid = p.Cardid, Cardtype = new Cardtype() { CardtypeStr = p.Cardtype.CardtypeStr } }).ToList();

现货拆分不正确

9000735846

9000739283

 

 

select a.orderchildno,

(CASE WHEN a.isxs='1' THEN a.quantity ELSE -a.quantity END) as quantity,/*数量 销售金额*/
(CASE WHEN a.isxs='1' THEN a.totalamount ELSE -a.totalamount END) as totalamount/*数量*/
  from om_orderchilddetail a
 

 where ticketno is not null
 order by orderno

 

 

24319.20  Tao

 

2013.9.24  7000733846 正式数量翻倍问题 

 SELECT * FROM (
select a.*,row_number() over (partition by ticketcode order by createtime desc) as rn from tk_sendrecordticket a)
t WHERE t.rn=1;

posted @ 2013-09-17 13:58  awp110  阅读(6415)  评论(0编辑  收藏  举报