| | |
| | | StringUtil.IsNotNullOrEmpty(queryObj.Result) && |
| | | !"未完成".Equals(queryObj.Result), |
| | | a => a.Result != "未完成") |
| | | .WhereIF(queryObj.Comments != null, a => a.Comments == queryObj.Comments) |
| | | .OrderBy(a => a.BillNo, OrderByType.Desc) |
| | | .ToPageList(queryObj.PageIndex, queryObj.Limit); |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | //主表修改备注字段1 |
| | | public int saveCommentGid(QsItem dto) |
| | | { |
| | | return SqlSugarHelper.UseTransactionWithOracle(db => |
| | | { |
| | | return db.Updateable<QsItemIpiReq>() |
| | | .SetColumns(it => |
| | | it.Comments == dto.Comments) //SetColumns是可以叠加的 写2个就2个字段赋值 |
| | | .Where(it => it.Id == dto.gid) |
| | | .ExecuteCommand(); |
| | | }); |
| | | } |
| | | |
| | | //子表修改备注字段 |
| | | public int saveRemarksPid(QsItem dto) |
| | | { |