摘要:
今天下载Odoo14源码,用PyCharm执行时报如下关系"ir_modul"不存在问题。 最后发现是PostgreSQL版本问题。 Odoo14仅支持PostgreSQL10.0及以上版本,而我电脑上之前安装的是9,忽视了这个要求,mark下。 阅读全文
摘要:
今天写模糊查询时写了如下方法: 1 EntityWrapper wrapper = new EntityWrapper<ExpertEntity>(); 2 wrapper.like("ExpertId", keywords); 3 wrapper.like("ExpertName", keywor 阅读全文
摘要:
这两年项目中一直在使用SqlSugar框架,最近准备做下总结,相关的帖子会陆续发出。SqlSugar具体介绍在此就不再啰嗦,网上sunkaixuan等大神们都做了很全的文档,在这里我只转载2个图片,基本上能表达出SqlSugar的实现原理。 【附】Gitee资料地址: https://gitee.c 阅读全文
摘要:
server { listen 8080; server_name localhost; location / { root C:/nginx-1.14.2/html/xxx; index index.html index.htm; try_files $uri $uri/ /index.html; 阅读全文
摘要:
private static ListItemCollection GetSharepointItemList(Guid SPListId, string FilterCondition) { ListItemCollection list = null; try { ClientContext c 阅读全文
摘要:
使用下方法提取用户时,出现部分用户无法找到的问题,但一旦“检查权限”后就能找到。 记录下这个问题的处理方式,虽然还没彻底理解。 User user = clientContext.Web.SiteUsers.GetByEmail(email) 一位国外小伙伴也碰到了同样问题,他的方案是用Ensure 阅读全文
摘要:
名称 显示名称 SPS-Section-BasicInfo 基本信息 UserProfile_GUID Id SID SID ADGuid Active Directory ID AccountName 帐户名 FirstName 名字 SPS-PhoneticFirstName 拼音名 LastN 阅读全文
摘要:
private static UserModel GetUserByEmail(string email) { UserModel userModel = null; try { OfficeDevPnP.Core.AuthenticationManager authManager = new Of 阅读全文
摘要:
private static void CreateNewItem(string ClassId, string errorMessage) { try { Guid SPListId = new Guid(ConfigurationHelper.GetSPListId()); OfficeDevP 阅读全文
摘要:
private static void UpdateItemById(string ItemId, string errorMessage) { try { Guid SPListId = new Guid(ConfigurationHelper.GetSPClassDataImportResult 阅读全文