原创 IDEA 激活 JRebel教程

1,瀏覽器打開 https://www.guidgen.com/ ,複製得到的GUID。    ff8d76db-8c31-4dfd-8ef2-cbd01d7f7679 2,激活的URL 輸入:https://jrebel.qekang.c

原创 springboot 集成添加 Swagger3 支持

第一步,添加Swagger3的依賴      <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-

原创 PostgreSQL 創建分區表、查詢表的所有分區

DROP TABLE IF EXISTS "npas"."pl_rt_wfm_1h"; CREATE TABLE "npas"."pl_rt_wfm_1h" ( "新系統規劃站點編碼" varchar(128) COLLATE "pg

原创 PostgreSQL 學習筆記

批量插入: 方式一: insert into tb1_batch1(user_id,user_name) select user_id,user_name from user_ini;   方式二: create table tb1_

原创 區域類型數據——規劃庫刷新

select l.site_planning_id,st_x(macro.ant_geopoint) as lon,st_y(macro.ant_geopoint) as lat from npas.pl_macro_station ma

原创 Camunda工作流——第五章 子流程

子流程有以下兩個主要的用例:   1,子流程允許分層建模。   2,子流程爲事件創建了一個新的作用域。 使用子流程需要滿足兩個條件:   1,子流程只能有一個空白開始事件,不允許有其他類型的開始事件。並且,子流程必須有至少一個結束事件。  

原创 Camuda工作流——第四章 事件

  事件包含開始(Start)、中間(Intermediate)和結束(End)三種類型。根據觸發方式不同,可以分爲捕獲事件(Catching Event)和拋出事件(Throwing Event)。   開始事件   流程引擎支持空白(B

原创 Camuda工作流——第三章 網關

  在流程中,通常需要做出選擇,也就是進行業務決策。在BPMN中,這個決策用網關(Gateway)來表示。網關用來控制順序流的分叉(Fork)和連接(Join)。   只有在需要對流程進行控制的時候纔會引入網關。   排他網關   當執行到

原创 Camuda工作流——第二章 任務

  任務是參與者爲了完成流程定義的業務目標而需要一步一步完成的動作。因此,一個任務總是分配一條泳道。 常見的任務類型   服務任務(Service Task),一般由軟件自動完成。   發送任務(Send task),用來吧消息發送給外部參

原创 Camuda工作流——第一章 參與者

  參與者(Participants)是參與流程的對象,表示流程中活動的執行者,可以是一個組織、角色、系統或者個人。參與者主要包括泳池(Pool)和泳道(Lane)。   泳池(Pool)在它所處的環境中有明確的組織邊界,比如一家公司或者一

原创 需求庫規劃庫儲備庫四庫更新區域類型到meta_localinfo表

update npas.meta_localinfo a set subordinate_area_key=b.subordinate_area_key,subordinate_area=b.subordinate_area from (

原创 備份需求庫規劃庫數據到temp模式裏

select * into temp.de_cover_point_copy_2021_03_29 from de_cover_point; select * into temp.de_macro_station_copy_2021_03

原创 遷移狀態庫的地市區縣信息

select b.npa_site_planning_id,a.工單流水號,a.地市,a.行政區 from (select 工單流水號,地市,地市||行政區 as 行政區 from mtnoh.task_5 ) a left join

原创 將在規劃庫已丟棄的站點,改回到需求庫

update npas.de_cover_point set is_reserved_planning='0' where site_requirement_code in ( select site_requirement_code

原创 需求庫is_reserved_planning和last_reserved_planning狀態字段爲中文的刷新

select * from npas.de_cover_point where is_reserved_planning !='0' and is_reserved_planning !='1' and is_reserved_plann