|
|
|
@ -247,4 +247,22 @@ public class Ghrh_ResumeServices : BaseServices<Ghrh_Resume, Ghrh_ResumeDto, Ins |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
#region 添加标签 |
|
|
|
|
public async Task<bool> MarkTags(List<long> ids, List<string> tags) |
|
|
|
|
{ |
|
|
|
|
var tag = JsonHelper.ObjToJson(tags); |
|
|
|
|
var result = await Db.Updateable<Ghrh_Resume>() |
|
|
|
|
.SetColumns(it => new Ghrh_Resume() |
|
|
|
|
{ |
|
|
|
|
Tags = tag, |
|
|
|
|
UpdateBy = App.User.ID, |
|
|
|
|
UpdateTime = DateTime.Now, |
|
|
|
|
}) |
|
|
|
|
.Where(it => ids.Contains(it.Id)) |
|
|
|
|
.ExecuteCommandAsync(); |
|
|
|
|
return result > 0 ? true : false; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
} |