更新时IgnoreColumns无效 返回

SqlSugar
1 158
DatabaseOrmContextHDCustomerProperty.Updateable(p).WhereColumns(it => new { it.MAKEORDERNUM,it.ITEMCODE }).IgnoreColumns(it => new { it.ID,it.ORDERSTATE}).ExecuteCommand();

本来是想忽略

ORDERSTATE

字段,结果还是会更新,这是打印出来的sql:

UPDATE  ..."ORDER_STATE"=:ORDER_STATE...WHERE "MAKE_ORDER_NUM"=:MAKE_ORDER_NUM AND "ITEM_CODE"=:ITEM_CODE


Sugar版本 5.0.0.15

热忱回答1