06 2022 档案

摘要:new QueryWrapper<>(qo) ScenePlateDefinition qo = new ScenePlateDefinition(); qo.setParentId(parentId); int count = this.count(new QueryWrapper<>(qo)); 阅读全文
posted @ 2022-06-25 16:54 己为 阅读(195) 评论(0) 推荐(0) 编辑
摘要:required a single bean, but 2 were found: Field sceneService2 in com.pcitc.si.mdm.scene.controller.SceneController required a single bean, but 2 were 阅读全文
posted @ 2022-06-24 10:02 己为 阅读(541) 评论(0) 推荐(0) 编辑
摘要:Could not resolve placeholder 'spring.application.name' in value "${spring.application.name}" 错误原因:启动程序后,idea没有正确地将resource/bootstrap.yml 拷贝到target/cl 阅读全文
posted @ 2022-06-24 10:01 己为 阅读(1837) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args) throws Exception { List<String> argList = new ArrayList<>(Arrays.asList(args)); argList.add("--redis.ip=localho 阅读全文
posted @ 2022-06-24 09:38 己为 阅读(64) 评论(0) 推荐(0) 编辑
摘要:把xml文件与mapper类放在一起 配置文件: mapper-locations: classpath*:**/xml/*.xml #配置扫描 pom 的 build 里面加 <build> <resources> <resource> <directory>src/main/java</dire 阅读全文
posted @ 2022-06-14 18:02 己为 阅读(112) 评论(0) 推荐(0) 编辑
摘要:一、显示表的 comment 选择菜单 Tools->Display Preferences,选中 “Table”,勾选 “Commen” 二、显示列的 comment 1.选择菜单 Model->Extensions 2.插入一行,点击属性 3.鼠标右键点击 “Profile”,点击 “Add M 阅读全文
posted @ 2022-06-08 09:11 己为 阅读(641) 评论(0) 推荐(0) 编辑