已修改78个文件
已删除4个文件
已重命名1个文件
已添加7个文件
| | |
| | | [class^="icon-"]{ |
| | | font-family: "iconfont" !important; |
| | | /* 以ä¸å
容åç
§ç¬¬ä¸æ¹å¾æ åºæ¬èº«çè§å */ |
| | | font-size: 18px !important; |
| | | font-size: 13px !important; |
| | | font-style: normal; |
| | | -webkit-font-smoothing: antialiased; |
| | | -moz-osx-font-smoothing: grayscale; |
| | |
| | | text-align: center; |
| | | font-size: 18px; |
| | | } |
| | | |
| | |
| | | <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/2.9.12/index.css"> |
| | | <script src="<%= BASE_URL %>cdn/xlsx/FileSaver.min.js"></script> |
| | | <script src="<%= BASE_URL %>cdn/xlsx/xlsx.full.min.js"></script> |
| | | <script src="https://cdn.staticfile.org/Sortable/1.10.0-rc2/Sortable.min.js"></script> |
| | | <script src="https://cdn.staticfile.org/jsPlumb/2.11.1/js/jsplumb.min.js"></script> |
| | | <link rel="icon" href="<%= BASE_URL %>favicon.png"> |
| | | <link ref="iconcss" href="./public/cdn/iconfont/iconfont.css"> |
| | | <title>ubcsä¼ä¸å¹³å°</title> |
| | | <style> |
| | | html, |
| | |
| | | 忬¡å è½½èµæºå¯è½éè¦è¾å¤æ¶é´ 请èå¿çå¾
|
| | | </div> |
| | | </div> |
| | | <div class="avue-home__footer"> |
| | | <a href="https://bladex.vip" target="_blank"> |
| | | https://bladex.vip </a> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- built files will be auto injected --> |
| | |
| | | 忬¡å è½½èµæºå¯è½éè¦è¾å¤æ¶é´ 请èå¿çå¾
|
| | | </div> |
| | | </div> |
| | | <div class="avue-home__footer"> |
| | | <a href="https://bladex.vip" target="_blank"> |
| | | https://bladex.vip </a> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- built files will be auto injected --> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const delCodeClassifyProcessTemp = (codeClassifyProcessTempDTO) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeClsProcessTempController/deleteData', |
| | | method: 'delete', |
| | | data: codeClassifyProcessTempDTO |
| | | }) |
| | | } |
| | |
| | | url: '/api/ubcs-code/codeSynonym/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | | oids, |
| | | } |
| | | }) |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | export const clone = (row) => { |
| | | export const cloneCodeBasic = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/clone', |
| | | method: 'post', |
| | |
| | | <basic-container> |
| | | <avue-tabs :option="Taboption" @change="handleChange"></avue-tabs> |
| | | <span v-if="type.prop==='tab1'"> |
| | | <attrCrud></attrCrud> |
| | | <avue-crud :data="data" :option="option"></avue-crud> |
| | | </span> |
| | | <span v-else-if="type.prop==='tab2'">æ¨¡æ¿æµç¨</span> |
| | | <span v-else-if="type.prop==='tab3'">模æ¿é¶æ®µ</span> |
| | |
| | | prop: 'tab4', |
| | | }] |
| | | }, |
| | | data:[ |
| | | { |
| | | EnglishNum:"æµè¯ä¸", |
| | | ChinaName:"æµè¯ä¸", |
| | | PropGruop:"æµè¯ä¸", |
| | | Type:"æµè¯ä¸" |
| | | }, |
| | | { |
| | | EnglishNum:"æµè¯äº", |
| | | ChinaName:"æµè¯äº", |
| | | PropGruop:"æµè¯äº", |
| | | Type:"æµè¯äº" |
| | | }, |
| | | { |
| | | EnglishNum:"æµè¯ä¸", |
| | | ChinaName:"æµè¯ä¸", |
| | | PropGruop:"æµè¯ä¸", |
| | | Type:"æµè¯ä¸" |
| | | } |
| | | ], |
| | | option: { |
| | | index: true, |
| | | border: true, |
| | | editBtn:false, |
| | | labelWidth:110, |
| | | column: [ |
| | | { |
| | | label: "屿§è±æç¼å·", |
| | | prop: "EnglishNum", |
| | | fixed:true, |
| | | labelWidth:110, |
| | | width:95 |
| | | }, |
| | | { |
| | | label: "屿§ä¸æåç§°", |
| | | prop: "ChinaName", |
| | | fixed:true, |
| | | width:95 |
| | | }, |
| | | { |
| | | label: "屿§åç»", |
| | | prop: "PropGruop" |
| | | }, |
| | | { |
| | | label: "ç±»å", |
| | | prop: "Type" |
| | | }, |
| | | { |
| | | label: "å表宽度", |
| | | prop: "ListWidth" |
| | | }, |
| | | { |
| | | label: "å
³é®å±æ§", |
| | | prop: "KeyAttr" |
| | | }, |
| | | { |
| | | label: "æ¥è¯¢å±æ§", |
| | | prop: "QueryPro" |
| | | }, |
| | | { |
| | | label: "é«çº§æ¥è¯¢å±æ§", |
| | | prop: "SeniorQueryPro", |
| | | width:95 |
| | | }, |
| | | { |
| | | label: "ç¸ä¼¼æ¥è¯¢å±æ§", |
| | | prop: "SimilarPro", |
| | | width:95 |
| | | }, |
| | | { |
| | | label: "å¿
è¾", |
| | | prop: "MustLose" |
| | | }, |
| | | { |
| | | label: "è¡¨åæ¾ç¤º", |
| | | prop: "FormDIs" |
| | | }, |
| | | { |
| | | label: "å表æ¾ç¤º", |
| | | prop: "TableDis" |
| | | }, |
| | | { |
| | | label: "åªè¯»", |
| | | prop: "readOnly" |
| | | }, |
| | | { |
| | | label: "å表æåº", |
| | | prop: "ListSort" |
| | | }, |
| | | |
| | | { |
| | | label: "å¤è¡ææ¬", |
| | | prop:"LineText", |
| | | }, |
| | | { |
| | | label: "é»è®¤å¼", |
| | | prop:"DefaultValue", |
| | | }, |
| | | { |
| | | label: "åç¼", |
| | | prop:"prefix", |
| | | }, |
| | | { |
| | | label: "åç¼", |
| | | prop:"suffix" |
| | | }, |
| | | { |
| | | label: "ç»åè§å", |
| | | prop:"ComRules" |
| | | }, |
| | | { |
| | | label: "éªè¯è§å", |
| | | prop:"rules" |
| | | }, |
| | | { |
| | | label: "æ¶é´æ ¼å¼", |
| | | prop:"TimeForm" |
| | | }, |
| | | { |
| | | label: "å类注å
¥", |
| | | prop:"claInjection" |
| | | }, |
| | | { |
| | | label: "å类注å
¥", |
| | | prop:"EnuInjection" |
| | | }, |
| | | { |
| | | label: "级è屿§", |
| | | prop:"CasProp" |
| | | }, |
| | | { |
| | | label: "åç
§é
ç½®", |
| | | prop:"RefConfig" |
| | | }, |
| | | { |
| | | label: "çº§èæ¥è¯¢å±æ§", |
| | | prop:"CasQueryProp" |
| | | }, |
| | | { |
| | | label: "éæ©åºæ è¯", |
| | | prop:"SelectLib" |
| | | }, |
| | | { |
| | | label: "å¡«åæç¤º", |
| | | prop:"FillPrompt" |
| | | }, |
| | | { |
| | | label: "è¡¨åæ¾ç¤ºæ ·å¼", |
| | | prop:"FormShow" |
| | | }, |
| | | { |
| | | label: "表åè¶
龿¥", |
| | | prop:"FormHer" |
| | | }, |
| | | { |
| | | label: "è¡¨æ ¼æ¾ç¤ºjs", |
| | | prop:"CrudJs" |
| | | }, |
| | | { |
| | | label: "é¿åº¦", |
| | | prop:"length" |
| | | }, |
| | | { |
| | | label: "å°æ°ç²¾åº¦", |
| | | prop:"DecimalPrecis" |
| | | }, |
| | | { |
| | | label: "åå¼èå´", |
| | | prop:"ValueRange" |
| | | }, |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | // è¿å
¥é¡µé¢é»è®¤æ¯æ¨¡æ¿å±æ§ |
| | | this.type = this.Taboption.column[0]; |
| | | this.type.prop = "tab1" |
| | | this.type.prop="tab1" |
| | | }, |
| | | methods: { |
| | | // Tabæ 忢 |
| | | handleChange(column) { |
| | | this.type = column |
| | | this.$message.success(JSON.stringify(column)) |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | |
| | | <!--<template>--> |
| | | <!-- <!– ä½¿ç¨ Element UI çè¡¨æ ¼ç»ä»¶å±ç¤ºæ°æ® –>--> |
| | | <!-- <!– 对æ¯è¡æ°æ®æ¸²æä¸ä¸ªè¡¨æ ¼è¡ç»ä»¶ –>--> |
| | | <!-- <el-table :data="data">--> |
| | | <!-- <el-table-column v-for="column in columns" :key="column.prop" :label="column.label">--> |
| | | <!-- <template slot-scope="scope">--> |
| | | <!-- <template v-if="isEditing(scope.$index, column.prop)">--> |
| | | <!-- <!– 使ç¨èªå®ä¹è¾å
¥æ¡ï¼ç»å®æ°æ®å¹¶çå¬ blur äºä»¶ –>--> |
| | | <!-- <el-input v-model="editorModel[scope.$index][column.prop]" ref="editor"--> |
| | | <!-- @blur="onEditorBlur(scope.$index, column.prop)">--> |
| | | <!-- </el-input>--> |
| | | <!-- </template>--> |
| | | <!-- <template v-else>--> |
| | | <!-- <!– å°æ°æ®æ¸²æä¸ºè¡¨æ ¼åå
æ ¼ï¼ç»å® click äºä»¶ –>--> |
| | | <!-- <div @click="onCellClick(scope.$index, column.prop)"--> |
| | | <!-- :style="{cursor: 'pointer', backgroundColor: isEditing(scope.$index, column.prop) ? '#F0F0F0' : 'transparent'}">--> |
| | | <!-- {{ scope.row[column.prop] === "" ? '' : scope.row[column.prop] }}--> |
| | | <!-- </div>--> |
| | | <!-- </template>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <!-- </el-table>--> |
| | | <!--</template>--> |
| | | |
| | | <!--<script>--> |
| | | <!--export default {--> |
| | | <!-- data() {--> |
| | | <!-- // ç»ä»¶çæ°æ®ï¼å
æ¬è¡¨æ ¼çæ°æ®ãåå®ä¹åå½åæ£å¨ç¼è¾çè¡åå--> |
| | | <!-- return {--> |
| | | <!-- data: [--> |
| | | <!-- { id: 1, name: 'å¼ ä¸', age: 18, attributegroup: 'ç·', attributeDataTypeText: '广ä¸çæ·±å³å¸' },--> |
| | | <!-- { id: 2, name: 'æå', age: 20, attributegroup: '女', attributeDataTypeText: 'åäº¬å¸æµ·æ·åº' },--> |
| | | <!-- { id: 3, name: 'çäº', age: 22, attributegroup: 'ç·', attributeDataTypeText: '䏿µ·å¸æµ¦ä¸æ°åº' },--> |
| | | <!-- { id: 4, name: 'èµµå
', age: 24, attributegroup: '女', attributeDataTypeText: '广ä¸ç广å·å¸' }--> |
| | | <!-- ],--> |
| | | <!-- columns: [ // å®ä¹è¡¨æ ¼çå--> |
| | | <!-- {--> |
| | | <!-- label: "屿§è±æç¼å·",--> |
| | | <!-- prop: "id",--> |
| | | <!-- fixed: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- labelWidth: 110,--> |
| | | <!-- width: 125,--> |
| | | <!-- sortable: true,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "屿§ä¸æåç§°",--> |
| | | <!-- prop: "name",--> |
| | | <!-- fixed: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- width: 125,--> |
| | | <!-- sortable: true--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "屿§åç»",--> |
| | | <!-- prop: "attributegroup",--> |
| | | <!-- cell: false,--> |
| | | <!-- sortable: true,--> |
| | | <!-- width: 125,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "ç±»å",--> |
| | | <!-- prop: "attributeDataTypeText",--> |
| | | <!-- cell: false,--> |
| | | <!-- sortable: true,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å表宽度",--> |
| | | <!-- prop: "attrTableWidth",--> |
| | | <!-- cell: false,--> |
| | | <!-- sortable: true,--> |
| | | <!-- width: 105,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å
³é®å±æ§",--> |
| | | <!-- prop: "keyattrflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "æ¥è¯¢å±æ§",--> |
| | | <!-- prop: "queryattrflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "é«çº§æ¥è¯¢å±æ§",--> |
| | | <!-- prop: "seniorqueryattrflag",--> |
| | | <!-- width: 95,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "ç¸ä¼¼æ¥è¯¢å±æ§",--> |
| | | <!-- prop: "samerepeatattrflag",--> |
| | | <!-- width: 95,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å¿
è¾",--> |
| | | <!-- prop: "requireflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "è¡¨åæ¾ç¤º",--> |
| | | <!-- prop: "formdisplayflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å表æ¾ç¤º",--> |
| | | <!-- prop: "tabledisplayflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "åªè¯»",--> |
| | | <!-- prop: "readonlyflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å表æåº",--> |
| | | <!-- prop: "sortattrflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | |
| | | <!-- {--> |
| | | <!-- label: "å¤è¡ææ¬",--> |
| | | <!-- prop: "textareaflag",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "é»è®¤å¼",--> |
| | | <!-- prop: "defaultvalue",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- width: 95,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "åç¼",--> |
| | | <!-- prop: "prefixvalue",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "åç¼",--> |
| | | <!-- prop: "suffixvalue",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "ç»åè§å",--> |
| | | <!-- prop: "componentrule",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- width: 105,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "éªè¯è§å",--> |
| | | <!-- prop: "verifyrule",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- width: 105,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "æ¶é´æ ¼å¼",--> |
| | | <!-- prop: "codedateformat",--> |
| | | <!-- sortable: true,--> |
| | | <!-- width: 105,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å类注å
¥",--> |
| | | <!-- prop: "classifyinvokelevel",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "æä¸¾æ³¨å
¥",--> |
| | | <!-- prop: "enumString",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "级è屿§",--> |
| | | <!-- prop: "parentCode",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "åç
§é
ç½®",--> |
| | | <!-- prop: "referConfig",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "çº§èæ¥è¯¢å±æ§",--> |
| | | <!-- prop: "parentQueryAttr",--> |
| | | <!-- width: 105,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "éæ©åºæ è¯",--> |
| | | <!-- prop: "libraryIdentification",--> |
| | | <!-- width: 105,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å¡«åæç¤º",--> |
| | | <!-- prop: "explain",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "è¡¨åæ¾ç¤ºæ ·å¼",--> |
| | | <!-- prop: "formdisplaystyle",--> |
| | | <!-- width: 105,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "è¡¨æ ¼æ¾ç¤ºæ ·å¼",--> |
| | | <!-- prop: "tabledisplaystyle",--> |
| | | <!-- width: 105,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "表åè¶
龿¥",--> |
| | | <!-- prop: "formhref",--> |
| | | <!-- width: 95,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "è¡¨æ ¼è¶
龿¥",--> |
| | | <!-- prop: "tablehref",--> |
| | | <!-- width: 95,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "è¡¨æ ¼æ¾ç¤ºjs",--> |
| | | <!-- prop: "tabledisplayjs",--> |
| | | <!-- width: 95,--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "é¿åº¦",--> |
| | | <!-- prop: "controllength",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "å°æ°ç²¾åº¦",--> |
| | | <!-- prop: "precisionlength",--> |
| | | <!-- cell: false,--> |
| | | <!-- },--> |
| | | <!-- {--> |
| | | <!-- label: "åå¼èå´",--> |
| | | <!-- prop: "valuearea",--> |
| | | <!-- sortable: true,--> |
| | | <!-- cell: false,--> |
| | | <!-- width: 105,--> |
| | | <!-- },--> |
| | | |
| | | <!-- ],--> |
| | | <!-- editingIndex: -1, // å½åæ£å¨ç¼è¾çè¡çç´¢å¼--> |
| | | <!-- editingColumn: '', // å½åæ£å¨ç¼è¾çåç屿§å--> |
| | | <!-- editorModel: [] // ç¼è¾æ¡çæ°æ®ï¼ä½¿ç¨æ°ç»ä¿åæ¯ä¸ªåå
æ ¼çæ°æ®--> |
| | | <!-- };--> |
| | | <!-- },--> |
| | | <!-- created() {--> |
| | | <!-- // å¨ç»ä»¶å建æ¶ï¼åå§åç¼è¾æ¡çæ°æ®--> |
| | | <!-- this.editorModel = this.data.map(row => {--> |
| | | <!-- const editorRow = {};--> |
| | | <!-- this.columns.forEach(column => {--> |
| | | <!-- editorRow[column.prop] = row[column.prop];--> |
| | | <!-- });--> |
| | | <!-- return editorRow;--> |
| | | <!-- });--> |
| | | <!-- },--> |
| | | <!-- methods: {--> |
| | | <!-- // åå
æ ¼ç¹å»äºä»¶å¤ç彿°--> |
| | | <!-- onCellClick(rowIndex, columnProp) {--> |
| | | <!-- if (this.editingIndex >= 0 && this.editingColumn) {--> |
| | | <!-- this.onEditorBlur(this.editingIndex, this.editingColumn);--> |
| | | <!-- return;--> |
| | | <!-- }--> |
| | | |
| | | <!-- const cellValue = this.data[rowIndex][columnProp];--> |
| | | <!-- if (cellValue === undefined || cellValue === null) {--> |
| | | <!-- this.data[rowIndex][columnProp] = '';--> |
| | | <!-- }--> |
| | | |
| | | <!-- this.editingIndex = rowIndex;--> |
| | | <!-- this.editingColumn = columnProp;--> |
| | | |
| | | <!-- this.$nextTick(() => {--> |
| | | <!-- this.$refs.editor.focus();--> |
| | | <!-- });--> |
| | | <!-- },--> |
| | | |
| | | <!-- // ç¼è¾æ¡å¤±ç¦äºä»¶å¤ç彿°--> |
| | | <!-- onEditorBlur(rowIndex, columnProp) {--> |
| | | <!-- // å°å½åç¼è¾æ¡çæ°æ®ä¿åå°è¡¨æ ¼æ°æ®ä¸--> |
| | | <!-- const editorValue = this.editorModel[rowIndex][columnProp];--> |
| | | <!-- if (editorValue === '') {--> |
| | | <!-- this.data[rowIndex][columnProp] = undefined;--> |
| | | <!-- } else {--> |
| | | <!-- this.data[rowIndex][columnProp] = editorValue;--> |
| | | <!-- }--> |
| | | |
| | | <!-- this.editingIndex = -1;--> |
| | | <!-- this.editingColumn = '';--> |
| | | <!-- },--> |
| | | <!-- // 夿æå®åå
æ ¼æ¯å¦å¨ç¼è¾ç¶æ--> |
| | | <!-- isEditing(rowIndex, columnProp) {--> |
| | | <!-- return rowIndex === this.editingIndex && columnProp === this.editingColumn;--> |
| | | <!-- }--> |
| | | <!-- }--> |
| | | <!--};--> |
| | | <!--</script>--> |
| | | |
| | | |
| | | <style lang="scss"> |
| | | //ä¿®æ¹å类注å
¥å¯¹è¯æ¡å
Œ
±æ ·å¼ |
| | | .mydialog .el-dialog__body { |
| | | padding: 10px 20px 30px; |
| | | } |
| | | <style scoped> |
| | | |
| | | </style> |
| | |
| | | <template> |
| | | <avue-form v-model="TreeNewForm" :option="option" @submit="submit"> |
| | | |
| | | </avue-form> |
| | | |
| | | </template> |
| | |
| | | <template> |
| | | <el-container> |
| | | <!-- 左侧èå--> |
| | | <el-aside> |
| | | <basic-container style="height: 85vh; max-height: 155vh; overflow-y: scroll;"> |
| | | <div> |
| | | <div style="display: flex;justify-content: space-around"> |
| | | <el-button plain size="small" type="primary" @click="TreeAdd">æ·»å </el-button> |
| | | <el-button plain size="small" type="primary" @click="TreeEdit">ä¿®æ¹</el-button> |
| | | <el-button plain size="small" type="primary" @click="TreeDel">å é¤</el-button> |
| | | <el-button plain size="small" type="primary" @click="Enable">å¯ç¨</el-button> |
| | | </div> |
| | | <div style="display: flex;justify-content: space-around;margin-top: 5px;margin-bottom: 5px"> |
| | | <el-button plain size="small" type="primary" @click="Deactivate">åç¨</el-button> |
| | | <el-button plain size="small" type="primary" @click="ExportExcel">导åº</el-button> |
| | | <el-button plain size="small" type="primary" @click="ImportExcel">导å
¥</el-button> |
| | | <el-button plain size="small" type="primary" @click="flushed">å·æ°</el-button> |
| | | </div> |
| | | </div> |
| | | <el-upload |
| | | multiple |
| | | :limit="3" |
| | | :on-preview="handlePreview" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :file-list="fileList"> |
| | | <el-button size="small" type="primary" @click="importExcel">ç¹å»ä¸ä¼ </el-button> |
| | | </el-upload> |
| | | <!-- æ èç¹æ·»å å¯¹è¯æ¡--> |
| | | <el-dialog :title="this.TreeFlag ? 'æ·»å åç±»' :'æ·»å 主é¢åº'" :visible.sync="TreeAddFormVisible" append-to-body |
| | | style="width: 1700px;margin: auto"> |
| | | <el-form :model="TreeAddform"> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»ç¼å·ï¼' :'主é¢åºç¼å·ï¼'" label-width="150px" style="display: inline-block"> |
| | | <el-input v-model="TreeAddform.id" autocomplete="off" style="width: 170px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label="this.TreeFlag ? 'åç±»åç§°ï¼' :'主é¢åºåç§°ï¼'" label-width="100px" style="display: inline-block"> |
| | | <el-input v-model="TreeAddform.name" autocomplete="off" style="width: 170px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æè¿°ï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.description" autocomplete="off" style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-show="this.TreeFlag==false" label="åå¨çä¸å¡ç±»åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.btmtypename" autocomplete="off" style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¼ç è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.coderuleoidName" autocomplete="off" style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å
³é®å±æ§æ¥è¯¢è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.codekeyattrrepeatoidName" autocomplete="off" |
| | | style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¸ä¼¼æ¥è¯¢è§åï¼" label-width="150px"> |
| | | <el-input v-model="TreeAddform.codeResembleRuleOidName" autocomplete="off" |
| | | style="width: 585px"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="TreeAddFormVisible = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="TreeAddHandler">ç¡® å®</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- ä¿®æ¹å¯¹è¯æ¡--> |
| | | <el-dialog title="ä¿®æ¹åç±»" :visible.sync="TreeEditFormVisible" append-to-body> |
| | | <classifyTreeform ref="childForm" :TreeNewForm="TreeList" :nodeList="nodeList"></classifyTreeform> |
| | | </el-dialog> |
| | | <avue-tree ref="tree" v-model="TreeAvueform" v-loading="loading" :data="Treedata" :defaultExpandAll="false" |
| | | :option="Treeoption" |
| | | style="height: 80.5vh;padding-top: 5px;padding-bottom: 30px" |
| | | @node-click=" nodeClick" |
| | | @check-change="checkChange" |
| | | > |
| | | <!-- 左侧èå--> |
| | | <el-aside > |
| | | <basic-container> |
| | | <avue-tree ref="tree" v-model="form" :data="Treedata" :option="Treeoption" @node-click=" nodeClick" |
| | | @del="rowDel" @save="rowSave" @check-change="checkChange" style="height: 754px" > |
| | | </avue-tree> |
| | | |
| | | </basic-container> |
| | | </el-aside> |
| | | <el-main> |
| | | <basic-container style="height: 85vh; max-height: 155vh; "> |
| | | <!-- å³ä¾§è¡¨æ ¼--> |
| | | <basic-container> |
| | | <!-- å³ä¾§è¡¨æ ¼--> |
| | | <avue-tabs :option="tabOption" @change="handleChange"></avue-tabs> |
| | | <span v-if="type.prop==='tab1'"> |
| | | |
| | | <avue-crud v-model="crudForm" :data="this.Formlist" :option="this.crudTreeOption" |
| | | ></avue-crud> |
| | | <templatePro></templatePro> |
| | | <avue-crud v-model="crudForm" :data="this.Formlist" :option="this.crudTreeOption" style="height: 700px"></avue-crud> |
| | | </span> |
| | | <span v-else-if="type.prop==='tab2'"> |
| | | <!-- 妿æ¯è¡¨æ ¼å 表å就忬¡å¼å
¥è¿ä¸ªclassifyTreeformç»ä»¶ï¼é颿¯è¡¨åçå
å®¹ï¼æ²¡ç¨å°±å æãæä¸é¢çtabæ ä¹å é¤äº--> |
| | | <!-- 妿æ¯è¡¨æ ¼å 表å就忬¡å¼å
¥è¿ä¸ªclassifyTreeformç»ä»¶ï¼é颿¯è¡¨åçå
å®¹ï¼æ²¡ç¨å°±å 餿ãæä¸é¢tabæ ä¹å é¤äº--> |
| | | <classifyTreeform ref="childForm" :TreeNewForm="TreeList" :nodeList="nodeList"></classifyTreeform> |
| | | <classifyTreeform ref="childForm" :nodeList="nodeList" :TreeNewForm="TreeList"></classifyTreeform> |
| | | <template-pro></template-pro> |
| | | </span> |
| | | </basic-container> |
| | | </el-main> |
| | | </el-container> |
| | | </template> |
| | | |
| | | <script> |
| | | //è¿é声æä¸äºèåç»ä»¶ç¨æ³ï¼é¦å
å¸å±å为左侧èåå³ä¾§è¡¨æ ¼ï¼å¯è½ä¼æå³ä¾§Tabæ å 表åçæ
åµãæä»¥å¦å¤å¼å
¥äºä¸ä¸ªå³ä¾§è¡¨åçç»ä»¶"classifyTreeform"ã |
| | | //é¦å
ç¶ç»ä»¶è°ç¨åç»ä»¶èåï¼éè¿provideä¼ éåæ°ãæTreeoptionå·¦ä¾§æ æ°å¢è¡¨å项 Treedata左侧æ èç¹é
置项 crudTreeOptionå³ä¾§è¡¨æ ¼é
置项 crudTreeDataå³ä¾§è¡¨æ ¼æ¾ç¤ºå
容 |
| | | //å
¶ä¸è¡¨æ ¼çé
ç½®é¡¹ç´æ¥ç¶ä¼ åä¼ éè¿æ¥å°±è¡ï¼ç´æ¥:option=ä¼ éçåæ°åï¼é颿°æ®æ¾ç¤ºçå
容å 为æ¯å左侧èå¨çï¼æä»¥éæ°ä¸ä¸ªFormlistï¼éè¿ç¹å»æ èç¹ä¸æ æ¥å¨ææ¸²æå³ä¾§è¡¨æ ¼ï¼ä¸é¢æ¹æ³é½æå
·ä½æ³¨é |
| | | //ç¶åå说å³ä¾§ç表åï¼ä¸é¨å®ä¹äºä¸ä¸ªç»ä»¶ï¼éè¿ç¶ä¼ ååæè¡¨åæ°æ®TreeListä¼ éè¿å»ï¼ä¼ éåå¨10deCLi1ckæ¹æ³éé¢ä¾¿äºå¤ç乿¯ä¸ä¸ªèå¨çææï¼è¡¨åçé
置项å¨åªä¸ªåç»ä»¶æè
ç¶ç»ä»¶åé½å¯ä»¥ã |
| | | import {getAtrrList, TreeSave, TreeDel, TreeCheckDel,TreeObjcet,TreeEnable,TreeDeactivate,importClassify,gridCodeClassifyTemplateAttr} from "@/api/template/templateAttr"; |
| | | |
| | | export default { |
| | | name: "classifyTrees.vue", |
| | | //使ç¨injectæ¥æ¶åæ° |
| | | //Treeoptionå·¦ä¾§æ æ°å¢è¡¨å项 Treedata左侧æ èç¹ é
置项 crudTreeOptionå³ä¾§è¡¨æ ¼é
置项 crudTreeDataå³ä¾§è¡¨æ ¼æ¾ç¤ºå
容 |
| | | //Treeoptionå·¦ä¾§æ æ°å¢è¡¨å项 Treedata左侧æ èç¹é
置项 crudTreeOptionå³ä¾§è¡¨æ ¼é
置项 crudTreeDataå³ä¾§è¡¨æ ¼æ¾ç¤ºå
容 |
| | | //Treeformå³ä¾§è¡¨åé
置项 |
| | | inject: ['crudTreeOption', "crudTreeData"], |
| | | inject: ['crudTreeOption',"crudTreeData", "Treedata", "Treeoption"], |
| | | data() { |
| | | return { |
| | | fileList:[], |
| | | FlagObj:{}, |
| | | //ä¿®æ¹å¯¹è¯æ¡ |
| | | TreeEditFormVisible:false, |
| | | //æ·»å å¯¹è¯æ¡ |
| | | TreeAddFormVisible: false, |
| | | //å½åç¹å»é¡¹ |
| | | nodeClickList: "", |
| | | //åç±»å主é¢åºç¶æ |
| | | TreeFlag: false, |
| | | //æ å è½½ |
| | | loading: false, |
| | | TreeAddform: { |
| | | id: "", |
| | | name: "", |
| | | description: "", |
| | | //ç¸ä¼¼æ¥è¯¢è§å |
| | | codeResembleRuleOidName: "", |
| | | //å
³é®å±æ§æ¥è¯¢è§å |
| | | codekeyattrrepeatoidName: "", |
| | | //ç¼ç è§å |
| | | coderuleoidName: "", |
| | | //åå¨çä¸å¡ç±»å |
| | | btmtypename: "" |
| | | }, |
| | | //avue-treeæ°æ®ï¼ææ¶æ²¡æä½ç¨ï¼éé¢åè½ç¨elementåäºï¼åªç¨avueçä¸ä¸ªæ ç»ä»¶ä¸ç¨å
置表åäºã |
| | | TreeAvueform: {}, |
| | | Treedata: [], |
| | | Treeoption: { |
| | | addBtn: false, |
| | | editBtn: false, |
| | | delBtn: false, |
| | | defaultExpandAll: false, |
| | | menu: false, |
| | | // //è¿ä¸ªæ¯å¤é |
| | | // multiple: true, |
| | | }, |
| | | crudForm: "", |
| | | form: {}, |
| | | //卿忢å¤çè¿çè¡¨æ ¼æ°æ® |
| | | Formlist: [], |
| | | //tabç¶æ |
| | |
| | | { |
| | | name: "æµè¯1", |
| | | sex: "ç·", |
| | | value: 0 |
| | | value:0 |
| | | }, |
| | | { |
| | | name: "æµè¯2", |
| | | sex: "女", |
| | | value: 1 |
| | | value:1 |
| | | } |
| | | ], |
| | | //ä¼ éç»åç»ä»¶å¨ææ¸²æçæ°æ® |
| | | TreeList: {} |
| | | TreeList:{} |
| | | } |
| | | }, |
| | | //tabæ é»è®¤æ¯è¡¨æ ¼ |
| | | mounted() { |
| | | this.type = this.tabOption.column[0]; |
| | | this.getAttr(); |
| | | console.log(this.fileList) |
| | | }, |
| | | methods: { |
| | | ExportExcel(){ |
| | | console.log(this.fileList) |
| | | }, |
| | | importExcel(){ |
| | | |
| | | }, |
| | | handlePreview(file) { |
| | | debugger |
| | | console.log(file); |
| | | importClassify(file.raw).then(res=>{ |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | //åç±»æ æ°æ®å¤ç |
| | | getAttr() { |
| | | getAtrrList().then(res => { |
| | | this.Treedata = res.data; |
| | | this.Treedata.forEach(() => { |
| | | for (let i = 0; i < this.Treedata.length; i++) { |
| | | this.Treedata[i].value = i; |
| | | } |
| | | }) |
| | | //è°ç¨ä¿®æ¹å±æ§åæ¹æ³ |
| | | this.ModifyProperties(this.Treedata, 'text', 'label'); |
| | | }).catch(res => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | //å®ä¹ä¸ä¸ªä¿®æ¹å¯¹è±¡å±æ§åçæ¹æ³ |
| | | ModifyProperties(obj, oldName, newName) { |
| | | for (let key in obj) { |
| | | if (key === oldName) { |
| | | obj[newName] = obj[key]; |
| | | delete obj[key]; |
| | | } |
| | | if (typeof obj[key] === 'object') { |
| | | this.ModifyProperties(obj[key], oldName, newName); |
| | | } |
| | | } |
| | | }, |
| | | //æ èç¹æ·»å æé® |
| | | TreeAdd() { |
| | | this.TreeAddFormVisible = true; |
| | | // 夿å½åæ¯å¦æç¹å»å项 |
| | | if (this.nodeClickList !== "") { |
| | | this.TreeFlag = true |
| | | } |
| | | }, |
| | | //æ èç¹æ·»å äºä»¶ |
| | | TreeAddHandler() { |
| | | const data = this.TreeAddform |
| | | this.$set(data, "parentCodeClassifyOid", this.nodeClickList.oid) |
| | | console.log(data) |
| | | TreeSave(data).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'æ·»å æå!' |
| | | }); |
| | | this.getAttr(); |
| | | this.TreeAddFormVisible = false |
| | | this.TreeAddform="" |
| | | }).catch(res => { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res |
| | | }); |
| | | }) |
| | | }, |
| | | //æ èç¹å é¤æé® |
| | | TreeDel() { |
| | | this.$confirm('æ¯å¦å é¤å½åéæ©çåç±»ï¼å°ä¼æååç±»ä¸å¹¶å é¤ï¼å¦æåå¨ç¼ç æ°æ®å°ä¸è½è¢«å é¤ï¼æ¯å¦ç»§ç»ï¼', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning', |
| | | customClass: 'my-messagebox', |
| | | }).then(() => { |
| | | TreeCheckDel(this.nodeClickList).then(res => { |
| | | if (res.data.data) { |
| | | TreeDel(this.nodeClickList).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'å 餿å!' |
| | | }); |
| | | this.getAttr(); |
| | | }).catch(res => { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res |
| | | }); |
| | | }) |
| | | } else { |
| | | this.$confirm('å½åæ°æ®å
嫿ä¸çº§æ°æ®ï¼è¦å é¤çè¯ä¼åä¸çº§æ°æ®ä¸èµ·å é¤ï¼ä½ 确认继ç»?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning', |
| | | customClass: 'my-messageboxs', |
| | | }).then(() => { |
| | | TreeDel(this.nodeClickList).then(() => { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'å 餿å!' |
| | | }); |
| | | this.getAttr(); |
| | | }).catch(res => { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res |
| | | }); |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已忶å é¤' |
| | | }); |
| | | }); |
| | | } |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已忶å é¤' |
| | | }); |
| | | }); |
| | | }, |
| | | //ä¿®æ¹åå¡« |
| | | TreeEdit(){ |
| | | if(this.nodeClickList == ""){ |
| | | this.$message({ |
| | | type: 'warning', |
| | | message:'请å
仿 ä¸éæ©ä¸æ¡æ°æ®!' |
| | | }); |
| | | }else { |
| | | this.TreeEditFormVisible=true |
| | | } |
| | | }, |
| | | //æ å·æ° |
| | | flushed() { |
| | | console.log(this.fileList) |
| | | // this.loading = true |
| | | // this.getAttr() |
| | | // setTimeout(() => { |
| | | // this.loading = false; |
| | | // this.nodeClickList = "" |
| | | // }, 600); |
| | | }, |
| | | //å¯ç¨ååç¨é½å
å¤æç¶æ |
| | | //å¯ç¨ |
| | | Enable(){ |
| | | if(this.FlagObj.lcStatus == "Enabled"){ |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: 'å½ååç±»ä¸æ¯åç¨ç¶æ' |
| | | }); |
| | | }else { |
| | | this.$confirm('æ¯å¦å°ååç±»ä¸å¹¶å¯ç¨ï¼', 'æç¤º', { |
| | | confirmButtonText: 'æ¯', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | TreeEnable(this.nodeClickList).then((res)=>{ |
| | | console.log(res) |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'å¯ç¨æå!' |
| | | }); |
| | | this.getAttr() |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已忶å¯ç¨' |
| | | }); |
| | | }); |
| | | } |
| | | }, |
| | | //åç¨ |
| | | Deactivate(){ |
| | | if(this.FlagObj.lcStatus ==="Disabled"){ |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: 'å½ååç±»ä¸æ¯å¯ç¨ç¶æ!' |
| | | }); |
| | | }else { |
| | | this.$confirm('æ¯å¦åç¨å½ååç±»ï¼åç¨åï¼ååç±»ä¹å°ä¸è½è¢«ä½¿ç¨ï¼æ¯å¦ç»§ç»ï¼', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | TreeDeactivate(this.nodeClickList).then((res)=>{ |
| | | console.log(res) |
| | | this.$message({ |
| | | type: 'success', |
| | | message: 'åç¨æå!' |
| | | }); |
| | | this.nodeClickList['flag']=true; |
| | | this.getAttr() |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已忶åç¨' |
| | | }); |
| | | }); |
| | | } |
| | | }, |
| | | nodeClick(data) { |
| | | //ç¹å»å·¦ä¾§æ å³ä¾§å¨æçæ¹æ³ |
| | | // this.Formlist = this.crudTreeData[data.value].column |
| | | // this.nodeList=data.value |
| | | // this.TreeList = this.Treeform.find(item => { |
| | | // return item.value == data.value |
| | | // }); |
| | | this.nodeClickList = data |
| | | TreeObjcet(data.oid).then(res=>{ |
| | | console.log("object",res) |
| | | this.FlagObj=res.data.data |
| | | }) |
| | | gridCodeClassifyTemplateAttr(data.oid).then(res=>{ |
| | | console.log(res) |
| | | }).catch(res=>{ |
| | | console.log(res) |
| | | }) |
| | | this.Formlist = this.crudTreeData[data.value].column |
| | | this.nodeList=data.value |
| | | this.TreeList = this.Treeform.find(item => { |
| | | return item.value == data.value |
| | | }); |
| | | console.log(data) |
| | | }, |
| | | //tabæ 忢 |
| | | handleChange(column) { |
| | |
| | | checkChange(val) { |
| | | console.log(val) |
| | | }, |
| | | //å é¤ |
| | | rowDel(row, index, done) { |
| | | console.log(row) |
| | | this.$confirm('æ¤æä½å°æ°¸ä¹
å é¤, æ¯å¦ç»§ç»?', 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | this.$message.success('å 餿å') |
| | | done(); |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已忶å é¤' |
| | | }); |
| | | }); |
| | | }, |
| | | //æ·»å |
| | | rowSave(node,data,done,loading) { |
| | | this.$message.success('æ°å¢åè°') |
| | | // this.form.id = new Date().getTime(); |
| | | // this.form.value=new Date().getTime(); |
| | | // this.form.children=[]; |
| | | console.log(this.form) |
| | | // console.log("Type",node,data,done,loading) |
| | | // console.log(node,"node") |
| | | // console.log("data",data) |
| | | // console.log("done",done) |
| | | // console.log("loading",loading) |
| | | done(); |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .el-form { |
| | | display: flex; |
| | | flex-wrap: wrap; /* è®¾ç½®å¯æ¢è¡ï¼ä»¥ä¾¿å¨å°å±å¹è®¾å¤ä¸ä½¿ç¨å¤è¡å¸å± */ |
| | | } |
| | | .el-form-item { |
| | | flex: 1; /* 设置å
ç´ å æ®1ä»½ç©ºé´ */ |
| | | margin-right: 1rem; /* 设置å
ç´ ä¹é´çé´è· */ |
| | | } |
| | | .my-messagebox { |
| | | width: 700px; |
| | | } |
| | | .my-messageboxs { |
| | | width: 500px; |
| | | } |
| | | |
| | | </style> |
| | |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchLabelWidth:120, |
| | | border: true, |
| | | index: true, |
| | | viewBtn: true, |
| | |
| | | export default { |
| | | height:'auto', |
| | | with: '60%', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | editBtn: false, |
| | |
| | | index: true, |
| | | viewBtn: false, |
| | | selection: true, |
| | | menuWidth:260, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, //è¡é䏿¶é«äº® |
| | | column: [ |
| | | { |
| | | label: "ç æ®µç¼å·", |
| | |
| | | search: true, |
| | | searchLabelWidth: 80, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段ç¼ç ", |
| | | trigger: "blur", |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µåç§°", |
| | |
| | | search: true, |
| | | searchLabelWidth: 80, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段åç§°", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µæè¿°", |
| | | prop: "description", |
| | | search: false, |
| | | type: "textarea", |
| | | span: 24, |
| | | rules: [{ |
| | | required: false, |
| | | message: "请è¾å
¥ç 段åç§°", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µç±»å", |
| | | prop: "secTypeText", |
| | | search: false, |
| | | type: "select", |
| | | rules: [{ |
| | | required: true, |
| | | message: "è¯·éæ©ç æ®µç±»å", |
| | | trigger: "blur" |
| | | }], |
| | | } |
| | | |
| | | ] |
| | |
| | | height:'auto', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchLabelWidth:120, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | // searchSpan:8, |
| | | border: true, |
| | | index: true, |
| | | viewBtn: true, |
| | |
| | | { |
| | | label: "ç¶æ", |
| | | type: "select", |
| | | dicUrl: "/api/ubcs-omd/dict-biz/dictionary?code=codeLcstatus", |
| | | dicUrl: "/api/ubcs-omd/dict/dictionary?code=codeLcstatus", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æé®çä½ç½®", |
| | | type: "select", |
| | | weight :'140px', |
| | | dicUrl: "/api/ubcs-omd/dict-biz/dictionary?code=codeButtonPosition", |
| | | dicUrl: "/api/ubcs-omd/dict/dictionary?code=codeButtonPosition", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | export default { |
| | | height:"200px", |
| | | height:"220px", |
| | | calcHeight: 30, |
| | | tip: false, |
| | | editBtn:false, |
| | |
| | | viewBtn: true, |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | column: [ |
| | | { |
| | | label: "ç¼å·", |
| | |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | searchLabelWidth:120, |
| | | border: true, |
| | | index: true, |
| | | viewBtn: true, |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | column: [ |
| | | { |
| | | label: "", |
| | |
| | | editDisabled: true, |
| | | search: true, |
| | | span: 24, |
| | | hide: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | import Torelationpackage from "@/views/modeling/Torelationpackage" |
| | | import originalRange from "@/views/modeling/originalRange" |
| | | import originalLink from "@/views/modeling/originalLink" |
| | | import addBasicCode from './views/code/addbasiccode'; |
| | | import classifyTrees from "@/components/Tree/classifyTrees" |
| | | import classifyTreeform from "@/components/Tree/classifyTreeform" |
| | | import TemplatePro from "@/components/Tree/TemplatePro" |
| | | import attrCrud from "@/components/Tree/attrCrud" |
| | | import FormInput from "@/components/Form-input/FormInput" |
| | | import formulaEditor from "@/components/code-dialog-page/formulaEditor" |
| | | |
| | | // 注åå
¨å±crudé©±å¨ |
| | | window.$crudCommon = crudCommon; |
| | | // å è½½Vueæå± |
| | | Vue.use(router); |
| | |
| | | Vue.component('Torelationpackage',Torelationpackage) |
| | | Vue.component('originalRange',originalRange) |
| | | Vue.component('originalLink',originalLink) |
| | | Vue.component('addBasicCode',addBasicCode) |
| | | Vue.component('classifyTrees',classifyTrees) |
| | | Vue.component('classifyTreeform',classifyTreeform) |
| | | Vue.component('TemplatePro',TemplatePro) |
| | | Vue.component('FormInput',FormInput) |
| | | Vue.component('attrCrud',attrCrud) |
| | | Vue.component('formulaEditor',formulaEditor) |
| | | |
| | | // å è½½ç¸å
³urlå°å |
| | | Object.keys(urls).forEach(key => { |
| | |
| | | <basic-container style="height: 350px;"> |
| | | |
| | | <!-- ç¼ç è§åä¿¡æ¯å±ç¤ºåºå --> |
| | | <basic-container> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç¼ç è§å</p> |
| | | <avue-crud :option="optionRule" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | v-model="form" |
| | | ref="crud" |
| | | :before-open="beforeOpen" |
| | | @cell-click="loadBasic" |
| | | @row-update="rowUpdate" |
| | | @row-save="rowSave" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <basic-container class="code-rule-container"> |
| | | <p style="margin-top: -5px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç¼ç è§å</p> |
| | | <avue-crud class="code-rule-crud" |
| | | :option="optionRule" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | v-model="ruleForm" |
| | | ref="crud" |
| | | :before-open="beforeOpen" |
| | | @row-click="codeRuleRowClick" |
| | | @row-update="rowUpdate" |
| | | @row-save="rowSave" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-edit" |
| | | v-show="scope.row.lcStatus=='Editing' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç¼ è¾ |
| | | size="small" |
| | | icon="el-icon-edit" |
| | | v-show="scope.row.lcStatus=='Editing' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç¼ è¾ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-position" |
| | | v-show="scope.row.lcStatus=='Editing' ? true:false" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'release')">å å¸ |
| | | size="small" |
| | | icon="el-icon-position" |
| | | v-show="scope.row.lcStatus=='Editing' ? true:false" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'release')">å å¸ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatus=='Released' ? true:false" |
| | | icon="el-icon-video-pause" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'disable')">å ç¨ |
| | | size="small" |
| | | v-show="scope.row.lcStatus=='Released' ? true:false" |
| | | icon="el-icon-video-pause" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'disable')">å ç¨ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatus=='Disabled' ? true:false" |
| | | icon="el-icon-video-play" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'enable')">å¯ ç¨ |
| | | size="small" |
| | | v-show="scope.row.lcStatus=='Disabled' ? true:false" |
| | | icon="el-icon-video-play" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'enable')">å¯ ç¨ |
| | | </el-button> |
| | | </template> |
| | | <!-- è¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | |
| | | <el-button size="small" |
| | | icon="icon-kelong" |
| | | plain |
| | | @click="cloneCodeSetting">å
é |
| | | @click="openCodeRuleDialog">å
é |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="icon-lianjiekelong" |
| | | style="font-size: 12px;" |
| | | plain |
| | | @click="handleDelete">ä»å
¶ä»è§åä¸å
éç æ®µ |
| | | @click="openOtherCodeRuleDialog">ä»å
¶ä»è§åä¸å
éç æ®µ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-s-help" |
| | |
| | | <el-button size="small" |
| | | icon="icon-qingkong" |
| | | plain |
| | | @click="handleDelete">æ¸
空ç å¼ |
| | | @click="clearAllCodeSec">æ¸
空ç å¼ |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | |
| | | <!-- å¯¹è¯æ¡ --> |
| | | <!-- ç¼ç è§åç¸å
³å¯¹è¯æ¡ --> |
| | | <el-dialog title="ç¼ç è§å使ç¨èå´" |
| | | append-to-body |
| | | :visible.sync="codeRangeSettingBox" |
| | | width="800px"> |
| | | append-to-body |
| | | :visible.sync="codeRangeSettingBox" |
| | | width="800px" |
| | | style="height: 116vh; margin-top: -10vh;"> |
| | | <avue-crud |
| | | :option="dialogeOption" |
| | | :table-loading="dialogLoading" |
| | |
| | | @refresh-change="refreshUseRangeChange"> |
| | | </avue-crud> |
| | | </el-dialog> |
| | | <!-- å
éå¯¹è¯æ¡ --> |
| | | <!-- ç¼ç è§å,å
éå¯¹è¯æ¡ --> |
| | | <el-dialog title="å
éç¼ç è§å" |
| | | append-to-body |
| | | :visible.sync="cloneSettingBox" |
| | | width="800px"> |
| | | <clone-code></clone-code> |
| | | append-to-body |
| | | :visible.sync="cloneSettingBox" |
| | | width="800px" |
| | | style="height: 120vh; margin-top: -14vh; overflow: hidden;"> |
| | | <div style="overflow-y: auto; height: 78vh"> |
| | | <el-row> |
| | | <el-form ref="form" :model="form" label-width="80px" :inline="true"> |
| | | <el-form-item label="ç¼å·" required> |
| | | <el-input v-model="cloneCodeRuleForm.id"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åç§°" required> |
| | | <el-input v-model="cloneCodeRuleForm.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æè¿°" class="clone-input-textarea"> |
| | | <el-input :autosize="{ minRows: 3, maxRows: 5}" type="textarea" v-model="cloneCodeRuleForm.description"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-row> |
| | | <el-row> |
| | | <p style="margin: -3vh 0px 16px 50%; font-weight: 500; font-size: 16px; color: #000;">ç æ®µç®¡ç</p> |
| | | <avue-crud |
| | | class="clone-avue-crud" |
| | | :option="cloneOption" |
| | | :table-loading="cloneTableLoading" |
| | | :data="cloneData" |
| | | @on-load="cloneDataOnLoad"> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-arrow-up" |
| | | v-show="scope.row.orderNum > 1" |
| | | plain |
| | | @click="upOrderNum(scope.row)">ä¸ç§» |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-arrow-down" |
| | | plain |
| | | @click="downOrderNum(scope.row)">ä¸ç§» |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer" style="height: 50px; margin-top: -4vh;"> |
| | | <el-button @click="cloneSettingBox = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveCloneCodeRule">ä¿ å</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- ç¼ç è§å,ä»å
¶ä»è§åå
éå¯¹è¯æ¡ --> |
| | | <el-dialog title="å
éç¼ç è§åçåºç¡ä¿¡æ¯" |
| | | append-to-body |
| | | :visible.sync="cloneOtherCodeRuleSettingBox" |
| | | width="800px" |
| | | style="height: 150vh; margin-top: -14vh;" |
| | | destroy-on-close> |
| | | <div> |
| | | <el-row> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç¼ç è§å</p> |
| | | <avue-crud |
| | | class="other-clone-coderule-crud" |
| | | :option="cloneCodeRuleOption" |
| | | @row-click="codeOtherCloneRuleRowClick" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | ref="crudCloneCodeRuleOther" |
| | | @size-change="sizeChange" |
| | | @selection-change="selectionOtherCloneCodeRuleChange" |
| | | @on-load="onLoad"> |
| | | </avue-crud> |
| | | </el-row> |
| | | <el-row> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç æ®µä¿¡æ¯</p> |
| | | <avue-crud |
| | | class="other-clone-codebasic-crud" |
| | | :option="cloneBasicOption" |
| | | ref="crudCloneCodeBasicOther" |
| | | :table-loading="loadingBasic" |
| | | :data="basicData" |
| | | @selection-change="selectionOtherCloneCodeBasicChange"> |
| | | </avue-crud> |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer" style="height: 50px; margin-top: -4vh;"> |
| | | <el-button @click="cloneOtherCodeRuleSettingBox = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveOtherCodeBasic">ä¿ å</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <!-- åºç¡ç 段å±ç¤ºåºå --> |
| | | <basic-container> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç æ®µç®¡ç</p> |
| | | <avue-crud :option="optionBasic" |
| | | <basic-container class="code-basicsec-container"> |
| | | <p style="margin-top: -5px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç æ®µç®¡ç</p> |
| | | <avue-crud class="code-basic-crud" |
| | | :option="optionBasic" |
| | | ref="crudBasic" |
| | | :table-loading="loadingBasic" |
| | | :data="basicData" |
| | | :permission="permissionList" |
| | | @selection-change="selectionBasicChange" |
| | | @refresh-change="refreshChangeBasicSec"> |
| | | |
| | | <!-- åºç¡ç æ®µè¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <!-- åºç¡ç æ®µè¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-view" |
| | | v-show="currentRuleLcStatus != 'Editing'" |
| | | plain |
| | | @click="openBasicDialog('view',scope.row)">æ¥ç |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-edit" |
| | | v-show="currentRuleLcStatus === 'Editing'" |
| | | plain |
| | | @click="openBasicDialog('edit',scope.row)">ç¼è¾ |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-setting" |
| | | v-show="scope.row.secType === 'codeclassifysec' || scope.row.secType == 'codefixedsec'" |
| | | plain |
| | | @click="openBasicSecCodeValueMgr(scope.row)">ç å¼ç®¡ç |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-arrow-up" |
| | | v-show="scope.row.orderNum > 1" |
| | | plain |
| | | @click="upOrderNum(scope.row)">ä¸ç§» |
| | | </el-button> |
| | | <el-button |
| | | type="text" |
| | | size="small" |
| | | icon="el-icon-arrow-down" |
| | | plain |
| | | @click="downOrderNum(scope.row)">ä¸ç§» |
| | | </el-button> |
| | | </template> |
| | | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="icon-shangyi" |
| | | v-show="scope.row.lcStatus != 'Editing' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">æ¥ ç |
| | | </el-button> |
| | | <!-- åºç¡ç æ®µè¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | @click="addBasicCodeSec">æ° å¢ |
| | | </el-button> |
| | | <el-button type="danger" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | @click="deleteBasicCode(scope.row)">å é¤ |
| | | </el-button> |
| | | </template> |
| | | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="icon-shangyi" |
| | | v-show="scope.row.lcStatus == 'Editing' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç¼ è¾ |
| | | </el-button> |
| | | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="icon-shangyi" |
| | | v-show="scope.row.secType == 'codeclassifysec' || scope.row.secType == 'codefixedsec' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç å¼ç®¡ç |
| | | </el-button> |
| | | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="icon-shangyi" |
| | | v-show="scope.row.orderNum > 1 ? true:false" |
| | | plain |
| | | @click="upOrderNum(scope.row)">ä¸ ç§» |
| | | </el-button> |
| | | |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="icon-xiayi" |
| | | plain |
| | | @click="downOrderNum(scope.row)">ä¸ ç§» |
| | | </el-button> |
| | | |
| | | </template> |
| | | |
| | | <!-- åºç¡ç æ®µè¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | @click="addBasicCodeSec">æ° å¢ |
| | | </el-button> |
| | | <el-button type="danger" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | @click="deleteBasicCode(scope.row)">å é¤ |
| | | </el-button> |
| | | </template> |
| | | |
| | | </avue-crud> |
| | | </avue-crud> |
| | | </basic-container> |
| | | |
| | | <!-- åºç¡ç¼ç è§åå¯¹è¯æ¡ --> |
| | | <el-dialog title="æ·»å ç æ®µä¿¡æ¯" |
| | | :visible.sync="addBasicCodeSettingBox" |
| | | width="780px" |
| | | append-to-body |
| | | style="margin-top: -8vh;" |
| | | destroy-on-close> |
| | | |
| | | <!-- 屿§ç 段ï¼å±æ§éæ©å¼¹çª --> |
| | | <el-dialog title="为[屿§]éåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowSelectAttrOption" |
| | | width="78%" |
| | | style="height: 100%; margin-top: -8vh; overflow: hidden"> |
| | | <div style="overflow-y: auto; height: 60vh"> |
| | | <el-row> |
| | | <!-- 左侧主é¢åºåç±»æ --> |
| | | <el-col :span="5"> |
| | | <div class="box"> |
| | | <el-scrollbar style="height: auto; border-bottom-right-radius:8px "> |
| | | <basic-container> |
| | | <div class="abox"> |
| | | <avue-tree :data="attrClassifyTreeData" :option="treeOption" @node-click="nodeClick"/> |
| | | </div> |
| | | </basic-container> |
| | | </el-scrollbar> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <!-- å³ä¾§è¡¨æ ¼æ¾ç¤ºåºå --> |
| | | <el-col span="19"> |
| | | <!-- ç æ®µç å¼ç®¡çå¯¹è¯æ¡ --> |
| | | <el-dialog title="ç æ®µç å¼ç®¡ç" |
| | | :visible.sync="isShowBasicSecCodeValueMgr" |
| | | :width="isShowFixedForm ? '68vw':'50vw'" |
| | | append-to-body |
| | | style="height: 116vh; margin-top: -10vh;" |
| | | @close="clearFixedOrClassifyForm('close')" |
| | | destroy-on-close> |
| | | <!-- åç±»ç æ®µç å¼ç®¡ç --> |
| | | <el-row v-show="!isShowFixedForm"> |
| | | <el-col :span="11"> |
| | | <basic-container> |
| | | <div class="box classify_value_box" style="height:65vh; margin-bottom:-40px"> |
| | | <el-scrollbar style="border-bottom-right-radius:8px "> |
| | | <basic-container> |
| | | <div class="bbox"> |
| | | <avue-crud ref="crud" |
| | | v-model="form" |
| | | :data="selectattrData" |
| | | :option="attrOption" |
| | | :permission="permissionList" |
| | | :table-loading="selectAttrOptionLoading" |
| | | @search-change="selectAttrOptionSearchChange" |
| | | @search-reset="searchAttrReset" |
| | | @selection-change="selectionChangeAttr"> |
| | | </avue-crud> |
| | | <div class="abox" style="height:54vh"> |
| | | <avue-tree |
| | | :data="classifyValueTreeData" |
| | | :option="classisyValueTreeOption" |
| | | @node-click="classisyValueTreeOnodeClick" |
| | | style="overflow-y: auto; height: 54vh"/> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | </el-scrollbar> |
| | | </div> |
| | | <div style="margin-top:20px; display: flex; align-items:center; justify-content:center;"> |
| | | <el-button size="mini" type="primary" icon="el-icon-arrow-up" class="button" @click="codeClassifyValueOpetion('up')">ä¸ç§»</el-button> |
| | | <el-button size="mini" type="primary" icon="el-icon-arrow-down" class="button" @click="codeClassifyValueOpetion('down')">ä¸ç§»</el-button> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | <el-col :span="13"> |
| | | <basic-container> |
| | | <div class="box" style="height:65vh; margin-bottom:-40px"> |
| | | <el-form> |
| | | <el-form-item label="ç å¼:" :label-width="50" required> |
| | | <el-input style="width: 18vw" v-model="codeClassifyForm.id"></el-input> |
| | | </el-form-item > |
| | | <el-form-item label="åç§°:" :label-width="50" required> |
| | | <el-input style="width: 18vw" v-model="codeClassifyForm.name"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | <div style="margin-top:20px; display: flex; align-items:center; justify-content:center;"> |
| | | <el-button size="mini" type="primary" icon="el-icon-circle-plus" class="button" @click="addCodeSecValue('codeclassifyvaluesec')">æ·»å </el-button> |
| | | <el-button :disabled="selectedFixedOrCodeclassifyValue==''" size="mini" type="success" plain icon="el-icon-edit-outline" class="button" @click="editCodeSecValue('codeclassifyvaluesec')">ä¿®æ¹</el-button> |
| | | <el-button :disabled="selectedFixedOrCodeclassifyValue==''" size="mini" type="danger" icon="el-icon-close" class="button" @click="delCodeSecValue('codeclassifyvaluesec')">å é¤</el-button> |
| | | <el-button size="mini" type="warning" plain icon="el-icon-close" class="button" @click = "clearFixedOrClassifyForm('codeclassifyvaluesec')">åæ¶</el-button> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- åºå®ç 段ç å¼ç®¡ç --> |
| | | <el-row v-show="isShowFixedForm"> |
| | | <el-col :span="15"> |
| | | <basic-container> |
| | | <div class="box fixedbox" style="height:65vh; margin-bottom:-40px"> |
| | | <avue-crud |
| | | class="fixed-avue-crud" |
| | | ref="crudFixedValue" |
| | | :data="fixedValueData" |
| | | :option="fixedValueOption" |
| | | :table-loading="fixedValueOptionLoading" |
| | | @row-click="selectedCodeValueRow"> |
| | | <!-- è¡¨æ ¼å
æé®é
ç½® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-arrow-up" @click="codeFixedValueOpetion('up',scope.row)">ä¸ç§»</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-arrow-down" @click="codeFixedValueOpetion('down',scope.row)">ä¸ç§»</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-minus" @click="codeFixedValueOpetion('remove',scope.row)">ç§»é¤</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | | <div style="margin-top:20px;"> |
| | | <el-button size="mini" type="primary" icon="el-icon-success" class="button" @click="saveCodeFixedOrClassifyValueOption('fixedValue')">ä¿å</el-button> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | <el-col :span="9"> |
| | | <basic-container> |
| | | <div class="box" style="height: 65vh; margin-bottom:-40px; overflow:hidden;" > |
| | | <div style="overflow-y:auto;height: 60vh;"> |
| | | <el-form> |
| | | <el-form-item label="ç å¼:" label-width="54px" required> |
| | | <el-input style="width: 19.5vw" v-model="codeFixdForm.id"></el-input> |
| | | </el-form-item > |
| | | <el-form-item label="æè¿°:"> |
| | | <el-input type="textarea" style="width: 20vw;" v-model="codeFixdForm.description"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | <div style="margin-top:20px; display: flex; align-items:center; justify-content:center;"> |
| | | <el-button :disabled="selectedFixedOrCodeclassifyValue!=''" size="mini" type="primary" icon="el-icon-circle-plus" class="button" @click="addCodeSecValue('codefixedsec')">æ·»å </el-button> |
| | | <el-button :disabled="selectedFixedOrCodeclassifyValue==''" size="mini" type="success" plain plain icon="el-icon-edit-outline" class="button" @click="editCodeSecValue('codefixedsec')">ä¿®æ¹</el-button> |
| | | <el-button :disabled="selectedFixedOrCodeclassifyValue==''" size="mini" type="danger" icon="el-icon-close" class="button" @click="delCodeSecValue('codefixedsec')">å é¤</el-button> |
| | | <el-button size="mini" type="warning" plain icon="el-icon-close" class="button" @click = "clearFixedOrClassifyForm('codefixedsec')">åæ¶</el-button> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | </el-row> |
| | | </el-dialog> |
| | | |
| | | </el-row> |
| | | </div> |
| | | <!-- åºç¡ç 段æ°å¢ç¸å
³å¯¹è¯æ¡ --> |
| | | <el-dialog :title="basicSecDialogTitle" |
| | | :visible.sync="addBasicCodeSettingBox" |
| | | width="60vw" |
| | | append-to-body |
| | | style="height: 115vh; margin-top: -13vh; overflow: hidden" |
| | | destroy-on-close |
| | | @close="clearBasicAddForm"> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectAttrOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="savelistClassifyLinkAttr">ç¡® å®</el-button> |
| | | </div> |
| | | |
| | | </el-dialog> |
| | | <!-- 第ä¸å±å¯¹è¯æ¡,æ·»å ç æ®µä¿¡æ¯å¯¹è¯æ¡ä¸çå
容 --> |
| | | <div class="total" style="overflow-y: auto; height: 70vh"> |
| | | <el-form :model="form"> |
| | | <span class="left"> |
| | | <el-form-item label="ç æ®µç¼å·:" :label-width="leftFormLabelWidth" required> |
| | | <el-input v-model="form.id" :readonly="basicSecOnlyRead" ref="id"></el-input> |
| | | </el-form-item> |
| | | |
| | | <!-- 屿§ç 段ï¼å
¬å¼ç¼è¾æ¡å¼¹çª --> |
| | | <el-dialog title="å
¬å¼ç¼è¾æ¡" |
| | | append-to-body |
| | | :visible.sync="isShowformulaEdit" |
| | | @close="closeFormulaEdit" |
| | | width="78%" |
| | | style="height: 150vh; margin-top: -13vh; overflow: hidden"> |
| | | <el-form-item label="ç æ®µåç§°:" :label-width="leftFormLabelWidth" required> |
| | | <el-input ref="name" v-model="form.name" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ç æ®µç±»å" :label-width="leftFormLabelWidth" required> |
| | | <el-select v-model="form.secType" placeholder="è¯·éæ©" @change="changeSectypeFormItems(null)" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in sectypeList" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <div style="overflow-y: auto; height: 80vh"> |
| | | <el-row> |
| | | <!-- 左侧å
¬å¼å
容 --> |
| | | <el-col :span="14" style="overflow: hidden"> |
| | | <el-card class="box-card" style="height: 33vh; overflow-y: auto; overflow-x: auto;"> |
| | | <div slot="header" class="clearfix"> |
| | | <span style="font-size: medium;">å
¬å¼å
容</span> |
| | | <el-button type="primary" size="mini" style="float: right;" @click="saveFormulaContent">ç¡®å®</el-button> |
| | | <el-button type="warning" size="mini" style="margin-right: 10px; float: right;" @click="resetformulaContent">æ¸
空å
容</el-button> |
| | | <el-form-item label="æè¿°:" :label-width="leftFormLabelWidth"> |
| | | <el-input type="textarea" v-model="form.description" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æ¯å¦æµæ°´ä¾èµ:" :label-width="leftFormLabelWidth"> |
| | | <el-switch v-model="form.serialDependFlag" :disabled="basicSecOnlyRead"></el-switch> |
| | | <el-input-number v-show="form.serialDependFlag" v-model="form.serialDependOrder" controls-position="right" :readonly="basicSecOnlyRead"></el-input-number> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="æ¯å¦ä¸ºç©º:" :label-width="leftFormLabelWidth"> |
| | | <el-switch v-model="form.nullableFlag" :disabled="basicSecOnlyRead"></el-switch> |
| | | </el-form-item> |
| | | </span> |
| | | <el-divider direction="vertical"></el-divider> |
| | | <span class="right"> |
| | | <!-- åºå®ç 段 --> |
| | | <div v-show="form.secType==='codefixedsec' ? true:false"> |
| | | <el-form-item label="ç æ®µé¿åº¦ç±»å:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.codeSecLengthType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeSecLengthType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ç æ®µçé¿åº¦:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeSecLength" ref="codeSecLength" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- 屿§ç 段 --> |
| | | <div v-show="form.secType==='codeattrsec' ? true:false"> |
| | | <el-form-item label="屿§:" :label-width="rightFormLabelWidth" required> |
| | | <el-input |
| | | placeholder="è¯·éæ©" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | ref="referAttributeId" |
| | | v-model="form.referAttributeName" |
| | | @focus="openAttrSelectOrGetValue('attr')" |
| | | :disabled="basicSecOnlyRead"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('attr')" style="cursor: pointer;"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="屿§æå¨åç±»:" :label-width="rightFormLabelWidth"> |
| | | <el-input |
| | | v-model="form.referCodeClassifyOidName" |
| | | disabled> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åå¼è§å:" :label-width="rightFormLabelWidth"> |
| | | <el-input |
| | | placeholder="è¯·éæ©" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | v-model="form.getValueClass" |
| | | :disabled="basicSecOnlyRead" |
| | | @focus="openAttrSelectOrGetValue('value')"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('value')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- æµæ°´ç 段 --> |
| | | <div v-show="form.secType==='codeserialsec' ? true:false"> |
| | | <el-form-item label="ç æ®µçé¿åº¦:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeSecLength" ref="seriaCodeSecLength" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æµæ°´å·çèµ·å§å¼:" :label-width="rightFormLabelWidth"> |
| | | <el-input v-model.number="form.serialStart" ref="serialStart" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æµæ°´çæ¥é¿:" :label-width="rightFormLabelWidth"> |
| | | <el-input v-model.number="form.serialStep" ref="serialStep" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¼ç è¡¥ä½æ¹å¼:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.codeFillType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option label="左补ä½" value="codeattrsec" |
| | | v-for="item in codeFillType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="è¡¥ä½æ¶çå符:" :label-width="rightFormLabelWidth"> |
| | | <el-select v-model="form.codeFillSeparatorSelect" @blur="inputSelectBlur" filterable placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeFillSeparator" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="å¡«å
é¿åº¦:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeFillLength" ref="codeFillLength" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æµæ°´ä¸é:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeFillLimit" ref="codeFillLimit" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æµæ°´æ¯å¦è¡¥ç :" :label-width="rightFormLabelWidth" required> |
| | | <el-switch v-model="form.codeFillFlag" :disabled="basicSecOnlyRead"></el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="èªå®ä¹çæµæ°´ç®æ³:" :label-width="rightFormLabelWidth"> |
| | | <el-input v-model="form.customCodeSerialClass" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- å±çº§ç 段 --> |
| | | <div v-show="form.secType==='codelevelsec' ? true:false"> |
| | | <el-form-item label="å±çº§ç±»å:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.codeLevelType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeLevelType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="å±çº§çå¼:" :label-width="rightFormLabelWidth"> |
| | | <el-input v-model.number="form.codeLevelValue" ref="codeLevelValue" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="å符æªåç±»å:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.valueCutType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeCutType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="åå¼ç±»å:" :label-width="rightFormLabelWidth"> |
| | | <el-select v-model="form.codeGetValueType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeGetValueType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- å¼ç¨ç 段 --> |
| | | <div v-show="form.secType==='coderefersec' ? true:false"> |
| | | <el-form-item label="åç
§å¼ç¨çä¸å¡ç±»å:" label-width="152px" required> |
| | | <el-input |
| | | ref="referBtmId" |
| | | placeholder="è¯·éæ©" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | v-model="form.referBtmId" |
| | | @focus="openAttrSelectOrGetValue('referBtmId')" |
| | | :disabled="basicSecOnlyRead"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('referBtmId')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="åç
§é
ç½®:" label-width="152px" required> |
| | | <el-input |
| | | ref="referConfig" |
| | | placeholder="è¯·éæ©" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | v-model="form.referConfig" |
| | | @focus="openAttrSelectOrGetValue('referConfig')" |
| | | :disabled="basicSecOnlyRead"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('referConfig')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- æ¥æç æ®µ --> |
| | | <div v-show="form.secType==='codedatesec' ? true:false"> |
| | | <el-form-item label="æ¥ææ ¼å¼:" :label-width="rightFormLabelWidth" required> |
| | | <el-input ref="codeDateFormatStr" v-model="form.codeDateFormatStr" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- åç±»ç æ®µ --> |
| | | <div v-show="form.secType==='codeclassifysec' ? true:false"> |
| | | <el-form-item label="ç æ®µé¿åº¦ç±»å:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.codeSecLengthType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeSecLengthType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="ç æ®µçé¿åº¦:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeSecLength" ref="classCodeSecLength" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="æ¯å¦èªå¨åé
åç±»å¼:" :label-width="rightFormLabelWidth"> |
| | | <el-switch v-model="form.matchClassifyValueFlag" :disabled="basicSecOnlyRead"></el-switch> |
| | | </el-form-item> |
| | | <el-form-item label="ç¶åç±»ç æ®µ:" :label-width="rightFormLabelWidth"> |
| | | <el-input |
| | | placeholder="è¯·éæ©" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | v-model="form.parentClassifySecOid" |
| | | @focus="openAttrSelectOrGetValue('parentClassifySecOid')" |
| | | :disabled="basicSecOnlyRead"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('parentClassifySecOid')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | </div> |
| | | <!-- å¯åç æ®µ --> |
| | | <div v-show="form.secType==='codevariablesec' ? true:false"> |
| | | <el-form-item label="ç æ®µçé¿åº¦:" :label-width="rightFormLabelWidth" required> |
| | | <el-input v-model.number="form.codeSecLength" ref="varCodeSecLength" :readonly="basicSecOnlyRead"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¼ç è¡¥ä½æ¹å¼:" :label-width="rightFormLabelWidth" required> |
| | | <el-select v-model="form.codeFillType" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeFillType" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="è¡¥ä½æ¶çå符:" :label-width="rightFormLabelWidth"> |
| | | <el-select v-model="form.codeFillSeparatorSelect" filterable @blur="inputSelectBlur" placeholder="è¯·éæ©" :disabled="basicSecOnlyRead"> |
| | | <el-option |
| | | v-for="item in codeFillSeparator" |
| | | :key="item.dictValue" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </div> |
| | | </span> |
| | | </el-form> |
| | | </div> |
| | | <!-- 第ä¸å±å¯¹è¯æ¡çæé®åï¼çº¿æ¡ --> |
| | | <el-divider direction="horizontal"></el-divider> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="addBasicCodeSettingBox = false" v-show="showbtn">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveOrEditBasicCode" v-show="showbtn">ä¿ å</el-button> |
| | | </div> |
| | | |
| | | <!-- 第äºå±å¯¹è¯æ¡,屿§ç 段ï¼å±æ§éæ©å¼¹çª --> |
| | | <el-dialog title="为ã屿§ãéåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowSelectAttrOption" |
| | | width="78%" |
| | | style="height: 100%; margin-top: -8vh; overflow: hidden"> |
| | | <div style="overflow-y: auto; height: 60vh"> |
| | | <el-row> |
| | | <!-- 左侧主é¢åºåç±»æ --> |
| | | <el-col :span="5"> |
| | | <div class="box"> |
| | | <el-scrollbar style="height: auto; border-bottom-right-radius:8px "> |
| | | <basic-container> |
| | | <div class="abox"> |
| | | <avue-tree :data="attrClassifyTreeData" :option="treeOption" @node-click="nodeClick"/> |
| | | </div> |
| | | <div class="text item"> |
| | | <el-input type="textarea" :rows="5" style="width: 560px;" v-model="formulaContent"></el-input> |
| | | </div> |
| | | </basic-container> |
| | | </el-scrollbar> |
| | | </div> |
| | | </el-col> |
| | | |
| | | </el-card> |
| | | </el-col> |
| | | <!-- å³ä¾§è¡¨æ ¼æ¾ç¤ºåºå --> |
| | | <el-col span="19"> |
| | | <basic-container> |
| | | <div class="bbox"> |
| | | <avue-crud |
| | | :data="selectattrData" |
| | | :option="attrOption" |
| | | :table-loading="selectAttrOptionLoading" |
| | | @search-change="selectAttrOptionSearchChange" |
| | | @search-reset="searchAttrReset" |
| | | @selection-change="selectionChangeAttr"> |
| | | </avue-crud> |
| | | </div> |
| | | </basic-container> |
| | | </el-col> |
| | | |
| | | <!-- å³ä¾§è¿ç®ç¬¦ --> |
| | | <el-col :span="10"> |
| | | <el-card class="box-card" style="height: 33vh;"> |
| | | <div slot="header" class="clearfix"> |
| | | <span style="font-size: medium;">è¿ç®ç¬¦</span> |
| | | </div> |
| | | <div class="text item"> |
| | | <div class="formula-editor"> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'7'})">7</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'8'})">8</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'9'})">9</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'/'})">/</button><br/> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'4'})">4</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'5'})">5</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'6'})">6</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'*'})">*</button><br/> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'1'})">1</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'2'})">2</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'3'})">3</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'>'})">-</button><br/> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'0'})">0</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'00'})">00</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'.'})">.</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'+'})">+</button><br/> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'->'})">-></button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'=='})">==</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'('})">(</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':')'})">)</button><br/> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'<'})"><</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'>'})">></button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'<='})"><=</button> |
| | | <button class="formula-editor-btn-sm" @click="dbClickAddContent({'formula':'>='})">>=</button> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | |
| | | <!-- 左侧å
¬å¼éæ©åºå --> |
| | | <el-col :span="14" style="overflow: hidden"> |
| | | <el-card class="box-card" style="height: 40vh; overflow-y: auto; overflow-x: auto;"> |
| | | <div slot="header" class="clearfix"> |
| | | <span style="font-size: medium;">å
¬å¼éæ©</span> |
| | | </div> |
| | | <div class="text item"> |
| | | <el-tabs v-model="activeName"> |
| | | |
| | | <el-tab-pane label="常ç¨" name="first"> |
| | | <el-table |
| | | :data="commonFormulaTableData" |
| | | :show-header="false" |
| | | @row-dblclick="dbClickAddContent" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="300"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="300"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="è´¢å¡" name="second"> |
| | | <el-table |
| | | :data="financialFormulaTableData" |
| | | @row-dblclick="dbClickAddContent" |
| | | :show-header="false" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="300"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="300"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="æ¥æ" name="third"> |
| | | <el-table |
| | | :data="dateFormulaTableData" |
| | | :show-header="false" |
| | | @row-dblclick="dbClickAddContent" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="300"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="300"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="æ°å¦" name="fourth"> |
| | | <el-table |
| | | :data="mathFormulaTableData" |
| | | :show-header="false" |
| | | @row-dblclick="dbClickAddContent" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="300"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="300"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="å
¶ä»" name="five"> |
| | | <el-table |
| | | :data="otherFormulaTableData" |
| | | @row-dblclick="dbClickAddContent" |
| | | :show-header="false" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="300"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="300"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | |
| | | </el-tabs> |
| | | |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | |
| | | <!-- å³ä¾§åééæ©åºå --> |
| | | <el-col :span="10" style="overflow: hidden"> |
| | | <el-card class="box-card" style="height: 40vh; overflow-y: auto; overflow-x: auto;"> |
| | | <div slot="header" class="clearfix"> |
| | | <span style="font-size: medium;">åé</span> |
| | | </div> |
| | | <div class="text item"> |
| | | <el-tabs v-model="activeNameAttr"> |
| | | <el-tab-pane label="æ¬åºæ¯åé" name="first"> |
| | | <el-table |
| | | :data="thisSceneTableData" |
| | | @row-dblclick="dbClickAddContent" |
| | | :show-header="false" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="40"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="100"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="ç³»ç»åé" name="second"> |
| | | <el-table |
| | | :data="systemVariableTableData" |
| | | @row-dblclick="dbClickAddContent" |
| | | :show-header="false" |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | prop="formula" |
| | | width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="desc" |
| | | width="150"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | |
| | | </el-dialog> |
| | | |
| | | <!-- æ·»å ç æ®µä¿¡æ¯çèªå®ä¹ç»ä»¶ --> |
| | | <add-basic-code ref='addBasicChild' @openAttrSelectOrGetValue="openAttrSelectOrGetValue" @openformulaEdit="openformulaEdit"></add-basic-code> |
| | | |
| | | <!-- 第ä¸å±å¯¹è¯æ¡çæé®åï¼çº¿æ¡ --> |
| | | <el-divider direction="horizontal"></el-divider> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="addBasicCodeSettingBox = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveBasicCode">ä¿ å</el-button> |
| | | </el-row> |
| | | </div> |
| | | |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectAttrOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="selectedListClassifyLinkAttr">ç¡® å®</el-button> |
| | | </div> |
| | | |
| | | </el-dialog> |
| | | |
| | | <!-- 第äºå±å¯¹è¯æ¡,屿§ç 段ï¼å
¬å¼ç¼è¾æ¡å¼¹çªç»ä»¶ --> |
| | | <formula-editor ref="formulaEditor" |
| | | @updateFormulaContent="updateFormulaContent" |
| | | :thisSceneTableData="thisSceneTableData" |
| | | :systemVariableTableData="systemVariableTableData"> |
| | | </formula-editor> |
| | | |
| | | <!-- 第äºå±å¯¹è¯æ¡,为ãç¶åç±»ç æ®µãéåå¼å¼¹çª --> |
| | | <el-dialog title="为ãç¶åç±»ç æ®µãéåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowParentClassifyOption" |
| | | width="65%" |
| | | style="height: 150vh; margin-top: -13vh;" |
| | | destroy-on-close> |
| | | |
| | | <avue-crud |
| | | :page.sync="parentClassifyDataPage" |
| | | ref="crudParentClassify" |
| | | :option="parentClassifyParentOption" |
| | | :table-loading="classifyDialogLoading" |
| | | :data="parentClassifyData" |
| | | @refresh-change="refreshParentClassifyDataChange" |
| | | @search-change="parentClassifySearchChange" |
| | | @search-reset="parentClassifySearchReset" |
| | | @selection-change="parentClassifySelectionChange" |
| | | @current-change="parentClassifyCurrentChange" |
| | | @size-change="parentClassifySizeChange" |
| | | @on-load="parentClassifyOnLoad"> |
| | | </avue-crud> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowParentClassifyOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveSelectedParentClassify">ä¿ å</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <!-- 第äºå±å¯¹è¯æ¡,为ãåç
§å¼ç¨çä¸å¡ç±»åãéåå¼å¼¹çª --> |
| | | <el-dialog title="为ãåç
§å¼ç¨çä¸å¡ç±»åãéåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowSelectReferBtmOption" |
| | | width="65%" |
| | | style="height: 150vh; margin-top: -13vh;" |
| | | destroy-on-close> |
| | | |
| | | <avue-crud |
| | | :page.sync="referBtmDataPage" |
| | | ref="crudReferBtm" |
| | | :option="referBtmOption" |
| | | :table-loading="referBtmDialogLoading" |
| | | :data="referBtmData" |
| | | @refresh-change="referBtmDataChange" |
| | | @search-change="referBtmSearchChange" |
| | | @search-reset="referBtmSearchReset" |
| | | @selection-change="referBtmSelectionChange" |
| | | @current-change="referBtmCurrentChange" |
| | | @size-change="referBtmSizeChange" |
| | | @on-load="referBtmOnLoad"> |
| | | </avue-crud> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectReferBtmOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveSelectedreferBtm">ä¿ å</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | </el-dialog> |
| | | |
| | | </basic-container> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import { gridCodeRule, getDetail, add, update, remove, listUseRange, updateStatus } from "@/api/code/mdmrule"; |
| | | import { gridCodeBasicSec, downOrderNum, upOrderNum, deleteData, editSave, getObjectByOid, listDataByOids, refDataGrid} from "@/api/code/codebasic"; |
| | | import { gridCodeRule, getDetail, add, update, remove, listUseRange, updateStatus,clone,clearAllCode } from "@/api/code/mdmrule"; |
| | | import { |
| | | gridCodeBasicSec, |
| | | downOrderNum, |
| | | upOrderNum, |
| | | deleteData, |
| | | editSave, |
| | | cloneCodeBasic, |
| | | addSave, |
| | | refDataGridClassifySec, |
| | | } from "@/api/code/codebasic"; |
| | | import { treeTopCodeClassify, listClassifyLinkAttr } from "@/api/code/codeclassify"; |
| | | import { gridCodeFixedValue,addSaveCodeFixedValue,deleteCodeFixedValue,editCodeFixedValue,saveOrder } from "@/api/code/codeFixedValue"; |
| | | import { treeCodeClassifyValue,addSaveCodeClassifyValue,editCodeClassifyValue,deleteCodeClassifyValue,saveCodeClassifyValueOrder } from "@/api/code/codeClassifyValue"; |
| | | import { getDictionary } from "@/api/omd/dict"; |
| | | import optionBasic from "@/const/code/codebasic"; |
| | | import cloneOption from "@/const/code/cloneOption"; |
| | | import cloneBasicOption from "@/const/code/cloneBasicDialogOption"; |
| | | import cloneCodeRuleOption from "@/const/code/cloneCodeRuleDialogOption.js"; |
| | | import optionRule from "@/const/code/mdmrule"; |
| | | import attrOption from "@/const/code/selectattroption"; |
| | | import treeOption from "@/const/code/classifytreeoption"; |
| | | import attrOption from "@/const/code/selectAttrOptionDialog"; |
| | | import treeOption from "@/const/code/classifyTreeOptionDialog"; |
| | | import classisyValueTreeOption from "@/const/code/classisyValueTreeDialog"; |
| | | import parentClassifyParentOption from "@/const/code/parentClassifyParentOptionDialog"; |
| | | import referBtmOption from "@/const/code/referBtmDialog"; |
| | | import fixedValueOption from "@/const/code/fixedValueMgrDialog"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | form: {}, |
| | | query: {}, |
| | | loading: true, |
| | | currentCodeRuleOid: '', |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | selectionList: [], |
| | | /*ç¼ç è§åè¡¨æ ¼é
ç½®*/ |
| | | optionRule: optionRule, |
| | | |
| | | data: [], |
| | | |
| | | /*å
éæé®å¯¹è¯æ¡æ§å¶*/ |
| | | cloneSettingBox: false, |
| | | optionBasic: optionBasic, |
| | | |
| | | /*åºç¡ç 段ç¸å
³æ°æ®*/ |
| | | basicData:[], |
| | | loadingBasic: true, |
| | | selectionBasicList: [], |
| | | addBasicCodeSettingBox: false, |
| | | /* ä¸ºå±æ§éåå¼çªå£æ¾ç¤ºæå¼æ§å¶åé */ |
| | | isShowSelectAttrOption: false, |
| | | /* ä¸ºå±æ§éå¼å·¦ä¾§æ æ°æ® */ |
| | | attrClassifyTreeData: [], |
| | | treeOption: treeOption, |
| | | currentSelectTreeData: '', //å½åéä¸çæ èç¹ |
| | | /* ä¸ºå±æ§éå¼å³ä¾§è¡¨æ ¼ç¸å
³æ°æ® */ |
| | | attrOption: attrOption, |
| | | selectattrData: [], |
| | | selectAttrOptionLoading: false, |
| | | selectionChangeAttrList: [], |
| | | /*å
¬å¼ç¼è¾æ¡å¯¹è¯æ¡*/ |
| | | isShowformulaEdit: false, //å
¬å¼ç¼è¾æ¡å¯¹è¯æ¡æ¾ç¤ºæ§å¶ |
| | | formulaContent: '', //å
¬å¼ç¼è¾æ¡å
容 |
| | | activeName: 'first', //å½åæ´»å¨çtab |
| | | activeNameAttr: 'first', //åéä¸çå½åæ´»å¨tab |
| | | |
| | | |
| | | //常ç¨å
¬å¼ |
| | | commonFormulaTableData: [{ |
| | | "formula": 'if(compare,trueResult,falseResult)', |
| | | "desc": '妿compareç表达å¼ä¸ºtrueï¼åæ§è¡trueResultç表达å¼ï¼å¦åæ§è¡flaseResult.ä¾å¦if(3>2,2*(3+2),3/(2-4)),å¼çäº10', |
| | | }, |
| | | { |
| | | "formula": 'sum(douber1,douber2)', |
| | | "desc": 'ä¸¤ä¸ªæ ¼å¼ä¸ºdouberçåæ°æ±å', |
| | | }, |
| | | { |
| | | "formula": 'sub(douber1,douber2)', |
| | | "desc": 'æ ¼å¼ä¸ºdouberçåæ°douber1å廿 ¼å¼ä¸ºdouberçåæ°douber2', |
| | | }, |
| | | { |
| | | "formula": 'mul(douber1,douber2)', |
| | | "desc": 'ä¸¤ä¸ªæ ¼å¼ä¸ºdouberçåæ°ç¸ä¹', |
| | | }, |
| | | { |
| | | "formula": 'div(douber1,douber2)', |
| | | "desc": 'æ ¼å¼ä¸ºdouberçåæ°douber1é¤ä»¥æ ¼å¼ä¸ºdouberçåæ°douber2.å½douber2çäº0çæ¶åï¼è¿å0;妿é¤ä¸å°½çæ¶åä¿ç10ä½å°æ°', |
| | | }, |
| | | { |
| | | "formula": 'mod(int,int)', |
| | | "desc": 'æ±ä½æ°', |
| | | }, |
| | | { |
| | | "formula": 'toInt(string)', |
| | | "desc": '转æ¢ä¸ºintæ ¼å¼', |
| | | }, |
| | | { |
| | | "formula": 'doubleRound(string,count)', |
| | | "desc": 'å¤çdouberçå°æ°ä½æ°ï¼countè¡¨ç¤ºå°æ°ä½æ°', |
| | | }, |
| | | { |
| | | "formula": 'zeroIfNull(value)', |
| | | "desc": '妿忰çå¼ä¸ºnullæè
"",å°è¿å0', |
| | | }, |
| | | { |
| | | "formula": 'endsWith(string,str1)', |
| | | "desc": 'å符串stringæ¯ä¸æ¯ä»¥str1ç»å°¾', |
| | | }, |
| | | { |
| | | "formula": 'startsWith(string,str1)', |
| | | "desc": 'å符串stringæ¯å¦ä»¥str1å¼å¤´', |
| | | }, |
| | | { |
| | | "formula": 'charAt(string,index)', |
| | | "desc": 'è·åå符串stringä¸ç¬¬indexä½ç½®çå符ï¼å¦æé¿åº¦å°äºindexï¼åè¿å', |
| | | }, |
| | | { |
| | | "formula": 'equalsIgnoreCase(str1,str2)', |
| | | "desc": 'å符串str1åå符串str2æ¯å¦ç¸ç', |
| | | }, |
| | | { |
| | | "formula": 'indexOf(str1,str2)', |
| | | "desc": 'å符串str2å¨å符串str1ä¸é¦æ¬¡åºç°çä½ç½®', |
| | | }, |
| | | { |
| | | "formula": 'isEmpty(str1)', |
| | | "desc": 'åæ°str1æ¯å¦ä¸ºç©ºï¼å
¶ä¸nullè¿ä¸ªå符串ä¹è¡¨ç¤ºä¸ºç©º', |
| | | }, |
| | | { |
| | | "formula": 'lastIndexOf(str1,str2)', |
| | | "desc": 'å符串str2å¨å符串str1䏿ååºç°çä½ç½®', |
| | | }, |
| | | { |
| | | "formula": 'leftStr(str1,index)', |
| | | "desc": 'è·åindexä½ç½®å·¦ä¾§çææå符', |
| | | }, |
| | | { |
| | | "formula": 'rightStr(str1,str2)', |
| | | "desc": 'è·åindexä½ç½®å³ä¾§çææå符', |
| | | }, |
| | | { |
| | | "formula": 'length(str1)', |
| | | "desc": 'åæ°str1çé¿åº¦', |
| | | }, |
| | | { |
| | | "formula": 'mid(str1,start,end)', |
| | | "desc": 'è·åstr1çä»startå°endç´æ¥çå符串ï¼åºç°å¼å¸¸æ¶è¿å', |
| | | }, |
| | | { |
| | | "formula": 'tolowercase(str1)', |
| | | "desc": 'å°å符串str1转为å°å', |
| | | }, |
| | | { |
| | | "formula": 'touppercase(str1)', |
| | | "desc": 'å°å符串str1转为大å', |
| | | }, |
| | | { |
| | | "formula": 'trimzero(str1)', |
| | | "desc": 'å»é¤å符串str1ä¸ç0', |
| | | }, |
| | | { |
| | | "formula": 'MD5(str1)', |
| | | "desc": 'å°å符串è¿è¡MD5å å¯', |
| | | }, |
| | | ], |
| | | //è´¢å¡å
¬å¼ |
| | | financialFormulaTableData: [{ |
| | | "formula": 'toChinese(value)', |
| | | "desc": 'å°é¿æä¼¯æ°å转为为æ±å大忹å¼' |
| | | }, |
| | | { |
| | | "formula": 'getChineseCurrency(value)', |
| | | "desc": 'å°é¿æä¼¯æ°å转为为æ±åéé¢å¤§åæ¹å¼ï¼ä¸tochinessçåºå«æ¯è¿ä¸ªä¼æ¾ç¤ºå
ãè§ãå' |
| | | }, |
| | | { |
| | | "formula": 'setThmark(value)', |
| | | "desc": 'ä¸ºåæ°value设置ååä½' |
| | | } |
| | | ], |
| | | //æ¥æå
¬å¼ |
| | | dateFormulaTableData: [{ |
| | | "formula": 'compareDate(d1,d2)', |
| | | "desc": '对æ¯åæ°d1,d2ç大å°ãd1,d2为yyyy-MM-ddæ ¼å¼çæ¥æå符串' |
| | | }, |
| | | { |
| | | "formula": 'nowDate()', |
| | | "desc": 'è·åå½åæ¥æ' |
| | | }, |
| | | { |
| | | "formula": 'chinaDate(d1)', |
| | | "desc": 'å°æ¶é´è½¬æ¢ä¸ºååï¼d1æ¯yyyy-MM-ddæ ¼å¼çæ¥æå符串' |
| | | }, |
| | | { |
| | | "formula": 'dateAdd(d1,count)', |
| | | "desc": 'å¨d1çåºç¡ä¸æ·»å count天,d1为yyyy-MM-dd HH:mm:ssæ ¼å¼çæ¶é´å符串' |
| | | }, |
| | | { |
| | | "formula": 'dateBalanceYear(sourceDate,targetDate,false)', |
| | | "desc": '计ç®ç¸å·®çå¹´ä»½ï¼æ¯å¦è®¡ç®å¹´é¾ï¼targetDate为""表示å½åæ¶é´ï¼ç¬¬ä¸ä¸ªåæ°ä¸ºtrue表示æå¤ä½çæä»½æè
å¤©æ°æ¶ï¼å°±å 1;' |
| | | }, |
| | | { |
| | | "formula": 'dateBalanceDay(sourceDate,targetDate)', |
| | | "desc": '计ç®ç¸å·®ç天æ°ï¼targetDate为""表示å½åæ¶é´' |
| | | }, |
| | | { |
| | | "formula": 'dateformat(d1,format)<', |
| | | "desc": 'å°å½åçæ¥æï¼æ¶é´ï¼å符串转为æå®çå符串ï¼å¦æformatçå
容æç©ºæ ¼ï¼è¯·ä½¿ç¨&代æ¿' |
| | | }, |
| | | { |
| | | "formula": 'nowDatetime()', |
| | | "desc": 'è·åå½åæ¥æåæ¶é´ãæ ¼å¼ä¸ºyyyy-MM-dd HH:mm:ss' |
| | | }, |
| | | { |
| | | "formula": 'dayOf(d1)', |
| | | "desc": 'è·åæ ¼å¼ä¸ºyyyy-MM-ddçæ¥æç天æ°' |
| | | }, |
| | | { |
| | | "formula": 'nowMon()', |
| | | "desc": 'è·åå½åçæä»½ï¼æ ¼å¼ä¸ºMM' |
| | | }, |
| | | { |
| | | "formula": 'monOf(d1)', |
| | | "desc": 'è·åæ¥æd1çæä»½æ°' |
| | | }, |
| | | { |
| | | "formula": 'nowTime()', |
| | | "desc": 'è·åå½åæ¶é´ï¼æ ¼å¼ä¸ºHH:mm:ss' |
| | | }, |
| | | { |
| | | "formula": 'nowYear()', |
| | | "desc": 'è·åå¹´ä»½ï¼æ ¼å¼ä¸ºyyyy' |
| | | }, |
| | | { |
| | | "formula": 'yearOf()', |
| | | "desc": 'è·åæ¶é´d1ç年份' |
| | | } |
| | | ], |
| | | //æ°å¦å
¬å¼ |
| | | mathFormulaTableData: [{ |
| | | "formula": 'abs(value)', |
| | | "desc": 'æ±åæ°valueçç»å¯¹å¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'acos(value)', |
| | | "desc": 'æ±åæ°valueçåä½å¼¦ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'asin(value)', |
| | | "desc": 'æ±åæ°valueç忣弦ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'atan(value)', |
| | | "desc": 'æ±åæ°valueç忣åï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'cbrt(value)', |
| | | "desc": 'æ±åæ°valueçç«æ¹æ ¹ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'ceil(value)', |
| | | "desc": 'è¿åä¸å¤§äºåæ°valueçæå°æ´æ°ï¼ä¾å¦ceil(1.7)å°±çäº2ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'cos(value)', |
| | | "desc": 'æ±åæ°valueçä½å¼¦å¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'cosh(value)', |
| | | "desc": 'æ±åæ°valueçåæ²ä½å¼¦å¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'exp(n)', |
| | | "desc": 'æ¬§ææ° e çn次å¹ï¼nå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'floor(n)', |
| | | "desc": 'æ¬§ææ° e çn次å¹å1ï¼nå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'log(value)', |
| | | "desc": 'è¿åä¸å°äºåæ°valueçæå¤§æ´æ°ï¼ä¾å¦floor(1.7)çäº1ï¼nå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'log10(value)', |
| | | "desc": 'èªç¶å¯¹æ°,valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'log1p(value)', |
| | | "desc": '计ç®åºæ°ä¸º 10 ç对æ°,valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'random()', |
| | | "desc": 'è¿ååæ°ä¸ 1 ä¹åçèªç¶å¯¹æ°ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'rint(value)', |
| | | "desc": 'è¿åä¸ä¸ªä¼ªéæºæ°ï¼è¯¥å¼å¤§äºçäº 0.0 ä¸å°äº 1.0' |
| | | }, |
| | | { |
| | | "formula": 'round(value)', |
| | | "desc": 'è¿åå
¶å¼ææ¥è¿åæ°å¹¶ä¸æ¯æ´æ°ç double å¼ãå¦æä¸¤ä¸ªæ´æ°ç double å¼é½åæ ·æ¥è¿ï¼é£ä¹ç»æåå¶æ°ãç¹æ®æ
嵿¯ï¼å¦æåæ°å¼æ¯æ´æ°ï¼é£ä¹ç»æå°±æ¯è¯¥åæ°ãå¦æåæ°æ¯ NaN ææ ç©·å¤§ææ£é¶æè´é¶ï¼é£ä¹ç»æä¸åæ°ç¸å' |
| | | }, |
| | | { |
| | | "formula": 'signum(value)', |
| | | "desc": '符å·å½æ°ï¼å¦æåæ°ä¸º 0ï¼åè¿å 0ï¼å¦æåæ°å¤§äº 0ï¼ åè¿å 1.0ï¼å¦æåæ°å°äº 0ï¼åè¿å -1.0' |
| | | }, |
| | | { |
| | | "formula": 'sin(value)', |
| | | "desc": 'æ±åæ°valueçæ£å¼¦å¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'sinh(value)', |
| | | "desc": 'æ±åæ°valueçåæ²æ£å¼¦å¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'tan(value)', |
| | | "desc": 'æ±åæ°valueçæ£åå¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'tanh(value)', |
| | | "desc": 'æ±åæ°valueçåæ²æ£åå¼ï¼valueå¿
须为æ°åæ ¼å¼' |
| | | }, |
| | | { |
| | | "formula": 'max(v1,v2)', |
| | | "desc": 'æ±ä¸¤ä¸ªæ°ä¸çè¾å¤§çå¼ï¼v1,v2é½å¿
须为æ°åæ ¼å¼ï¼ä¾å¦max(3.2,3)å°±çäº3.2' |
| | | }, |
| | | { |
| | | "formula": 'min(v1,v2)', |
| | | "desc": 'æ±ä¸¤ä¸ªæ°ä¸çè¾å°çå¼ï¼v1,v2é½å¿
须为æ°åæ ¼å¼ï¼ä¾å¦max(3.2,3)å°±çäº3' |
| | | }, |
| | | { |
| | | "formula": 'sqrt(value)', |
| | | "desc": 'æ±å¹³æ¹æ ¹' |
| | | }, |
| | | ], |
| | | //å
¶ä»å
¬å¼ |
| | | otherFormulaTableData: [{ |
| | | "formula": 'getcolvalue(servername,tablename,fieldname,pkField,pkValue)', |
| | | "desc": 'æ¥è¯¢servernameä¸tablenameæ°æ®åºè¡¨ä¸fieldnameåæ®µçå¼ï¼pkfield表示主é®çåæ®µåç§°ï¼pkValue表示主é®çå¼ï¼serverNameç°å¨é»è®¤ä¸ºlocalServer' |
| | | }, |
| | | ], |
| | | |
| | | //æ¬åºæ¯åé |
| | | thisSceneTableData: [{ |
| | | "formula": '${}', |
| | | "desc": ' ' |
| | | }, |
| | | ], |
| | | //ç³»ç»åé |
| | | systemVariableTableData: [{ |
| | | "formula": '#CURRENTUSER.OID#', |
| | | "desc": 'å½åç¨æ·ç主é®' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.ID#', |
| | | "desc": 'å½åç¨æ·çè´¦æ·' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTTIME#', |
| | | "desc": 'å½åæ¶é´' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTDATE#', |
| | | "desc": 'å½åæ¥æ' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTDATETIME#', |
| | | "desc": 'å½åæ¥ææ¶é´' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER_NAME#', |
| | | "desc": 'å½åç¨æ·çå§å' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.SECRETGRADE#', |
| | | "desc": 'å½åç¨æ·å¯çº§' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.IPSECRET#', |
| | | "desc": 'å½åç¨æ·çIPå¯çº§' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.BUSINESSUNIT#', |
| | | "desc": 'å½åç¨æ·æå±ä¸å¡åå
' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.BUSINESSUNITNAME#', |
| | | "desc": 'å½åç¨æ·æå±ä¸å¡åå
åç§°' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.GROUPOID#', |
| | | "desc": 'å½åç¨æ·çé¨é¨ä¸»é®' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.GROUPNAME#', |
| | | "desc": 'å½åç¨æ·æå±é¨é¨åç§°' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.EMAIL#', |
| | | "desc": 'å½åç¨æ·é®ä»¶å°å' |
| | | }, |
| | | { |
| | | "formula": '#CURRENTUSER.ROLENAME#', |
| | | "desc": 'å½åç¨æ·æå±è§è²åç§°' |
| | | } |
| | | ], |
| | | |
| | | /*使ç¨èå´å¯¹è¯æ¡æ¾ç¤ºæ§å¶*/ |
| | | codeRangeSettingBox: false, |
| | | useRangeData: [], |
| | | dialogLoading: true, |
| | | /*使ç¨èå´å¯¹è¯æ¡é
ç½®*/ |
| | | dialogeOption: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShow: false, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | | index: true, |
| | | disablePage:false, |
| | | viewBtn: false, |
| | | addBtn: false, |
| | | menu: false, |
| | | selection: false, |
| | | dialogClickModal: false, |
| | | align: 'center', |
| | | dialogWidth: 400, |
| | | column: [ |
| | | { |
| | | label: "åç±»ç¼å·", |
| | | prop: "id", |
| | | span: 24 |
| | | }, |
| | | { |
| | | label: "åç±»åç§°", |
| | | prop: "name", |
| | | span: 24, |
| | | } |
| | | ] |
| | | }, |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | export default { |
| | | data() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.codeRule_add, true), |
| | | viewBtn: this.vaildData(this.permission.codeRule_view, false), |
| | | delBtn: this.vaildData(this.permission.plCodeRule_delete, false), |
| | | editBtn: this.vaildData(this.permission.codeRule_edit, true) |
| | | ruleForm: {}, |
| | | query: {}, |
| | | loading: true, |
| | | currentCodeRuleOid: '', |
| | | page: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | selectionList: [], |
| | | /*ç¼ç è§åè¡¨æ ¼é
ç½®*/ |
| | | optionRule: optionRule, |
| | | data: [], |
| | | currentRuleLcStatus: '', |
| | | /*å
éå¯¹è¯æ¡æ§å¶åé*/ |
| | | cloneSettingBox: false, |
| | | cloneTableLoading: false, |
| | | cloneOption: cloneOption, |
| | | cloneData: [], |
| | | cloneCodeRuleForm: { |
| | | id: '', |
| | | name: '', |
| | | description: '', |
| | | }, |
| | | /*ä»å
¶ä»è§åå
éç æ®µ*/ |
| | | cloneOtherCodeRuleSettingBox: false, |
| | | cloneBasicOption: cloneBasicOption, |
| | | cloneCodeRuleOption: cloneCodeRuleOption, |
| | | selectionOtherCloneCodeBasicList: [], // å½åéä¸çåºç¡ç 段 |
| | | |
| | | /*使ç¨èå´å¯¹è¯æ¡æ¾ç¤ºæ§å¶*/ |
| | | codeRangeSettingBox: false, |
| | | useRangeData: [], |
| | | dialogLoading: true, |
| | | /*使ç¨èå´å¯¹è¯æ¡é
ç½®*/ |
| | | dialogeOption: { |
| | | height: 'auto', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShow: false, |
| | | searchMenuSpan: 6, |
| | | border: true, |
| | | index: true, |
| | | disablePage:false, |
| | | viewBtn: false, |
| | | addBtn: false, |
| | | menu: false, |
| | | selection: false, |
| | | dialogClickModal: false, |
| | | align: 'center', |
| | | dialogWidth: 400, |
| | | column: [ |
| | | { |
| | | label: "åç±»ç¼å·", |
| | | prop: "id", |
| | | span: 24 |
| | | }, |
| | | { |
| | | label: "åç±»åç§°", |
| | | prop: "name", |
| | | span: 24, |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | /*åºç¡ç 段ç¸å
³æ°æ®*/ |
| | | optionBasic: optionBasic, |
| | | basicData:[], |
| | | loadingBasic: true, |
| | | selectionBasicList: [], |
| | | addBasicCodeSettingBox: false, |
| | | showbtn: false, //åºç¡ç 段æ°å¢æ¯å¦æ¾ç¤ºåºç¡ç 段 |
| | | basicSecDialogTitle: '', //åºç¡ç 段第ä¸å±å¯¹è¯æ¡æ é¢ |
| | | basicSecOnlyRead: false, //æ°å¢åºç¡ç æ®µè¡¨åæ¯å¦åªè¯» |
| | | |
| | | |
| | | /** ç å¼ç®¡çç¸å
³æ°æ® */ |
| | | isShowBasicSecCodeValueMgr: false, //ç æ®µç å¼ç®¡çå¯¹è¯æ¡ |
| | | codefixedsecOrCodeclassifysecOid: '', //åæ¾åºç¡ç 段ç¹å»ç å¼ç®¡çæ¶çå½åè¡idï¼ç¨äºä¿åç 弿¶ä½¿ç¨ |
| | | selectedFixedOrCodeclassifyValue: '', //å½åéä¸çç 弿°æ® |
| | | //åºå®ç 段ç å¼è¡¨å |
| | | codeFixdForm: { |
| | | codeFixedSecOid: "", |
| | | description: "", |
| | | id: "", |
| | | }, |
| | | isShowFixedForm: true, //trueæ¾ç¤ºåºå®ç 段ç å¼ç®¡ççé¢ï¼falseæ¾ç¤ºåç±»ç æ®µç å¼ç®¡ççé¢ |
| | | fixedValueData: [], //åºå®ç 段ç å¼è¡¨æ ¼æ°æ® |
| | | fixedValueOption: fixedValueOption, //è¡¨æ ¼é
ç½® |
| | | fixedValueOptionLoading: false, //å è½½è¡¨æ ¼çå¨æææ |
| | | fixedValueSelectList: [], //åºå®ç 段ç å¼å½åéä¸çè¡ |
| | | |
| | | //åç±»ç æ®µç å¼è¡¨å |
| | | codeClassifyForm: { |
| | | codeClassifySecOid: "", |
| | | id: "", |
| | | name: "", |
| | | oid: "", |
| | | }, |
| | | classisyValueTreeOption: classisyValueTreeOption, //åç±»ç æ®µæ ç¸å
³é
置项 |
| | | classifyValueTreeData: [], |
| | | currentSelectTreeData: '', //å½åéä¸çåç±»ç 弿 èç¹ |
| | | |
| | | /* ä¸ºå±æ§éåå¼çªå£æ¾ç¤ºæå¼æ§å¶åé */ |
| | | isShowSelectAttrOption: false, |
| | | /* ä¸ºå±æ§éå¼å·¦ä¾§æ æ°æ® */ |
| | | attrClassifyTreeData: [], |
| | | treeOption: treeOption, |
| | | currentSelectTreeData: '', //å½åéä¸çæ èç¹ |
| | | /* ä¸ºå±æ§éå¼å³ä¾§è¡¨æ ¼ç¸å
³æ°æ® */ |
| | | attrOption: attrOption, |
| | | selectattrData: [], |
| | | selectAttrOptionLoading: false, |
| | | selectionChangeAttrList: [], |
| | | // 屿§ç 段ï¼å
¬å¼ç¼è¾æ¡ç»ä»¶çæ¬åºæ¯æ¾ç¤ºåéãä¸ç³»ç»åé |
| | | thisSceneTableData: [ |
| | | { |
| | | formula: "${}", |
| | | desc: "", |
| | | } |
| | | ], |
| | | systemVariableTableData: [ |
| | | { |
| | | formula: "#CURRENTUSER.OID#", |
| | | desc: "å½åç¨æ·ç主é®", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.ID#", |
| | | desc: "å½åç¨æ·çè´¦æ·", |
| | | }, |
| | | { |
| | | formula: "#CURRENTTIME#", |
| | | desc: "å½åæ¶é´", |
| | | }, |
| | | { |
| | | formula: "#CURRENTDATE#", |
| | | desc: "å½åæ¥æ", |
| | | }, |
| | | { |
| | | formula: "#CURRENTDATETIME#", |
| | | desc: "å½åæ¥ææ¶é´", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER_NAME#", |
| | | desc: "å½åç¨æ·çå§å", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.SECRETGRADE#", |
| | | desc: "å½åç¨æ·å¯çº§", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.IPSECRET#", |
| | | desc: "å½åç¨æ·çIPå¯çº§", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.BUSINESSUNIT#", |
| | | desc: "å½åç¨æ·æå±ä¸å¡åå
", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.BUSINESSUNITNAME#", |
| | | desc: "å½åç¨æ·æå±ä¸å¡åå
åç§°", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.GROUPOID#", |
| | | desc: "å½åç¨æ·çé¨é¨ä¸»é®", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.GROUPNAME#", |
| | | desc: "å½åç¨æ·æå±é¨é¨åç§°", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.EMAIL#", |
| | | desc: "å½åç¨æ·é®ä»¶å°å", |
| | | }, |
| | | { |
| | | formula: "#CURRENTUSER.ROLENAME#", |
| | | desc: "å½åç¨æ·æå±è§è²åç§°", |
| | | }, |
| | | ], |
| | | |
| | | /* ç¶åç±»ç æ®µå¯¹è¯æ¡ */ |
| | | isShowParentClassifyOption: false, //ç¶åç±»ç æ®µå¯¹è¯æ¡æ¾ç¤ºæ§å¶ |
| | | classifyDialogLoading: true, //è¡¨æ ¼æ°æ®å è½½æç¤º |
| | | parentClassifyParentOption: parentClassifyParentOption, //è¡¨æ ¼é
ç½® |
| | | parentClassifyData: [], //è¡¨æ ¼æ°æ® |
| | | //å页忰é
ç½® |
| | | parentClassifyDataPage: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | parentClassifyQuery: {}, //æ¥è¯¢æ¡ä»¶ |
| | | parentClassifySelectionList: [], //å½åéä¸è¡ |
| | | |
| | | |
| | | /** åç
§å¼ç¨çä¸å¡ç±»åå¯¹è¯æ¡ç¸å
³æ°æ® */ |
| | | isShowSelectReferBtmOption: false, //å¯¹è¯æ¡æ¾ç¤ºæ§å¶ |
| | | referBtmDialogLoading: true, //è¡¨æ ¼æ°æ®å è½½æç¤º |
| | | referBtmDataPage: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | referBtmOption: referBtmOption, //è¡¨æ ¼é
ç½® |
| | | referBtmData: [], //è¡¨æ ¼æ°æ® |
| | | referBtmQuery: {}, //æ¥è¯¢æ¡ä»¶ |
| | | referBtmSelectionList: [], //å½åéä¸è¡ |
| | | |
| | | /** åºç¡ç 段æ°å¢è¡¨å */ |
| | | form: { |
| | | id: '', //ç¼å· |
| | | name: '', //åç§° |
| | | secType: 'codefixedsec', //ç æ®µç±»å |
| | | description: '', //æè¿° |
| | | serialDependFlag: false, //æ¯å¦æµæ°´ä¾èµ |
| | | serialDependOrder: '', //æµæ°´ä¾èµé¡ºåº |
| | | nullableFlag: false, //æ¯å¦ä¸ºç©º |
| | | displayFlag: false, // |
| | | componentCodeFlag: false, //æ¯å¦åä¸ç¼ç |
| | | pkCodeRule: '', //æå±ç¼ç è§å |
| | | }, |
| | | // formRules: { |
| | | // id: [ |
| | | // { required: true, message: '请è¾å
¥ç 段ç¼å·', trigger: 'blur' }, |
| | | // ], |
| | | // name: [ |
| | | // { required: true, message: '请è¾å
¥ç 段åç§°', trigger: 'blur' }, |
| | | // ], |
| | | // secType: [ |
| | | // { required: true, message: '请éä¸ç 段类å', trigger: 'change' }, |
| | | // ], |
| | | // codeSecLengthType: [ |
| | | // { required: true, message: 'è¯·éæ©ç æ®µé¿åº¦ç±»å', trigger: 'change' }, |
| | | // ], |
| | | // codeSecLength: [ |
| | | // { required: true, message: '请è¾å
¥ç 段çé¿åº¦', trigger: ['blur', 'change']}, |
| | | // { type: 'number', message: 'ç æ®µçé¿åº¦å¿
须为æ°åå¼',trigger: ['blur', 'change']} |
| | | // ], |
| | | // referAttributeName: [ |
| | | // { required: true, message: 'è¯·éæ©å±æ§', trigger: 'change' }, |
| | | // ], |
| | | // serialStart: [ |
| | | // { type: 'number', message: 'æµæ°´å·çèµ·å§å¼å¿
须为æ°åå¼',trigger: ['blur', 'change']} |
| | | // ], |
| | | // serialStep: [ |
| | | // { type: 'number', message: 'æµæ°´çæ¥é¿å¿
须为æ°åå¼',trigger: ['blur', 'change']} |
| | | // ], |
| | | // codeFillType: [ |
| | | // { required: true, message: 'è¯·éæ©ç¼ç è¡¥ä½æ¹å¼', trigger: ['blur', 'change']}, |
| | | // ], |
| | | // // è®¾ç½®è¡¥ä½æ¶çå符ï¼éè¦èªå®ä¹æ¥å夿 |
| | | // codeFillSeparatorSelect: [ |
| | | // { validator: validateCodeFill, trigger: ['blur', 'change'] }, |
| | | // ], |
| | | // codeFillLength: [ |
| | | // { required: true, message: '请è¾å
¥å¡«å
é¿åº¦', trigger: ['blur', 'change'] }, |
| | | // { type: 'number', message: 'å¡«å
é¿åº¦å¿
须为æ°åå¼',trigger: ['blur', 'change']} |
| | | // ], |
| | | // codeFillLimit: [ |
| | | // { required: true, message: '请è¾å
¥æµæ°´ä¸é', trigger: ['blur', 'change'] }, |
| | | // { type: 'number', message: 'æµæ°´ä¸éå¿
须为æ°åå¼',trigger: ['blur', 'change']} |
| | | // ], |
| | | // codeLevelType: [ |
| | | // { required: true, message: 'è¯·éæ©å±çº§ç±»å', trigger: 'change' }, |
| | | // ], |
| | | // codeLevelValue: [ |
| | | // { required: false, type: 'number', message: 'å±çº§çå¼å¿
须为æ°åå¼', trigger: 'change'} |
| | | // ], |
| | | // valueCutType: [ |
| | | // { required: true, message: 'è¯·éæ©å符æªåç±»å', trigger: 'change' }, |
| | | // ], |
| | | // referBtmId: [ |
| | | // { required: true, message: 'è¯·éæ©åç
§åºç¨çä¸å¡ç±»å', trigger: 'change' }, |
| | | // ], |
| | | // referConfig: [ |
| | | // { required: true, message: 'è¯·éæ©åç
§é
ç½®', trigger: 'change' }, |
| | | // ], |
| | | // codeDateFormatStr: [ |
| | | // { required: true, message: '请è¾å
¥æ¥ææ ¼å¼', trigger: ['blur', 'change'] }, |
| | | // ], |
| | | |
| | | // }, |
| | | //æä¸¾åå¯è¾å¯éæ¥è¯¢ |
| | | sectypeList:[], //ç æ®µç±»å |
| | | codeSecLengthType:[], //ç æ®µé¿åº¦ç±»å |
| | | codeFillType:[], //ç¼ç è¡¥ä½æ¹å¼ |
| | | codeFillSeparator:[], //è¡¥ä½æ¶çå符ï¼å¯è¾å¯éå
容 |
| | | codeLevelType:[], //å±çº§ç±»å |
| | | codeCutType:[], //å符æªåç±»å |
| | | codeGetValueType:[], //åå¼ç±»å |
| | | |
| | | //表åå
ç´ æ ç¾å®½åº¦ |
| | | leftFormLabelWidth: '110px', |
| | | rightFormLabelWidth: '150px', |
| | | |
| | | }; |
| | | }, |
| | | }, |
| | | methods: { |
| | | |
| | | // æå¼å
¬å¼ç¼è¾æ¡ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ |
| | | openformulaEdit(){ |
| | | this.isShowformulaEdit = true; |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.codeRule_add, true), |
| | | viewBtn: this.vaildData(this.permission.codeRule_view, false), |
| | | delBtn: this.vaildData(this.permission.plCodeRule_delete, false), |
| | | editBtn: this.vaildData(this.permission.codeRule_edit, true) |
| | | }; |
| | | }, |
| | | }, |
| | | methods: { |
| | | |
| | | //å廿·»å å
¬å¼å
容 |
| | | dbClickAddContent(row){ |
| | | //console.log(row.formula); |
| | | this.formulaContent = this.formulaContent + row.formula; |
| | | }, |
| | | |
| | | //æ¸
空å
¬å¼å
容 |
| | | resetformulaContent(){ |
| | | this.formulaContent = ''; |
| | | }, |
| | | |
| | | //å
³éæ¶æ¸
ç©ºä¸æ¬¡å
¬å¼å
容 |
| | | closeFormulaEdit(){ |
| | | this.resetformulaContent(); |
| | | }, |
| | | |
| | | //ç¼è¾å®æå
¬å¼å
容åè°å°åç»ä»¶è¿è¡åæ¾ |
| | | saveFormulaContent(){ |
| | | console.log(this.formulaContent); |
| | | if(this.formulaContent.trim == null){ |
| | | this.$message.warning("å
¬å¼å
容ä¸è½ä¸ºç©ºï¼"); |
| | | return; |
| | | } |
| | | this.$refs.addBasicChild.saveFormulaContent(this.formulaContent); |
| | | this.isShowformulaEdit = false; |
| | | }, |
| | | |
| | | // æå¼å±æ§éåå¼ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ |
| | | openAttrSelectOrGetValue(){ |
| | | //console.log(111); |
| | | this.isShowSelectAttrOption = true; |
| | | }, |
| | | |
| | | // è·åå½å被é䏿 èç¹çoid |
| | | nodeClick(data) { |
| | | this.currentSelectTreeData = data; |
| | | this.loadlistClassifyLinkAttr() |
| | | }, |
| | | |
| | | // å è½½åç±»è¿æ¥å±æ§è¡¨æ ¼æ°æ® |
| | | loadlistClassifyLinkAttr(){ |
| | | this.selectAttrOptionLoading = true; |
| | | listClassifyLinkAttr({"page": 1,"limit": -1,'conditionMap[codeClassifyOid]':this.currentSelectTreeData.oid}).then(res=>{ |
| | | //console.log(res.data.data); |
| | | //é åæ°æ® |
| | | let dataInfo =[ |
| | | {"id":"address","name":"ä¼è®®å®¤å°å","oid":"058D840D-1010-A7DE-7C52-B39C03CE89C1","attrLength":"150","description":"","attributeDataTypeText":"å符串"}, |
| | | {"id":"businesslicensetype","name":"è¥ä¸æ§ç
§ç±»å","oid":"BDAC6D3E-1827-35A0-F3CA-0E58A43F6A07","attrLength":"255","description":"è¥ä¸æ§ç
§ç±»å","attributeDataTypeText":"å符串"}, |
| | | {"id":"certificatenumber","name":"ä¿å¯è¯ç¼å·","oid":"E2BC8332-A721-3713-26C3-C9F6340C2C1D","attrLength":"255","description":"ä¿å¯è¯ç¼å·","attributeDataTypeText":"å符串"}, |
| | | ] |
| | | this.selectattrData = dataInfo; |
| | | this.selectAttrOptionLoading = false; |
| | | }) |
| | | }, |
| | | |
| | | // ç¹å»æç´¢å触å该äºä»¶ |
| | | selectAttrOptionSearchChange(params, done) { |
| | | this.query = params; |
| | | console.log(params); //è¿å¿éè¦æ¹ |
| | | this.loadlistClassifyLinkAttr({"page":1,"limit":-1 ,'conditionMap[codeClassifyOid]':this.currentSelectTreeData.oid}); |
| | | done(); |
| | | }, |
| | | |
| | | // 屿§åå¼å½åéä¸è¡åçååæ¶è§¦å |
| | | selectionChangeAttr(list){ |
| | | this.selectionChangeAttrList = list; |
| | | }, |
| | | |
| | | //éç½®ä½å±æ§éåå¼è¡¨æ ¼çæç´¢æ¡ä¹åçåè° |
| | | searchAttrReset() { |
| | | this.loadlistClassifyLinkAttr() |
| | | }, |
| | | |
| | | // 屿§åå¼éåæåä¿åä¹å触å |
| | | savelistClassifyLinkAttr(){ |
| | | if(this.selectionChangeAttrList.length != 1){ |
| | | this.$message.warning("åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return false; |
| | | } |
| | | let data = { |
| | | "referAttributeId":this.selectionChangeAttrList[0].id, |
| | | "referAttributeName":this.selectionChangeAttrList[0].name, |
| | | "referCodeClassifyOid": this.currentSelectTreeData.key, |
| | | "referCodeClassifyOidName": this.currentSelectTreeData.title, |
| | | } |
| | | //console.log(data); |
| | | //è°ç¨åç»ä»¶å¹¶ä¼ éå½åéä¸çåæ°å¼ï¼å®ç°åæ¾ |
| | | this.$refs.addBasicChild.selectedListClassifyLinkAttr(data); |
| | | this.isShowSelectAttrOption = false; |
| | | }, |
| | | |
| | | // ç¼ç è§åå½åéä¸è¡ååçæ¶å触å |
| | | selectionChange(list) { |
| | | this.selectionList = list; |
| | | if(this.selectionList.length > 0){ |
| | | this.currentCodeRuleOid = this.selectionList [list.length-1]; |
| | | this.loadBasic(this.selectionList[list.length-1]); |
| | | } |
| | | }, |
| | | |
| | | // æå¼æ°å¢çªå£ |
| | | addBasicCodeSec(){ |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | if(this.selectionList[0].lcStatus != 'Editing'){ |
| | | this.$message.warning('ç¼ç è§åç¶æä¸æ¯"ç¼è¾ä¸"ï¼ä¸å
许ç¼è¾ç 段!'); |
| | | return; |
| | | } |
| | | this.addBasicCodeSettingBox = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.addBasicChild.loadCodeSecType(); |
| | | }) |
| | | }, |
| | | // æ°å¢åºç¡ç 段 |
| | | saveBasicCode(){ |
| | | if(this.selectionList[0].oid == null){ |
| | | this.$message.warning('缺失å¿
è¦åæ°ï¼è¯·éæ°éæ©ç¼ç è§ååéè¯!'); |
| | | return; |
| | | } |
| | | this.$refs.addBasicChild.addSave(this.selectionList[0].oid); |
| | | // å
³éçªå£ |
| | | this.addBasicCodeSettingBox = false |
| | | // ç¹å»æ°å¢åºç¡ç 段ä¹åå
³éçªå£ä¹å触åéæ°å è½½ |
| | | this.loadBasic(this.selectionList[0]); |
| | | }, |
| | | // å¤ææ°æ®æ¯å¦éæ©ä»¥ååªè½éæ©åæ¡æ°æ® |
| | | tipsMessage(list){ |
| | | if(list.length != 1){ |
| | | this.$message.warning("è¯·éæ©ä¸æ¡ç¼ç è§åæ°æ®!"); |
| | | return false; |
| | | } |
| | | return true; |
| | | }, |
| | | // åºç¡ç 段å é¤ |
| | | deleteBasicCode(){ |
| | | if(!this.tipsMessage(this.selectionBasicList)){ |
| | | return; |
| | | } |
| | | let oid = this.selectionBasicList[0].oid; |
| | | this.$confirm("æ¯å¦å é¤è¿æ¡æ°æ®ï¼å¦æè¢«å¼ç¨å°ä¸è½è¢«å é¤ï¼", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | let ts = this.selectionBasicList[0].ts; |
| | | return deleteData({"oid": oid,"ts": ts}); |
| | | }) |
| | | .then(() => { |
| | | this.loadBasic({"oid":this.currentCodeRuleOid == null ? this.selectionList[0].oid:this.currentCodeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | /* å
¬å¼ç¼è¾æ¡å
容æ¹å,åç»ä»¶ç¼è¾å®å
¬å¼ä¹åå
容忾æ¶è°ç¨ */ |
| | | updateFormulaContent(content){ |
| | | this.form.getValueClass = content; |
| | | }, |
| | | |
| | | /** éä¸åç
§å¼ç¨çä¸å¡ç±»åï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ï¼åå
¶ç¸å
³æ¹æ³ */ |
| | | saveSelectedreferBtm(){ |
| | | if(this.referBtmSelectionList.length != 1){ |
| | | this.$message.warning("åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return false; |
| | | } |
| | | //è°ç¨åç»ä»¶å¹¶ä¼ éå½åéä¸çåæ°å¼ï¼å®ç°åæ¾ |
| | | this.form.referBtmId = this.referBtmSelectionList[0].id; |
| | | this.form.referBtmName = this.referBtmSelectionList[0].name; |
| | | //æ¸
空å½åéä¸çè¡ |
| | | this.referBtmSelectionClear(); |
| | | this.isShowSelectReferBtmOption = false; |
| | | }, |
| | | referBtmSearchReset() { |
| | | this.referBtmQuery = {}; |
| | | this.referBtmOnLoad(this.referBtmDataPage); |
| | | }, |
| | | referBtmSearchChange(params, done) { |
| | | this.referBtmQuery = params; |
| | | this.referBtmDataPage.currentPage = 1; |
| | | this.referBtmOnLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | referBtmSelectionChange(list) { |
| | | //console.log(list); |
| | | this.referBtmSelectionList = list; |
| | | }, |
| | | referBtmSelectionClear() { |
| | | this.referBtmSelectionList = []; |
| | | this.$refs.crudReferBtm.toggleSelection(); |
| | | }, |
| | | referBtmCurrentChange(currentPage){ |
| | | this.referBtmDataPage.currentPage = currentPage; |
| | | }, |
| | | referBtmSizeChange(pageSize){ |
| | | this.referBtmDataPage.pageSize = pageSize; |
| | | }, |
| | | refreshReferBtmDataChange() { |
| | | this.referBtmOnLoad(this.referBtmDataPage, this.referBtmQuery); |
| | | }, |
| | | //å è½½ä¸åç
§å¼ç¨çä¸å¡ç±»åçæ°æ® |
| | | referBtmOnLoad(page, params = {}) { |
| | | this.referBtmDialogLoading = true; |
| | | let oid = this.selectionList.length==0 ? this.form.pkCodeRule:this.selectionList[0].oid; |
| | | Object.assign(params,{pkCodeRule:oid}) |
| | | //æ¥å£è¿æªæä¾ï¼å¾
æ´æ¹ |
| | | refDataGridClassifySec(page.currentPage, page.pageSize, Object.assign(params, this.parentClassifyQuery)).then(res => { |
| | | //console.log(res.data); |
| | | const data = res.data.data; |
| | | this.referBtmDataPage.total = data.total; |
| | | this.referBtmData = data.records; |
| | | this.referBtmDialogLoading = false; |
| | | this.referBtmSelectionClear(); |
| | | }); |
| | | //this.$refs.crud.toggleSelection(); |
| | | }); |
| | | }, |
| | | // ç¹å»è§¦åå è½½åºç¡ç æ®µä¿¡æ¯ |
| | | loadBasic(row){ |
| | | this.loadingBasic = true; |
| | | //console.log(row.oid); |
| | | this.currentCodeRuleOid = row.oid; |
| | | gridCodeBasicSec(1, -1, {"pkCodeRule":row.oid}).then(res => { |
| | | const data = res.data.data; |
| | | this.basicData = data.records; |
| | | //console.log(this.basicData); |
| | | this.loadingBasic = false; |
| | | }); |
| | | }, |
| | | // åºç¡ç 段é䏿¶è§¦å |
| | | selectionBasicChange(list) { |
| | | this.selectionBasicList = list; |
| | | //console.log(this.selectionBasicList); |
| | | }, |
| | | // ä¸ç§»ä¸ç§»åºç¡ç 段 |
| | | upOrderNum(row){ |
| | | //console.log(row.oid); |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | let codeRuleOid = this.selectionList[0].oid; |
| | | if (this.selectionList[0].lcStatus != 'Editing') { |
| | | this.$message.warning("åªæç¼ç è§åçç¶ææ¯ [ç¼è¾ä¸] çæ¶åï¼æè½è°æ´ç 段顺åº!"); |
| | | return; |
| | | } |
| | | if(row.oid==null || row.oid==''){ |
| | | this.$message.warning("æªè·åå°å¿
å¡«åæ°!"); |
| | | return; |
| | | } |
| | | upOrderNum(row.oid).then(() => { |
| | | this.loadBasic({"oid":codeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }) |
| | | }, |
| | | downOrderNum(row){ |
| | | //console.log(row.oid); |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | let codeRuleOid = this.selectionList[0].oid; |
| | | //console.log(this.selectionList); |
| | | if (this.selectionList[0].lcStatus != 'Editing') { |
| | | this.$message.warning("åªæç¼ç è§åçç¶ææ¯ [ç¼è¾ä¸] çæ¶åï¼æè½è°æ´ç 段顺åº!"); |
| | | return; |
| | | } |
| | | if(row.oid==null || row.oid==''){ |
| | | this.$message.warning("æªè·åå°å¿
å¡«åæ°!"); |
| | | return; |
| | | } |
| | | downOrderNum(row.oid).then(() => { |
| | | this.loadBasic({"oid":codeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | <<<<<<< HEAD |
| | | }) |
| | | }, |
| | | //åºç¡ç 段æ¥è¯¢ |
| | | refreshChangeBasicSec(){ |
| | | this.loadBasic({"oid":this.currentCodeRuleOid == null ? this.selectionList[0].oid:this.currentCodeRuleOid}); |
| | | }, |
| | | // æ¥è¯¢ä½¿ç¨èå´ |
| | | handleRange(){ |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | this.codeRangeSettingBox = true; |
| | | this.getRangeCodeList() |
| | | }, |
| | | getRangeCodeList(){ |
| | | this.dialogLoading = true; |
| | | if(this.selectionList[0].oid==null){ |
| | | this.$message.error("æªè·åå°åæ°!"); |
| | | } |
| | | }, |
| | | |
| | | listUseRange(this.selectionList[0].oid).then(res => { |
| | | this.useRangeData = res.data.data; |
| | | //console.log(this.useRangeData); |
| | | this.dialogLoading = false; |
| | | }); |
| | | }, |
| | | refreshUseRangeChange(){ |
| | | this.getRangeCodeList(); |
| | | }, |
| | | // å¯ç¨ä¸åç¨ |
| | | enableOrDeactivatse(oId,update){ |
| | | updateStatus({"oid":oId,"ts":new Date().getTime,"update":update}).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | ======= |
| | | |
| | | /** ç¶åç±»éæ©å¯¹è¯æ¡ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ï¼åå
¶ç¸å
³æ¹æ³ */ |
| | | // ä¿åå½åç¶åç±»ç æ®µçéä¸è¡ï¼å¹¶è¿è¡åæ¾ |
| | | saveSelectedParentClassify(){ |
| | | //console.log(this.parentClassifySelectionList.length); |
| | | if(this.parentClassifySelectionList.length != 1){ |
| | | this.$message.warning("åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return false; |
| | | } |
| | | //è°ç¨åç»ä»¶å¹¶ä¼ éå½åéä¸çåæ°å¼ï¼å®ç°åæ¾ |
| | | this.form.parentClassifySecOid = this.parentClassifySelectionList[0].oid; |
| | | this.form.parentClassifySecText = this.parentClassifySelectionList[0].name; |
| | | //æ¸
空å½åéä¸çè¡ |
| | | this.parentClassifySelectionClear(); |
| | | this.isShowParentClassifyOption = false; |
| | | }, |
| | | parentClassifySearchReset() { |
| | | this.parentClassifyQuery = {}; |
| | | this.parentClassifyOnLoad(this.parentClassifyDataPage); |
| | | }, |
| | | parentClassifySearchChange(params, done) { |
| | | this.parentClassifyQuery = params; |
| | | this.parentClassifyDataPage.currentPage = 1; |
| | | this.parentClassifyOnLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | parentClassifySelectionChange(list) { |
| | | //console.log(this.parentClassifyCurrentChange); |
| | | this.parentClassifySelectionList = list; |
| | | }, |
| | | parentClassifySelectionClear() { |
| | | this.parentClassifySelectionList = []; |
| | | this.$refs.crudParentClassify.toggleSelection(); |
| | | }, |
| | | parentClassifyCurrentChange(currentPage){ |
| | | this.parentClassifyDataPage.currentPage = currentPage; |
| | | }, |
| | | parentClassifySizeChange(pageSize){ |
| | | this.parentClassifyDataPage.pageSize = pageSize; |
| | | }, |
| | | refreshParentClassifyDataChange() { |
| | | this.parentClassifyOnLoad(this.parentClassifyDataPage, this.parentClassifyQuery); |
| | | }, |
| | | parentClassifyOnLoad(page, params = {}) { |
| | | this.classifyDialogLoading = true; |
| | | let oid = this.selectionList.length==0 ? this.form.pkCodeRule:this.selectionList[0].oid; |
| | | Object.assign(params,{pkCodeRule:oid}) |
| | | refDataGridClassifySec(page.currentPage, page.pageSize, Object.assign(params, this.parentClassifyQuery)).then(res => { |
| | | //console.log(res.data); |
| | | const data = res.data.data; |
| | | this.parentClassifyDataPage.total = data.total; |
| | | this.parentClassifyData = data.records; |
| | | this.classifyDialogLoading = false; |
| | | this.parentClassifySelectionClear(); |
| | | }); |
| | | }, |
| | | |
| | | |
| | | /** æå¼å±æ§éåå¼ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ï¼åå
¶ç¸å
³æ¹æ³ */ |
| | | // è·åå½å被é䏿 èç¹çoid |
| | | nodeClick(data) { |
| | | this.currentSelectTreeData = data; |
| | | this.loadlistClassifyLinkAttr() |
| | | }, |
| | | // å è½½åç±»è¿æ¥å±æ§è¡¨æ ¼æ°æ® |
| | | loadlistClassifyLinkAttr(){ |
| | | this.selectAttrOptionLoading = true; |
| | | listClassifyLinkAttr({"page": 1,"limit": -1,'conditionMap[codeClassifyOid]':this.currentSelectTreeData.oid}).then(res=>{ |
| | | //console.log(res.data.data); |
| | | //é åæ°æ® |
| | | let dataInfo =[ |
| | | {"id":"address","name":"ä¼è®®å®¤å°å","oid":"058D840D-1010-A7DE-7C52-B39C03CE89C1","attrLength":"150","description":"","attributeDataTypeText":"å符串"}, |
| | | {"id":"businesslicensetype","name":"è¥ä¸æ§ç
§ç±»å","oid":"BDAC6D3E-1827-35A0-F3CA-0E58A43F6A07","attrLength":"255","description":"è¥ä¸æ§ç
§ç±»å","attributeDataTypeText":"å符串"}, |
| | | {"id":"certificatenumber","name":"ä¿å¯è¯ç¼å·","oid":"E2BC8332-A721-3713-26C3-C9F6340C2C1D","attrLength":"255","description":"ä¿å¯è¯ç¼å·","attributeDataTypeText":"å符串"}, |
| | | ] |
| | | this.selectattrData = dataInfo; |
| | | this.selectAttrOptionLoading = false; |
| | | }) |
| | | }, |
| | | // ç¹å»æç´¢å触å该äºä»¶ |
| | | selectAttrOptionSearchChange(params, done) { |
| | | this.query = params; |
| | | console.log(params); //è¿å¿éè¦æ¹ |
| | | this.loadlistClassifyLinkAttr({"page":1,"limit":-1 ,'conditionMap[codeClassifyOid]':this.currentSelectTreeData.oid}); |
| | | done(); |
| | | }, |
| | | // 屿§åå¼å½åéä¸è¡åçååæ¶è§¦å |
| | | selectionChangeAttr(list){ |
| | | this.selectionChangeAttrList = list; |
| | | }, |
| | | // éç½®ä½å±æ§éåå¼è¡¨æ ¼çæç´¢æ¡ä¹åçåè° |
| | | searchAttrReset() { |
| | | this.loadlistClassifyLinkAttr() |
| | | }, |
| | | // ä¸ºå±æ§éåå¼ä¹åçåæ¾ |
| | | selectedListClassifyLinkAttr(){ |
| | | if(this.selectionChangeAttrList.length != 1){ |
| | | this.$message.warning("åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return false; |
| | | } |
| | | //è°ç¨åç»ä»¶å¹¶ä¼ éå½åéä¸çåæ°å¼ï¼å®ç°åæ¾ |
| | | this.form = Object.assign({}, this.form, { |
| | | referAttributeId:this.selectionChangeAttrList[0].id, |
| | | referAttributeName:this.selectionChangeAttrList[0].name, |
| | | referCodeClassifyOid: this.currentSelectTreeData.key, |
| | | referCodeClassifyOidName: this.currentSelectTreeData.title, |
| | | }) |
| | | this.isShowSelectAttrOption = false; |
| | | }, |
| | | |
| | | |
| | | /** åºç¡ç 段表ä¸çç å¼ç®¡ççç¸å
³æ¹æ³ */ |
| | | // ç å¼ç®¡çå¼¹çªæ§å¶ |
| | | openBasicSecCodeValueMgr(row){ |
| | | //å½å为åºå®ç 段ç å¼ç®¡çç å¼ç®¡ç |
| | | if(row.secType === "codefixedsec"){ |
| | | this.isShowFixedForm = true; |
| | | this.loadFixedValueTableData(row); |
| | | }else{ |
| | | //åç±»ç æ®µ |
| | | this.isShowFixedForm = false; |
| | | this.loadClassifyValueData(row); |
| | | } |
| | | this.codefixedsecOrCodeclassifysecOid = row.oid; |
| | | this.isShowBasicSecCodeValueMgr = true; |
| | | }, |
| | | //å è½½åºå®ç 段ç å¼è¡¨æ°æ® |
| | | loadFixedValueTableData(row){ |
| | | this.fixedValueOptionLoading = true; |
| | | gridCodeFixedValue(1, -1, {"codeFixedSecOid":row.oid}).then(res=>{ |
| | | this.fixedValueData = res.data.data.records; |
| | | //console.log(this.fixedValueData); |
| | | this.fixedValueOptionLoading = false; |
| | | }) |
| | | }, |
| | | //åå»åºå®ç 段çç å¼è¡¨ä¸è¡æ¶è§¦åçäºä»¶ |
| | | selectedCodeValueRow(row){ |
| | | //console.log(row); |
| | | this.selectedFixedOrCodeclassifyValue = row; |
| | | this.codeFixdForm.id = row.id; |
| | | this.codeFixdForm.description = row.description; |
| | | this.codeFixdForm.codeFixedSecOid = row.codefixedsecoid; |
| | | }, |
| | | //æ°å¢ç å¼ |
| | | addCodeSecValue(condition){ |
| | | if(condition === "codefixedsec"){ |
| | | if(this.codeFixdForm.id.trim() == ''){ |
| | | this.$message.warning("ç å¼ä¸è½ä¸ºç©ºï¼"); |
| | | return; |
| | | } |
| | | if(this.codeFixdForm.id.trim().length >= 12 ){ |
| | | this.$message.warning("ç å¼é¿åº¦ä¸è½å¤§äº12ï¼"); |
| | | return; |
| | | } |
| | | this.codeFixdForm.codeFixedSecOid = this.codefixedsecOrCodeclassifysecOid; |
| | | addSaveCodeFixedValue(this.codeFixdForm).then(() => { |
| | | this.loadFixedValueTableData({"oid":this.codefixedsecOrCodeclassifysecOid}); |
| | | this.clearFixedOrClassifyForm('codefixedsec'); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }else { |
| | | this.codeClassifyForm.codeClassifySecOid = this.codefixedsecOrCodeclassifysecOid; |
| | | console.log(this.codeClassifyForm); |
| | | addSaveCodeClassifyValue(this.codeClassifyForm).then(() => { |
| | | this.loadClassifyValueData({"oid":this.codefixedsecOrCodeclassifysecOid}); |
| | | this.clearFixedOrClassifyForm('codeclassifyvaluesec'); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | this.$confirm(error, { |
| | | confirmButtonText: "ç¡®å®", |
| | | type: "error", |
| | | }) |
| | | }); |
| | | } |
| | | }, |
| | | //æ¸
空ç å¼è¡¨å |
| | | clearFixedOrClassifyForm(condition){ |
| | | //ç¹å»åæ¶æ¶æ¸
空表åä¸å½åéä¸çç å¼ï¼å¹¶ç¦ç¨æé® |
| | | this.selectedFixedOrCodeclassifyValue = ''; |
| | | //console.log(condition); |
| | | if(condition === "close"){ |
| | | this.codeFixdForm = this.$options.data().codeFixdForm; |
| | | this.codeClassifyForm = this.$options.data().codeClassifyForm; |
| | | } |
| | | if(condition === "codefixedsec"){ |
| | | this.codeFixdForm.description = ''; |
| | | this.codeFixdForm.codeFixedSecOid = ''; |
| | | }else { |
| | | this.codeClassifyForm = this.$options.data().codeClassifyForm; |
| | | } |
| | | }, |
| | | //ä¿®æ¹ç å¼ |
| | | editCodeSecValue(condition){ |
| | | if(condition=='codefixedsec'){ |
| | | //ä»¥åæ¯ç´æ¥æå½åéä¸è¡çæææ°æ®é½è¿è¡æäº¤ï¼ä½å
¶å®åªéè¦ä¼ è¾ä¸äºæ¯è¦åæ°å³å¯ï¼è¿å¿åäºä¿®æ¹ï¼éè¦ç©¿å
¶ä»åæ°ç请èªè¡æ·»å |
| | | let editData = { |
| | | "oid": this.selectedFixedOrCodeclassifyValue.oid, |
| | | "ts": new Date().getTime(), |
| | | "description": this.codeFixdForm.description, |
| | | "id": this.codeFixdForm.id, |
| | | "codeFixedSecOid": this.selectedFixedOrCodeclassifyValue.codefixedsecoid |
| | | } |
| | | editCodeFixedValue(editData).then(() => { |
| | | this.loadFixedValueTableData({"oid":this.codefixedsecOrCodeclassifysecOid}) |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }else { |
| | | this.codeClassifyForm.oid = this.selectedFixedOrCodeclassifyValue.attributes.oid; |
| | | editCodeClassifyValue(this.codeClassifyForm).then(() => { |
| | | this.loadClassifyValueData({"oid":this.codefixedsecOrCodeclassifysecOid}) |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | } |
| | | |
| | | }, |
| | | //å é¤ç å¼ |
| | | delCodeSecValue(condition){ |
| | | //åºå®ç 段ç å¼å é¤ |
| | | if(condition == 'codefixedsec'){ |
| | | //console.log(this.selectedFixedOrCodeclassifyValue.oid); |
| | | this.$confirm("æ¯å¦å é¤è¿æ¡æ°æ®ï¼å¦æè¢«å¼ç¨å°ä¸è½è¢«å é¤ï¼", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | let ts = new Date(this.selectedFixedOrCodeclassifyValue.ts).getTime(); |
| | | return deleteCodeFixedValue({"oid": this.selectedFixedOrCodeclassifyValue.oid,"ts": ts}); |
| | | }) |
| | | .then(() => { |
| | | this.selectedFixedOrCodeclassifyValue = ''; |
| | | this.loadFixedValueTableData({"oid":this.codefixedsecOrCodeclassifysecOid}) |
| | | this.clearFixedOrClassifyForm('codefixedsec'); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }); |
| | | }else{ |
| | | //åç±»ç æ®µç å¼å é¤ |
| | | this.$confirm("æ¯å¦å é¤è¿æ¡æ°æ®ï¼å¦æè¢«å¼ç¨å°ä¸è½è¢«å é¤ï¼", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | let ts = new Date(this.selectedFixedOrCodeclassifyValue.ts).getTime(); |
| | | return deleteCodeClassifyValue({"oid": this.selectedFixedOrCodeclassifyValue.oid,"ts": ts}); |
| | | }) |
| | | .then(() => { |
| | | this.selectedFixedOrCodeclassifyValue = ''; |
| | | this.loadClassifyValueData({"oid":this.codefixedsecOrCodeclassifysecOid}) |
| | | this.clearFixedOrClassifyForm('codeclassifyvalue'); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | }, |
| | | //对åºå®ç å¼è¡¨è¿è¡ï¼ä¸ç§»ãä¸ç§»ãç§»é¤æä½ |
| | | codeFixedValueOpetion(condition,row){ |
| | | //console.log(this.fixedValueData[row.$index].orderNum); |
| | | const index = row.$index; |
| | | if(condition == 'up'){ |
| | | //对ordeNumæåºå段è¿è¡è°æ´ |
| | | this.fixedValueData[index].orderNum = this.fixedValueData[index].orderNum-1 |
| | | this.fixedValueData[index-1].orderNum = this.fixedValueData[index].orderNum+1 |
| | | //å½ä¸æ åå»1å°äº0æè
orderNumåæ®µåå»1å°äº0çæ¶å䏿§è¡ä¸ç§»æä½ |
| | | if(index-1<0 || this.fixedValueData[row.$index].orderNum-1<0){ |
| | | return; |
| | | } |
| | | //è°æ´æ°ç»å¼é¡ºåº |
| | | let tempOption = this.fixedValueData[index-1]; |
| | | this.$set(this.fixedValueData, index - 1, this.fixedValueData[index]) |
| | | this.$set(this.fixedValueData, index , tempOption) |
| | | |
| | | //console.log(this.fixedValueData); |
| | | }else if(condition == 'down'){ |
| | | //对ordeNumæåºå段è¿è¡è°æ´ |
| | | this.fixedValueData[index].orderNum = this.fixedValueData[index].orderNum+1 |
| | | this.fixedValueData[index+1].orderNum = this.fixedValueData[index].orderNum-1 |
| | | //è°æ´æ°ç»å¼é¡ºåº |
| | | let tempOption = this.fixedValueData[index+1]; |
| | | this.$set(this.fixedValueData, index + 1, this.fixedValueData[index]); |
| | | this.$set(this.fixedValueData, index, tempOption) |
| | | }else { |
| | | for(let i=index+1; i<this.fixedValueData.length-1; i++){ |
| | | //console.log(this.fixedValueData[i].orderNum); |
| | | this.fixedValueData[i].orderNum = this.fixedValueData[i].orderNum-1; |
| | | //console.log(this.fixedValueData[i].orderNum); |
| | | } |
| | | this.$delete(this.fixedValueData, index); |
| | | } |
| | | //console.log(this.fixedValueData); |
| | | }, |
| | | //对åç±»ç å¼è¡¨è¿è¡ï¼ä¸ç§»ãä¸ç§»ãç§»é¤æä½ |
| | | codeClassifyValueOpetion(condition){ |
| | | //æ¤å¤æ¶åå°æ·±æµ
æ·è´é®é¢ï¼ä½æ¯æ§è¡ä¸ä¸ç§»ä¿åæä½ä¹åä¼éæ°å è½½treedataï¼æä»¥å½±åä¸å¤§ |
| | | let currentTreeList = this.getCodeClassifyValueTreeData(); |
| | | let saveData = []; |
| | | console.log(currentTreeList.treeList); |
| | | if(condition == 'up'){ |
| | | if(currentTreeList.index-1>=0){ |
| | | // è°æ´é¡ºåº |
| | | saveData[0] = currentTreeList.treeList[currentTreeList.index].attributes; |
| | | saveData[1] = currentTreeList.treeList[currentTreeList.index-1].attributes; |
| | | saveData[0].orderNum = parseInt(saveData[0].orderNum)-1; |
| | | saveData[1].orderNum = parseInt(saveData[1].orderNum)+1; |
| | | this.saveCodeFixedOrClassifyValueOption('classifyValue',saveData); |
| | | } |
| | | }else{ |
| | | if(currentTreeList.index+1<currentTreeList.treeList.length){ |
| | | // è°æ´é¡ºåº |
| | | saveData[0] = currentTreeList.treeList[currentTreeList.index].attributes; |
| | | saveData[1] = currentTreeList.treeList[currentTreeList.index+1].attributes; |
| | | saveData[0].orderNum = parseInt(saveData[0].orderNum)+1; |
| | | saveData[1].orderNum = parseInt(saveData[1].orderNum)-1; |
| | | this.saveCodeFixedOrClassifyValueOption('classifyValue',saveData); |
| | | } |
| | | } |
| | | console.log(saveData); |
| | | console.log(this.classifyValueTreeData); |
| | | }, |
| | | //éä¸è¢«è°æ´é¡ºåºç两个æ çèç¹ |
| | | getCodeClassifyValueTreeData(){ |
| | | const currentNodeTreeData = this.selectedFixedOrCodeclassifyValue; |
| | | /**èèå ç§æ
åµï¼ç¬¬ä¸ç§å½åä¸ç§»|ä¸ç§»æä½å·²ç»æ¯è¾¹çï¼ |
| | | ä¸éè¦è¦åå¤çï¼ç¬¬äºç§å½åä¸ºæ æ ¹èç¹ï¼ç¬¬ä¸ç§å½å为å¶åèç¹ |
| | | */ |
| | | //è¯´ææ¯æ ¹èç¹ï¼ç´æ¥æ¾å夿æ¯å¦æ¯è¾¹çå¼ |
| | | if(currentNodeTreeData.parentId.trim() == ''){ |
| | | return this.findTreeIndex(this.classifyValueTreeData,currentNodeTreeData.oid,true); |
| | | }else{ |
| | | //说æä¸æ¯æ ¹èç¹,å
æ¾å°ç¶èç¹åæ¾å°åèç¹,夿æ¯å¦æ¯è¾¹çå¼ |
| | | return this.findTreeIndex(this.classifyValueTreeData,currentNodeTreeData.parentId,false); |
| | | } |
| | | }, |
| | | /** |
| | | * æ¾åä¸ä¸ªååä¸ä¸ªå
ç´ |
| | | * @treeList æ¥æ¾çæ°ç» |
| | | * @conditionOid ç¨æ¥æ¥æ¾å¤æçæ¡ä»¶ |
| | | * @isTreeRoot æ¯å¦ç¶èç¹ |
| | | * @rreturn è¿åç¸é»çèç¹ |
| | | */ |
| | | findTreeIndex(treeList,conditionOid,isTreeRoot){ |
| | | for(let index=0;index<treeList.length;index++){ |
| | | if(treeList[index].oid==conditionOid){ |
| | | if(isTreeRoot){ |
| | | let resData = { |
| | | "index":index, |
| | | "treeList":treeList, |
| | | } |
| | | return resData; |
| | | }else{ |
| | | return this.findTreeIndex(this.classifyValueTreeData[index].children,this.selectedFixedOrCodeclassifyValue.oid,true); |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | //ä¸ç§»ä¸ç§»çæä½çä¿å |
| | | saveCodeFixedOrClassifyValueOption(condition,editOrderNumdata){ |
| | | //ä¿å对åºå®ç 段ç å¼çä¸ç§»ä¸ç§»ç§»åºçæä½ |
| | | if(condition == "fixedValue"){ |
| | | let data = { |
| | | "codeFixedSecOid": this.codefixedsecOrCodeclassifysecOid, |
| | | "dtoList": JSON.stringify(this.fixedValueData), |
| | | } |
| | | saveOrder(data).then(() => { |
| | | //æ§è¡å®ä¿åä¹åå°å½åéä¸ç对象æ¸
空 |
| | | this.selectedFixedOrCodeclassifyValue = ''; |
| | | this.$message({ |
| | | type: "success", |
| | | message: "ä¿åæå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }else { |
| | | //ä¿å对åç±»ç å¼ç 段ç å¼çä¸ç§»ä¸ç§»ç§»åºçæä½ |
| | | saveCodeClassifyValueOrder({ |
| | | "codeClassifySecOid": this.codefixedsecOrCodeclassifysecOid, |
| | | "dtoList": JSON.stringify(editOrderNumdata), |
| | | }).then(() => { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "ä¿åæå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | this.loadClassifyValueData({"oid":this.codefixedsecOrCodeclassifysecOid}); |
| | | } |
| | | |
| | | }, |
| | | //åç±»ç 弿 dataå è½½ |
| | | loadClassifyValueData(row){ |
| | | //console.log(row); |
| | | let condtionData = { |
| | | "queryAllLevel": true, |
| | | "loadType": "all", |
| | | "multipleSelect": false, |
| | | "isMuti": false, |
| | | "isQueryAllColumn": true, |
| | | 'conditionMap[codeclassifysecoid]':row.oid, |
| | | }; |
| | | treeCodeClassifyValue(condtionData).then( res=> { |
| | | this.classifyValueTreeData = res.data; |
| | | //console.log(res.data); |
| | | }); |
| | | }, |
| | | //åç±»ç 弿 å廿¶è§¦åçäºä»¶ |
| | | classisyValueTreeOnodeClick(node){ |
| | | //console.log(node); |
| | | this.selectedFixedOrCodeclassifyValue = node; |
| | | this.codeClassifyForm.codeClassifySecOid = node.attributes.codeClassifySecOid; |
| | | this.codeClassifyForm.id = node.attributes.id; |
| | | this.codeClassifyForm.name = node.attributes.name; |
| | | this.codeClassifyForm.parentClassifyValueOid = node.attributes.oid; |
| | | //console.log(this.codeClassifyForm); |
| | | }, |
| | | |
| | | |
| | | /** åºç¡ç 段ç¸å
³æ¹æ³ */ |
| | | //鲿¢æå¼è¿ç¼è¾çªå£ä¹å表åä¸åå¨å¼ï¼æä»¥éè¦æ¸
空,å¹¶åå§åform表å屿§ |
| | | clearBasicAddForm(){ |
| | | this.form = this.$options.data().form;; |
| | | // this.changeSectypeFormItems(null); |
| | | }, |
| | | // æå¼æ°å¢çªå£ |
| | | addBasicCodeSec(){ |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | if(this.selectionList[0].lcStatus != 'Editing'){ |
| | | this.$message.warning('ç¼ç è§åç¶æä¸æ¯"ç¼è¾ä¸"ï¼ä¸å
许ç¼è¾ç 段!'); |
| | | return; |
| | | } |
| | | this.openBasicDialog('add',null); |
| | | this.loadCodeSecType(); |
| | | }, |
| | | //æå¼æ°å¢æç¼è¾åºç¡ç æ®µå¯¹è¯æ¡ |
| | | openBasicDialog(condition,row){ |
| | | //console.log(row); |
| | | if(condition == 'add') { |
| | | this.basicSecDialogTitle = 'æ·»å ç æ®µä¿¡æ¯'; |
| | | this.showbtn = true; |
| | | this.basicSecOnlyRead = false; |
| | | }else if(condition == 'edit'){ |
| | | if(this.selectionList.length!=1){ |
| | | this.$message.warning('è¯·éæ©ä¸æ¡ç¼ç è§åæ°æ®!'); |
| | | return; |
| | | } |
| | | this.basicSecDialogTitle = 'ä¿®æ¹ç 段信æ¯'; |
| | | this.showbtn = true; |
| | | this.basicSecOnlyRead = false; |
| | | //为formç»å®å¼ |
| | | }else{ |
| | | this.basicSecDialogTitle = 'æ¥çç æ®µä¿¡æ¯'; |
| | | this.showbtn = false; |
| | | this.basicSecOnlyRead = true; |
| | | } |
| | | //console.log(this.form); |
| | | this.changeSectypeFormItems(condition == 'add' ? null:row); |
| | | this.addBasicCodeSettingBox = true; |
| | | }, |
| | | // æ°å¢åºç¡ç 段 |
| | | saveOrEditBasicCode(){ |
| | | if(this.selectionList[0].oid == null || this.selectionList[0].oid == ''){ |
| | | this.$message.warning('缺失å¿
è¦åæ°ï¼è¯·éæ°éæ©ç¼ç è§åååè¯!'); |
| | | return; |
| | | } |
| | | this.form.pkCodeRule = this.selectionList[0].oid; |
| | | if(this.form.oid == '' || this.form.oid == null){ |
| | | if(this.checkForm()){ |
| | | addSave(this.form).then(() => { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | // å
³éå¯¹è¯æ¡ |
| | | this.addBasicCodeSettingBox = false |
| | | } |
| | | |
| | | }else{ |
| | | editSave(this.form).then(() => { |
| | | // å
³éå¯¹è¯æ¡ |
| | | this.addBasicCodeSettingBox = false |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | } |
| | | // ç¹å»æ°å¢åºç¡ç 段,å
³éçªå£ä¹å触åéæ°å è½½ |
| | | this.loadBasic(this.selectionList[0]); |
| | | }, |
| | | // å 为elementuiçè¡¨åæ ¡éªè®¾ç½®ä¸ä¸æä»¥éç¨å¤æçæ¹å¼æ¥åè¡¨åæ£éªæ¹å¼ |
| | | checkForm(){ |
| | | let form = this.form; |
| | | //console.log(form); |
| | | const regNumber = /^[0-9]+\.{0,1}[0-9]*$/; //æ°åæå°æ°æ£åæ ¡éª |
| | | const tipsMsg = "å¿
填项ä¸è½ä¸ºç©º"; |
| | | if(form.id == ''){ |
| | | this.$message.warning("(ç æ®µç¼å·)"+tipsMsg); |
| | | this.$refs.id.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.name == ''){ |
| | | this.$message.warning("(ç æ®µåç§°)"+tipsMsg); |
| | | this.$refs.name.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.secType == ''){ |
| | | this.$message.warning("(ç æ®µç±»å)"+tipsMsg); |
| | | this.$refs.secType.$el.querySelector('select').focus(); |
| | | return false; |
| | | } |
| | | if(form.secType==='codefixedsec'){ |
| | | //åºå®ç 段 |
| | | if(form.codeSecLengthType == ''){ |
| | | this.$message.warning("(ç æ®µé¿åº¦ç±»å)"+tipsMsg); |
| | | this.$refs.codeSecLengthType.$el.querySelector('select').focus(); |
| | | return false; |
| | | } |
| | | if(form.codeSecLength == ''){ |
| | | this.$message.warning("(ç æ®µé¿åº¦)"+tipsMsg); |
| | | this.$refs.codeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeSecLength)){ |
| | | this.$message.warning("ç æ®µçé¿åº¦å¿
须为æ°åå¼"); |
| | | this.$refs.codeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codeattrsec'){ |
| | | //屿§ç 段 |
| | | if(form.referAttributeId == ''){ |
| | | this.$message.warning('(屿§)'+tipsMsg); |
| | | this.$refs.referAttributeId.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codeserialsec'){ |
| | | console.log(form.codeFillType); |
| | | //æµæ°´ç 段 |
| | | if(form.codeSecLength == ''){ |
| | | this.$message.warning('(ç æ®µçé¿åº¦)'+tipsMsg); |
| | | this.$refs.seriaCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeSecLength)){ |
| | | this.$message.warning('ç æ®µçé¿åº¦å¿
须为æ°åå¼'); |
| | | this.$refs.seriaCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.serialStart)){ |
| | | this.$message.warning('æµæ°´å·çèµ·å§å¼å¿
须为æ°åå¼'); |
| | | this.$refs.serialStart.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.serialStep)){ |
| | | this.$message.warning('æµæ°´çæ¥é¿å¿
须为æ°åå¼'); |
| | | this.$refs.serialStep.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.codeFillType == ''){ |
| | | this.$message.warning('(ç¼ç è¡¥ä½æ¹å¼)'+tipsMsg); |
| | | return false; |
| | | } |
| | | if(form.codeFillType != 'ä¸è¡¥ä½' && form.codeFillSeparatorSelect == ''){ |
| | | this.$message.warning('å½è¡¥ä½æ¹å¼ä¸ºå·¦è¡¥ä½æè
å³è¡¥ä½çæ¶åï¼è¡¥ä½å符ä¸è½ä¸ºç©º'); |
| | | return false; |
| | | } |
| | | if(form.codeFillLength == ''){ |
| | | this.$message.warning('å¡«å
é¿åº¦ä¸è½ä¸ºç©º'); |
| | | this.$refs.codeFillLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeFillLength)){ |
| | | this.$message.warning('å¡«å
é¿åº¦å¿
须为æ°åå¼'); |
| | | this.$refs.codeFillLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.codeFillLimit == ''){ |
| | | this.$message.warning('(æµæ°´ä¸é)'+tipsMsg); |
| | | this.$refs.codeFillLimit.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeFillLimit)){ |
| | | this.$message.warning('æµæ°´ä¸éå¿
须为æ°åå¼'); |
| | | this.$refs.codeFillLimit.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.codeFillFlag == ''){ |
| | | this.$message.warning('(æµæ°´æ¯å¦è¡¥ç )'+tipsMsg); |
| | | this.$refs.switch.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codelevelsec'){ |
| | | //å±çº§ç 段 |
| | | if(form.codeLevelType == ''){ |
| | | this.$message.warning('(å±çº§ç±»å)'+tipsMsg); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeLevelValue)){ |
| | | this.$message.warning('å±çº§çå¼)åªè½å¡«åæ°å'); |
| | | this.$refs.codeLevelValue.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.valueCutType == ''){ |
| | | this.$message.warning('(å符æªåç±»å)'+tipsMsg); |
| | | this.$refs.valueCutType.$el.querySelector('select').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='coderefersec'){ |
| | | //å¼ç¨ç 段 |
| | | if(form.referBtmId == ''){ |
| | | this.$message.warning('(åç
§å¼ç¨çä¸å¡ç±»å)'+tipsMsg); |
| | | this.$refs.referBtmId.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.referConfig == ''){ |
| | | this.$message.warning('(åç
§é
ç½®)'+tipsMsg); |
| | | this.$refs.referConfig.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codedatesec'){ |
| | | //æ¥æç æ®µ |
| | | if(form.codeDateFormatStr == ''){ |
| | | this.$message.warning('(æ¥ææ ¼å¼)'+tipsMsg); |
| | | this.$refs.codeDateFormatStr.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codeclassifysec'){ |
| | | //åç±»ç æ®µ |
| | | if(form.codeSecLengthType == ''){ |
| | | this.$message.warning('(ç æ®µé¿åº¦ç±»å)'+tipsMsg); |
| | | return false; |
| | | } |
| | | if(form.codeSecLength == ''){ |
| | | this.$message.warning('(ç æ®µé¿åº¦)'+tipsMsg); |
| | | this.$refs.classCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeSecLength)){ |
| | | this.$message.warning('ç æ®µçé¿åº¦å¿
须为æ°åå¼'); |
| | | this.$refs.classCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | }else if(this.form.secType==='codevariablesec'){ |
| | | //å¯åç æ®µ |
| | | if(form.codeSecLength == ''){ |
| | | this.$message.warning('(ç æ®µé¿åº¦)'+tipsMsg); |
| | | this.$refs.varCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(!regNumber.test(form.codeSecLength)){ |
| | | this.$message.warning('ç æ®µçé¿åº¦å¿
须为æ°åå¼'); |
| | | this.$refs.classCodeSecLength.$el.querySelector('input').focus(); |
| | | return false; |
| | | } |
| | | if(form.codeFillType == ''){ |
| | | this.$message.warning('(ç¼ç è¡¥ä½æ¹å¼)'+tipsMsg); |
| | | return false; |
| | | } |
| | | if(form.codeFillType != 'ä¸è¡¥ä½' && form.codeFillSeparatorSelect == ''){ |
| | | this.$message.warning('å½è¡¥ä½æ¹å¼ä¸ºå·¦è¡¥ä½æè
å³è¡¥ä½çæ¶åï¼è¡¥ä½å符ä¸è½ä¸ºç©º'); |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | }, |
| | | // å¤ææ°æ®æ¯å¦éæ©ä»¥ååªè½éæ©åæ¡æ°æ® |
| | | tipsMessage(list){ |
| | | if(list.length != 1){ |
| | | this.$message.warning("è¯·éæ©ä¸æ¡ç¼ç è§åæ°æ®!"); |
| | | return false; |
| | | } |
| | | return true; |
| | | }, |
| | | // åºç¡ç 段å é¤ |
| | | deleteBasicCode(){ |
| | | if(!this.tipsMessage(this.selectionBasicList)){ |
| | | return; |
| | | } |
| | | let oid = this.selectionBasicList[0].oid; |
| | | this.$confirm("æ¯å¦å é¤è¿æ¡æ°æ®ï¼å¦æè¢«å¼ç¨å°ä¸è½è¢«å é¤ï¼", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | let ts = new Date(this.selectionBasicList[0].ts).getTime(); |
| | | return deleteData({"oid": oid,"ts": ts}); |
| | | }) |
| | | .then(() => { |
| | | this.loadBasic({"oid":this.currentCodeRuleOid == null || this.currentCodeRuleOid == '' ? this.selectionList[0].oid:this.currentCodeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | this.$refs.crudBasic.toggleSelection(); |
| | | }); |
| | | }, |
| | | // ç¹å»è§¦åå è½½åºç¡ç æ®µä¿¡æ¯ |
| | | loadBasic(row){ |
| | | if(this.cloneSettingBox){ |
| | | this.cloneTableLoading = true; |
| | | }else{ |
| | | this.loadingBasic = true; |
| | | } |
| | | // console.log(row.oid); |
| | | //åå¨å½åå
³èçç¼ç è§åç¸å
³ä¿¡æ¯ |
| | | this.currentCodeRuleOid = row.oid; |
| | | this.currentRuleLcStatus = row.lcStatus; |
| | | gridCodeBasicSec(1, -1, {"pkCodeRule":row.oid}).then(res => { |
| | | const data = res.data.data; |
| | | // console.log(data); |
| | | if(this.cloneSettingBox){ |
| | | this.cloneData = data.records; |
| | | // console.log(tihs.cloneData); |
| | | this.cloneTableLoading = false; |
| | | }else { |
| | | this.basicData = data.records; |
| | | // console.log(this.basicData); |
| | | this.loadingBasic = false; |
| | | } |
| | | }); |
| | | }, |
| | | // åºç¡ç 段é䏿¶è§¦å |
| | | selectionBasicChange(list) { |
| | | this.selectionBasicList = list; |
| | | //console.log(this.selectionBasicList); |
| | | }, |
| | | // ä¸ç§»ä¸ç§»åºç¡ç 段 |
| | | upOrderNum(row){ |
| | | //console.log(row.oid); |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | let codeRuleOid = this.selectionList[0].oid; |
| | | if (this.selectionList[0].lcStatus != 'Editing') { |
| | | this.$message.warning("åªæç¼ç è§åçç¶ææ¯ [ç¼è¾ä¸] çæ¶åï¼æè½è°æ´ç 段顺åº!"); |
| | | return; |
| | | } |
| | | if(row.oid==null || row.oid==''){ |
| | | this.$message.warning("æªè·åå°å¿
å¡«åæ°!"); |
| | | return; |
| | | } |
| | | upOrderNum(row.oid).then(() => { |
| | | this.loadBasic({"oid":codeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }) |
| | | }, |
| | | downOrderNum(row){ |
| | | //console.log(row.oid); |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | let codeRuleOid = this.selectionList[0].oid; |
| | | //console.log(this.selectionList); |
| | | if (this.selectionList[0].lcStatus != 'Editing') { |
| | | this.$message.warning("åªæç¼ç è§åçç¶ææ¯ [ç¼è¾ä¸] çæ¶åï¼æè½è°æ´ç 段顺åº!"); |
| | | return; |
| | | } |
| | | if(row.oid==null || row.oid==''){ |
| | | this.$message.warning("æªè·åå°å¿
å¡«åæ°!"); |
| | | return; |
| | | } |
| | | downOrderNum(row.oid).then(() => { |
| | | this.loadBasic({"oid":codeRuleOid}); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }) |
| | | }, |
| | | //åºç¡ç 段æ¥è¯¢ |
| | | refreshChangeBasicSec(){ |
| | | this.loadBasic({"oid":this.currentCodeRuleOid == null || this.currentCodeRuleOid == '' ? this.selectionList[0].oid:this.currentCodeRuleOid}); |
| | | }, |
| | | |
| | | |
| | | /** ç¼ç è§åç¸å
³æ¹æ³ */ |
| | | // æ¥è¯¢ä½¿ç¨èå´ |
| | | handleRange(){ |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | this.codeRangeSettingBox = true; |
| | | this.getRangeCodeList() |
| | | }, |
| | | //å 载使ç¨èå´å表 |
| | | getRangeCodeList(){ |
| | | this.dialogLoading = true; |
| | | if(this.selectionList[0].oid==null){ |
| | | this.$message.error("æªè·åå°åæ°!"); |
| | | } |
| | | |
| | | listUseRange(this.selectionList[0].oid).then(res => { |
| | | this.useRangeData = res.data.data; |
| | | //console.log(this.useRangeData); |
| | | this.dialogLoading = false; |
| | | }); |
| | | }, |
| | | //å·æ°ä½¿ç¨èå´å表 |
| | | refreshUseRangeChange(){ |
| | |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | >>>>>>> 7938e5bedb3ff3b17dae51eb9588e8c8e71136c2 |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }, |
| | | // å
é |
| | | cloneCodeSetting() { |
| | | if (this.selectionList.length === 0) { |
| | | this.$message.warning("è¯·éæ©è³å°ä¸æ¡æ°æ®!"); |
| | | return; |
| | | } |
| | | if (this.selectionList.length > 1) { |
| | | this.$message.warning("æ¯æ¬¡åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return; |
| | | } |
| | | localStorage.setItem("cloneOid",this.selectionList[0].oid) |
| | | this.cloneSettingBox = true; |
| | | }, |
| | | // æ·»å |
| | | rowSave(row, done, loading) { |
| | | add(row).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | done(); |
| | | }, error => { |
| | | loading(); |
| | | window.console.log(error); |
| | | }); |
| | | }, |
| | | openEdit(row){ |
| | | this.$refs.crud.rowEdit(row,row.$index); |
| | | }, |
| | | // ä¿®æ¹ |
| | | rowUpdate(row, index, done, loading) { |
| | | row.ts = new Date().getTime; |
| | | update(row).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | done(); |
| | | }, error => { |
| | | loading(); |
| | | console.log(error); |
| | | }); |
| | | }, |
| | | // å é¤ |
| | | handleDelete() { |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | this.$confirm("ç¡®å®å°éæ©æ°æ®å é¤?", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | // åªæ¯ææ¯æ¬¡åæ¡è®°å½å é¤ |
| | | let oid = this.selectionList[0].oid; |
| | | let ts = this.selectionList[0].ts; |
| | | return remove({oid: oid,ts: ts}); |
| | | }) |
| | | .then(() => { |
| | | }, |
| | | // æå¼ç¼ç è§åå
éå¯¹è¯æ¡ |
| | | openCodeRuleDialog() { |
| | | if (!this.tipsMessage(this.selectionList)) { |
| | | return; |
| | | } |
| | | this.cloneSettingBox = true; |
| | | this.cloneCodeRuleForm.id = this.selectionList[0].id; |
| | | this.cloneCodeRuleForm.name = this.selectionList[0].name; |
| | | this.cloneCodeRuleForm.description = this.selectionList[0].description; |
| | | this.loadBasic({"oid": this.selectionList[0].oid}); |
| | | }, |
| | | // å
éç¼ç è§åä¿ååè½ |
| | | saveCloneCodeRule(){ |
| | | let form = this.cloneCodeRuleForm; |
| | | if(form.id.trim()==''){ |
| | | this.$message.warning("ç¼å·ä¸è½ä¸ºç©º!"); |
| | | return; |
| | | } |
| | | if(form.name.trim()==''){ |
| | | this.$message.warning("ç å¼ä¸è½ä¸ºç©º!"); |
| | | return; |
| | | } |
| | | this.selectionList[0].oid = ''; |
| | | this.selectionList[0].id = form.id; |
| | | this.selectionList[0].name = form.name; |
| | | this.selectionList[0].description = form.description; |
| | | this.selectionList[0].createTime = new Date().getTime(); |
| | | this.selectionList[0].ts = new Date(this.selectionList[0].ts).getTime(); |
| | | this.selectionList[0].lcStatus = 'Editing'; |
| | | let data = Object.assign({}, this.selectionList[0],{elements:this.cloneData}); |
| | | clone(data).then(() => { |
| | | this.cloneSettingBox = false; |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | this.$refs.crud.toggleSelection(); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }, |
| | | // æå¼ä¿®æ¹ |
| | | beforeOpen(done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | getDetail(this.form.oid).then(res => { |
| | | this.form = res.data.data; |
| | | //console.log(data); |
| | | }, |
| | | // æå¼ä»å
¶ä»ç¼ç è§åä¸å
éç æ®µå¯¹è¯æ¡ |
| | | openOtherCodeRuleDialog(){ |
| | | if (!this.tipsMessage(this.selectionList)) { |
| | | return; |
| | | } |
| | | if(this.selectionList[0].lcStatus != 'Editing'){ |
| | | this.$message.warning("ç¼ç è§å已被å¼ç¨ï¼ä¸å
许ç¼è¾æå é¤!"); |
| | | return; |
| | | } |
| | | this.cloneOtherCodeRuleSettingBox = true; |
| | | }, |
| | | //åå»ç¼ç è§åå®ç°è¡éæ© |
| | | codeOtherCloneRuleRowClick (row) { |
| | | this.loadBasic(row); |
| | | }, |
| | | // ç¼ç è§åå½åéä¸è¡ååçæ¶å触å |
| | | selectionOtherCloneCodeRuleChange(list) { |
| | | //console.log(list); |
| | | this.selectionOtherCloneCodeRuleList = list; |
| | | if(this.selectionOtherCloneCodeRuleList.length > 0){ |
| | | this.loadBasic(this.selectionOtherCloneCodeRuleList[list.length-1]); |
| | | } |
| | | }, |
| | | selectionOtherCloneCodeBasicChange(list){ |
| | | this.selectionOtherCloneCodeBasicList = list; |
| | | }, |
| | | // ä»å
¶ä»ç¼ç è§åä¸å
éç æ®µä¿¡æ¯ |
| | | saveOtherCodeBasic(){ |
| | | let oid = this.selectionList[0].oid; |
| | | let fromDialogPkCodebasic = this.selectionOtherCloneCodeBasicList; |
| | | if(fromDialogPkCodebasic.length < 0){ |
| | | this.$message.warning("è¯·éæ©ç æ®µæ°æ®!"); |
| | | return; |
| | | } |
| | | let res = fromDialogPkCodebasic.filter((item) => { |
| | | return item.pkCodeRule == oid; |
| | | }); |
| | | } |
| | | done(); |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | selectionChange(list) { |
| | | this.selectionList = list; |
| | | if(this.selectionList.length > 0){ |
| | | this.currentCodeRuleOid = this.selectionList [list.length-1]; |
| | | this.loadBasic(this.selectionList[list.length-1]); |
| | | } |
| | | }, |
| | | selectionClear() { |
| | | this.selectionList = []; |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | currentChange(currentPage){ |
| | | this.page.currentPage = currentPage; |
| | | }, |
| | | sizeChange(pageSize){ |
| | | this.page.pageSize = pageSize; |
| | | }, |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | gridCodeRule(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | if(res != ''){ |
| | | this.$message.warning("éè¦å
éçç¼ç è§åä¸è¢«å
éçç¼ç è§åç¸å!"); |
| | | return; |
| | | } |
| | | //console.log(res); |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.loadBasic(data.records[0]) |
| | | this.selectionClear(); |
| | | }); |
| | | let oidArr = ''; |
| | | fromDialogPkCodebasic.forEach((item) =>{ |
| | | oidArr = oidArr+","+item.oid; |
| | | }) |
| | | let data = { |
| | | "pkCodeRule": oid, |
| | | "oidArr": oidArr, |
| | | } |
| | | //console.log(data); |
| | | cloneCodeBasic(data).then(() => { |
| | | this.cloneOtherCodeRuleSettingBox = false; |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }, error => { |
| | | window.console.log(error); |
| | | }); |
| | | }, |
| | | // æ¸
空ç å¼ |
| | | clearAllCodeSec(){ |
| | | if(this.selectionList.length == 0){ |
| | | this.$message.warning("没æéæ©æ°æ®!"); |
| | | return; |
| | | } |
| | | if(this.selectionList.length != 1){ |
| | | this.$message.warning("æ¯æ¬¡åªè½éæ©ä¸æ¡æ°æ®!"); |
| | | return; |
| | | } |
| | | let currentData = this.selectionList[0]; |
| | | this.$confirm("ç¡®å®è¦æ¸
空ç å¼ï¼å¦ææ¸
空å°ä¸è½è¢«æ¢å¤ï¼è¯·è°¨æ
ï¼", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | let ts = new Date(currentData.ts).getTime(); |
| | | return clearAllCode({"oid": currentData.oid,"ts": ts}); |
| | | }) |
| | | .then(() => { |
| | | this. this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | // æ·»å |
| | | rowSave(row, done, loading) { |
| | | add(row).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | done(); |
| | | }, error => { |
| | | loading(); |
| | | window.console.log(error); |
| | | }); |
| | | }, |
| | | openEdit(row){ |
| | | this.$refs.crud.rowEdit(row,row.$index); |
| | | }, |
| | | // ä¿®æ¹ |
| | | rowUpdate(row, index, done, loading) { |
| | | row.ts = new Date().getTime; |
| | | update(row).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | done(); |
| | | }, error => { |
| | | loading(); |
| | | console.log(error); |
| | | }); |
| | | }, |
| | | // å é¤ |
| | | handleDelete() { |
| | | if(!this.tipsMessage(this.selectionList)){ |
| | | return; |
| | | } |
| | | this.$confirm("ç¡®å®å°éæ©æ°æ®å é¤?", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | // åªæ¯ææ¯æ¬¡åæ¡è®°å½å é¤ |
| | | let oid = this.selectionList[0].oid; |
| | | let ts = new Date(this.selectionList[0].ts).getTime(); |
| | | return remove({oid: oid,ts: ts}); |
| | | }) |
| | | .then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "æä½æå!" |
| | | }); |
| | | this.$refs.crud.toggleSelection(); |
| | | }); |
| | | }, |
| | | // æå¼ä¿®æ¹ |
| | | beforeOpen(done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | getDetail(this.ruleForm.oid).then(res => { |
| | | this.ruleForm = res.data.data; |
| | | }); |
| | | } |
| | | done(); |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | // ç¼ç è§åå½åéä¸è¡ååçæ¶å触å |
| | | selectionChange(list) { |
| | | this.selectionList = list; |
| | | //console.log("selectionChange====="+list); |
| | | this.$refs.crud.setCurrentRow(this.selectionList[list.length-1]); |
| | | if(this.selectionList.length > 0){ |
| | | this.currentCodeRuleOid = this.selectionList[list.length-1].oid; |
| | | this.currentRuleLcStatus = this.selectionList[list.length-1].lcStatus; |
| | | //console.log(this.currentRuleLcStatus); |
| | | this.loadBasic(this.selectionList[list.length-1]); |
| | | } |
| | | }, |
| | | selectionClear() { |
| | | this.selectionList = []; |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | currentChange(currentPage){ |
| | | this.page.currentPage = currentPage; |
| | | }, |
| | | sizeChange(pageSize){ |
| | | this.page.pageSize = pageSize; |
| | | }, |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | gridCodeRule(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
| | | //console.log(res.data); |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.loadBasic(this.data[0]) |
| | | this.$nextTick(() => { |
| | | //this.$refs.crud.toggleRowSelection(this.data[0]); |
| | | this.$refs.crud.setCurrentRow(this.data[0]); |
| | | }) |
| | | this.selectionList = data.records[0]; |
| | | //this.selectionClear(); |
| | | }); |
| | | }, |
| | | |
| | | |
| | | /** 第ä¸å±å¯¹è¯æ¡ç¸å
³æ¹æ³ */ |
| | | // æå¼äºå±å¼¹çªæ¹æ³ |
| | | openAttrSelectOrGetValue(condition){ |
| | | if(condition === 'attr'){ |
| | | this.isShowSelectAttrOption = true; |
| | | }else if(condition === 'value'){ |
| | | //æå¼å
¬å¼ç¼è¾æ¡ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ |
| | | this.$refs.formulaEditor.isShowformulaEdit = true; |
| | | }else if(condition === 'parentClassifySecOid'){ |
| | | this.isShowParentClassifyOption = true; |
| | | }else if(condition === 'referBtmId'){ |
| | | this.isShowSelectReferBtmOption = true; |
| | | }else if(condition === 'referConfig'){ |
| | | //this.$emit('openSelectreferConfig') |
| | | } |
| | | }, |
| | | |
| | | // ç¹å»è¾å
¥æ¡çÃå·ï¼æ¸
空è¾å
¥æ¡ä¸çå
容 |
| | | clearAttrDataByIcon(condition){ |
| | | if(condition === 'attr'){ |
| | | this.form.referAttributeName = ''; |
| | | this.form.referAttributeId = ''; |
| | | this.form.referCodeClassifyOid = ''; |
| | | this.form.referCodeClassifyOidName = ''; |
| | | }else if(condition === 'value'){ |
| | | this.form.getValueClass = ''; |
| | | }else if(condition === 'parentClassifySecOid'){ |
| | | this.form.parentClassifySecOid = ''; |
| | | }else if(condition === 'referBtmId'){ |
| | | this.form.referBtmId = ''; |
| | | }else if(condition === 'referConfig'){ |
| | | this.form.referBtmId = ''; |
| | | } |
| | | }, |
| | | // è¡¥ä½æ¶çå符ï¼å®ç°å¯è¾å¯é |
| | | inputSelectBlur(e){ |
| | | if (e.target.value) { |
| | | this.form.codeFillSeparatorSelect = e.target.value; |
| | | } |
| | | }, |
| | | // ç æ®µç±»åæ¹åæ¶ï¼å¢å 对åºçform表åä¸ç屿§ |
| | | changeSectypeFormItems(row){ |
| | | //console.log(row); |
| | | if(this.sectypeList.length==0){ |
| | | this.loadCodeSecType(); |
| | | } |
| | | if(row != null){ |
| | | this.form = { |
| | | oid: row.oid, |
| | | id: row.id, //ç¼å·, |
| | | name: row.name,//åç§° |
| | | secType: row.secType,//ç æ®µç±»å |
| | | description: row.description,//æè¿° |
| | | serialDependFlag: row.serialDependFlag=='true' ? true:false,//æ¯å¦æµæ°´ä¾èµ |
| | | serialDependOrder: row.serialDependOrder,//æµæ°´ä¾èµé¡ºåº |
| | | nullableFlag: row.nullableFlag=='true' ? true:false,//æ¯å¦ä¸ºç©º |
| | | displayFlag: row.displayFlag=='true' ? true:false, |
| | | componentCodeFlag: row.componentCodeFlag=='true' ? true:false,//æ¯å¦åä¸ç¼ç |
| | | pkCodeRule: row.pkCodeRule, //æå±ç¼ç è§å |
| | | } |
| | | }else { |
| | | this.form = { |
| | | id: this.form.id, //ç¼å· |
| | | name: this.form.name, //åç§° |
| | | secType: this.form.secType, //ç æ®µç±»å |
| | | description: this.form.description, //æè¿° |
| | | serialDependFlag: this.form.serialDependFlag, //æ¯å¦æµæ°´ä¾èµ |
| | | serialDependOrder: this.form.serialDependOrder, //æµæ°´ä¾èµé¡ºåº |
| | | nullableFlag: this.form.nullableFlag, //æ¯å¦ä¸ºç©º |
| | | displayFlag: this.form.displayFlag, // |
| | | componentCodeFlag: this.form.componentCodeFlag, //æ¯å¦åä¸ç¼ç |
| | | pkCodeRule: this.form.pkCodeRule, //æå±ç¼ç è§å |
| | | }; |
| | | //console.log(this.form); |
| | | } |
| | | if(this.form.secType==='codefixedsec'){ |
| | | //åºå®ç 段 |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeSecLength: row!=null&&row.codeSecLength != '' ? row.codeSecLength:'', |
| | | codeSecLengthType: row!=null&&row.codeSecLengthType != '' ? row.codeSecLengthType:'code_sec_length_variable' |
| | | }); |
| | | this.loadCodeSecLength(); |
| | | }else if(this.form.secType==='codeattrsec'){ |
| | | //屿§ç 段 |
| | | this.form = Object.assign({}, this.form, { |
| | | referCodeClassifyOid: row!=null&&row.referCodeClassifyOid != '' ? row.referCodeClassifyOid:'', //屿§id |
| | | referCodeClassifyOidName: row!=null&&row.referCodeClassifyOidName != '' ? row.referCodeClassifyOidName:'', //屿§æå¨åç±» |
| | | referAttributeId: row!=null&&row.referAttributeId != '' ? row.referAttributeId:'', //屿§ç¼å· |
| | | referAttributeName: row!=null&&row.referAttributeName != '' ? row.referAttributeName:'', //屿§ |
| | | getValueClass: row!=null&&row.getValueClass != '' ? row.getValueClass:'' //åå¼è§å |
| | | }); |
| | | }else if(this.form.secType==='codeserialsec'){ |
| | | //æµæ°´ç 段 |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeSecLength: row!=null&&row.codeSecLength != '' ? row.codeSecLength:'', //ç æ®µçé¿åº¦ |
| | | serialStart: row!=null&&row.serialStart != '' ? row.serialStart:1, //æµæ°´å·èµ·å§å¼ |
| | | serialStep: row!=null&&row.serialStep != '' ? row.serialStep:1, //æµæ°´çæ¥é¿ |
| | | codeFillType: row!=null&&row.codeFillType != '' ? row.codeFillType:'code_fill_right', //ç¼ç è¡¥ä½æ¹å¼ |
| | | codeFillSeparatorSelect: row!=null&&row.codeFillSeparatorSelect != '' ? row.codeFillSeparatorSelect:0, //è¡¥ä½æ¶çå符ï¼éä¸ç䏿æ¡ç䏿 |
| | | codeFillSeparator: row!=null&&row.codeFillSeparator != '' ? row.codeFillSeparator:0, //è¡¥ä½æ¶çå符 |
| | | codeFillLength: row!=null&&row.codeFillLength != '' ? row.codeFillLength:'', //å¡«å
é¿åº¦ |
| | | codeFillLimit: row!=null&&row.codeFillLimit != '' ? row.codeFillLimit:'', //æµæ°´ä¸é |
| | | codeFillFlag: row!=null&&row.codeFillFlag != '' ? row.codeFillFlag=='true' ? true:false :false, //æµæ°´æ¯å¦è¡¥ç |
| | | customCodeSerialClass: row!=null&&row.customCodeSerialClass != '' ? row.customCodeSerialClass:'', //èªå®ä¹æµæ°´ç®æ³ |
| | | }); |
| | | this.loadCodeFillType(); |
| | | this.loadCodeFillSeparator(); |
| | | }else if(this.form.secType==='codelevelsec'){ |
| | | //å±çº§ç 段 |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeLevelType: row!=null&&row.codeLevelType != '' ? row.codeLevelType:'code_level_min', //å±çº§ç±»å æä¸¾æ¥è¯¢ |
| | | codeLevelValue: row!=null&&row.codeLevelValue != '' ? row.codeLevelValue:'', //å±çº§çå¼ |
| | | valueCutType: row!=null&&row.valueCutType != '' ? row.valueCutType:'code_cut_none', //å符æªåç±»å æä¸¾æ¥è¯¢ |
| | | valueCutLength: row!=null&&row.valueCutLength != '' ? row.valueCutLength:'', // |
| | | codeGetValueType: row!=null&&row.codeGetValueType != '' ? row.codeGetValueType:'code_get_value_all_up', //åå¼ç±»å æä¸¾æ¥è¯¢ |
| | | }); |
| | | this.loadCodeLevelType(); |
| | | this.loadCodeCutType(); |
| | | this.loadCodeGetValueType(); |
| | | }else if(this.form.secType==='coderefersec'){ |
| | | //å¼ç¨ç 段 |
| | | this.form = Object.assign({}, this.form,{ |
| | | referBtmId: row!=null&&row.referBtmId != '' ? row.referBtmId:'', //åç
§å¼ç¨çä¸å¡ç±»åï¼çid |
| | | referBtmName: row!=null&&row.referBtmName != '' ? row.referBtmName:'', //åç
§å¼ç¨çä¸å¡ç±»å |
| | | referConfig: row!=null&&row.referConfig != '' ? row.referConfig:'', //åç
§é
ç½® |
| | | }); |
| | | }else if(this.form.secType==='codedatesec'){ |
| | | //æ¥æç æ®µ |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeDateFormatStr: row!=null&&row.codeDateFormatStr != '' ? row.codeDateFormatStr:'', //æ¥ææ ¼å¼ |
| | | }); |
| | | }else if(this.form.secType==='codeclassifysec'){ |
| | | //console.log(this.form); |
| | | //åç±»ç æ®µ |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeSecLengthType: row!=null&&row.codeSecLengthType != '' ? row.codeSecLengthType:'code_sec_length_variable', //ç æ®µé¿åº¦ç±»å |
| | | codeSecLength: row!=null&&row.codeSecLength != '' ? row.codeSecLength:'', //ç æ®µçé¿åº¦ |
| | | matchClassifyValueFlag: row!=null&&row.matchClassifyValueFlag != '' ? row.matchClassifyValueFlag=='true' ? true:false :false, //æ¯å¦èªå¨å¹é
å¼ |
| | | parentClassifySecOid: row!=null&&row.parentClassifySecOid != '' ? row.parentClassifySecOid:'', //ç¶åç±»ç æ®µéä¸çid |
| | | parentClassifySecText: row!=null&&row.parentClassifySecText != '' ? row.parentClassifySecText:'', //ç¶åç±»ç æ®µ |
| | | }); |
| | | this.loadCodeSecLength(); |
| | | }else if(this.form.secType==='codevariablesec'){ |
| | | //å¯åç æ®µ |
| | | this.form = Object.assign({}, this.form,{ |
| | | codeSecLength: row!=null&&row.codeSecLength != '' ? row.codeSecLength:'', //ç æ®µçé¿åº¦ |
| | | codeFillType: row!=null&&row.codeFillType != '' ? row.codeFillType:'code_fill_right', //ç¼ç é¨ä½æ¹å¼ï¼æä¸¾æ¥è¯¢ |
| | | codeFillSeparatorSelect: row!=null&&row.codeFillSeparatorSelect != '' ? row.codeFillSeparatorSelect:0, //éä¸çè¡¥ä½æ¶çå符ç䏿 |
| | | codeFillSeparator: row!=null&&row.codeFillSeparator != '' ? row.codeFillSeparator:'', //è¡¥ä½æ¶çå符ï¼å¯è¾å¯éæ¥è¯¢ |
| | | }); |
| | | this.loadCodeFillType(); |
| | | this.loadCodeFillSeparator(); |
| | | } |
| | | // console.log(this.form); |
| | | }, |
| | | //æä¸¾åå¯è¾å¯éå
容æ¥è¯¢ |
| | | loadCodeSecType(){ |
| | | getDictionary({code: "codeBasicSecType"}).then(res=>{ |
| | | this.sectypeList = res.data.data; |
| | | }) |
| | | this.loadCodeSecLength(); |
| | | //console.log(this.sectypeList); |
| | | }, |
| | | loadCodeSecLength(){ |
| | | getDictionary({code: "codeSecLength"}).then(res=>{ |
| | | this.codeSecLengthType = res.data.data; |
| | | }) |
| | | }, |
| | | loadCodeFillType(){ |
| | | getDictionary({code: "codeFillType"}).then(res=>{ |
| | | this.codeFillType = res.data.data; |
| | | }) |
| | | }, |
| | | loadCodeFillSeparator(){ |
| | | getDictionary({code: "codeFillSeparator"}).then(res=>{ |
| | | this.codeFillSeparator = res.data.data; |
| | | }) |
| | | }, |
| | | loadCodeLevelType(){ |
| | | getDictionary({code: "codeLevelType"}).then(res=>{ |
| | | this.codeLevelType = res.data.data; |
| | | }) |
| | | }, |
| | | loadCodeCutType(){ |
| | | getDictionary({code: "codeCutType"}).then(res=>{ |
| | | this.codeCutType = res.data.data; |
| | | }) |
| | | }, |
| | | loadCodeGetValueType(){ |
| | | getDictionary({code: "codeGetValueType"}).then(res=>{ |
| | | this.codeGetValueType = res.data.data; |
| | | //console.log(this.codeGetValueType); |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | | }; |
| | | }; |
| | | |
| | | </script> |
| | | |
| | | <<<<<<< HEAD |
| | | <style> |
| | | ======= |
| | | <style scope> |
| | | |
| | | .code-rule-crud > .avue-crud__search ,.code-basic-crud > .avue-crud__search { |
| | |
| | | padding: 1px 6px; |
| | | } |
| | | |
| | | >>>>>>> 7938e5bedb3ff3b17dae51eb9588e8c8e71136c2 |
| | | .el-divider--horizontal { |
| | | margin-top: 19px !important; |
| | | margin-bottom: -20px !important; |
| | | height: 2px; |
| | | margin: 0; |
| | | margin-top: 19px !important; |
| | | margin-bottom: -20px !important; |
| | | height: 2px; |
| | | margin: 0; |
| | | position: fixed; |
| | | width: 57.5vw; |
| | | } |
| | | |
| | | .el-card__body > .abox { |
| | |
| | | width:60px; |
| | | } |
| | | |
| | | .formula-editor{ |
| | | |
| | | .el-input-number { |
| | | width: 120px; |
| | | } |
| | | |
| | | .el-input-number >.el-input > .el-input__inner { |
| | | width:120px; |
| | | } |
| | | |
| | | .el-col>.el-card > .el-card__header { |
| | | background: rgb(213 231 239); |
| | | border-radius: inherit; |
| | | } |
| | | |
| | | /** æ°å¢ç 段 */ |
| | | .total{ |
| | | height: 500px; |
| | | width: 100%; |
| | | } |
| | | |
| | | .total .el-input__inner,.total .el-textarea__inner { |
| | | width: 220px; |
| | | } |
| | | |
| | | .el-divider--vertical { |
| | | width: 2px; |
| | | height: 72vh; |
| | | margin: 0 5px; |
| | | position: fixed; |
| | | } |
| | | |
| | | .left { |
| | | float: left; |
| | | width: 49%; |
| | | } |
| | | .right { |
| | | float: right; |
| | | margin-right: 2.5vw; |
| | | /* width: 40%; */ |
| | | } |
| | | .right > .el-form > .el-form-item{ |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | |
| | | </style> |
| | |
| | | plain |
| | | @click="enableOrgDuty(true)">å¯ ç¨ |
| | | </el-button> |
| | | <el-button type="primary" |
| | | <el-button type="warning" |
| | | size="small" |
| | | icon="el-icon-star-off" |
| | | plain |
| | |
| | | <template> |
| | | |
| | | <el-container> |
| | | <el-header> |
| | | <el-button type="primary" @click="businessAdd">æ°å¢</el-button> |
| | | <el-button type="primary" @click="businessEdit">ä¿®æ¹</el-button> |
| | | <el-button type="primary" @click="selectFromTable">ä»å·²æä¸è·å</el-button> |
| | | </el-header> |
| | | <el-container> |
| | | <el-aside width="240px"> |
| | | <basic-container> |
| | | <avue-tree id="basic" :data="treeData" :option="treeOption" @node-click="nodeClick"> |
| | | <span class="el-tree-node__label" slot-scope="{ node, data }"> |
| | | <span> |
| | | <i class="el-icon-star-on"></i> |
| | | {{ (node || {}).label }} |
| | | </span> |
| | | </span> |
| | | </avue-tree> |
| | | </basic-container> |
| | | </el-aside> |
| | | <el-container> |
| | | <el-main> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | | <basic-container> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">åºæ¬ä¿¡æ¯</p> |
| | | <el-descriptions class="margin-top" :column="3" :size="size" border> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-finished"></i> |
| | | è±æåç§° |
| | | </template> |
| | | {{ obj.id }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-info"></i> |
| | | 䏿åç§° |
| | | </template> |
| | | {{ obj.name }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-date"></i> |
| | | æ°æ®åºè¡¨å |
| | | </template> |
| | | {{ obj.tableName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-folder-opened"></i> |
| | | æå±é¢å |
| | | </template> |
| | | {{ obj.domain }} |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-s-ticket"></i> |
| | | æ ç¾ |
| | | </template> |
| | | {{obj.hashtag}} |
| | | </el-descriptions-item> --> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-arrow-up"></i> |
| | | ç»§æ¿èª |
| | | </template> |
| | | {{ obj.sss }} |
| | | </el-descriptions-item> --> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-s-check"></i> |
| | | çæ¬è§å |
| | | </template> |
| | | {{ obj.versionRule }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-refresh-right"></i> |
| | | çå½å¨æ |
| | | </template> |
| | | {{ obj.lifeCycleId }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-view"></i> |
| | | è§å¾ |
| | | </template> |
| | | {{ obj.viewFlag }} |
| | | </el-descriptions-item> |
| | | <!-- <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-arrow-down"></i> |
| | | å®ç°ç±» |
| | | </template> |
| | | {{ obj.implClass }} |
| | | </el-descriptions-item> --> |
| | | <el-descriptions-item> |
| | | <template slot="label"> |
| | | <i class="el-icon-chat-line-square"></i> |
| | | æè¿° |
| | | </template> |
| | | {{ obj.description }} |
| | | </el-descriptions-item> |
| | | </el-descriptions> |
| | | </basic-container> |
| | | <!-- 屿§å表--> |
| | | <basic-container> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">屿§å表</p> |
| | | <avue-crud v-model="obj" :data="obj.attributes" :option="loadOption" @row-save="loadSave"></avue-crud> |
| | | </basic-container> |
| | | </el-main> |
| | | <el-dialog :visible="ref.visible" title="仿°æ®åºä¸æ·»å " width="700px" append-to-body @close="dialoghandelfalse"> |
| | | éæ©é¢åï¼ |
| | | <el-select v-model="domain" placeholder="è¯·éæ©" @change="refOnLoad"> |
| | | <el-option v-for="item in domainOptions" :key="item" :label="item" :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | <avue-crud class="businessCrud" v-model="ref.form" :option="ref.option" :data="ref.data" @selection-change="selectionChange"> |
| | | </avue-crud> |
| | | <el-aside width="240px"> |
| | | <basic-container> |
| | | <avue-tree id="basic" :data="treeData" :option="treeOption" @node-click="nodeClick"> |
| | | </avue-tree> |
| | | </basic-container> |
| | | </el-aside> |
| | | <el-main> |
| | | <!-- åºæ¬ä¿¡æ¯--> |
| | | <basic-container> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">åºæ¬ä¿¡æ¯</p> |
| | | <avue-crud |
| | | v-model="objs" |
| | | :data="basicData" |
| | | :option="basicOption" |
| | | @row-save="basicSave" |
| | | > |
| | | <!-- çæ¬è§å--> |
| | | <template slot="rulesForm" slot-scope="{disabled,size}"> |
| | | <div> |
| | | <el-input v-if="rulesFalg==false" v-model="objs.tex" :size="size" placeholder="请è¾å
¥çæ¬å·è§å" |
| | | style="width: 290px"></el-input> |
| | | <el-select v-if="rulesFalg" v-model="objs.select" placeholder="è¯·éæ©çæ¬å·è§å" style="max-width: 300px"> |
| | | <el-option label="æµè¯1" value="1"></el-option> |
| | | <el-option label="æµè¯2" value="2"></el-option> |
| | | <el-option label="æµè¯3" value="3"></el-option> |
| | | </el-select> |
| | | <el-button style="margin-bottom: 5px;margin-left: 10px" type="primary" @click="handelRules"> |
| | | {{ rulesFalg == false ? "éæ©çæ¬å·è§å" : "æå¨è¾å
¥" }} |
| | | </el-button> |
| | | </div> |
| | | </template> |
| | | <!-- çå½å¨æ--> |
| | | <template slot="lifeCycleForm"> |
| | | <el-select v-model="objs.select" placeholder="è¯·éæ©çå½å¨æ" style="max-width: 300px"> |
| | | <el-option label="æµè¯1" value="1"></el-option> |
| | | <el-option label="æµè¯2" value="2"></el-option> |
| | | <el-option label="æµè¯3" value="3"></el-option> |
| | | </el-select> |
| | | <el-button style="margin-bottom: 5px;display: inline-block;margin-left: 10px" type="primary" |
| | | @click="handelLife">çå½å¨æå表 |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <el-dialog :visible.sync="packageLifeBox" |
| | | append-to-body |
| | | title="æ¥ç使ç¨èå´" |
| | | width="1000px"> |
| | | <Businpackage></Businpackage> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialoghandelfalse">å æ¶</el-button> |
| | | <el-button type="primary" @click="dialoghandeltrue">ç¡® å®</el-button> |
| | | </span> |
| | | </span> |
| | | </el-dialog> |
| | | </el-container> |
| | | </el-container> |
| | | <business-add ref="btmAdd" :btmType="addOption.btmType" :domainOption="domainOptions"> |
| | | </business-add> |
| | | </basic-container> |
| | | <!-- 屿§å表--> |
| | | <basic-container> |
| | | <p style="margin-top: 10px;font-weight: 570;font-size: 19px">屿§å表</p> |
| | | <avue-crud |
| | | v-model="obj" |
| | | :data="loadData" |
| | | :option="loadOption" |
| | | @row-save="loadSave" |
| | | ></avue-crud> |
| | | </basic-container> |
| | | </el-main> |
| | | </el-container> |
| | | </template> |
| | | <script> |
| | | import { |
| | | initTree, |
| | | refOnLoad, |
| | | getDomain, |
| | | saveFromTable, |
| | | getDetail |
| | | } from "@/api/omd/btmType" |
| | | export default { |
| | | name: "Business", |
| | | data() { |
| | |
| | | //çæ¬è§åç¶æ |
| | | rulesFalg: false, |
| | | obj: {}, |
| | | selectionList: [], |
| | | treeData: [], |
| | | treeData: [{ |
| | | value: 0, |
| | | label: 'ä¸å¡ç±»åæ ', |
| | | children: [ |
| | | { |
| | | value: 1, |
| | | label: 'A', |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: 'B', |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: 'C', |
| | | }, |
| | | { |
| | | value: 4, |
| | | label: 'D', |
| | | }, |
| | | { |
| | | value: 5, |
| | | label: 'E', |
| | | } |
| | | ] |
| | | }], |
| | | treeOption: { |
| | | defaultExpandAll: true, |
| | | title: 'ä¸å¡ç±»åæ ', |
| | | props: { |
| | | labelText: '', |
| | | label: 'name', |
| | | value: 'oid', |
| | | children: 'childList', |
| | | }, |
| | | loadData: [], |
| | | loadData1: [ |
| | | { |
| | | name: 'å¼ ä¸', |
| | | business: 'æµè¯', |
| | | attrType: "æµè¯", |
| | | default: "æµè¯", |
| | | explain: "æµè¯è¯´æ" |
| | | }, |
| | | { |
| | | name: 'æå', |
| | | business: 'æµè¯', |
| | | attrType: "æµè¯", |
| | | default: "æµè¯", |
| | | explain: "æµè¯è¯´æ" |
| | | } |
| | | }, |
| | | addOption:{ |
| | | btmType:{}, |
| | | }, |
| | | ], |
| | | loadData2: [ |
| | | { |
| | | name: 'çäº', |
| | | business: 'æµè¯', |
| | | attrType: "æµè¯", |
| | | default: "æµè¯", |
| | | explain: "æµè¯è¯´æ" |
| | | }, |
| | | { |
| | | name: 'å®å
', |
| | | business: 'æµè¯', |
| | | attrType: "æµè¯", |
| | | default: "æµè¯", |
| | | explain: "æµè¯è¯´æ" |
| | | } |
| | | ], |
| | | loadOption: { |
| | | border: true, |
| | | height: 466, |
| | | height: 422, |
| | | editBtn: false, |
| | | addBtn: false, |
| | | menu: false, |
| | | highlightCurrentRow: true, |
| | | refreshBtn:false, |
| | | columnBtn:false, |
| | | column: [ |
| | | { |
| | | label: '屿§è±æåç§°', |
| | | prop: 'id', |
| | | align: 'center' |
| | | }, { |
| | | label: '屿§ä¸æåç§°', |
| | | prop: 'name', |
| | | align: 'center' |
| | | label: '屿§å', |
| | | prop: 'name' |
| | | }, |
| | | { |
| | | label: 'ä¸å¡ç±»å', |
| | | prop: 'business' |
| | | }, |
| | | { |
| | | label: "屿§ç±»å", |
| | | prop: "attrDataType", |
| | | align: 'center' |
| | | prop: "attrType" |
| | | }, |
| | | { |
| | | label: "é»è®¤å¼", |
| | | prop: "defaultValue", |
| | | align: 'center' |
| | | prop: "default", |
| | | }, |
| | | { |
| | | label: "说æ", |
| | | prop: "description", |
| | | align: 'center' |
| | | prop: "explain" |
| | | } |
| | | ] |
| | | }, |
| | | domain: null, |
| | | domainOptions: [], |
| | | ref: { |
| | | // ä»è¡¨ä¸éæ©dialogç¶æ |
| | | visible: false, |
| | | form: {}, |
| | | option: { |
| | | height: "550px", |
| | | selection: true, |
| | | headerAlign: 'center', |
| | | border: true, |
| | | index: true, |
| | | rowKey: 'id', |
| | | tabs: true, |
| | | addBtn: false, |
| | | menu: false, |
| | | highlightCurrentRow: true, |
| | | column: [ |
| | | { |
| | | label: '表å', |
| | | prop: 'tableName', |
| | | align: 'center', |
| | | display: false |
| | | }, |
| | | { |
| | | label: 'æè¿°', |
| | | prop: 'description', |
| | | align: 'center', |
| | | display: false |
| | | } |
| | | ] |
| | | }, |
| | | data: [{ |
| | | tableName: '1', |
| | | description: '2' |
| | | }] |
| | | } |
| | | //åºæ¬ä¿¡æ¯ |
| | | objs: { |
| | | tex: "", |
| | | select: "", |
| | | lifeTex: "" |
| | | }, |
| | | basicData: [], |
| | | basicData1: [ |
| | | { |
| | | typeName: "æµè¯1", |
| | | tag: "客æ·", |
| | | inherit: "æµè¯", |
| | | implement: "æµè¯", |
| | | lifeCycle: "卿", |
| | | desc: "è¿æ¯ä¸ä¸ªæè¿°" |
| | | } |
| | | ], |
| | | basicData2: [ |
| | | { |
| | | typeName: "æµè¯2", |
| | | tag: "客æ·", |
| | | inherit: "æµè¯", |
| | | implement: "æµè¯", |
| | | lifeCycle: "卿", |
| | | desc: "è¿æ¯ä¸ä¸ªæè¿°" |
| | | } |
| | | ], |
| | | basicOption: { |
| | | border: true, |
| | | height: 88, |
| | | tabs: true, |
| | | column: [ |
| | | { |
| | | label: "ç±»ååç§°", |
| | | prop: "typeName", |
| | | display: false |
| | | }, |
| | | { |
| | | label: "æ ç¾", |
| | | prop: "tag", |
| | | display: false |
| | | }, |
| | | { |
| | | label: "ç»§æ¿èª", |
| | | prop: "inherit", |
| | | display: false |
| | | }, |
| | | { |
| | | label: "å®ç°ç±»", |
| | | prop: "implement", |
| | | display: false |
| | | }, |
| | | { |
| | | label: "æè¿°", |
| | | prop: "desc", |
| | | display: false |
| | | } |
| | | ], |
| | | group: [ |
| | | { |
| | | label: "åºæ¬ä¿¡æ¯", |
| | | column: [ |
| | | { |
| | | label: "ç±»ååç§°", |
| | | prop: "typeName" |
| | | }, |
| | | { |
| | | label: "æ ç¾", |
| | | prop: "tag" |
| | | }, |
| | | { |
| | | label: "ç»§æ¿èª", |
| | | prop: "inherit" |
| | | }, |
| | | { |
| | | label: "æ¯å¦å®ä¾å", |
| | | prop: "case", |
| | | type: "switch", |
| | | align: "center", |
| | | hide: true, |
| | | labelWidth: 90, |
| | | dicData: [ |
| | | { |
| | | label: "å¦", |
| | | value: 0 |
| | | }, |
| | | { |
| | | label: "æ¯", |
| | | value: 1 |
| | | } |
| | | ], |
| | | }, |
| | | { |
| | | label: "æè¿°", |
| | | prop: "desc", |
| | | type: "textarea" |
| | | }, |
| | | { |
| | | label: "å®ç°ç±»", |
| | | prop: "implement" |
| | | }, |
| | | |
| | | ] |
| | | }, |
| | | { |
| | | label: "çæ¬è§å", |
| | | column: [ |
| | | { |
| | | label: 'çæ¬è§å', |
| | | prop: 'radio', |
| | | type: 'radio', |
| | | button: true, |
| | | change: this.radioChange, |
| | | value: 0, |
| | | dicData: [{ |
| | | label: 'ä¸å¯ä¿®è®¢', |
| | | value: 0 |
| | | }, { |
| | | label: 'éç¨ä¸çº§çæ¬ç®¡ç', |
| | | value: 1 |
| | | }, { |
| | | label: 'éç¨äºçº§çæ¬ç®¡ç', |
| | | value: 2 |
| | | }] |
| | | }, |
| | | { |
| | | label: "çæ¬å·è§å", |
| | | prop: "rules", |
| | | display: true, |
| | | formslot: true, |
| | | }, |
| | | { |
| | | label: "åé符", |
| | | prop: "interval", |
| | | type: "select", |
| | | display: true, |
| | | dicData: [ |
| | | { |
| | | label: ".", |
| | | value: 0 |
| | | }, |
| | | { |
| | | label: "-", |
| | | value: 1 |
| | | }, |
| | | { |
| | | label: " ", |
| | | value: 2 |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: 'çæ¬¡å·è§å', |
| | | prop: 'radioRules', |
| | | type: 'radio', |
| | | display: true, |
| | | dicData: [{ |
| | | label: '1.2.3...', |
| | | value: 0 |
| | | }, { |
| | | label: 'a.b.c...', |
| | | value: 1 |
| | | }, { |
| | | label: '0.1.2...', |
| | | value: 2 |
| | | }] |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | | label: "çå½å¨æ", |
| | | column: [ |
| | | { |
| | | label: "çå½å¨æ", |
| | | prop: "lifeCycle" |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | this.initTreeOnLoad(); |
| | | this.initDomainOption(); |
| | | this.loadData = this.loadData1; |
| | | this.basicData = this.basicData1 |
| | | |
| | | }, |
| | | methods: { |
| | | //çå½å¨æå¯¹è¯æ¡åæ¶ç¹å»äºä»¶ |
| | |
| | | } |
| | | }, |
| | | nodeClick(data) { |
| | | getDetail(data.oid).then(res => { |
| | | this.obj = res.data.data; |
| | | }) |
| | | }, |
| | | // åºæ¬ä¿¡æ¯æ·»å |
| | | basicSave(row, done, loading) { |
| | | add(Object.assign({ |
| | | createUser: this.userInfo.name |
| | | }, row)).then(() => { |
| | | this.$message.success('æ°å¢æå') |
| | | done(); |
| | | this.getList(); |
| | | }).catch(() => { |
| | | loading() |
| | | }) |
| | | }, |
| | | //屿§æ·»å |
| | | loadSave(row, done, loading) { |
| | | add(Object.assign({ |
| | | createUser: this.userInfo.name |
| | | }, row)).then(() => { |
| | | this.$message.success('æ°å¢æå') |
| | | done(); |
| | | this.getList(); |
| | | }).catch(() => { |
| | | loading() |
| | | }) |
| | | }, |
| | | selectFromTable() { |
| | | console.log('è·å'); |
| | | this.ref.visible = true; |
| | | }, |
| | | refOnLoad(domain) { |
| | | refOnLoad(domain).then(res => { |
| | | this.ref.data = res.data.data; |
| | | }) |
| | | }, |
| | | initTreeOnLoad() { |
| | | initTree().then(res => { |
| | | console.log('123'); |
| | | this.treeData = res.data.data; |
| | | }); |
| | | }, |
| | | initDomainOption() { |
| | | getDomain().then(res => { |
| | | this.domainOptions = res.data.data; |
| | | }) |
| | | }, |
| | | selectionChange(list) { |
| | | this.selectionList = list; |
| | | console.log(this.selectionList); |
| | | }, |
| | | dialoghandelfalse() { |
| | | this.ref.visible = false; |
| | | this.selectionList = []; |
| | | this.domain = null; |
| | | }, |
| | | dialoghandeltrue() { |
| | | saveFromTable(this.selectionList, this.domain).then(res => { |
| | | this.$message.success('ä¿åæå'); |
| | | this.dialoghandelfalse(); |
| | | this.initTreeOnLoad(); |
| | | }) |
| | | }, |
| | | businessAdd(){ |
| | | this.$refs.btmAdd.showSubmitDialog = true; |
| | | console.log('æ·»å '); |
| | | }, |
| | | businessEdit(){ |
| | | this.addOption.btmType = this.obj; |
| | | this.$refs.addOption.showSubmitDialog = true; |
| | | console.log('ç¼è¾'); |
| | | if (data.value == 1) { |
| | | this.loadData = this.loadData1; |
| | | this.basicData = this.basicData1 |
| | | } else if (data.value == 2) { |
| | | this.loadData = this.loadData2; |
| | | this.basicData = this.basicData2 |
| | | } |
| | | this.$message.success(JSON.stringify(data)) |
| | | } |
| | | }, |
| | | // åºæ¬ä¿¡æ¯æ·»å |
| | | basicSave(row, done, loading) { |
| | | add(Object.assign({ |
| | | createUser: this.userInfo.name |
| | | }, row)).then(() => { |
| | | this.$message.success('æ°å¢æå') |
| | | done(); |
| | | this.getList(); |
| | | }).catch(() => { |
| | | loading() |
| | | }) |
| | | }, |
| | | //屿§æ·»å |
| | | loadSave(row, done, loading) { |
| | | add(Object.assign({ |
| | | createUser: this.userInfo.name |
| | | }, row)).then(() => { |
| | | this.$message.success('æ°å¢æå') |
| | | done(); |
| | | this.getList(); |
| | | }).catch(() => { |
| | | loading() |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | .businessCrud > .el-card > .el-card__body > .avue-crud_menu{ |
| | | display: none!important; |
| | | } |
| | | </style> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | export default { |
| | | name: "classifyTree.vue", |
| | | //使ç¨provideä¼ éç»åç»ä»¶ |
| | | //ç¶ä¼ åæé®é¢ï¼ææ¶æ²¡è§£å³ï¼ç¨provide代æ¿ç¶ä¼ åï¼åä¼ ç¶è¿æ¯ç¨$emitä¼ éï¼æ³¨æï¼ï¼ï¼å
¶ä»ç»ä»¶ä¸è½ä½¿ç¨åæ ·çç±»åå¦å伿¥éã |
| | | provide() { |
| | | return { |
| | | Treeoption: { |
| | | multiple: true, |
| | | formslot: true, |
| | | defaultExpandAll: true, |
| | | formOption: { |
| | | labelWidth: 100, |
| | | column: [{ |
| | | label: 'èªå®ä¹é¡¹', |
| | | prop: 'label' |
| | | }], |
| | | } |
| | | }, |
| | | Treedata: [ |
| | | { |
| | | value: 0, |
| | | label: 'ä¸çº§é¨é¨', |
| | | children: [ |
| | | { |
| | | value: 1, |
| | | label: 'ä¸çº§é¨é¨1', |
| | | }, { |
| | | value: 2, |
| | | label: 'ä¸çº§é¨é¨2', |
| | | } |
| | | ] |
| | | }, { |
| | | value: 3, |
| | | label: 'äºçº§é¨é¨', |
| | | children: [ |
| | | { |
| | | value: 4, |
| | | label: 'äºçº§é¨é¨1', |
| | | }, { |
| | | value: 5, |
| | | label: 'äºçº§é¨é¨2', |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | crudTreeOption: { |
| | | index: true, |
| | | border: true, |
| | |
| | | ] |
| | | } |
| | | ], |
| | | arr : [ |
| | | { |
| | | name: 'Alice', |
| | | age: 30, |
| | | children: [ |
| | | { |
| | | name: 'Bob', |
| | | age: 5, |
| | | toys: [ |
| | | { |
| | | name: 'ball', |
| | | color: 'red' |
| | | }, |
| | | { |
| | | name: 'doll', |
| | | color: 'blue' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | name: 'Charlie', |
| | | age: 3, |
| | | toys: [ |
| | | { |
| | | name: 'car', |
| | | color: 'green' |
| | | }, |
| | | { |
| | | name: 'train', |
| | | color: 'yellow' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | },] |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | methods: { |
| | | |
| | | } |
| | | methods: {} |
| | | } |
| | | </script> |
| | | |
| | |
| | | index: true, |
| | | rowKey: 'id', |
| | | tabs: true, |
| | | highlightCurrentRow:true, |
| | | column: [ |
| | | { |
| | | label: '屿§ç¼å·', |
| | |
| | | this.loading = false; |
| | | this.data = res.data.data.records |
| | | this.itemData = this.data[0]; |
| | | this.$nextTick(() => { |
| | | this.$refs.crud.setCurrentRow(this.data[0]); |
| | | }) |
| | | }) |
| | | }, |
| | | rowClick(row) { |
| | |
| | | <el-tag>{{ row.isSealed === 0 ? 'å¦' : 'æ¯' }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | <el-dialog :title="`[${dictValue}]æä¸¾é
ç½®`" |
| | | <el-dialog :title="`[${dictValue}]æä¸¾é¡¹é
ç½®`" |
| | | append-to-body |
| | | :visible.sync="box" |
| | | width="1000px"> |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //æ¬å°æå¡æ¥å£å°å |
| | | target: 'http://192.168.0.108:37000/', |
| | | // target: 'http://dev.vci-tech.com:37000', |
| | | target: 'http://localhost:37000', |
| | | //target: 'http://dev.vci-tech.com:37000', |
| | | //è¿ç¨æ¼ç¤ºæå¡å°å,å¯ç¨äºç´æ¥å¯å¨é¡¹ç® |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |
| | |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| | | <orai18n.version>11.2.0.4</orai18n.version> |
| | | <mybatisplus.join.version>1.4.4.1</mybatisplus.join.version> |
| | | <spring.boot.version>2.7.1</spring.boot.version> |
| | | <spring.cloud.version>2021.0.3</spring.cloud.version> |
| | | <spring.platform.version>Cairo-SR8</spring.platform.version> |
| | |
| | | * nacos dev å°å |
| | | */ |
| | | //String NACOS_DEV_ADDR = "dev.vci-tech.com:38848"; |
| | | String NACOS_DEV_ADDR = "192.168.93.186:38848"; |
| | | String NACOS_DEV_ADDR = "192.168.93.149:38848"; |
| | | |
| | | /** |
| | | * nacos prod å°å |
| | |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import com.vci.ubcs.starter.web.annotation.VciUseEnum; |
| | | import com.vci.ubcs.starter.web.constant.MdmEnumIdConstant; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | @Data |
| | | @TableName("PL_CODE_BUTTON") |
| | | @ApiModel(value = "codebutton对象", description = "æ¨¡æ¿æ©å±æ± ") |
| | | //@EqualsAndHashCode(callSuper = false) |
| | | public class CodeButton implements Serializable { |
| | | @JsonSerialize( |
| | | using = ToStringSerializer.class |
| | | ) |
| | | @ApiModelProperty("主é®id") |
| | | @TableId( |
| | | value = "oid", |
| | | type = IdType.ASSIGN_ID |
| | | ) |
| | | private Long oid; |
| | | @ApiModelProperty("æé®ç¼ç ") |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeButton extends BaseModel { |
| | | |
| | | /** |
| | | * åºåå |
| | | */ |
| | | private static final long serialVersionUID = -2281543776769670606L; |
| | | |
| | | /** |
| | | * æé®çè±æç¼å· |
| | | */ |
| | | //@Column(nullable = false,columnDefinition = "æé®çè±æç¼å·") |
| | | private String id; |
| | | |
| | | /** |
| | | * |
| | | * æé®ç䏿åç§° |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String nameoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String btmname; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String creator; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date createtime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastmodifier; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date lastmodifytime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short revisionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short versionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lctid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lcstatus; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date ts; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | //@Column(nullable = false,columnDefinition = "æé®ç䏿åç§°") |
| | | private String name; |
| | | |
| | | /** |
| | | * |
| | | * æé®ç徿 æ ·å¼ |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String description; |
| | | //@Column(columnDefinition = "æé®ç徿 æ ·å¼") |
| | | private String iconCls; |
| | | |
| | | /** |
| | | * |
| | | * æ§è¡çjså
容 |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String owner; |
| | | //@Column(columnDefinition = "æ§è¡çjså
容") |
| | | private String executeJs; |
| | | |
| | | /** |
| | | * |
| | | * ä½¿ç¨æé®çä½ç½® |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String copyfromversion; |
| | | //@Column(columnDefinition = "æé®çä½ç½®") |
| | | @VciUseEnum(value = MdmEnumIdConstant.CODE_BUTTON_POSITION,showTextField = "usedPositionTypeText") |
| | | private String usedPositionType; |
| | | |
| | | /** |
| | | * |
| | | * ä½¿ç¨æé®çä½ç½®çæ¾ç¤ºææ¬ |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String iconcls; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String executejs; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String usedpositiontype; |
| | | @TableField(exist = false) |
| | | private String usedPositionTypeText; |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import com.vci.ubcs.starter.web.annotation.VciFieldType; |
| | |
| | | /** |
| | | * 主é¢åºåç±»çæ¨¡æ¿å±æ§ |
| | | * @author ludc |
| | | * @date 2022-1-17 |
| | | * @date 2023-05-08 |
| | | */ |
| | | //@VciBtmType(name = MdmBtmTypeConstant.CODE_CLASSIFY_TEMPLATE_ATTR,text = "主é¢åºåç±»çæ¨¡æ¿å±æ§",lifeCycle = FrameWorkLcStatusConstant.EMTYPE_LIFE_CYCLE) |
| | | @Data |
| | |
| | | * æå±æ¨¡æ¿åç§° |
| | | */ |
| | | //@Transient(referColumn = "classifyTemplateOid.name") |
| | | @TableField(exist = false) |
| | | private String classifyTemplateOidName; |
| | | |
| | | /** |
| | |
| | | */ |
| | | //Column(columnDefinition = "çº§èæ¥è¯¢å±æ§") |
| | | private String parentQueryAttr; |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import lombok.Data; |
| | |
| | | public class CodeClassifyTemplateButton extends BaseModel { |
| | | |
| | | /** |
| | | * |
| | | * æå±æ¨¡æ¿ |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String classifytemplateoid; |
| | | private String classifyTemplateOid; |
| | | |
| | | /** |
| | | * |
| | | * æé®çä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String classifybuttonoid; |
| | | private String classifyButtonOid; |
| | | |
| | | /** |
| | | * |
| | | * æé®ç¨é |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String buttonuse; |
| | | private String buttonUse; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Integer orderNum; |
| | | |
| | | /** |
| | | * æå±æé®name |
| | | */ |
| | | @TableField(exist = false) |
| | | private String classifyButtonOidName; |
| | | |
| | | /** |
| | | * æå±æé®id |
| | | */ |
| | | @TableField(exist = false) |
| | | private String classifyButtonId; |
| | | |
| | | } |
| | |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeClstemplateEntity extends BaseModel { |
| | | |
| | | |
| | | /** |
| | | * 主é¢åºåç±»ä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "主é¢åºå类主é®") |
| | | private String codeClassifyOid; |
| | | |
| | | /** |
| | | * ä¸å¡ç±»åçç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "ä¸å¡ç±»åçç¼å·") |
| | | private String btmTypeId; |
| | | |
| | | /** |
| | | * ä¸å¡ç±»åçåç§° |
| | | */ |
| | |
| | | @Transient(referColumn = "codeClassifyOid.name") |
| | | private String codeClassifyOidName; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CodeClassifyTemplateDO{" + |
| | | "codeClassifyOid='" + codeClassifyOid + '\'' + |
| | | ", codeClassifyOidName='" + codeClassifyOidName + '\'' + |
| | | ", btmTypeId='" + btmTypeId + '\'' + |
| | | ", btmTypeName='" + btmTypeName + '\'' + |
| | | "} " + super.toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿é¶æ®µ-屿§ å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_PHASEATTR") |
| | | @ApiModel(value = "CodePhaseattr对象", description = "ç¼ç åºå®ä¹-模æ¿é¶æ®µ-屿§") |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodePhaseAttr extends BaseModel { |
| | | |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String codePhaseOid; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String attributeGroup; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿é¶æ®µ å®ä½ç±» |
| | | * |
| | | * @author ludc |
| | | * @since 2023-04-20 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_TEMPPHASE") |
| | | @ApiModel(value = "CodeTempphase对象", description = "ç¼ç åºå®ä¹-模æ¿é¶æ®µ") |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeTemplatePhase extends BaseModel { |
| | | |
| | | /** |
| | | * æå±ç¼ç è§å |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String codeClassifyTemplateOid; |
| | | |
| | | |
| | | } |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springblade.core.mp.import com.vci.ubcs.starter.revision.model.TreeQueryObject;.BaseEntity; |
| | | import org.springblade.core.mp.base.BaseEntity; |
| | | |
| | | /** |
| | | * å®ä½ç±» |
| | |
| | | <artifactId>orai18n</artifactId> |
| | | <version>${orai18n.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.github.yulichang</groupId> |
| | | <artifactId>mybatis-plus-join-boot-starter</artifactId> |
| | | <version>${mybatisplus.join.version}</version> |
| | | </dependency> |
| | | |
| | | </dependencies> |
| | | |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.dto.CodeButtonDTO; |
| | | import com.vci.ubcs.code.entity.CodeButton; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeButtonVO; |
| | | import com.vci.ubcs.code.wrapper.CodeButtonWrapper; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Collection; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ§å¶å¨ |
| | |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/codebutton") |
| | | @RequestMapping("/codeButtonController") |
| | | @Api(value = "æ¨¡æ¿æ©å±æ± ", tags = "æ¨¡æ¿æ©å±æ± æ¥å£") |
| | | public class CodeButtonController extends BladeController { |
| | | |
| | | private final ICodeButtonService codebuttonService; |
| | | |
| | | CodeButtonMapper codeButtonMapper; |
| | | private final ICodeButtonService codeButtonService; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± 详æ
|
| | | * ä¸»æ°æ®ä¸çæé®æ©å±å表 |
| | | * @param baseQueryObject åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡å表 |
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥codebutton") |
| | | public R<CodeButtonVO> detail(CodeButton codebutton) { |
| | | CodeButton detail = codeButtonMapper.selectOne(Condition.getQueryWrapper(codebutton)); |
| | | return R.data(CodeButtonWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codebutton") |
| | | public R<IPage<CodeButtonVO>> list(CodeButton codebutton, Query query) { |
| | | IPage<CodeButton> pages = codeButtonMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codebutton)); |
| | | return R.data(CodeButtonWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± èªå®ä¹å页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codebutton") |
| | | public R<IPage<CodeButtonVO>> page(CodeButtonVO codebutton, Query query) { |
| | | IPage<CodeButtonVO> pages = codebuttonService.selectcodebuttonPage(Condition.getPage(query), codebutton); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ°å¢ |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥codebutton") |
| | | public R save(@Valid @RequestBody CodeButton codebutton) { |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.insert(codebutton))); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± ä¿®æ¹ |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥codebutton") |
| | | public R update(@Valid @RequestBody CodeButton codebutton) { |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.updateById(codebutton))); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ°å¢æä¿®æ¹ |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥codebutton") |
| | | public R submit(@Valid @RequestBody CodeButton codebutton) { |
| | | if(codebutton.getOid() != null){ |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.updateById(codebutton))); |
| | | @GetMapping("/gridCodeButton") |
| | | public R<IPage<CodeButtonVO>> gridCodeButton(BaseQueryObject baseQueryObject){ |
| | | if(baseQueryObject == null){ |
| | | baseQueryObject = new BaseQueryObject(); |
| | | } |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.insert(codebutton))); |
| | | return R.data(codeButtonService.gridCodeButton(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å é¤ |
| | | * å¢å ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "é»è¾å é¤", notes = "ä¼ å
¥ids") |
| | | public R remove(@ApiParam(value = "主é®éå", required = true) @RequestParam String ids) { |
| | | // return codebuttonService.deleteCodeButton(ids); |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.deleteBatchIds(Func.toLongList(ids)))); |
| | | @PostMapping( "/addSave") |
| | | public R<CodeButtonVO> addSave(@RequestBody CodeButtonDTO codeButtonDTO){ |
| | | CodeButtonVO codeButtonVO = codeButtonService.addSave(codeButtonDTO); |
| | | return R.data(codeButtonVO); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PutMapping("/editSave") |
| | | public R<CodeButtonVO> editSave(@RequestBody CodeButtonDTO codeButtonDTO){ |
| | | CodeButtonVO codeButtonVO = codeButtonService.editSave(codeButtonDTO); |
| | | return R.data(codeButtonVO); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeButton( CodeButtonDTO codeButtonDTO) { |
| | | return codeButtonService.deleteCodeButton(codeButtonDTO); |
| | | } |
| | | |
| | | /** |
| | | * 主é®è·åä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param oid ä¸»é® |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @GetMapping("/getObjectByOid") |
| | | public R<CodeButtonVO> getObjectByOid(String oid){ |
| | | CodeButtonVO codeButtonVO = codeButtonService.getObjectByOid(oid); |
| | | return R.data(codeButtonVO); |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·åä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param oids 主é®ï¼å¤ä¸ªä»¥éå·åéï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @GetMapping("/listDataByOids") |
| | | public R<Collection<CodeButtonVO>> listCodeButtonByOids(String oids){ |
| | | return R.data(codeButtonService.listCodeButtonByOids(VciBaseUtil.str2List(oids))); |
| | | } |
| | | |
| | | /** |
| | | * åç
§ä¸»æ°æ®ä¸çæé®æ©å±å表 |
| | | * @param baseQueryObject åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | */ |
| | | @GetMapping("/refDataGrid") |
| | | public R<IPage<CodeButtonVO>> refDataGridCodeButton(BaseQueryObject baseQueryObject){ |
| | | if(baseQueryObject == null){ |
| | | baseQueryObject = new BaseQueryObject(); |
| | | } |
| | | return R.data(codeButtonService.refDataGridCodeButton(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | /** |
| | | * å¯ç¨ |
| | |
| | | */ |
| | | @PostMapping("/enableData") |
| | | public R enableOrgDuty(@ApiParam(value = "主é®éå", required = true) @RequestParam String oid) { |
| | | return codebuttonService.enableCodeButton(oid); |
| | | return codeButtonService.enableCodeButton(oid); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/disableData") |
| | | public R disableOrgDuty(@ApiParam(value = "主é®éå", required = true) @RequestParam String oid) { |
| | | return codebuttonService.disableOrgDuty(oid); |
| | | return codeButtonService.disableOrgDuty(oid); |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeClassifyProcessTemp(CodeClassifyProcessTempDTO codeClassifyProcessTempDTO) { |
| | | public R delCodeClassifyProcessTemp(@Valid @RequestBody CodeClassifyProcessTempDTO codeClassifyProcessTempDTO) { |
| | | return codeClassifyProcessTempService.deleteCodeClassifyProcessTemp(codeClassifyProcessTempDTO); |
| | | } |
| | | |
| | |
| | | @GetMapping("/listSameProcessTemplate") |
| | | public R<CodeClassifyProcessTempVO> listSameProcessTemplate(String codeTemplateOid,String processUse){ |
| | | VciBaseUtil.alertNotNull(codeTemplateOid,"æéæ©çæ°æ®æ¨¡æ¿ä¸»é®"); |
| | | String s3 = VciBaseUtil.toInSql(codeTemplateOid); |
| | | /*Map<String,String> conditionMap=new HashMap<>(); |
| | | conditionMap.put("classifyTemplateOid", QueryOptionConstant.IN + VciBaseUtil.toInSql(codeTemplateOid)); |
| | | conditionMap.put("codeprocessuse",processUse);*/ |
| | | LambdaQueryWrapper<CodeClassifyProcessTemp> LambdaQueryWrapper = Wrappers.<CodeClassifyProcessTemp>query() |
| | | .lambda().in(CodeClassifyProcessTemp::getCodeClassifyOid, VciBaseUtil.toInSql(codeTemplateOid)) |
| | | .lambda().in(CodeClassifyProcessTemp::getClassifyTemplateOid, codeTemplateOid.split(",")) |
| | | .eq(CodeClassifyProcessTemp::getCodeProcessUse, processUse); |
| | | |
| | | List<CodeClassifyProcessTempVO> codeClassifyProcessTempVOS = codeClassifyProcessTempService.selectByWrapper(LambdaQueryWrapper); |
ÎļþÃû´Ó Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/controller/CodeClstempattrController.java ÐÞ¸Ä |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.entity.CodeClstempattrEntity; |
| | | import com.vci.ubcs.code.service.ICodeClstempattrService; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.service.ICodeClassifyTemplateAttrService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.wrapper.CodeClstempattrWrapper; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/CodeClstempattr") |
| | | @RequestMapping("/codeClassifyTempAttrController") |
| | | @Api(value = "ç¼ç åºå®ä¹-模æ¿å±æ§", tags = "ç¼ç åºå®ä¹-模æ¿å±æ§æ¥å£") |
| | | public class CodeClstempattrController extends BladeController { |
| | | public class CodeClassifyTemplateAttrController extends BladeController { |
| | | |
| | | private final ICodeClstempattrService CodeClstempattrService; |
| | | private final ICodeClassifyTemplateAttrService CodeClstempattrService; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿å±æ§ 详æ
|
| | |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R<CodeClstempattrVO> detail(CodeClstempattrEntity CodeClstempattr) { |
| | | CodeClstempattrEntity detail = CodeClstempattrService.getOne(Condition.getQueryWrapper(CodeClstempattr)); |
| | | public R<CodeClassifyTemplateAttrVO> detail(CodeClassifyTemplateAttr CodeClstempattr) { |
| | | CodeClassifyTemplateAttr detail = CodeClstempattrService.getOne(Condition.getQueryWrapper(CodeClstempattr)); |
| | | return R.data(CodeClstempattrWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R<IPage<CodeClstempattrVO>> list(CodeClstempattrEntity CodeClstempattr, Query query) { |
| | | IPage<CodeClstempattrEntity> pages = CodeClstempattrService.page(Condition.getPage(query), Condition.getQueryWrapper(CodeClstempattr)); |
| | | public R<IPage<CodeClassifyTemplateAttrVO>> list(CodeClassifyTemplateAttr CodeClstempattr, Query query) { |
| | | IPage<CodeClassifyTemplateAttr> pages = CodeClstempattrService.page(Condition.getPage(query), Condition.getQueryWrapper(CodeClstempattr)); |
| | | return R.data(CodeClstempattrWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R<IPage<CodeClstempattrVO>> page(CodeClstempattrVO CodeClstempattr, Query query) { |
| | | IPage<CodeClstempattrVO> pages = CodeClstempattrService.selectCodeClstempattrPage(Condition.getPage(query), CodeClstempattr); |
| | | public R<IPage<CodeClassifyTemplateAttrVO>> page(CodeClassifyTemplateAttrVO CodeClstempattr, Query query) { |
| | | IPage<CodeClassifyTemplateAttrVO> pages = CodeClstempattrService.selectCodeClstempattrPage(Condition.getPage(query), CodeClstempattr); |
| | | return R.data(pages); |
| | | } |
| | | |
| | |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R save(@Valid @RequestBody CodeClstempattrEntity CodeClstempattr) { |
| | | public R save(@Valid @RequestBody CodeClassifyTemplateAttr CodeClstempattr) { |
| | | return R.status(CodeClstempattrService.save(CodeClstempattr)); |
| | | } |
| | | |
| | |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R update(@Valid @RequestBody CodeClstempattrEntity CodeClstempattr) { |
| | | public R update(@Valid @RequestBody CodeClassifyTemplateAttr CodeClstempattr) { |
| | | return R.status(CodeClstempattrService.updateById(CodeClstempattr)); |
| | | } |
| | | |
| | |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥CodeClstempattr") |
| | | public R submit(@Valid @RequestBody CodeClstempattrEntity CodeClstempattr) { |
| | | public R submit(@Valid @RequestBody CodeClassifyTemplateAttr CodeClstempattr) { |
| | | return R.status(CodeClstempattrService.saveOrUpdate(CodeClstempattr)); |
| | | } |
| | | |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.dto.CodeClassifyTemplateButtonDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateButton; |
| | | import com.vci.ubcs.code.service.ICodeTempbuttonService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateButtonVO; |
| | | import com.vci.ubcs.code.wrapper.CodeTempbuttonWrapper; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | |
| | | |
| | | /** |
| | | * 主é¢åºé模æ¿å
å«çæé®å表 |
| | | * @param codeClassifyTemplateButtonVO åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @param query |
| | | * @param baseQueryObject åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @return 主é¢åºé模æ¿å
å«çæé®æ¾ç¤ºå¯¹è±¡å表 |
| | | */ |
| | | @GetMapping("/gridCodeClassifyTemplateButton") |
| | | public DataGrid<CodeClassifyTemplateButtonVO> gridCodeClassifyTemplateButton(CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO,Query query){ |
| | | return codeClassifyTemplateButtonService.gridCodeClassifyTemplateButton(codeClassifyTemplateButtonVO,query); |
| | | public R<IPage<CodeClassifyTemplateButtonVO>> gridCodeClassifyTemplateButton(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeClassifyTemplateButtonService.gridCodeClassifyTemplateButton(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PostMapping( "/addSave") |
| | | public R addSave(@RequestBody CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO){ |
| | | return R.status(codeClassifyTemplateButtonService.addSave(codeClassifyTemplateButtonDTO)); |
| | | public R<CodeClassifyTemplateButtonVO> addSave(@RequestBody CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO){ |
| | | return R.data(codeClassifyTemplateButtonService.addSave(codeClassifyTemplateButtonDTO)); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PutMapping("/editSave") |
| | | public R editSave(@RequestBody CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO){ |
| | | return R.status(codeClassifyTemplateButtonService.editSave(codeClassifyTemplateButtonDTO)); |
| | | public R<CodeClassifyTemplateButtonVO> editSave(@Valid @RequestBody CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO){ |
| | | return R.data(codeClassifyTemplateButtonService.editSave(codeClassifyTemplateButtonDTO)); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeClassifyTemplateButton( CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) { |
| | | public R delCodeClassifyTemplateButton(@Valid @RequestBody CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) { |
| | | return codeClassifyTemplateButtonService.deleteCodeClassifyTemplateButton(codeClassifyTemplateButtonDTO); |
| | | } |
| | | |
| | |
| | | * @return 主é¢åºé模æ¿å
å«çæé®æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | */ |
| | | @GetMapping("/refDataGrid") |
| | | public DataGrid<CodeClassifyTemplateButtonVO> refDataGridCodeClassifyTemplateButton(BaseQueryObject baseQueryObject){ |
| | | public R<IPage<CodeClassifyTemplateButtonVO>> refDataGridCodeClassifyTemplateButton(BaseQueryObject baseQueryObject){ |
| | | if(baseQueryObject == null){ |
| | | baseQueryObject = new BaseQueryObject(); |
| | | } |
| | | return codeClassifyTemplateButtonService.refDataGridCodeClassifyTemplateButton(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper()); |
| | | return R.data(codeClassifyTemplateButtonService.refDataGridCodeClassifyTemplateButton(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | } |
| | |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeClassifyValue( CodeClassifyValueDTO codeClassifyValueDTO) { |
| | | public R delCodeClassifyValue(@Valid @RequestBody CodeClassifyValueDTO codeClassifyValueDTO) { |
| | | return codeClassifyValueService.deleteCodeClassifyValue(codeClassifyValueDTO); |
| | | } |
| | | |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeClassifyTemplate( CodeClstemplateDTO codeClstemplateDTO) { |
| | | public R delCodeClassifyTemplate(@Valid @RequestBody CodeClstemplateDTO codeClstemplateDTO) { |
| | | return plCodeClstemplateService.deleteCodeClassifyTemplate(codeClstemplateDTO); |
| | | } |
| | | |
| | |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeFixedValue(@RequestBody CodeFixedValueDTO codeFixedValueDTO) { |
| | | public R delCodeFixedValue(@Valid @RequestBody CodeFixedValueDTO codeFixedValueDTO) { |
| | | return codeFixedValueService.deleteCodeFixedValue(codeFixedValueDTO); |
| | | } |
| | | |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import com.vci.ubcs.code.mapper.CodePhaseattrMapper; |
| | | import com.vci.ubcs.code.service.ICodePhaseattrService; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥CodePhaseattr") |
| | | public R<CodePhaseattrVO> detail(CodePhaseattrEntity codePhaseattr) { |
| | | CodePhaseattrEntity detail = CodePhaseattrService.getOne(Condition.getQueryWrapper(codePhaseattr)); |
| | | public R<CodePhaseattrVO> detail(CodePhaseAttr codePhaseattr) { |
| | | CodePhaseAttr detail = CodePhaseattrService.getOne(Condition.getQueryWrapper(codePhaseattr)); |
| | | return R.data(CodePhaseattrWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥CodePhaseattr") |
| | | public R<IPage<CodePhaseattrVO>> list(CodePhaseattrEntity codePhaseattr, Query query) { |
| | | IPage<CodePhaseattrEntity> pages = CodePhaseattrService.page(Condition.getPage(query), Condition.getQueryWrapper(codePhaseattr)); |
| | | public R<IPage<CodePhaseattrVO>> list(CodePhaseAttr codePhaseattr, Query query) { |
| | | IPage<CodePhaseAttr> pages = CodePhaseattrService.page(Condition.getPage(query), Condition.getQueryWrapper(codePhaseattr)); |
| | | return R.data(CodePhaseattrWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥CodePhaseattr") |
| | | public R save(@Valid @RequestBody CodePhaseattrEntity codePhaseattr) { |
| | | public R save(@Valid @RequestBody CodePhaseAttr codePhaseattr) { |
| | | return R.status(CodePhaseattrService.save(codePhaseattr)); |
| | | } |
| | | |
| | |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥CodePhaseattr") |
| | | public R update(@Valid @RequestBody CodePhaseattrEntity codePhaseattr) { |
| | | public R update(@Valid @RequestBody CodePhaseAttr codePhaseattr) { |
| | | return R.status(CodePhaseattrService.updateById(codePhaseattr)); |
| | | } |
| | | |
| | |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥CodePhaseattr") |
| | | public R submit(@Valid @RequestBody CodePhaseattrEntity codePhaseattr) { |
| | | public R submit(@Valid @RequestBody CodePhaseAttr codePhaseattr) { |
| | | return R.status(CodePhaseattrService.saveOrUpdate(codePhaseattr)); |
| | | } |
| | | |
| | |
| | | */ |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.dto.CodeTemplatePhaseDTO; |
| | | import com.vci.ubcs.code.service.ICodeTempphaseService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseEntityVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import io.swagger.annotations.Api; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.Collection; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿é¶æ®µ æ§å¶å¨ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-04-20 |
| | | * @since 2023-05-07 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | |
| | | |
| | | /** |
| | | * 模æ¿é¶æ®µå表 |
| | | * @param codeTemplatePhaseVO åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @param query |
| | | * @param baseQueryObject åºç¡æ¥è¯¢å¯¹è±¡ï¼å
嫿¥è¯¢æ¡ä»¶ï¼åé¡µï¼æåºç |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡å表 |
| | | */ |
| | | @GetMapping("/gridCodeTemplatePhase") |
| | | public DataGrid<CodeTemplatePhaseEntityVO> gridCodeTemplatePhase(CodeTemplatePhaseEntityVO codeTemplatePhaseVO, Query query){ |
| | | return codeTemplatePhaseService.gridCodeTemplatePhase(codeTemplatePhaseVO,query); |
| | | public R<IPage<CodeTemplatePhaseVO>> gridCodeTemplatePhase(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeTemplatePhaseService.gridCodeTemplatePhase(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PostMapping( "/addSave") |
| | | public R<CodeTemplatePhaseEntityVO> addSave(@RequestBody CodeTemplatePhaseDTO codeTemplatePhaseDTO){ |
| | | public R<CodeTemplatePhaseVO> addSave(@Valid @RequestBody CodeTemplatePhaseDTO codeTemplatePhaseDTO){ |
| | | return R.data(codeTemplatePhaseService.addSave(codeTemplatePhaseDTO)); |
| | | } |
| | | |
| | |
| | | * @return æ§è¡ç»æï¼success为true表示æåï¼msgæ¯å¤±è´¥çæç¤ºä¿¡æ¯ï¼objæ¯æ·»å 宿åçæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PutMapping("/editSave") |
| | | public R<CodeTemplatePhaseEntityVO> editSave(@RequestBody CodeTemplatePhaseDTO codeTemplatePhaseDTO){ |
| | | CodeTemplatePhaseEntityVO codeTemplatePhaseVO = codeTemplatePhaseService.editSave(codeTemplatePhaseDTO); |
| | | return R.data(codeTemplatePhaseVO); |
| | | public R<CodeTemplatePhaseVO> editSave(@Valid @RequestBody CodeTemplatePhaseDTO codeTemplatePhaseDTO){ |
| | | return R.data(codeTemplatePhaseService.editSave(codeTemplatePhaseDTO)); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeTemplatePhase( CodeTemplatePhaseDTO codeTemplatePhaseDTO) { |
| | | public R delCodeTemplatePhase(@Valid @RequestBody CodeTemplatePhaseDTO codeTemplatePhaseDTO) { |
| | | return codeTemplatePhaseService.deleteCodeTemplatePhase(codeTemplatePhaseDTO); |
| | | } |
| | | |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @GetMapping("/getObjectByOid") |
| | | public R<CodeTemplatePhaseEntityVO> getObjectByOid(String oid){ |
| | | CodeTemplatePhaseEntityVO codeTemplatePhaseVO = codeTemplatePhaseService.getObjectByOid(oid); |
| | | public R<CodeTemplatePhaseVO> getObjectByOid(String oid){ |
| | | CodeTemplatePhaseVO codeTemplatePhaseVO = codeTemplatePhaseService.getObjectByOid(oid); |
| | | return R.data(codeTemplatePhaseVO); |
| | | } |
| | | |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @GetMapping("/listDataByOids") |
| | | public R<Collection<CodeTemplatePhaseEntityVO>> listCodeTemplatePhaseByOids(String oids){ |
| | | Collection<CodeTemplatePhaseEntityVO> voCollection = codeTemplatePhaseService.listCodeTemplatePhaseByOids(VciBaseUtil.str2List(oids)); |
| | | public R<Collection<CodeTemplatePhaseVO>> listCodeTemplatePhaseByOids(String oids){ |
| | | Collection<CodeTemplatePhaseVO> voCollection = codeTemplatePhaseService.listCodeTemplatePhaseByOids(VciBaseUtil.str2List(oids)); |
| | | return R.data(voCollection); |
| | | } |
| | | |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | */ |
| | | @GetMapping("/refDataGrid") |
| | | public DataGrid<CodeTemplatePhaseEntityVO> refDataGridCodeTemplatePhase(BaseQueryObject baseQueryObject){ |
| | | public IPage<CodeTemplatePhaseVO> refDataGridCodeTemplatePhase(BaseQueryObject baseQueryObject){ |
| | | if(baseQueryObject == null){ |
| | | baseQueryObject = new BaseQueryObject(); |
| | | } |
| | |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | @GetMapping("/gridUnUsedAttribute") |
| | | public DataGrid<CodeClassifyTemplateAttrVO> gridUnUsedAttribute(BaseQueryObject baseQueryObject){ |
| | | return codeTemplatePhaseService.gridUnUsedAttribute(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper()); |
| | | public R<IPage<CodeClassifyTemplateAttrVO>> gridUnUsedAttribute(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeTemplatePhaseService.gridUnUsedAttribute(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | @GetMapping("/gridUsedAttribute") |
| | | public DataGrid<CodeClassifyTemplateAttrVO> gridUsedAttribute(BaseQueryObject baseQueryObject){ |
| | | return codeTemplatePhaseService.gridUsedAttribute(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper()); |
| | | public R<IPage<CodeClassifyTemplateAttrVO>> gridUsedAttribute(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeTemplatePhaseService.gridUsedAttribute(baseQueryObject.getConditionMap(),baseQueryObject.getPageHelper())); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.mapper.CodeClstempattrMapper; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyTemplateAttrMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import com.vci.ubcs.code.entity.CodeClstempattrEntity; |
| | | import com.vci.ubcs.code.service.ICodeClstempattrService; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | |
| | | @AllArgsConstructor |
| | | public class CodeClstempattrClient implements ICodeClstempattrClient { |
| | | |
| | | private CodeClstempattrMapper codeClstempattrMapper; |
| | | private CodeClassifyTemplateAttrMapper codeClstempattrMapper; |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeClstempattrEntity> top(Integer current, Integer size) { |
| | | public BladePage<CodeClassifyTemplateAttr> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodeClstempattrEntity> page = codeClstempattrMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | IPage<CodeClassifyTemplateAttr> page = codeClstempattrMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | |
| | | return BladePage.of(page); |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import com.vci.ubcs.code.mapper.CodePhaseattrMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodePhaseattrEntity> top(Integer current, Integer size) { |
| | | public BladePage<CodePhaseAttr> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodePhaseattrEntity> page = codePhaseAttrMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | IPage<CodePhaseAttr> page = codePhaseAttrMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | return BladePage.of(page); |
| | | } |
| | | |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodeTempphaseEntity; |
| | | import com.vci.ubcs.code.entity.CodeTemplatePhase; |
| | | import com.vci.ubcs.code.mapper.CodeTemplatePhaseMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeTempphaseEntity> top(Integer current, Integer size) { |
| | | public BladePage<CodeTemplatePhase> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodeTempphaseEntity> page = codeTempphaseMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | IPage<CodeTemplatePhase> page = codeTempphaseMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | |
| | | return BladePage.of(page); |
| | | } |
| | |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import com.vci.ubcs.code.entity.CodeClstempattrEntity; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeClstempattrEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | BladePage<CodeClassifyTemplateAttr> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
| | |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodePhaseattrEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | BladePage<CodePhaseAttr> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
| | |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeTempphaseEntity; |
| | | import com.vci.ubcs.code.entity.CodeTemplatePhase; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeTempphaseEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | BladePage<CodeTemplatePhase> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
| | |
| | | * ç æ®µåºç¡ä¿¡æ¯æ°æ®æä½å± |
| | | * |
| | | * @author ludc |
| | | * @date 2022-01-24 |
| | | * @date 2022-04-24 |
| | | */ |
| | | public interface CodeBasicSecMapper extends BaseMapper<CodeBasicSec> { |
| | | |
| | |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å类使ç¨çæµç¨æ¨¡æ¿æ°æ®æä½å± |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-05 |
| | | */ |
| | | |
| | | @InterceptorIgnore(tenantLine = "true") //å¤ç§æ·ï¼å¤ä¸ªç¨æ·é´ä½¿ç¨åä¸å¥ç¨åºï¼ä½æ¯ä¸ªç¨æ·ä¹é´å®ç°æ°æ®é离 |
| | | public interface CodeClassifyTemplateAttrMapper extends BaseMapper<CodeClassifyTemplateAttr> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param CodeClstempattr |
| | | * @return |
| | | */ |
| | | List<CodeClassifyTemplateAttrVO> selectCodeClstempattrPage(IPage page, CodeClassifyTemplateAttrVO CodeClstempattr); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢æåº |
| | | * |
| | | * @param classifytemplateoid |
| | | * @return |
| | | */ |
| | | List<CodeClassifyTemplateAttr> selectByClassifytemplateoid(String classifytemplateoid); |
| | | |
| | | |
| | | List<CodeClassifyTemplateAttr> selectRefByOid(String oid); |
| | | |
| | | |
| | | } |
| | |
| | | // @MapKey("REVISIONSEQ") |
| | | Map<String,Object> getNextRevision(@Param("nameoid") String nameoid); |
| | | |
| | | |
| | | |
| | | List<CodeClstemplateEntity> selectCodeClassifyTemplateDOByTree(@Param("codeclassifyoid") String codeclassifyoid, |
| | | @Param("lcstatus") String lcstatus); |
| | | |
| | | List<Map<String,String>> selectChildHasReleaseTemplate(@Param("lcstatus") String lcstatus, |
| | | @Param("classifyoid") String classifyoid, |
| | | @Param("templatelcstatus") String templatelcstatus); |
| | |
| | | */ |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public interface CodePhaseattrMapper extends BaseMapper<CodePhaseattrEntity> { |
| | | public interface CodePhaseattrMapper extends BaseMapper<CodePhaseAttr> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | |
| | | */ |
| | | List<CodePhaseattrVO> selectCodePhaseattrPage(IPage page, CodePhaseattrVO CodePhaseattr); |
| | | |
| | | List<CodePhaseattrEntity> selectByPhasea(String oid); |
| | | List<CodePhaseAttr> selectByPhasea(String oid); |
| | | |
| | | List<CodePhaseattrEntity> selectByPhaseaIds(String oids); |
| | | List<CodePhaseAttr> selectByPhaseaIds(String oids); |
| | | |
| | | List<CodePhaseattrEntity> listLinkAttrDOByTemplateAttrDOS(String id, String codeClassifyTemplateOid); |
| | | List<CodePhaseAttr> listLinkAttrDOByTemplateAttrDOS(String id, String codeClassifyTemplateOid); |
| | | |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeTempphaseEntity; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseEntityVO; |
| | | import com.vci.ubcs.code.entity.CodeTemplatePhase; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public interface CodeTemplatePhaseMapper extends BaseMapper<CodeTempphaseEntity> { |
| | | public interface CodeTemplatePhaseMapper extends BaseMapper<CodeTemplatePhase> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | |
| | | * @param CodeTempphase |
| | | * @return |
| | | */ |
| | | List<CodeTemplatePhaseEntityVO> selectCodeTempphasePage(IPage page, CodeTemplatePhaseEntityVO CodeTempphase); |
| | | List<CodeTemplatePhaseVO> selectCodeTempphasePage(IPage page, CodeTemplatePhaseVO CodeTempphase); |
| | | |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.dto.CodeButtonDTO; |
| | | import com.vci.ubcs.code.entity.CodeButton; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeButtonVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æå¡ç±» |
| | |
| | | IPage<CodeButtonVO> selectcodebuttonPage(IPage<CodeButtonVO> page, CodeButtonVO codebutton); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææçä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | IPage<CodeButtonVO> gridCodeButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * å¢å ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeButtonVO addSave(CodeButtonDTO codeButtonDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeButtonVO editSave(CodeButtonDTO codeButtonDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * å é¤ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | R deleteCodeButton(CodeButtonDTO codeButtonDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 主é®è·åä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param oid ä¸»é® |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeButtonVO getObjectByOid(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·åä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param oidCollections 主é®éåï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | Collection<CodeButtonVO> listCodeButtonByOids(Collection<String> oidCollections) throws VciBaseException; |
| | | |
| | | /** |
| | | * åç
§ä¸»æ°æ®ä¸çæé®æ©å±å表 |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | IPage<CodeButtonVO> refDataGridCodeButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ¹éæ°æ®å¯¹è±¡è½¬æ¢ä¸ºæ¾ç¤ºå¯¹è±¡ |
| | |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R disableOrgDuty(String oid); |
| | | /** |
| | | * å é¤ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param ids ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | // R deleteCodeButton(String ids); |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç主é¢åºåç±»çæ¨¡æ¿å±æ§ |
| | | * @param lambdaQueryWrapper æ¥è¯¢æ¡ä»¶ |
| | | * @param mpjLambdaWrapper æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateAttrVO> gridCodeClassifyTemplateAttr(LambdaQueryWrapper<CodeClassifyTemplateAttr> lambdaQueryWrapper , PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateAttrVO> gridCodeClassifyTemplateAttr(MPJLambdaWrapper<CodeClassifyTemplateAttr> mpjLambdaWrapper , PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ¹éæ°æ®å¯¹è±¡è½¬æ¢ä¸ºæ¾ç¤ºå¯¹è±¡ |
| | |
| | | * @return 主é¢åºåç±»çæ¨¡æ¿å±æ§æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateAttrVO> refDataGridCodeClassifyTemplateAttr(Map<String, Object> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateAttrVO> refDataGridCodeClassifyTemplateAttr(Map<String, Object> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param CodeClstempattr |
| | | * @return |
| | | */ |
| | | IPage<CodeClassifyTemplateAttrVO> selectCodeClstempattrPage(IPage<CodeClassifyTemplateAttrVO> page, CodeClassifyTemplateAttrVO CodeClstempattr); |
| | | |
| | | /** |
| | | * ä½¿ç¨æ¨¡æ¿ç主é®è·å模æ¿ç屿§--æ¹é |
| | | * @param templateOidCollection 模æ¿çä¸»é® |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | List<CodeClassifyTemplateAttrVO> listCodeClassifyTemplateAttrByTemplateOids(Collection<String> templateOidCollection); |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | | |
| | | /** |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public interface ICodePhaseattrService extends IService<CodePhaseattrEntity> { |
| | | public interface ICodePhaseattrService extends IService<CodePhaseAttr> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç主é¢åºé模æ¿å
å«çæé® |
| | | * @param codeClassifyTemplateButtonVO æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页åæåº |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateButtonVO> gridCodeClassifyTemplateButton(CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO, Query query) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateButtonVO> gridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ¹éæ°æ®å¯¹è±¡è½¬æ¢ä¸ºæ¾ç¤ºå¯¹è±¡ |
| | |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | boolean addSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException; |
| | | CodeClassifyTemplateButtonVO addSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»é¢åºé模æ¿å
å«çæé® |
| | |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | boolean editSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException; |
| | | CodeClassifyTemplateButtonVO editSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * å é¤ä¸»é¢åºé模æ¿å
å«çæé® |
| | |
| | | * @return 主é¢åºé模æ¿å
å«çæé®æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateButtonVO> refDataGridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateButtonVO> refDataGridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | |
| | | */ |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.dto.CodeTemplatePhaseDTO; |
| | | import com.vci.ubcs.code.entity.CodeClstempattrEntity; |
| | | import com.vci.ubcs.code.entity.CodeTempphaseEntity; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.entity.CodeTemplatePhase; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseEntityVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.util.Collection; |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public interface ICodeTempphaseService extends IService<CodeTempphaseEntity> { |
| | | public interface ICodeTempphaseService extends IService<CodeTemplatePhase> { |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç模æ¿é¶æ®µ |
| | | * @param codeTemplatePhaseVO æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页åæåº |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeTemplatePhaseEntityVO> gridCodeTemplatePhase(CodeTemplatePhaseEntityVO codeTemplatePhaseVO, Query query) throws VciBaseException; |
| | | IPage<CodeTemplatePhaseVO> gridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * 模æ¿å é¤çæ¶å触å |
| | |
| | | * @param codeClassifyTemplateAttrDOInsert 屿§çæ°æ®å¯¹è±¡ |
| | | * @return åå½±åçæ°æ® |
| | | */ |
| | | List<CodeClstempattrEntity> codeTemplateAttrModifyTrigger(List<CodeClstempattrEntity> codeClassifyTemplateAttrDOInsert); |
| | | List<CodeClassifyTemplateAttr> codeTemplateAttrModifyTrigger(List<CodeClassifyTemplateAttr> codeClassifyTemplateAttrDOInsert); |
| | | |
| | | /** |
| | | * æ¹éæ°æ®å¯¹è±¡è½¬æ¢ä¸ºæ¾ç¤ºå¯¹è±¡ |
| | |
| | | * @return æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºæè
ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | List<CodeTemplatePhaseEntityVO> codeTemplatePhaseDO2VOs(Collection<CodeTempphaseEntity> codeTemplatePhaseEntityDOS) throws VciBaseException; |
| | | List<CodeTemplatePhaseVO> codeTemplatePhaseDO2VOs(Collection<CodeTemplatePhase> codeTemplatePhaseEntityDOS) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ°æ®å¯¹è±¡è½¬æ¢ä¸ºæ¾ç¤ºå¯¹è±¡ |
| | |
| | | * @return æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ·è´å±æ§åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | CodeTemplatePhaseEntityVO codeTemplatePhaseDO2VO(CodeTempphaseEntity codeTemplatePhaseEntityDO) throws VciBaseException; |
| | | CodeTemplatePhaseVO codeTemplatePhaseDO2VO(CodeTemplatePhase codeTemplatePhaseEntityDO) throws VciBaseException; |
| | | |
| | | /** |
| | | * å¢å 模æ¿é¶æ®µ |
| | |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeTemplatePhaseEntityVO addSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException; |
| | | CodeTemplatePhaseVO addSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é¶æ®µ |
| | |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeTemplatePhaseEntityVO editSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException; |
| | | CodeTemplatePhaseVO editSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 模æ¿å±æ§å é¤çæ¶å触å |
| | | * @param attrDOList 屿§çæ°æ®å¯¹è±¡ |
| | | * @return åå½±åçæ°æ® |
| | | */ |
| | | R codeTemplateAttrDeleteTrigger(List<CodeClassifyTemplateAttr> attrDOList); |
| | | |
| | | /** |
| | | * å 餿¨¡æ¿é¶æ®µ |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeTemplatePhaseEntityVO getObjectByOid(String oid) throws VciBaseException; |
| | | CodeTemplatePhaseVO getObjectByOid(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·å模æ¿é¶æ®µ |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | Collection<CodeTemplatePhaseEntityVO> listCodeTemplatePhaseByOids(Collection<String> oidCollections) throws VciBaseException; |
| | | Collection<CodeTemplatePhaseVO> listCodeTemplatePhaseByOids(Collection<String> oidCollections) throws VciBaseException; |
| | | |
| | | /** |
| | | * åç
§æ¨¡æ¿é¶æ®µå表 |
| | |
| | | * @return 模æ¿é¶æ®µæ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | DataGrid<CodeTemplatePhaseEntityVO> refDataGridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeTemplatePhaseVO> refDataGridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * é¶æ®µä¸å
å«ç屿§ |
| | |
| | | * @param pageHelper å页对象 |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateAttrVO> gridUnUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateAttrVO> gridUnUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | /** |
| | | * é¶æ®µå
å«ç屿§ |
| | |
| | | * @param pageHelper å页对象 |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | DataGrid<CodeClassifyTemplateAttrVO> gridUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | IPage<CodeClassifyTemplateAttrVO> gridUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException; |
| | | |
| | | } |
| | |
| | | import com.vci.ubcs.code.dto.CodeOrderDTO; |
| | | import com.vci.ubcs.code.dto.datapush.BaseModelDTO; |
| | | import com.vci.ubcs.code.entity.CodeAllCode; |
| | | import com.vci.ubcs.code.entity.CodeRule; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import com.vci.ubcs.code.vo.CodeClstemplateVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeRuleVO; |
| | | import com.vci.ubcs.starter.web.pagemodel.KeyValue; |
| | | |
| | |
| | | * @date 2022-2-21 |
| | | */ |
| | | public interface MdmEngineService extends IService<CodeAllCode> { |
| | | |
| | | /** |
| | | * 使ç¨åç±»ç主é®è·åå¯ä»¥ä½¿ç¨ç模æ¿å¯¹è±¡ |
| | | * @param codeClassifyOid åç±»çä¸»é® |
| | |
| | | * @param attrVO 模æ¿å±æ§ç对象 |
| | | * @return 䏿é项 |
| | | */ |
| | | List<KeyValue> listComboboxItems(CodeClstempattrVO attrVO); |
| | | List<KeyValue> listComboboxItems(CodeClassifyTemplateAttrVO attrVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹ç¶æ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dto.CodeButtonDTO; |
| | | import com.vci.ubcs.code.dto.CodeFixedValueDTO; |
| | | import com.vci.ubcs.code.entity.CodeButton; |
| | | import com.vci.ubcs.code.entity.CodeFixedValue; |
| | | import com.vci.ubcs.code.enumpack.CodeUseButtonPositionTypeEnum; |
| | | import com.vci.ubcs.code.enumpack.FrameworkDataLCStatus; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeButtonVO; |
| | | import com.vci.ubcs.common.utils.PageDO2PageVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.revision.service.RevisionModelUtil; |
| | | import com.vci.ubcs.starter.util.DefaultAttrAssimtUtil; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import com.vci.ubcs.starter.web.util.BeanUtil; |
| | | import com.vci.ubcs.starter.web.util.BeanUtilForVCI; |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.cglib.beans.BeanMap; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.*; |
| | | |
| | | import static com.vci.ubcs.code.constant.FrameWorkLangCodeConstant.*; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æå¡å®ç°ç±» |
| | |
| | | public class CodeButtonServiceImpl implements ICodeButtonService { |
| | | |
| | | @Resource |
| | | CodeButtonMapper codeButtonMapper; |
| | | private CodeButtonMapper codeButtonMapper; |
| | | |
| | | /** |
| | | * 对象çæä½ |
| | | */ |
| | | @Autowired |
| | | private RevisionModelUtil revisionModelUtil; |
| | | |
| | | @Override |
| | | public IPage<CodeButtonVO> selectcodebuttonPage(IPage<CodeButtonVO> page, CodeButtonVO codebutton) { |
| | | return page.setRecords(codeButtonMapper.selectcodebuttonPage(page, codebutton)); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææçä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public IPage<CodeButtonVO> gridCodeButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | Query query = new Query(); |
| | | if (pageHelper == null) { |
| | | query.setSize(-1); |
| | | }else { |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | } |
| | | query.setDescs("createTime"); |
| | | CodeButton codeButton = new CodeButton(); |
| | | BeanMap beanMap = BeanMap.create(codeButton); |
| | | beanMap.putAll(conditionMap); |
| | | IPage<CodeButton> doList = codeButtonMapper.selectPage(Condition.getPage(query),Condition.getQueryWrapper(codeButton)); |
| | | IPage<CodeButtonVO> voList = new Page<>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | voList.setRecords(codeButtonDO2VOs(doList.getRecords())); |
| | | PageDO2PageVO.pageDO2PageVO(doList,voList); |
| | | } |
| | | return voList; |
| | | } |
| | | |
| | | /** |
| | | * å¢å ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeButtonVO addSave(CodeButtonDTO codeButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeButtonDTO,"éè¦æ·»å çæ°æ®å¯¹è±¡"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeButton codeButtonDO = new CodeButton(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeButtonDTO,codeButtonDO); |
| | | DefaultAttrAssimtUtil.addDefaultAttrAssimt(codeButtonDO, MdmBtmTypeConstant.CODE_BUTTON); |
| | | boolean resInsertCodeButton = codeButtonMapper.insert(codeButtonDO) > 0; |
| | | return resInsertCodeButton ? codeButtonDO2VO(codeButtonDO):null; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeButtonVO editSave(CodeButtonDTO codeButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeButtonDTO,"æ°æ®å¯¹è±¡",codeButtonDTO.getOid(),"ä¸»æ°æ®ä¸çæé®æ©å±ä¸»é®"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeButton codeButtonDO = selectByOid(codeButtonDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeButtonDTO,codeButtonDO); |
| | | DefaultAttrAssimtUtil.updateDefaultAttrAssimt(codeButtonDO); |
| | | boolean resUpdateCodeButton = codeButtonMapper.updateById(codeButtonDO) > 0; |
| | | return resUpdateCodeButton ? codeButtonDO2VO(codeButtonDO):null; |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param codeButtonDTO ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public R deleteCodeButton(CodeButtonDTO codeButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeButtonDTO,"ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®å¯¹è±¡",codeButtonDTO.getOid(),"ä¸»æ°æ®ä¸çæé®æ©å±ç主é®"); |
| | | CodeButton codeButtonDO = selectByOid(codeButtonDTO.getOid()); |
| | | R baseResult = checkIsCanDeleteForDO(codeButtonDTO,codeButtonDO); |
| | | if(baseResult.isSuccess()) { |
| | | }else{ |
| | | return baseResult; |
| | | } |
| | | //æ§è¡å é¤æä½ |
| | | boolean resDeleteCodeButton = codeButtonMapper.deleteById(codeButtonDO.getOid()) > 0; |
| | | return resDeleteCodeButton ? R.success(DELETE_SUCCESS):R.fail(DELETE_FAIL); |
| | | } |
| | | |
| | | /** |
| | | * 主é®è·åä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param oid ä¸»é® |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeButtonVO getObjectByOid(String oid) throws VciBaseException{ |
| | | return codeButtonDO2VO(selectByOid(oid)); |
| | | } |
| | | |
| | | /** |
| | | * åç
§ä¸»æ°æ®ä¸çæé®æ©å±å表 |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return ä¸»æ°æ®ä¸çæé®æ©å±æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public IPage<CodeButtonVO> refDataGridCodeButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, String>(); |
| | | } |
| | | return gridCodeButton(conditionMap,pageHelper); |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦å¯ä»¥å é¤ï¼å¦æåå¨ä¸çº§ï¼å¹¶ä¸ä¸çº§ææ°æ®å¼ç¨åä¸è½å é¤ |
| | | * @param codeButtonDTO æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @param codeButtonDO æ°æ®åºä¸çæ°æ®å¯¹è±¡ |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeButtonDTO codeButtonDTO, CodeButton codeButtonDO) { |
| | | CodeButton buttonDO = new CodeButton(); |
| | | BeanUtil.convert(codeButtonDTO,buttonDO); |
| | | if (!checkTs(codeButtonDTO,buttonDO)) { |
| | | return R.fail(TS_NOT_PROCESS); |
| | | } |
| | | if(!checkIsLinked(codeButtonDO.getOid())) { |
| | | return R.success("success"); |
| | | }else{ |
| | | return R.fail(DATA_LINKED_NOT_DELETE); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥ts |
| | | * @param tempDO |
| | | * @return |
| | | */ |
| | | private boolean checkTs(CodeButtonDTO tempDO, CodeButton codeButton){ |
| | | Date dbTs = codeButton.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦è¢«å¼ç¨ |
| | | * @param oid ä¸»é® |
| | | * @throws VciBaseException 被å¼ç¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private boolean checkIsLinked(String oid) throws VciBaseException{ |
| | | //TODO æ·»å éè¦æ ¡éªå¼ç¨çå°æ¹ |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢æ°æ®å¯¹è±¡ |
| | | * @param oid ä¸»é® |
| | | * @return æ°æ®å¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¹¶ä¸æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private CodeButton selectByOid(String oid) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | CodeButton codeButtonDO = codeButtonMapper.selectById(oid.trim()); |
| | | if(codeButtonDO == null || StringUtils.isBlank(codeButtonDO.getOid())){ |
| | | throw new VciBaseException(DATA_OID_NOT_EXIST); |
| | | } |
| | | return codeButtonDO; |
| | | } |
| | | |
| | | /** |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºæè
ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<CodeButtonVO> codeButtonDO2VOs(Collection<CodeButton> codeButtonDOs) throws VciBaseException{ |
| | | public List<CodeButtonVO> codeButtonDO2VOs(Collection<CodeButton> codeButtonDOs) throws VciBaseException{ |
| | | List<CodeButtonVO> voList = new ArrayList<CodeButtonVO>(); |
| | | if(!CollectionUtils.isEmpty(codeButtonDOs)){ |
| | | for(CodeButton s: codeButtonDOs){ |
| | |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeButtonDO,vo); |
| | | //妿ælcstatusçç±»çè¯ |
| | | vo.setLcStatusText(FrameworkDataLCStatus.getTextByValue(vo.getLcStatus())); |
| | | |
| | | vo.setUsedpositiontypeText(CodeUseButtonPositionTypeEnum.getTextByValue(codeButtonDO.getUsedPositionType())); |
| | | } |
| | | return vo; |
| | | } |
| | |
| | | return codeButtonDOList; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public R enableCodeButton(String id) { |
| | | CodeButton codebutton = codeButtonMapper.selectById(id); |
| | |
| | | return changeLcStatus(codebutton,false); |
| | | } |
| | | |
| | | // @Override |
| | | // public R deleteCodeButton(String ids) { |
| | | //// VciBaseUtil.alertNotNull(codeButtonDTO,"ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®å¯¹è±¡",codeButtonDTO.getOid(),"ä¸»æ°æ®ä¸çæé®æ©å±ç主é®"); |
| | | // if(StringUtils.isEmpty(ids)){ |
| | | // return R.fail("ä¼ å
¥éæ³æ°æ®ï¼"); |
| | | // } |
| | | // CodeButtonEntity codebutton = codeButtonMapper.selectById(ids); |
| | | // |
| | | // CodeButtonDO codeButtonDO = selectByOid(codeButtonDTO.getOid()); |
| | | // BaseResult baseResult = checkIsCanDeleteForDO(codeButtonDTO,codeButtonDO); |
| | | // if(baseResult.isSuccess()) { |
| | | // }else{ |
| | | // return baseResult; |
| | | // } |
| | | // //æ§è¡å é¤æä½ |
| | | // BatchCBO batchCBO = codeButtonMapper.deleteByPrimaryKey(codeButtonDO.getOid()); |
| | | // return (batchCBO!=null && batchCBO.getDeleteCbos() !=null &&batchCBO.getDeleteCbos().size() > 0)?BaseResult.successMsg(DELETE_SUCCESS):BaseResult.fail(DELETE_FAIL); |
| | | // } |
| | | |
| | | /** |
| | | * ä¿®æ¹çå½å¨æçç¶æï¼å¦åç¨åå¯ç¨ |
| | | * @param buttonDTO æ°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts |
| | |
| | | * @return æ§è¡çç»æ |
| | | */ |
| | | private R changeLcStatus(CodeButton buttonDTO, boolean disable){ |
| | | // VciBaseUtil.alertNotNull(buttonDTO,"æ°æ®å¯¹è±¡",buttonDTO.getOid(),"主é®"); |
| | | // VciBaseUtil.alertNotNull(buttonDTO,"æ°æ®å¯¹è±¡",buttonDTO.getOid(),"主é®"); |
| | | if(disable){ |
| | | buttonDTO.setLcstatus(FrameworkDataLCStatus.ENABLED.getValue()); |
| | | buttonDTO.setLcStatus(FrameworkDataLCStatus.ENABLED.getValue()); |
| | | }else{ |
| | | buttonDTO.setLcstatus(FrameworkDataLCStatus.DISABLED.getValue()); |
| | | buttonDTO.setLcStatus(FrameworkDataLCStatus.DISABLED.getValue()); |
| | | } |
| | | return SqlHelper.retBool(codeButtonMapper.updateById(buttonDTO))? |
| | | R.success(FrameworkDataLCStatus.ENABLED.getValue()):R.fail(FrameworkDataLCStatus.DISABLED.getValue()); |
| | |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.core.JsonParser; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dto.CodeClassifyProcessTempDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyProcessTemp; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyProcessTempMapper; |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.sql.Wrapper; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | | import static com.vci.ubcs.code.constant.FrameWorkLangCodeConstant.*; |
| | | import static com.vci.ubcs.code.constant.MdmBtmTypeConstant.CODE_CLASSIFY_PROCESS_TEMPLATE; |
| | | |
| | | /** |
| | | * å类使ç¨çæµç¨æ¨¡æ¿æå¡æ¥å£ |
| | |
| | | public IPage<CodeClassifyProcessTempVO> gridCodeClassifyProcessTemp(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | Query query = new Query(); |
| | | if (pageHelper == null) { |
| | | pageHelper = new PageHelper(-1); |
| | | //pageHelper = new PageHelper(-1); |
| | | query.setSize(-1); |
| | | }else { |
| | | query.setSize(pageHelper.getLimit()); |
| | |
| | | BeanMap beanMap = BeanMap.create(codeClassifyProcessTemp); |
| | | beanMap.putAll(conditionMap); |
| | | IPage<CodeClassifyProcessTemp> doList = codeClassifyProcessTempMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codeClassifyProcessTemp)); |
| | | IPage<CodeClassifyProcessTempVO> pageList = new Page<CodeClassifyProcessTempVO>(); |
| | | IPage<CodeClassifyProcessTempVO> voList = new Page<CodeClassifyProcessTempVO>(); |
| | | //DataGrid<CodeClassifyProcessTempVO> dataGrid=new DataGrid<>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | pageList.setRecords(CodeClassifyProcessTempWrapper.build().listVO(doList.getRecords())); |
| | | voList.setRecords(CodeClassifyProcessTempWrapper.build().listVO(doList.getRecords())); |
| | | //åé¡µåæ°è½¬å°pageVO对象 |
| | | pageList = PageDO2PageVO.pageDO2PageVO(doList,pageList); |
| | | voList = PageDO2PageVO.pageDO2PageVO(doList,voList); |
| | | } |
| | | return pageList; |
| | | return voList; |
| | | } |
| | | |
| | | /** |
| | |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyProcessTemp codeClassifyProcessTempDO = new CodeClassifyProcessTemp(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeClassifyProcessTempDTO,codeClassifyProcessTempDO); |
| | | codeClassifyProcessTempDO = DefaultAttrAssimtUtil.addDefaultAttrAssimt(codeClassifyProcessTempDO,"codeclsflowtemp"); |
| | | DefaultAttrAssimtUtil.addDefaultAttrAssimt(codeClassifyProcessTempDO, MdmBtmTypeConstant.CODE_CLASSIFY_PROCESS_TEMPLATE); |
| | | codeClassifyProcessTempMapper.insert(codeClassifyProcessTempDO); |
| | | //å 为ä¸å¡ç±»åæ¬èº«æ²¡ææ§å¶çæ¬ï¼ææå¼ºå¶ç»çæ¬revisionValue设置å¼ï¼å¹³å°ä¹ä¼åæç©ºãããã |
| | | //çæ¬å·ä¸è½ä½¿ç¨é»è®¤ç屿§ |
| | |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyProcessTemp codeClassifyProcessTempDO = selectByOid(codeClassifyProcessTempDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeClassifyProcessTempDTO,codeClassifyProcessTempDO); |
| | | codeClassifyProcessTempDO = DefaultAttrAssimtUtil.updateDefaultAttrAssimt(codeClassifyProcessTempDO); |
| | | DefaultAttrAssimtUtil.updateDefaultAttrAssimt(codeClassifyProcessTempDO); |
| | | codeClassifyProcessTempMapper.updateById(codeClassifyProcessTempDO); |
| | | return CodeClassifyProcessTempWrapper.build().entityVO(codeClassifyProcessTempDO); |
| | | } |
| | |
| | | private boolean checkTs(CodeClassifyProcessTemp tempDO, CodeClassifyProcessTemp codeClassifyProcessTempDO){ |
| | | Date dbTs = codeClassifyProcessTempDO.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | int i = currentTs.compareTo(dbTs); |
| | | if(i==0){ |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.entity.CodeClstemplateEntity; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyTemplateAttrMapper; |
| | | import com.vci.ubcs.code.service.ICodeClassifyTemplateAttrService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.wrapper.CodeClstempattrWrapper; |
| | | import com.vci.ubcs.common.utils.PageDO2PageVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.util.Map2MPLLambdaUtil; |
| | | import com.vci.ubcs.starter.util.MybatisParameterUtil; |
| | | import com.vci.ubcs.starter.web.enumpck.VciFieldTypeEnum; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç主é¢åºåç±»çæ¨¡æ¿å±æ§ |
| | | * @param lambdaQueryWrapper æ¥è¯¢æ¡ä»¶ |
| | | * @param mpjLambdaWrapper æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateAttrVO> gridCodeClassifyTemplateAttr(LambdaQueryWrapper<CodeClassifyTemplateAttr> lambdaQueryWrapper , PageHelper pageHelper) throws VciBaseException { |
| | | DataGrid<CodeClassifyTemplateAttrVO> dataGrid=new DataGrid<>(); |
| | | public IPage<CodeClassifyTemplateAttrVO> gridCodeClassifyTemplateAttr(MPJLambdaWrapper<CodeClassifyTemplateAttr> mpjLambdaWrapper , PageHelper pageHelper) throws VciBaseException { |
| | | //没æä¼ éåæ°ï¼å°±ä¸æ§è¡æ¥è¯¢é»è¾ |
| | | if(lambdaQueryWrapper == null){ |
| | | dataGrid.setData(new ArrayList<>()); |
| | | dataGrid.setTotal(0); |
| | | return dataGrid; |
| | | if(mpjLambdaWrapper == null){ |
| | | return new Page<>(); |
| | | } |
| | | Query query = new Query(); |
| | | if (pageHelper == null) { |
| | |
| | | } |
| | | //pageHelper.addDefaultAsc("ordernum"); |
| | | query.setAscs("ordernum"); |
| | | |
| | | IPage<CodeClassifyTemplateAttr> doList = codeClassifyTemplateAttrMapper.selectPage(Condition.getPage(query), lambdaQueryWrapper); |
| | | //è¿å¿æ¯ä¸ªè¿è¡¨æ¥è¯¢ |
| | | IPage<CodeClassifyTemplateAttr> doList = codeClassifyTemplateAttrMapper.selectPage(Condition.getPage(query), mpjLambdaWrapper); |
| | | IPage<CodeClassifyTemplateAttrVO> voList = new Page<>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | dataGrid.setData(codeClassifyTemplateAttrDO2VOs(doList.getRecords())); |
| | | dataGrid.setTotal(VciBaseUtil.getInt(String.valueOf(codeClassifyTemplateAttrMapper.selectCount(lambdaQueryWrapper)))); |
| | | voList.setRecords(CodeClstempattrWrapper.build().listVO(doList.getRecords())); |
| | | PageDO2PageVO.pageDO2PageVO(doList,voList); |
| | | } |
| | | return dataGrid; |
| | | return voList; |
| | | } |
| | | |
| | | /** |
| | |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateAttrVO> refDataGridCodeClassifyTemplateAttr(Map<String, Object> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | public IPage<CodeClassifyTemplateAttrVO> refDataGridCodeClassifyTemplateAttr(Map<String, Object> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, Object>(); |
| | | } |
| | | return gridCodeClassifyTemplateAttr(Condition.getQueryWrapper(conditionMap,CodeClassifyTemplateAttr.class).lambda(),pageHelper); |
| | | return gridCodeClassifyTemplateAttr(Map2MPLLambdaUtil.getMPJLambdaWrapper(conditionMap, CodeClassifyTemplateAttr.class),pageHelper); |
| | | } |
| | | |
| | | @Override |
| | | public IPage<CodeClassifyTemplateAttrVO> selectCodeClstempattrPage(IPage<CodeClassifyTemplateAttrVO> page, CodeClassifyTemplateAttrVO CodeClstempattr) { |
| | | return page.setRecords(baseMapper.selectCodeClstempattrPage(page, CodeClstempattr)); |
| | | } |
| | | |
| | | /** |
| | | * ä½¿ç¨æ¨¡æ¿ç主é®è·å模æ¿ç屿§--æ¹é |
| | | * |
| | | * @param templateOidCollection 模æ¿çä¸»é® |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | @Override |
| | | public List<CodeClassifyTemplateAttrVO> listCodeClassifyTemplateAttrByTemplateOids(Collection<String> templateOidCollection) { |
| | | if(CollectionUtils.isEmpty(templateOidCollection)){ |
| | | return new ArrayList<>(); |
| | | } |
| | | List<CodeClassifyTemplateAttr> attrDOList = new ArrayList<>(); |
| | | VciBaseUtil.switchCollectionForOracleIn(templateOidCollection).stream().forEach(templateOids->{ |
| | | // Map<String,String> conditionMap = new HashMap<>(); |
| | | // conditionMap.put("classifytemplateoid", QueryOptionConstant.IN + "(" + VciBaseUtil.toInSql(templateOids.toArray(new String[0])) + ")"); |
| | | // PageHelper pageHelper = new PageHelper(-1); |
| | | // pageHelper.addDefaultAsc("orderNum"); |
| | | List<CodeClassifyTemplateAttr> attrDOS = baseMapper.selectByClassifytemplateoid(VciBaseUtil.toInSql(templateOids.toArray(new String[0]))); |
| | | |
| | | if(!CollectionUtils.isEmpty(attrDOS)){ |
| | | attrDOList.addAll(attrDOS); |
| | | } |
| | | }); |
| | | return codeClassifyTemplateAttrDO2VOs(attrDOList); |
| | | } |
| | | |
| | | /** |
| | |
| | | if(codeClassifyTemplateAttrDO != null){ |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeClassifyTemplateAttrDO,vo); |
| | | //妿ælcstatusçç±»çè¯ |
| | | vo.setAttributeDataTypeText(VciFieldTypeEnum.getTextByValue(vo.getAttributedatatype())); |
| | | vo.setAttributeDataTypeText(VciFieldTypeEnum.getTextByValue(vo.getAttributeDataType())); |
| | | } |
| | | return vo; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeClassifyValueDTO codeClassifyValueDTO, CodeClassifyValue codeClassifyValueDO) { |
| | | if (!checkTs(codeClassifyValueDTO)) { |
| | | if (!checkTs(codeClassifyValueDTO,codeClassifyValueDO)) { |
| | | return R.fail(TS_NOT_PROCESS); |
| | | } |
| | | //æ ¡éªä¸çº§æ¯å¦æå¼ç¨ |
| | |
| | | * @param tempDO |
| | | * @return |
| | | */ |
| | | private boolean checkTs(CodeClassifyValueDTO tempDO){ |
| | | LambdaQueryWrapper<CodeClassifyValue> wrapper = Wrappers.<CodeClassifyValue>query() |
| | | .lambda().eq(CodeClassifyValue::getOid,tempDO.getOid()).select(CodeClassifyValue::getTs); |
| | | long dbTs = codeClassifyValueMapper.selectById(wrapper).getTs().getTime(); |
| | | long currentTs = tempDO.getTs().getTime(); |
| | | if(dbTs == currentTs){ |
| | | private boolean checkTs(CodeClassifyValueDTO tempDO,CodeClassifyValue codeClassifyValueDO){ |
| | | Date dbTs = codeClassifyValueDO.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | import com.vci.ubcs.code.enumpack.FrameworkDataLCStatus; |
| | | import com.vci.ubcs.code.mapper.*; |
| | | import com.vci.ubcs.code.service.ICodeClassifyService; |
| | | import com.vci.ubcs.code.service.ICodeClassifyTemplateAttrService; |
| | | import com.vci.ubcs.code.service.ICodeClstemplateService; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import com.vci.ubcs.code.vo.CodeClstemplateVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.revision.model.TreeQueryObject; |
| | | import com.vci.ubcs.starter.revision.model.TreeWrapperOptions; |
| | |
| | | */ |
| | | @Lazy |
| | | @Autowired(required = false) |
| | | CodeClstempattrServiceImpl codeClstempattrService; |
| | | ICodeClassifyTemplateAttrService codeClstempattrService; |
| | | |
| | | /** |
| | | * 对象çæä½ |
| | |
| | | private RevisionModelUtil revisionModelUtil; |
| | | |
| | | @Autowired(required = false) |
| | | private CodeClstempattrMapper codeClstempattrMapper; |
| | | private CodeClassifyTemplateAttrMapper codeClstempattrMapper; |
| | | @Autowired(required = false) |
| | | private CodeTempphaseServiceImpl codeTempphaseServiceImpl; |
| | | @Autowired(required = false) |
| | |
| | | private CodeClstemplateMapper codeClstemplateMapper; |
| | | @Autowired(required = false) |
| | | private CodePhaseattrServiceImpl codePhaseattrServiceImpl; |
| | | |
| | | |
| | | |
| | | @Override |
| | | public IPage<CodeClstemplateVO> selectPlCodeClstemplatePage(IPage<CodeClstemplateVO> page, CodeClstemplateVO plCodeClstemplate) { |
| | |
| | | if(hasAttr){ |
| | | //ä¸ä¸ªåç±»é颿»ä¸è½è¶
è¿1000个çæççæ¬å§ï¼ï¼ï¼ |
| | | VciBaseUtil.switchCollectionForOracleIn(voList.stream().map(CodeClstemplateVO::getOid).collect(Collectors.toList())).forEach(tempOids->{ |
| | | List<CodeClstempattrVO> attrVOList = codeClstempattrService.listCodeClassifyTemplateAttrByTemplateOids(tempOids); |
| | | List<CodeClassifyTemplateAttrVO> attrVOList = codeClstempattrService.listCodeClassifyTemplateAttrByTemplateOids(tempOids); |
| | | |
| | | if(!CollectionUtils.isEmpty(attrVOList)){ |
| | | Map<String, List<CodeClstempattrVO>> attrVOMap = attrVOList.stream().collect(Collectors.groupingBy(s -> s.getClassifytemplateoid())); |
| | | Map<String, List<CodeClassifyTemplateAttrVO>> attrVOMap = attrVOList.stream().collect(Collectors.groupingBy(s -> s.getClassifyTemplateOid())); |
| | | |
| | | voList.stream().forEach(templateVO->{ |
| | | if(attrVOMap.containsKey(templateVO.getOid())){ |
| | |
| | | //å 餿¨¡æ¿å±æ§ |
| | | // VciQueryWrapperForDO templateQueryWrapper = new VciQueryWrapperForDO(CodeClassifyTemplateAttrDO.class); |
| | | // templateQueryWrapper.addQueryMap("classifyTemplateOid",templateOid); |
| | | List<CodeClstempattrEntity> codeClstempattrEntityList = codeClstempattrMapper.selectRefByOid(templateOid); |
| | | List<CodeClassifyTemplateAttr> codeClstempattrEntityList = codeClstempattrMapper.selectRefByOid(templateOid); |
| | | |
| | | if(!CollectionUtils.isEmpty(codeClstempattrEntityList)) { |
| | | List<String> templateAttrOids = new ArrayList<String>(); |
| | | for (CodeClstempattrEntity codeClstempattrEntity:codeClstempattrEntityList){ |
| | | for (CodeClassifyTemplateAttr codeClstempattrEntity:codeClstempattrEntityList){ |
| | | templateAttrOids.add(codeClstempattrEntity.getOid()); |
| | | } |
| | | |
| | |
| | | // codeClassifyTemplateAttrQuery.addQueryMap("classifyTemplateOid",templateOldOid); |
| | | Map<String,Object> condition = new HashMap<>(1); |
| | | condition.put("classifyTemplateOid",templateOldOid); |
| | | List<CodeClstempattrEntity> codeClstempattrEntities = codeClstempattrMapper.selectByMap(condition); |
| | | List<CodeClassifyTemplateAttr> codeClstempattrEntities = codeClstempattrMapper.selectByMap(condition); |
| | | // List<CodeClassifyTemplateAttrDO> codeClassifyTemplateAttrDOList = codeClassifyTemplateAttrDaoI.selectByWrapper(codeClassifyTemplateAttrQuery); |
| | | for (CodeClstempattrEntity codeClassifyTemplateAttrDO :codeClstempattrEntities){ |
| | | for (CodeClassifyTemplateAttr codeClassifyTemplateAttrDO :codeClstempattrEntities){ |
| | | // String attrOid = VciBaseUtil.getPk(); |
| | | codeClassifyTemplateAttrDO.setOid(null); |
| | | codeClassifyTemplateAttrDO.setClassifytemplateoid(templateNewOid); |
| | | codeClassifyTemplateAttrDO.setClassifyTemplateOid(templateNewOid); |
| | | codeClstempattrMapper.insert(codeClassifyTemplateAttrDO); |
| | | } |
| | | |
| | |
| | | //å¤å¶æ¨¡æ¿é¶æ®µï¼é¶æ®µå±æ§ |
| | | Map phase_attrMap = copyTemplatePhase_attr(templateOldOid,templateNewOid); |
| | | |
| | | List<CodeTempphaseEntity> codeClassifyPhaseDOList = (ArrayList<CodeTempphaseEntity>)phase_attrMap.get("phase");//模æ¿é¶æ®µ |
| | | List<CodePhaseattrEntity> codePhaseAttrDOList = (ArrayList<CodePhaseattrEntity>)phase_attrMap.get("phaseAttr");//é¶æ®µå±æ§ |
| | | List<CodeTemplatePhase> codeClassifyPhaseDOList = (ArrayList<CodeTemplatePhase>)phase_attrMap.get("phase");//模æ¿é¶æ®µ |
| | | List<CodePhaseAttr> codePhaseAttrDOList = (ArrayList<CodePhaseAttr>)phase_attrMap.get("phaseAttr");//é¶æ®µå±æ§ |
| | | |
| | | //å¤å¶æ¨¡æ¿æé® |
| | | List<CodeClassifyTemplateButton> codeClassifyTemplateButtonDOList = copyTemplateButton(templateOldOid,templateNewOid); |
| | |
| | | codeClassifyTemplateDOList.add(codeClassifyTemplateDO_old); |
| | | |
| | | //å¤å¶æ¨¡æ¿å±æ§ |
| | | List<CodeClstempattrEntity> codeClassifyTemplateAttrDOList = copyTemplateAttr(oldOid,newOid); |
| | | List<CodeClassifyTemplateAttr> codeClassifyTemplateAttrDOList = copyTemplateAttr(oldOid,newOid); |
| | | |
| | | //å¤å¶æ¨¡æ¿æµç¨ |
| | | List<CodeClsflowtempEntity> codeClassifyProcessTempDOList = copyTemplateProcess(oldOid,newOid); |
| | |
| | | //å¤å¶æ¨¡æ¿é¶æ®µï¼é¶æ®µå±æ§ |
| | | Map phase_attrMap = copyTemplatePhase_attr(oldOid,newOid); |
| | | |
| | | List<CodeTempphaseEntity> codeClassifyPhaseDOList = (ArrayList<CodeTempphaseEntity>)phase_attrMap.get("phase");//模æ¿é¶æ®µ |
| | | List<CodePhaseattrEntity> codePhaseAttrDOList = (ArrayList<CodePhaseattrEntity>)phase_attrMap.get("phaseAttr");//é¶æ®µå±æ§ |
| | | List<CodeTemplatePhase> codeClassifyPhaseDOList = (ArrayList<CodeTemplatePhase>)phase_attrMap.get("phase");//模æ¿é¶æ®µ |
| | | List<CodePhaseAttr> codePhaseAttrDOList = (ArrayList<CodePhaseAttr>)phase_attrMap.get("phaseAttr");//é¶æ®µå±æ§ |
| | | |
| | | //å¤å¶æ¨¡æ¿æé® |
| | | List<CodeClassifyTemplateButton> codeClassifyTemplateButtonDOList = copyTemplateButton(oldOid,newOid); |
| | |
| | | // phaseWrapper.addQueryMap("codeClassifyTemplateOid",templateOldOid); |
| | | Map<String,Object> condition = new HashMap<>(1); |
| | | condition.put("codeclassifyTemplateOid",templateOldOid); |
| | | List<CodeTempphaseEntity> codeTempphaseEntities = codeTempphaseMapper.selectByMap(condition); |
| | | List<CodeTemplatePhase> codeTempphaseEntities = codeTempphaseMapper.selectByMap(condition); |
| | | // List<CodeTemplatePhaseDO> codeClassifyPhaseDOList = codeTemplatePhaseDaoI.selectByWrapper(phaseWrapper);//è¦ä¿åçæ°çæ¨¡æ¿æµç¨ |
| | | Map<String,String> phaseKeyMap = new HashMap<String,String>();//éè¦å¤å¶ç模æ¿é¶æ®µå±æ§,key:value,模æ¿é¶æ®µèoid:模æ¿å±æ§æ°oid |
| | | List<String> phaseOidList = new ArrayList<String>(); |
| | | for (CodeTempphaseEntity codeTemplatePhaseDO:codeTempphaseEntities){ |
| | | for (CodeTemplatePhase codeTemplatePhaseDO:codeTempphaseEntities){ |
| | | String oldoid = codeTemplatePhaseDO.getOid(); |
| | | String newOid = VciBaseUtil.getPk(); |
| | | codeTemplatePhaseDO.setOid(newOid); |
| | |
| | | } |
| | | |
| | | //模æ¿é¶æ®µç屿§ |
| | | List<CodePhaseattrEntity> codePhaseAttrDOList = new ArrayList<CodePhaseattrEntity>(); |
| | | List<CodePhaseAttr> codePhaseAttrDOList = new ArrayList<CodePhaseAttr>(); |
| | | |
| | | if(!CollectionUtils.isEmpty(phaseOidList)){//size()==0ä¸è¾¹æ¹æ³ä¼æ¥é |
| | | // Map<String,String> conditionMap = new HashMap<>(); |
| | |
| | | // codePhaseAttrDOList = codePhaseAttrDaoI.selectByCondition(conditionMap,new PageHelper(-1)); |
| | | codePhaseAttrDOList = codePhaseattrMapper.selectByPhaseaIds(VciBaseUtil.toInSql(phaseOidList.toArray(new String[0]))); |
| | | } |
| | | for (CodePhaseattrEntity codePhaseAttrDO:codePhaseAttrDOList){ |
| | | for (CodePhaseAttr codePhaseAttrDO:codePhaseAttrDOList){ |
| | | String oldPhaseoid = codePhaseAttrDO.getCodePhaseOid(); |
| | | // String newOid = VciBaseUtil.getPk(); |
| | | codePhaseAttrDO.setOid(null); |
| | |
| | | for (CodeClassifyTemplateButton codeClassifyTemplateButtonDO:codeTempbuttonEntities){ |
| | | // String newOid = VciBaseUtil.getPk(); |
| | | codeClassifyTemplateButtonDO.setOid(null); |
| | | codeClassifyTemplateButtonDO.setClassifytemplateoid(templateNewOid); |
| | | codeClassifyTemplateButtonDO.setClassifyTemplateOid(templateNewOid); |
| | | } |
| | | return codeTempbuttonEntities; |
| | | } |
| | |
| | | /** |
| | | * å¤å¶æ¨¡æ¿å±æ§ |
| | | */ |
| | | public List<CodeClstempattrEntity> copyTemplateAttr(String templateOldOid,String templateNewOid){ |
| | | public List<CodeClassifyTemplateAttr> copyTemplateAttr(String templateOldOid,String templateNewOid){ |
| | | |
| | | // VciQueryWrapperForDO codeClassifyTemplateAttrQuery = new VciQueryWrapperForDO(CodeClassifyTemplateAttrDO.class); |
| | | // codeClassifyTemplateAttrQuery.addQueryMap("classifyTemplateOid",templateOldOid); |
| | | |
| | | // Map<String,Object> condition = new HashMap<>(1); |
| | | // condition.put("classifyTemplateOid",templateOldOid); |
| | | QueryWrapper<CodeClstempattrEntity> wrapper=new QueryWrapper<>(); |
| | | QueryWrapper<CodeClassifyTemplateAttr> wrapper=new QueryWrapper<>(); |
| | | wrapper.eq("classifyTemplateOid",templateOldOid); |
| | | |
| | | // List<CodeClstempattrEntity> codeClassifyTemplateAttrDOList = codeClassifyTemplateAttrDaoI.selectByWrapper(codeClassifyTemplateAttrQuery); |
| | | List<CodeClstempattrEntity> codeClstempattrEntities = codeClstempattrMapper.selectList(wrapper); |
| | | // List<CodeClassifyTemplateAttr> codeClassifyTemplateAttrDOList = codeClassifyTemplateAttrDaoI.selectByWrapper(codeClassifyTemplateAttrQuery); |
| | | List<CodeClassifyTemplateAttr> codeClstempattrEntities = codeClstempattrMapper.selectList(wrapper); |
| | | |
| | | for (CodeClstempattrEntity codeClassifyTemplateAttrDO :codeClstempattrEntities){ |
| | | for (CodeClassifyTemplateAttr codeClassifyTemplateAttrDO :codeClstempattrEntities){ |
| | | // String attrOid = VciBaseUtil.getPk(); |
| | | codeClassifyTemplateAttrDO.setOid(null); |
| | | codeClassifyTemplateAttrDO.setClassifytemplateoid(templateNewOid); |
| | | codeClassifyTemplateAttrDO.setClassifyTemplateOid(templateNewOid); |
| | | // codeClstempattrMapper.insert(codeClassifyTemplateAttrDO); |
| | | } |
| | | return codeClstempattrEntities; |
| | |
| | | // } |
| | | // pageHelper.addDefaultDesc("revisionSeq"); |
| | | |
| | | |
| | | |
| | | List<CodeClstemplateVO> doList = codeClstemplateMapper.selectPlCodeClstemplatePage(Condition.getPage(query), plCodeClstemplate); |
| | | if (!CollectionUtils.isEmpty(doList)) { |
| | | // QueryWrapper<CodeClstemplateVO> codeClstemplateVOQueryWrapper = new QueryWrapper<>(); |
| | | // codeClstemplateVOQueryWrapper.allEq(plCodeClstemplate); |
| | | // QueryWrapper<CodeClstemplateVO> codeClstemplateVOQueryWrapper = new QueryWrapper<>(); |
| | | // codeClstemplateVOQueryWrapper.allEq(plCodeClstemplate); |
| | | List<CodeClstemplateEntity> codeClstemplateEntity = new ArrayList<>(); |
| | | BeanUtils.copyProperties(doList,codeClstemplateEntity); |
| | | dataGrid.setData(codeClassifyTemplateDO2VOs(codeClstemplateEntity)); |
| | |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeFixedValueDTO codeFixedValueDTO, CodeFixedValue codeFixedValueDO) { |
| | | if (checkTs(codeFixedValueDTO)) { |
| | | if(!checkTs(codeFixedValueDTO,codeFixedValueDO)) { |
| | | return R.fail(TS_NOT_PROCESS); |
| | | } |
| | | if(!checkIsLinked(codeFixedValueDO.getOid())) { |
| | |
| | | * @param tempDO |
| | | * @return |
| | | */ |
| | | private boolean checkTs(CodeFixedValueDTO tempDO){ |
| | | LambdaQueryWrapper<CodeFixedValue> wrapper = Wrappers.<CodeFixedValue>query() |
| | | .lambda().eq(CodeFixedValue::getOid,tempDO.getOid()).select(CodeFixedValue::getTs); |
| | | long dbTs = codeFixedValueMapper.selectById(wrapper).getTs().getTime(); |
| | | long currentTs = tempDO.getTs().getTime(); |
| | | if(dbTs == currentTs){ |
| | | private boolean checkTs(CodeFixedValueDTO tempDO,CodeFixedValue codeFixedValueDO){ |
| | | Date dbTs = codeFixedValueDO.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import com.vci.ubcs.code.mapper.CodePhaseattrMapper; |
| | | import com.vci.ubcs.code.service.ICodePhaseattrService; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | |
| | | * @since 2023-04-20 |
| | | */ |
| | | @Service |
| | | public class CodePhaseattrServiceImpl extends ServiceImpl<CodePhaseattrMapper, CodePhaseattrEntity> implements ICodePhaseattrService { |
| | | public class CodePhaseattrServiceImpl extends ServiceImpl<CodePhaseattrMapper, CodePhaseAttr> implements ICodePhaseattrService { |
| | | |
| | | @Override |
| | | public IPage<CodePhaseattrVO> selectCodePhaseattrPage(IPage<CodePhaseattrVO> page, CodePhaseattrVO CodePhaseattr) { |
| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dto.CodeClassifyTemplateButtonDTO; |
| | | import com.vci.ubcs.code.dto.CodeClassifyValueDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateButton; |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | | import com.vci.ubcs.code.entity.*; |
| | | import com.vci.ubcs.code.enumpack.CodeButtonUseEnum; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyTemplateButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import com.vci.ubcs.code.service.ICodeTempbuttonService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeButtonVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateButtonVO; |
| | | import com.vci.ubcs.code.wrapper.CodeTempbuttonWrapper; |
| | | import com.vci.ubcs.common.utils.PageDO2PageVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.revision.service.RevisionModelUtil; |
| | | import com.vci.ubcs.starter.util.DefaultAttrAssimtUtil; |
| | | import com.vci.ubcs.starter.util.Map2MPLLambdaUtil; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import com.vci.ubcs.starter.web.util.BeanUtil; |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç主é¢åºé模æ¿å
å«çæé® |
| | | * @param codeClassifyTemplateButtonVO æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页åæåº |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateButtonVO> gridCodeClassifyTemplateButton(CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO, Query query) throws VciBaseException { |
| | | public IPage<CodeClassifyTemplateButtonVO> gridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | Query query = new Query(); |
| | | if (pageHelper == null) { |
| | | query.setSize(-1); |
| | | }else { |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | } |
| | | query.setDescs("createTime"); |
| | | if(StringUtils.isBlank(conditionMap.getOrDefault("classifyTemplateOid",null))){ |
| | | return new Page<>(); |
| | | } |
| | | |
| | | if(StringUtils.isBlank(codeClassifyTemplateButtonVO.getClassifytemplateoid())){ |
| | | return null; |
| | | } |
| | | IPage<CodeClassifyTemplateButton> doList = codeClassifyTemplateButtonMapper.selectPage(Condition.getPage(query),Condition.getQueryWrapper(codeClassifyTemplateButtonVO)); |
| | | DataGrid<CodeClassifyTemplateButtonVO> dataGrid=new DataGrid<CodeClassifyTemplateButtonVO>(); |
| | | IPage<CodeClassifyTemplateButton> doList = codeClassifyTemplateButtonMapper.selectPage(Condition.getPage(query),getMPJLambdaWrapper(conditionMap)); |
| | | IPage<CodeClassifyTemplateButtonVO> voList = new Page<>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | dataGrid.setData(codeClassifyTemplateButtonDO2VOs(doList.getRecords())); |
| | | dataGrid.setTotal(VciBaseUtil.getInt(String.valueOf(codeClassifyTemplateButtonMapper.selectCount(Condition.getQueryWrapper(codeClassifyTemplateButtonVO))))); |
| | | voList.setRecords(codeClassifyTemplateButtonDO2VOs(doList.getRecords())); |
| | | voList = PageDO2PageVO.pageDO2PageVO(doList,voList); |
| | | } |
| | | return dataGrid; |
| | | return voList; |
| | | } |
| | | |
| | | /** |
| | |
| | | if(hasButtonVO && !CollectionUtils.isEmpty(voList)){ |
| | | //è·åæé®çæ¾ç¤ºå¯¹è±¡ |
| | | List<CodeButtonVO> buttonVOList = new ArrayList<>(); |
| | | VciBaseUtil.switchCollectionForOracleIn(voList.stream().map(CodeClassifyTemplateButtonVO::getClassifybuttonoid).collect(Collectors.toList())).stream().forEach(buttonOids->{ |
| | | VciBaseUtil.switchCollectionForOracleIn(voList.stream().map(CodeClassifyTemplateButtonVO::getClassifyButtonOid).collect(Collectors.toList())).stream().forEach(buttonOids->{ |
| | | buttonVOList.addAll(buttonService.listCodeButtonByOids(buttonOids)); |
| | | }); |
| | | Map<String, CodeButtonVO> buttonVOMap = Optional.ofNullable(buttonVOList).orElseGet(() -> new ArrayList<>()).stream().collect(Collectors.toMap(s -> s.getOid(), t -> t)); |
| | | voList.stream().forEach(vo->{ |
| | | vo.setButtonVO(buttonVOMap.getOrDefault(vo.getClassifybuttonoid(),null)); |
| | | vo.setButtonVO(buttonVOMap.getOrDefault(vo.getClassifyButtonOid(),null)); |
| | | }); |
| | | } |
| | | return voList; |
| | |
| | | if(codeClassifyTemplateButtonDO != null){ |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeClassifyTemplateButtonDO,vo); |
| | | //妿ælcstatusçç±»çè¯ |
| | | |
| | | vo.setButtonUseText(CodeButtonUseEnum.getTextByValue(codeClassifyTemplateButtonDO.getButtonUse())); |
| | | } |
| | | return vo; |
| | | } |
| | |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean addSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyTemplateButtonDTO,"éè¦æ·»å çæ°æ®å¯¹è±¡",codeClassifyTemplateButtonDTO.getClassifytemplateoid(),"模æ¿ç主é®"); |
| | | public CodeClassifyTemplateButtonVO addSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyTemplateButtonDTO,"éè¦æ·»å çæ°æ®å¯¹è±¡",codeClassifyTemplateButtonDTO.getClassifyTemplateOid(),"模æ¿ç主é®"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyTemplateButton codeClassifyTemplateButtonDO = new CodeClassifyTemplateButton(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeClassifyTemplateButtonDTO,codeClassifyTemplateButtonDO); |
| | | DefaultAttrAssimtUtil.addDefaultAttrAssimt(codeClassifyTemplateButtonDO, MdmBtmTypeConstant.CODE_TEMPLATE_BUTTON); |
| | | if(codeClassifyTemplateButtonDO.getOrderNum()== null){ |
| | | //æ¥è¯¢å
¨é¨ |
| | | Long count = codeClassifyTemplateButtonMapper.selectCount(Wrappers.<CodeClassifyTemplateButton>query() |
| | | .lambda().eq(CodeClassifyTemplateButton::getClassifytemplateoid,codeClassifyTemplateButtonDTO.getClassifytemplateoid()) |
| | | .lambda().eq(CodeClassifyTemplateButton::getClassifyTemplateOid,codeClassifyTemplateButtonDTO.getClassifyTemplateOid()) |
| | | ); |
| | | if(count == null){ |
| | | count = 0L; |
| | | } |
| | | codeClassifyTemplateButtonDO.setOrderNum(Long.valueOf(count + 1L).intValue()); |
| | | } |
| | | return codeClassifyTemplateButtonMapper.insert(codeClassifyTemplateButtonDO)>0; |
| | | boolean resInsertClsTempButton = codeClassifyTemplateButtonMapper.insert(codeClassifyTemplateButtonDO) > 0; |
| | | return resInsertClsTempButton ? codeClassifyTemplateButtonDO2VO(codeClassifyTemplateButtonDO):null; |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean editSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException{ |
| | | public CodeClassifyTemplateButtonVO editSave(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyTemplateButtonDTO,"æ°æ®å¯¹è±¡",codeClassifyTemplateButtonDTO.getOid(),"主é¢åºé模æ¿å
å«çæé®ä¸»é®"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyTemplateButton codeClassifyTemplateButtonDO = selectByOid(codeClassifyTemplateButtonDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeClassifyTemplateButtonDTO,codeClassifyTemplateButtonDO); |
| | | return codeClassifyTemplateButtonMapper.updateById(codeClassifyTemplateButtonDO)>0; |
| | | DefaultAttrAssimtUtil.updateDefaultAttrAssimt(codeClassifyTemplateButtonDO); |
| | | boolean resUpdateClsTempButton = codeClassifyTemplateButtonMapper.updateById(codeClassifyTemplateButtonDO) > 0; |
| | | return resUpdateClsTempButton ? codeClassifyTemplateButtonDO2VO(codeClassifyTemplateButtonDO):null; |
| | | } |
| | | |
| | | /** |
| | |
| | | VciBaseUtil.alertNotNull(codeClassifyTemplateButtonDTO,"主é¢åºé模æ¿å
å«çæé®æ°æ®å¯¹è±¡",codeClassifyTemplateButtonDTO.getOid(),"主é¢åºé模æ¿å
å«çæé®ç主é®"); |
| | | CodeClassifyTemplateButton codeClassifyTemplateButtonDO = selectByOid(codeClassifyTemplateButtonDTO.getOid()); |
| | | R baseResult = checkIsCanDeleteForDO(codeClassifyTemplateButtonDTO,codeClassifyTemplateButtonDO); |
| | | if(!baseResult.isSuccess()) { |
| | | if(baseResult.isSuccess()) { |
| | | }else{ |
| | | return baseResult; |
| | | } |
| | |
| | | private R checkIsCanDeleteForDO(CodeClassifyTemplateButtonDTO codeClassifyTemplateButtonDTO, CodeClassifyTemplateButton codeClassifyTemplateButtonDO) { |
| | | CodeClassifyTemplateButton tsDO = new CodeClassifyTemplateButton(); |
| | | BeanUtil.convert(codeClassifyTemplateButtonDTO,tsDO); |
| | | if (checkTs(tsDO)) { |
| | | if (!checkTs(tsDO,codeClassifyTemplateButtonDO)) { |
| | | return R.fail(TS_NOT_PROCESS); |
| | | } |
| | | if(!checkIsLinked(codeClassifyTemplateButtonDO.getOid())) { |
| | |
| | | /** |
| | | * æ£æ¥ts |
| | | * @param tempDO |
| | | * @param codeClassifyTemplateButtonDO |
| | | * @return |
| | | */ |
| | | private boolean checkTs(CodeClassifyTemplateButton tempDO){ |
| | | LambdaQueryWrapper<CodeClassifyTemplateButton> wrapper = Wrappers.<CodeClassifyTemplateButton>query() |
| | | .lambda().eq(CodeClassifyTemplateButton::getOid,tempDO.getOid()).select(CodeClassifyTemplateButton::getTs); |
| | | long dbTs = codeClassifyTemplateButtonMapper.selectById(wrapper).getTs().getTime(); |
| | | long currentTs = tempDO.getTs().getTime(); |
| | | if(dbTs == currentTs){ |
| | | private boolean checkTs(CodeClassifyTemplateButton tempDO,CodeClassifyTemplateButton codeClassifyTemplateButtonDO){ |
| | | Date dbTs = codeClassifyTemplateButtonDO.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * è·åè¿è¡¨æ¥è¯¢æ¡ä»¶å¯¹è±¡ |
| | | * @param conditionMap |
| | | * @return |
| | | */ |
| | | private MPJLambdaWrapper<CodeClassifyTemplateButton> getMPJLambdaWrapper(Map<String,String> conditionMap){ |
| | | CodeClassifyTemplateButton codeClassifyTemplateButton = new CodeClassifyTemplateButton(); |
| | | BeanMap beanMap = BeanMap.create(codeClassifyTemplateButton); |
| | | beanMap.putAll(conditionMap); |
| | | MPJLambdaWrapper<CodeClassifyTemplateButton> mpjLambdaWrapper = Map2MPLLambdaUtil.getMPJLambdaWrapper(codeClassifyTemplateButton) |
| | | .selectAll(CodeClassifyTemplateButton.class) |
| | | .selectAs(CodeButton::getName, CodeClassifyTemplateButton::getClassifyButtonOidName) |
| | | .selectAs(CodeButton::getId, CodeClassifyTemplateButton::getClassifyButtonId) |
| | | .leftJoin(CodeButton.class, CodeButton::getOid, CodeClassifyTemplateButton::getClassifyButtonOid); |
| | | return mpjLambdaWrapper; |
| | | } |
| | | |
| | | /** |
| | |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateButtonVO> refDataGridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | public IPage<CodeClassifyTemplateButtonVO> refDataGridCodeClassifyTemplateButton(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, String>(); |
| | | } |
| | | CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO = new CodeClassifyTemplateButtonVO(); |
| | | BeanMap beanMap = BeanMap.create(codeClassifyTemplateButtonVO); |
| | | beanMap.putAll(conditionMap); |
| | | Query query = new Query(); |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | |
| | | return gridCodeClassifyTemplateButton(codeClassifyTemplateButtonVO,query); |
| | | return gridCodeClassifyTemplateButton(conditionMap, pageHelper); |
| | | } |
| | | |
| | | /** |
| | |
| | | if(!CollectionUtils.isEmpty(oidCollections)){ |
| | | Collection<Collection<String>> oidCollectionsList = VciBaseUtil.switchCollectionForOracleIn(oidCollections); |
| | | for(Collection<String> oids: oidCollectionsList){ |
| | | List<CodeClassifyTemplateButton> tempDOList = codeClassifyTemplateButtonMapper.selectBatchIds(oids); |
| | | List<CodeClassifyTemplateButton> tempDOList = codeClassifyTemplateButtonMapper.selectBatchIds(oids); |
| | | if(!CollectionUtils.isEmpty(tempDOList)){ |
| | | codeClassifyTemplateButtonDOList.addAll(tempDOList); |
| | | } |
| | |
| | | } |
| | | return codeClassifyTemplateButtonDOList; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦è¢«å¼ç¨ |
| | |
| | | */ |
| | | private CodeClassifyTemplateButton selectByOid(String oid) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | CodeClassifyTemplateButton codeClassifyTemplateButtonDO = codeClassifyTemplateButtonMapper.selectById(oid.trim()); |
| | | HashMap<String, String> conditionMap = new HashMap<>(); |
| | | conditionMap.put("oid",oid); |
| | | MPJLambdaWrapper<CodeClassifyTemplateButton> mpjLambdaWrapper = getMPJLambdaWrapper(conditionMap); |
| | | CodeClassifyTemplateButton codeClassifyTemplateButtonDO = codeClassifyTemplateButtonMapper.selectOne(mpjLambdaWrapper); |
| | | if(codeClassifyTemplateButtonDO == null || StringUtils.isBlank(codeClassifyTemplateButtonDO.getOid())){ |
| | | throw new VciBaseException(DATA_OID_NOT_EXIST); |
| | | } |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.alibaba.cloud.commons.lang.StringUtils; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.github.yulichang.wrapper.MPJLambdaWrapper; |
| | | import com.vci.ubcs.code.service.ICodeTempphaseService; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dto.CodeTemplatePhaseDTO; |
| | |
| | | import com.vci.ubcs.code.service.ICodeClassifyTemplateAttrService; |
| | | import com.vci.ubcs.code.service.ICodePhaseattrService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseEntityVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO; |
| | | import com.vci.ubcs.code.wrapper.CodeTemplatePhaseWapper; |
| | | import com.vci.ubcs.common.utils.PageDO2PageVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.revision.service.RevisionModelUtil; |
| | | import com.vci.ubcs.starter.util.DefaultAttrAssimtUtil; |
| | | import com.vci.ubcs.starter.util.MybatisParameterUtil; |
| | | import com.vci.ubcs.starter.web.constant.QueryOptionConstant; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import com.vci.ubcs.starter.web.pagemodel.PageHelper; |
| | | import com.vci.ubcs.starter.web.util.BeanUtil; |
| | |
| | | * @since 2023-04-20 |
| | | */ |
| | | @Service |
| | | public class CodeTempphaseServiceImpl extends ServiceImpl<CodeTemplatePhaseMapper, CodeTempphaseEntity> implements ICodeTempphaseService { |
| | | public class CodeTempphaseServiceImpl extends ServiceImpl<CodeTemplatePhaseMapper, CodeTemplatePhase> implements ICodeTempphaseService { |
| | | |
| | | @Autowired(required = false) |
| | | private CodePhaseattrMapper codePhaseAttrMapper; |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ææç模æ¿é¶æ®µ |
| | | * @param codeTemplatePhaseVO æ¥è¯¢æ¡ä»¶ |
| | | * @param query å页åæåº |
| | | * @param conditionMap æ¥è¯¢æ¡ä»¶ |
| | | * @param pageHelper å页åæåº |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeTemplatePhaseEntityVO> gridCodeTemplatePhase(CodeTemplatePhaseEntityVO codeTemplatePhaseVO, Query query) throws VciBaseException { |
| | | query.setDescs("createTime"); |
| | | query.setSize(-1); |
| | | |
| | | IPage<CodeTempphaseEntity> doList = codeTemplatePhaseMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codeTemplatePhaseVO)); |
| | | DataGrid<CodeTemplatePhaseEntityVO> dataGrid=new DataGrid<CodeTemplatePhaseEntityVO>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | dataGrid.setData(codeTemplatePhaseDO2VOs(doList.getRecords())); |
| | | dataGrid.setTotal(VciBaseUtil.getInt(String.valueOf(codeTemplatePhaseMapper.selectCount(Condition.getQueryWrapper(codeTemplatePhaseVO))))); |
| | | public IPage<CodeTemplatePhaseVO> gridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | Query query = new Query(); |
| | | if (pageHelper == null) { |
| | | query.setSize(-1); |
| | | }else { |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | } |
| | | return dataGrid; |
| | | query.setDescs("createTime"); |
| | | CodeTemplatePhase codeTemplatePhase = new CodeTemplatePhase(); |
| | | BeanMap beanMap = BeanMap.create(codeTemplatePhase); |
| | | beanMap.putAll(conditionMap); |
| | | IPage<CodeTemplatePhase> doList = codeTemplatePhaseMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codeTemplatePhase)); |
| | | IPage<CodeTemplatePhaseVO> voList = new Page<>(); |
| | | if (!CollectionUtils.isEmpty(doList.getRecords())) { |
| | | voList.setRecords(CodeTemplatePhaseWapper.build().listVO(doList.getRecords())); |
| | | //åé¡µåæ°è½¬å°pageVO对象 |
| | | voList = PageDO2PageVO.pageDO2PageVO(doList,voList); |
| | | } |
| | | return voList; |
| | | } |
| | | |
| | | /** |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºæè
ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<CodeTemplatePhaseEntityVO> codeTemplatePhaseDO2VOs(Collection<CodeTempphaseEntity> codeTemplatePhaseEntityDOS) throws VciBaseException{ |
| | | List<CodeTemplatePhaseEntityVO> voList = new ArrayList<CodeTemplatePhaseEntityVO>(); |
| | | public List<CodeTemplatePhaseVO> codeTemplatePhaseDO2VOs(Collection<CodeTemplatePhase> codeTemplatePhaseEntityDOS) throws VciBaseException{ |
| | | List<CodeTemplatePhaseVO> voList = new ArrayList<CodeTemplatePhaseVO>(); |
| | | if(!CollectionUtils.isEmpty(codeTemplatePhaseEntityDOS)){ |
| | | for(CodeTempphaseEntity s: codeTemplatePhaseEntityDOS){ |
| | | CodeTemplatePhaseEntityVO vo = codeTemplatePhaseDO2VO(s); |
| | | for(CodeTemplatePhase s: codeTemplatePhaseEntityDOS){ |
| | | CodeTemplatePhaseVO vo = codeTemplatePhaseDO2VO(s); |
| | | if(vo != null){ |
| | | voList.add(vo); |
| | | } |
| | |
| | | * @throws VciBaseException æ·è´å±æ§åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeTemplatePhaseEntityVO codeTemplatePhaseDO2VO(CodeTempphaseEntity codeTemplatePhaseEntityDO) throws VciBaseException{ |
| | | CodeTemplatePhaseEntityVO vo = new CodeTemplatePhaseEntityVO(); |
| | | public CodeTemplatePhaseVO codeTemplatePhaseDO2VO(CodeTemplatePhase codeTemplatePhaseEntityDO) throws VciBaseException{ |
| | | CodeTemplatePhaseVO vo = new CodeTemplatePhaseVO(); |
| | | if(codeTemplatePhaseEntityDO != null){ |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeTemplatePhaseEntityDO,vo); |
| | | //妿ælcstatusçç±»çè¯ |
| | |
| | | int updateCount = 0; |
| | | Map<String,Object> condition = new HashMap<>(1); |
| | | condition.put("codeclassifytemplateoid",templateOid); |
| | | List<CodeTempphaseEntity> codeTempphaseEntities = baseMapper.selectByMap(condition); |
| | | List<CodeTemplatePhase> codeTempphaseEntities = baseMapper.selectByMap(condition); |
| | | if(!CollectionUtils.isEmpty(codeTempphaseEntities)) { |
| | | updateCount += baseMapper.deleteBatchIds(codeTempphaseEntities.stream().map(CodeTempphaseEntity::getOid).collect(Collectors.toList())); |
| | | // batchCBO.copyFromOther(codeTemplatePhaseMapper.batchDeleteByOids(templatePhaseDOS.stream().map(CodeTemplatePhaseDO::getOid).collect(Collectors.toList()))); |
| | | // conditionMap.put("codePhaseOid", QueryOptionConstant.IN + "(select oid from " + getPhaseTable() + " where codeClassifyTemplateOid='" + classifyTemplateOid + "')"); |
| | | List<CodePhaseattrEntity> phaseAttrDOS = codePhaseAttrMapper.selectByPhasea(templateOid); |
| | | updateCount += baseMapper.deleteBatchIds(codeTempphaseEntities.stream().map(CodeTemplatePhase::getOid).collect(Collectors.toList())); |
| | | //batchCBO.copyFromOther(codeTemplatePhaseMapper.batchDeleteByOids(templatePhaseDOS.stream().map(CodeTemplatePhaseDO::getOid).collect(Collectors.toList()))); |
| | | //conditionMap.put("codePhaseOid", QueryOptionConstant.IN + "(select oid from " + getPhaseTable() + " where codeClassifyTemplateOid='" + classifyTemplateOid + "')"); |
| | | List<CodePhaseAttr> phaseAttrDOS = codePhaseAttrMapper.selectByPhasea(templateOid); |
| | | if(!CollectionUtils.isEmpty(phaseAttrDOS)){ |
| | | updateCount += codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseattrEntity::getOid).collect(Collectors.toList())); |
| | | updateCount += codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseAttr::getOid).collect(Collectors.toList())); |
| | | } |
| | | } |
| | | return updateCount; |
| | |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public List<CodeClstempattrEntity> codeTemplateAttrModifyTrigger(List<CodeClstempattrEntity> attrDOList){ |
| | | public List<CodeClassifyTemplateAttr> codeTemplateAttrModifyTrigger(List<CodeClassifyTemplateAttr> attrDOList){ |
| | | //屿§ä¿®æ¹çæ¶åï¼éè¦åæ¥ä¿®æ¹å¯¹åºå±æ§çåç§° |
| | | // BatchCBO batchCBO = new BatchCBO(); |
| | | List<CodePhaseattrEntity> phaseAttrDOS =codePhaseAttrMapper.listLinkAttrDOByTemplateAttrDOS(VciBaseUtil.toInSql(attrDOList.stream() |
| | | .map(CodeClstempattrEntity::getId).collect(Collectors.toList()).toArray(new String[0])),attrDOList.get(0).getClassifytemplateoid()); |
| | | //BatchCBO batchCBO = new BatchCBO(); |
| | | List<CodePhaseAttr> phaseAttrDOS =codePhaseAttrMapper.listLinkAttrDOByTemplateAttrDOS(VciBaseUtil.toInSql(attrDOList.stream() |
| | | .map(CodeClassifyTemplateAttr::getId).collect(Collectors.toList()).toArray(new String[0])),attrDOList.get(0).getClassifyTemplateOid()); |
| | | boolean resSavePhaseAttr = false; |
| | | if(!CollectionUtils.isEmpty(phaseAttrDOS)){ |
| | | //说ææå±æ§,æä»¬å»æ¿æ¢ä¸ä¸ |
| | | Map<String, CodeClstempattrEntity> attrDOMap = attrDOList.stream().collect(Collectors.toMap(s -> s.getId(), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttr> attrDOMap = attrDOList.stream().collect(Collectors.toMap(s -> s.getId(), t -> t)); |
| | | phaseAttrDOS.stream().forEach(phaseAttrDO->{ |
| | | if(attrDOMap.containsKey(phaseAttrDO.getId())){ |
| | | CodeClstempattrEntity attrDO = attrDOMap.get(phaseAttrDO.getId()); |
| | | CodeClassifyTemplateAttr attrDO = attrDOMap.get(phaseAttrDO.getId()); |
| | | phaseAttrDO.setId(attrDO.getId()); |
| | | phaseAttrDO.setName(attrDO.getName()); |
| | | phaseAttrDO.setAttributegroup(attrDO.getAttributegroup()); |
| | | phaseAttrDO.setAttributeGroup(attrDO.getAttributeGroup()); |
| | | } |
| | | }); |
| | | // codePhaseattrMapper. |
| | | codePhaseattrService.saveBatch(phaseAttrDOS); |
| | | // BatchCBO updateCBO = |
| | | // codePhaseAttrMapper.batchUpdate(phaseAttrDOS); |
| | | // batchCBO.copyFromOther(updateCBO); |
| | | resSavePhaseAttr = codePhaseattrService.saveBatch(phaseAttrDOS); |
| | | //BatchCBO updateCBO = |
| | | //codePhaseAttrMapper.batchUpdate(phaseAttrDOS); |
| | | //batchCBO.copyFromOther(updateCBO); |
| | | } |
| | | return attrDOList; |
| | | return resSavePhaseAttr ? attrDOList:null; |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public CodeTemplatePhaseEntityVO addSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException{ |
| | | public CodeTemplatePhaseVO addSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeTemplatePhaseDTO,"éè¦æ·»å çæ°æ®å¯¹è±¡",codeTemplatePhaseDTO.getAttributes(),"å
å«ç屿§"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeTempphaseEntity codeTemplatePhaseEntityDO = new CodeTempphaseEntity(); |
| | | codeTemplatePhaseEntityDO.setOid(VciBaseUtil.getPk()); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeTemplatePhaseDTO, codeTemplatePhaseEntityDO); |
| | | CodeTemplatePhase codeTemplatePhaseDO = new CodeTemplatePhase(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeTemplatePhaseDTO, codeTemplatePhaseDO); |
| | | DefaultAttrAssimtUtil.addDefaultAttrAssimt(codeTemplatePhaseDO,MdmBtmTypeConstant.CODE_TEMPLATE_PHASE); |
| | | //WebUtil.setPersistence(false); |
| | | boolean resBoolean = codeTemplatePhaseMapper.insert(codeTemplatePhaseEntityDO) > 0; |
| | | List<CodePhaseattrEntity> attrDOList = new ArrayList<>(); |
| | | boolean resInsertTempPhase = codeTemplatePhaseMapper.insert(codeTemplatePhaseDO) > 0; |
| | | List<CodePhaseAttr> attrDOList = new ArrayList<>(); |
| | | CodeTemplatePhase finalCodeTemplatePhaseDO = codeTemplatePhaseDO; |
| | | codeTemplatePhaseDTO.getAttributes().stream().forEach(attrDTO->{ |
| | | CodePhaseattrEntity attrDO = new CodePhaseattrEntity(); |
| | | CodePhaseAttr attrDO = new CodePhaseAttr(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(attrDTO,attrDO); |
| | | attrDO.setOid(VciBaseUtil.getPk()); |
| | | attrDO.setCodePhaseOid(finalCodeTemplatePhaseDO.getOid()); |
| | | attrDOList.add(attrDO); |
| | | }); |
| | | boolean resPhaseAttr = codePhaseattrService.saveOrUpdateBatch(attrDOList); |
| | | //WebUtil.setPersistence(true); |
| | | return resInsertTempPhase && resPhaseAttr ? codeTemplatePhaseDO2VO(codeTemplatePhaseDO):null; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é¶æ®µ |
| | | * @param codeTemplatePhaseDTO 模æ¿é¶æ®µæ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public CodeTemplatePhaseVO editSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeTemplatePhaseDTO,"æ°æ®å¯¹è±¡",codeTemplatePhaseDTO.getOid(),"模æ¿é¶æ®µä¸»é®",codeTemplatePhaseDTO.getAttributes(),"å
å«ç屿§"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeTemplatePhase codeTemplatePhaseEntityDO = selectByOid(codeTemplatePhaseDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeTemplatePhaseDTO, codeTemplatePhaseEntityDO); |
| | | DefaultAttrAssimtUtil.updateDefaultAttrAssimt(codeTemplatePhaseEntityDO); |
| | | //WebUtil.setPersistence(false); |
| | | codeTemplatePhaseMapper.updateById(codeTemplatePhaseEntityDO); |
| | | //æä»¥åçå é¤ |
| | | List<CodePhaseAttr> phaseAttrDOS = listPhaseAttrDOByPhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | | if(!CollectionUtils.isEmpty(phaseAttrDOS)){ |
| | | codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseAttr::getOid).collect(Collectors.toList())); |
| | | } |
| | | List<CodePhaseAttr> attrDOList = new ArrayList<>(); |
| | | |
| | | codeTemplatePhaseDTO.getAttributes().stream().forEach(attrDTO->{ |
| | | CodePhaseAttr attrDO = new CodePhaseAttr(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(attrDTO,attrDO); |
| | | attrDO.setOid(VciBaseUtil.getPk()); |
| | | attrDO.setCodePhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¨¡æ¿é¶æ®µ |
| | | * @param codeTemplatePhaseDTO 模æ¿é¶æ®µæ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | * 模æ¿å±æ§å é¤çæ¶å触å |
| | | * @param attrDOList 屿§çæ°æ®å¯¹è±¡ |
| | | * @return åå½±åçæ°æ® |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public CodeTemplatePhaseEntityVO editSave(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeTemplatePhaseDTO,"æ°æ®å¯¹è±¡",codeTemplatePhaseDTO.getOid(),"模æ¿é¶æ®µä¸»é®",codeTemplatePhaseDTO.getAttributes(),"å
å«ç屿§"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeTempphaseEntity codeTemplatePhaseEntityDO = selectByOid(codeTemplatePhaseDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeTemplatePhaseDTO, codeTemplatePhaseEntityDO); |
| | | //WebUtil.setPersistence(false); |
| | | codeTemplatePhaseMapper.updateById(codeTemplatePhaseEntityDO); |
| | | //æä»¥åçå é¤ |
| | | List<CodePhaseattrEntity> phaseAttrDOS = listPhaseAttrDOByPhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | | public R codeTemplateAttrDeleteTrigger(List<CodeClassifyTemplateAttr> attrDOList){ |
| | | List<CodePhaseAttr> phaseAttrDOS =listLinkAttrDOByTemplateAttrDOS(attrDOList); |
| | | boolean resDeletePhaseAttr = false; |
| | | if(!CollectionUtils.isEmpty(phaseAttrDOS)){ |
| | | codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseattrEntity::getOid).collect(Collectors.toList())); |
| | | //屿§è¢«å é¤çæ¶åï¼é¶æ®µéé¢ä¹ä¸æ ·è¦è¢«å é¤ |
| | | resDeletePhaseAttr = codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseAttr::getOid).collect(Collectors.toList())) > 0; |
| | | } |
| | | List<CodePhaseattrEntity> attrDOList = new ArrayList<>(); |
| | | codeTemplatePhaseDTO.getAttributes().stream().forEach(attrDTO->{ |
| | | CodePhaseattrEntity attrDO = new CodePhaseattrEntity(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(attrDTO,attrDO); |
| | | attrDO.setOid(VciBaseUtil.getPk()); |
| | | attrDO.setCodePhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | | attrDOList.add(attrDO); |
| | | }); |
| | | codePhaseattrService.saveBatch(attrDOList); |
| | | //WebUtil.setPersistence(true); |
| | | return codeTemplatePhaseDO2VO(codeTemplatePhaseEntityDO); |
| | | return R.status(resDeletePhaseAttr); |
| | | } |
| | | |
| | | /** |
| | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R deleteCodeTemplatePhase(CodeTemplatePhaseDTO codeTemplatePhaseDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeTemplatePhaseDTO,"模æ¿é¶æ®µæ°æ®å¯¹è±¡",codeTemplatePhaseDTO.getOid(),"模æ¿é¶æ®µç主é®"); |
| | | CodeTempphaseEntity codeTemplatePhaseEntityDO = selectByOid(codeTemplatePhaseDTO.getOid()); |
| | | CodeTemplatePhase codeTemplatePhaseEntityDO = selectByOid(codeTemplatePhaseDTO.getOid()); |
| | | R baseResult = checkIsCanDeleteForDO(codeTemplatePhaseDTO, codeTemplatePhaseEntityDO); |
| | | if(!baseResult.isSuccess()) { |
| | | if(baseResult.isSuccess()) { |
| | | }else{ |
| | | return baseResult; |
| | | } |
| | |
| | | //WebUtil.setPersistence(false); |
| | | boolean batchCBO = codeTemplatePhaseMapper.deleteById(codeTemplatePhaseEntityDO.getOid())>0; |
| | | //éè¦å é¤å±æ§ |
| | | List<CodePhaseattrEntity> phaseAttrDOS = listPhaseAttrDOByPhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | | List<CodePhaseAttr> phaseAttrDOS = listPhaseAttrDOByPhaseOid(codeTemplatePhaseEntityDO.getOid()); |
| | | boolean deleteCBO = false; |
| | | if(!CollectionUtils.isEmpty(phaseAttrDOS)) { |
| | | deleteCBO = codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseattrEntity::getOid).collect(Collectors.toList()))>0; |
| | | deleteCBO = codePhaseAttrMapper.deleteBatchIds(phaseAttrDOS.stream().map(CodePhaseAttr::getOid).collect(Collectors.toList()))>0; |
| | | } |
| | | //WebUtil.setPersistence(true); |
| | | return (batchCBO || deleteCBO)?R.success(DELETE_SUCCESS):R.fail(DELETE_FAIL); |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeTemplatePhaseEntityVO getObjectByOid(String oid) throws VciBaseException{ |
| | | public CodeTemplatePhaseVO getObjectByOid(String oid) throws VciBaseException{ |
| | | return codeTemplatePhaseDO2VO(selectByOid(oid)); |
| | | } |
| | | |
| | |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | @Override |
| | | public Collection<CodeTemplatePhaseEntityVO> listCodeTemplatePhaseByOids(Collection<String> oidCollections) throws VciBaseException{ |
| | | public Collection<CodeTemplatePhaseVO> listCodeTemplatePhaseByOids(Collection<String> oidCollections) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oidCollections,"æ°æ®å¯¹è±¡ä¸»é®éå"); |
| | | List<CodeTempphaseEntity> codeTemplatePhaseEntityDOList = listCodeTemplatePhaseDOByOidCollections(oidCollections); |
| | | return codeTemplatePhaseDO2VOs(codeTemplatePhaseEntityDOList); |
| | | List<CodeTemplatePhase> codeTemplatePhaseEntityDOList = listCodeTemplatePhaseDOByOidCollections(oidCollections); |
| | | return CodeTemplatePhaseWapper.build().listVO(codeTemplatePhaseEntityDOList); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeTemplatePhaseEntityVO> refDataGridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | public IPage<CodeTemplatePhaseVO> refDataGridCodeTemplatePhase(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException{ |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, String>(); |
| | | conditionMap = new HashMap<>(); |
| | | } |
| | | CodeTemplatePhaseEntityVO codeTemplatePhaseVO = new CodeTemplatePhaseEntityVO(); |
| | | BeanMap beanMap = BeanMap.create(codeTemplatePhaseVO); |
| | | beanMap.putAll(conditionMap); |
| | | Query query = new Query(); |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | |
| | | return gridCodeTemplatePhase(codeTemplatePhaseVO,query); |
| | | return gridCodeTemplatePhase(conditionMap,pageHelper); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateAttrVO> gridUnUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | public IPage<CodeClassifyTemplateAttrVO> gridUnUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, String>(); |
| | | } |
| | | if(!conditionMap.containsKey("classifyTemplateOid")){ |
| | | return new DataGrid<>("æ²¡ææ¨¡æ¿ç主é®"); |
| | | throw new VciBaseException("æ²¡ææ¨¡æ¿ç主é®"); |
| | | } |
| | | //éè¦å¤æé¶æ®µç䏻鮿¯å¦åå¨ |
| | | String codePhaseOid = conditionMap.getOrDefault("codePhaseOid", null); |
| | | LambdaQueryWrapper<CodeClassifyTemplateAttr> queryWrapper = null; |
| | | MPJLambdaWrapper<CodeClassifyTemplateAttr> queryWrapper = new MPJLambdaWrapper<>(); |
| | | queryWrapper.selectAll(CodeClassifyTemplateAttr.class) |
| | | .selectAs(CodeClstemplateEntity::getName,CodeClassifyTemplateAttr::getClassifyTemplateOidName) |
| | | .leftJoin(CodeClstemplateEntity.class, CodeClstemplateEntity::getOid, CodeClassifyTemplateAttr::getClassifyTemplateOid) |
| | | .eq(CodeClassifyTemplateAttr::getClassifyTemplateOid,conditionMap.getOrDefault("classifyTemplateOid",null)); |
| | | if(StringUtils.isNotBlank(codePhaseOid)){ |
| | | //æé¤é¶æ®µä¸ä½¿ç¨ç |
| | | conditionMap.remove("codePhaseOid"); |
| | | List<String> ids = commonsMapper.selectById("(select id from " + getPhaseAttrTable() + " where codePhaseOid ='" + codePhaseOid + "')"); |
| | | if(ids.size()<=1000){ |
| | | queryWrapper = Wrappers.<CodeClassifyTemplateAttr>query().lambda().notIn(CodeClassifyTemplateAttr::getId, ids); |
| | | if(ids.size()<1000){ |
| | | queryWrapper = queryWrapper.notIn(CodeClassifyTemplateAttr::getId, ids); |
| | | }else { |
| | | queryWrapper = MybatisParameterUtil.cutNotInParameter(queryWrapper,CodeClassifyTemplateAttr::getId,ids); |
| | | } |
| | |
| | | * @return 屿§çä¿¡æ¯ |
| | | */ |
| | | @Override |
| | | public DataGrid<CodeClassifyTemplateAttrVO> gridUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | public IPage<CodeClassifyTemplateAttrVO> gridUsedAttribute(Map<String, String> conditionMap, PageHelper pageHelper) throws VciBaseException { |
| | | if(conditionMap == null){ |
| | | conditionMap = new HashMap<String, String>(); |
| | | } |
| | | String codePhaseOid = conditionMap.getOrDefault("codePhaseOid", null); |
| | | if(StringUtils.isBlank(codePhaseOid)){ |
| | | return new DataGrid<>(); |
| | | return new Page<>(); |
| | | } |
| | | conditionMap.remove("codePhaseOid"); |
| | | CodeTempphaseEntity phaseDO = selectByOid(codePhaseOid); |
| | | CodeTemplatePhase phaseDO = selectByOid(codePhaseOid); |
| | | List<String> ids = commonsMapper.selectById("(select id from " + getPhaseAttrTable() + " where codePhaseOid ='" +codePhaseOid + "')"); |
| | | LambdaQueryWrapper<CodeClassifyTemplateAttr> queryWrapper = null; |
| | | // Wrappers.<CodeClassifyTemplateAttrVO>query() |
| | | // .in("id", ids) |
| | | if(ids.size()<=1000){ |
| | | queryWrapper = Wrappers.<CodeClassifyTemplateAttr>query().lambda().in(CodeClassifyTemplateAttr::getId, ids); |
| | | //è¿å¿æ¯ä¸ªè¿è¡¨æ¥è¯¢è¯å¥ |
| | | MPJLambdaWrapper<CodeClassifyTemplateAttr> mpjLambdaWrapper = new MPJLambdaWrapper<>(); |
| | | mpjLambdaWrapper.selectAll(CodeClassifyTemplateAttr.class) |
| | | .selectAs(CodeClstemplateEntity::getName,CodeClassifyTemplateAttr::getClassifyTemplateOidName) |
| | | .leftJoin(CodeClstemplateEntity.class,CodeClstemplateEntity::getOid, CodeClassifyTemplateAttr::getClassifyTemplateOid) |
| | | .eq(CodeClassifyTemplateAttr::getClassifyTemplateOid,phaseDO.getCodeClassifyTemplateOid()); |
| | | if(ids.size()<1000){ |
| | | mpjLambdaWrapper = mpjLambdaWrapper.in(CodeClassifyTemplateAttr::getId, ids); |
| | | }else { |
| | | queryWrapper = MybatisParameterUtil.cutInParameter(queryWrapper,CodeClassifyTemplateAttr::getId,ids); |
| | | mpjLambdaWrapper = MybatisParameterUtil.cutInParameter(mpjLambdaWrapper,CodeClassifyTemplateAttr::getId,ids); |
| | | } |
| | | queryWrapper.eq(CodeClassifyTemplateAttr::getClassifyTemplateOid,phaseDO.getCodeClassifyTemplateOid()); |
| | | return tempAttrService.gridCodeClassifyTemplateAttr(queryWrapper,pageHelper); |
| | | return tempAttrService.gridCodeClassifyTemplateAttr(mpjLambdaWrapper,pageHelper); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return 表å |
| | | */ |
| | | private String getPhaseAttrTable(){ |
| | | return VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_PHASE_ATTR_TABLENAME); |
| | | /**以åVciQueryWrapperForDO.USER_TABLE_COMPATIBILITYå¨å¯å¨æ¶åå§åå¼ä¸ºtrueæä»¥æ¼æ¥åºæ¥çè¡¨åæ¯æ£ç¡®çï¼ |
| | | ç°å¨å 为æ¬è¿æ¥æ²¡æè¢«èµå¼ä¸ºtrueæä»¥è¡¨åæ¿å°çæ¯é误çè¿å¿ææ¶åæ» |
| | | **/ |
| | | //return VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_PHASE_ATTR_TABLENAME); |
| | | return "pl_"+MdmBtmTypeConstant.CODE_PHASE_ATTR_TABLENAME; |
| | | } |
| | | |
| | | /** |
| | | * é¶æ®µç表å |
| | | * @return 表å |
| | | */ |
| | | private String getPhaseTable(){ |
| | | //return VciBaseUtil.getTableName(MdmBtmTypeConstant.CODE_TEMPLATE_PHASE); |
| | | return "pl_"+MdmBtmTypeConstant.CODE_TEMPLATE_PHASE; |
| | | } |
| | | |
| | | /** |
| | |
| | | * @param oidCollections 主é®çéå |
| | | * @return æ°æ®å¯¹è±¡å表 |
| | | */ |
| | | private List<CodeTempphaseEntity> listCodeTemplatePhaseDOByOidCollections(Collection<String> oidCollections){ |
| | | List<CodeTempphaseEntity> codeTemplatePhaseEntityDOList = new ArrayList<CodeTempphaseEntity>(); |
| | | private List<CodeTemplatePhase> listCodeTemplatePhaseDOByOidCollections(Collection<String> oidCollections){ |
| | | List<CodeTemplatePhase> codeTemplatePhaseEntityDOList = new ArrayList<>(); |
| | | if(!CollectionUtils.isEmpty(oidCollections)){ |
| | | Collection<Collection<String>> oidCollectionsList = VciBaseUtil.switchCollectionForOracleIn(oidCollections); |
| | | for(Collection<String> oids: oidCollectionsList){ |
| | | List<CodeTempphaseEntity> tempDOList = codeTemplatePhaseMapper.selectBatchIds(oids); |
| | | List<CodeTemplatePhase> tempDOList = codeTemplatePhaseMapper.selectBatchIds(oids); |
| | | if(!CollectionUtils.isEmpty(tempDOList)){ |
| | | codeTemplatePhaseEntityDOList.addAll(tempDOList); |
| | | } |
| | |
| | | * @param codeTemplatePhaseEntityDO æ°æ®åºä¸çæ°æ®å¯¹è±¡ |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeTemplatePhaseDTO codeTemplatePhaseDTO, CodeTempphaseEntity codeTemplatePhaseEntityDO) { |
| | | CodeTempphaseEntity tsDO = new CodeTempphaseEntity(); |
| | | private R checkIsCanDeleteForDO(CodeTemplatePhaseDTO codeTemplatePhaseDTO, CodeTemplatePhase codeTemplatePhaseEntityDO) { |
| | | CodeTemplatePhase tsDO = new CodeTemplatePhase(); |
| | | BeanUtil.convert(codeTemplatePhaseDTO,tsDO); |
| | | if (checkTs(tsDO)) { |
| | | if (!checkTs(tsDO,codeTemplatePhaseEntityDO)) { |
| | | return R.fail(TS_NOT_PROCESS); |
| | | } |
| | | if(!checkIsLinked(codeTemplatePhaseEntityDO.getOid())) { |
| | |
| | | |
| | | /** |
| | | * æ£æ¥ts |
| | | * @param tempDO |
| | | * @param codeTempphaseDO |
| | | * @return |
| | | */ |
| | | private boolean checkTs(CodeTempphaseEntity tempDO){ |
| | | LambdaQueryWrapper<CodeTempphaseEntity> wrapper = Wrappers.<CodeTempphaseEntity>query() |
| | | .lambda().eq(CodeTempphaseEntity::getOid,tempDO.getOid()).select(CodeTempphaseEntity::getTs); |
| | | long dbTs = codePhaseAttrMapper.selectById(wrapper).getTs().getTime(); |
| | | long currentTs = tempDO.getTs().getTime(); |
| | | if(dbTs == currentTs){ |
| | | private boolean checkTs(CodeTemplatePhase tempDO, CodeTemplatePhase codeTempphaseDO){ |
| | | Date dbTs = codeTempphaseDO.getTs(); |
| | | Date currentTs = tempDO.getTs(); |
| | | if(currentTs == null ? dbTs == null:currentTs.compareTo(dbTs)==0){ |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | * @param codePhaseOid é¶æ®µçä¸»é® |
| | | * @return å
å«å±æ§çæ°æ®å¯¹è±¡ |
| | | */ |
| | | private List<CodePhaseattrEntity> listPhaseAttrDOByPhaseOid(String codePhaseOid){ |
| | | private List<CodePhaseAttr> listPhaseAttrDOByPhaseOid(String codePhaseOid){ |
| | | if(StringUtils.isBlank(codePhaseOid)||StringUtils.isEmpty(codePhaseOid)){ |
| | | return null; |
| | | } |
| | | List<CodePhaseattrEntity> phaseAttrDOS = codePhaseAttrMapper.selectByPhasea(codePhaseOid); |
| | | List<CodePhaseAttr> phaseAttrDOS = codePhaseAttrMapper.selectByPhasea(codePhaseOid); |
| | | return phaseAttrDOS; |
| | | } |
| | | |
| | | /** |
| | | * ä½¿ç¨æ¨¡æ¿ç屿§è·åé¶æ®µä¸å
å«ç屿§å
容 |
| | | * @param attrDOList 屿§çæ°æ®å¯¹è±¡ |
| | | * @return é¶æ®µéç屿§æ°æ®å¯¹è±¡ |
| | | */ |
| | | private List<CodePhaseAttr> listLinkAttrDOByTemplateAttrDOS(List<CodeClassifyTemplateAttr> attrDOList){ |
| | | if(!CollectionUtils.isEmpty(attrDOList)) { |
| | | //æ¥è¯¢è¿ä¸ªæ¨¡æ¿éå
å«çææé¶æ®µçè¿äºå±æ§ |
| | | //å 为oracleé表çåæ®µä¸è½è¶
è¿1000ä¸ªï¼æä»¥æä»¬è¿éé»è®¤å±æ§ä¸ªæ°æ¯å°äº1000çï¼ |
| | | List<String> oids = commonsMapper.selectById("select oid from " + getPhaseTable() + " where codeClassifyTemplateOid='" + attrDOList.get(0).getClassifyTemplateOid() + "'"); |
| | | LambdaQueryWrapper<CodePhaseAttr> queryWrapper = new LambdaQueryWrapper<>(); |
| | | if(oids.size()<1000){ |
| | | queryWrapper.in(CodePhaseAttr::getCodePhaseOid,oids); |
| | | }else { |
| | | MybatisParameterUtil.cutInParameter(queryWrapper,CodePhaseAttr::getCodePhaseOid,oids); |
| | | } |
| | | if(attrDOList.size()<1000){ |
| | | queryWrapper.in(CodePhaseAttr::getId,VciBaseUtil.toInSql(attrDOList.stream().map(CodeClassifyTemplateAttr::getId).collect(Collectors.toList()).toArray(new String[0]))); |
| | | }else { |
| | | MybatisParameterUtil.cutInParameter(queryWrapper,CodePhaseAttr::getId,attrDOList.stream().map(CodeClassifyTemplateAttr::getId).collect(Collectors.toList())); |
| | | } |
| | | //conditionMap.put("codePhaseOid", QueryOptionConstant.IN + "(select oid from " + getPhaseTable() + " where codeClassifyTemplateOid='" + attrDOList.get(0).getClassifyTemplateOid() + "')"); |
| | | //conditionMap.put("id", QueryOptionConstant.IN + "(" + VciBaseUtil.toInSql(attrDOList.stream().map(CodeClassifyTemplateAttr::getId).collect(Collectors.toList()).toArray(new String[0])) + ")"); |
| | | return codePhaseAttrMapper.selectList(queryWrapper); |
| | | }else{ |
| | | return new ArrayList<>(); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return æ°æ®å¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¹¶ä¸æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private CodeTempphaseEntity selectByOid(String oid) throws VciBaseException{ |
| | | private CodeTemplatePhase selectByOid(String oid) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | CodeTempphaseEntity codeTemplatePhaseEntityDO = codeTemplatePhaseMapper.selectById(oid.trim()); |
| | | CodeTemplatePhase codeTemplatePhaseEntityDO = codeTemplatePhaseMapper.selectById(oid.trim()); |
| | | if(codeTemplatePhaseEntityDO == null || StringUtils.isBlank(codeTemplatePhaseEntityDO.getOid())){ |
| | | throw new VciBaseException(DATA_OID_NOT_EXIST); |
| | | } |
| | |
| | | import com.vci.ubcs.code.mapper.CodeOsbtmtypeMapper; |
| | | import com.vci.ubcs.code.mapper.CodeRuleMapper; |
| | | import com.vci.ubcs.code.service.*; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import com.vci.ubcs.code.vo.CodeClstemplateVO; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeBasicSecVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeRuleVO; |
| | | import com.vci.ubcs.omd.entity.Dict; |
| | |
| | | */ |
| | | @Service |
| | | public class MdmEngineServiceImpl extends ServiceImpl<CodeAllCodeMapper, CodeAllCode> implements MdmEngineService { |
| | | |
| | | |
| | | /** |
| | | * 模æ¿çæå¡ |
| | |
| | | */ |
| | | private Logger logger = LoggerFactory.getLogger(getClass()); |
| | | |
| | | // @Autowired |
| | | // private CodeOsbtmtypeMapper codeOsbtmtypeMapper; |
| | | |
| | | |
| | | // @Autowired |
| | | // private CodeOsbtmtypeMapper codeOsbtmtypeMapper; |
| | | |
| | | /** |
| | | * 使ç¨åç±»ç主é®è·åå¯ä»¥ä½¿ç¨ç模æ¿å¯¹è±¡ |
| | |
| | | * @return 䏿é项 |
| | | */ |
| | | @Override |
| | | public List<KeyValue> listComboboxItems(CodeClstempattrVO attrVO) { |
| | | public List<KeyValue> listComboboxItems(CodeClassifyTemplateAttrVO attrVO) { |
| | | List<KeyValue> comboboxKVs = null; |
| | | if (StringUtils.isNotBlank(attrVO.getEnumstring())) { |
| | | comboboxKVs = JSONObject.parseArray(attrVO.getEnumstring(), KeyValue.class); |
| | | if (StringUtils.isNotBlank(attrVO.getEnumString())) { |
| | | comboboxKVs = JSONObject.parseArray(attrVO.getEnumString(), KeyValue.class); |
| | | } else { |
| | | // comboboxKVs = enumService.getEnum(attrVO.getEnumid()); |
| | | // Dict dict = new Dict(); |
| | | // dict.setParentId(Long.valueOf(attrVO.getEnumid())); |
| | | R<List<DictBiz>> list = iDictBizClient.getList(attrVO.getEnumid()); |
| | | R<List<DictBiz>> list = iDictBizClient.getList(attrVO.getEnumId()); |
| | | if(list.isSuccess()){ |
| | | for (DictBiz datum : list.getData()) { |
| | | KeyValue keyValue = new KeyValue(); |
| | |
| | | * @param orderDTO ç¼ç ç³è¯·çä¿¡æ¯ |
| | | */ |
| | | private void switchClassifyLevelOnOrder(CodeClstemplateVO templateVO, CodeClassifyFullInfoBO classifyFullInfoBO, CodeOrderDTO orderDTO) { |
| | | Map<String,CodeClstempattrVO> classifyAttrVOMap = templateVO.getAttributes().stream().filter( |
| | | s -> StringUtils.isNotBlank(s.getClassifyinvokeattr()) && StringUtils.isNotBlank(s.getClassifyinvokelevel()) |
| | | Map<String,CodeClassifyTemplateAttrVO> classifyAttrVOMap = templateVO.getAttributes().stream().filter( |
| | | s -> StringUtils.isNotBlank(s.getClassifyInvokeAttr()) && StringUtils.isNotBlank(s.getClassifyInvokeLevel()) |
| | | ).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (classifyFullInfoBO.getTopClassifyVO() == null) { |
| | | //éè¦éæ°æ¥è¯¢ä¸ä¸ï¼å 为è¿ä¸ªæ¯æå®çåç±»è¿æ¥ç |
| | |
| | | //å类注å
¥çç¼å·æè
åç§°ï¼ |
| | | //å±çº§å
嫿å®å±åæå°å± |
| | | CodeClassifyVO classifyVO = null; |
| | | if (!CodeLevelTypeEnum.MIN.getValue().equalsIgnoreCase(attrVO.getClassifyinvokelevel()) && !"min".equalsIgnoreCase(attrVO.getClassifyinvokelevel())) { |
| | | if (!CodeLevelTypeEnum.MIN.getValue().equalsIgnoreCase(attrVO.getClassifyInvokeLevel()) && !"min".equalsIgnoreCase(attrVO.getClassifyInvokeLevel())) { |
| | | //æå®äºå±çº§ç |
| | | //注æï¼å 为æ¥è¯¢ä¸çº§åç±»åºæ¥çå±çº§æ¯ååºçï¼å³é¡¶å±èç¹æ¯æå¤§çå¼ |
| | | List<CodeClassifyVO> classifyVOS = classifyFullInfoBO.getParentClassifyVOs().stream().sorted(((o1, o2) -> o2.getDataLevel().compareTo(o1.getDataLevel()))).collect(Collectors.toList()); |
| | | int level = VciBaseUtil.getInt(attrVO.getClassifyinvokelevel()); |
| | | int level = VciBaseUtil.getInt(attrVO.getClassifyInvokeLevel()); |
| | | if (classifyVOS.size() >= level && level > 0) { |
| | | classifyVO = classifyVOS.get(level - 1); |
| | | } |
| | |
| | | } |
| | | if (classifyVO == null) { |
| | | //说æå±çº§æè¯¯ |
| | | orderDTO.getData().put(attrId, "åç±»æ 䏿²¡æå±çº§[" + attrVO.getClassifyinvokelevel() + "]"); |
| | | orderDTO.getData().put(attrId, "åç±»æ 䏿²¡æå±çº§[" + attrVO.getClassifyInvokeLevel() + "]"); |
| | | // classifyVO = classifyFullInfoBO.getCurrentClassifyVO(); |
| | | } else { |
| | | Map<String, String> classifyDataMap = VciBaseUtil.objectToMapString(classifyVO); |
| | | String value = classifyDataMap.getOrDefault(attrVO.getClassifyinvokeattr(), ""); |
| | | String value = classifyDataMap.getOrDefault(attrVO.getClassifyInvokeAttr(), ""); |
| | | orderDTO.getData().put(attrId, value); |
| | | } |
| | | }); |
| | |
| | | * @param orderDTO ç¼ç ç³è¯·çä¿¡æ¯ |
| | | */ |
| | | private void checkRequiredAttrOnOrder(CodeClstemplateVO templateVO, CodeOrderDTO orderDTO) { |
| | | Map<String, CodeClstempattrVO> requiredAttrMap = templateVO.getAttributes().stream().filter( |
| | | s -> VciBaseUtil.getBoolean(s.getRequireflag()) && StringUtils.isBlank(s.getComponentrule()) |
| | | && StringUtils.isBlank(s.getClassifyinvokeattr())) |
| | | Map<String, CodeClassifyTemplateAttrVO> requiredAttrMap = templateVO.getAttributes().stream().filter( |
| | | s -> VciBaseUtil.getBoolean(s.getRequireFlag()) && StringUtils.isBlank(s.getComponentRule()) |
| | | && StringUtils.isBlank(s.getClassifyInvokeAttr())) |
| | | .collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (!CollectionUtils.isEmpty(requiredAttrMap)) { |
| | | requiredAttrMap.forEach((attrId, attrVO) -> { |
| | |
| | | * @param orderDTO ç¼ç ç³è¯·çä¿¡æ¯ |
| | | */ |
| | | private void switchComponentAttrOnOrder(CodeClstemplateVO templateVO, CodeOrderDTO orderDTO) { |
| | | Map<String, CodeClstempattrVO> compAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getComponentrule())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttrVO> compAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getComponentRule())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (!CollectionUtils.isEmpty(compAttrVOMap)) { |
| | | Map<String, String> dataMap = WebUtil.objectToMapString(orderDTO); |
| | | |
| | |
| | | * @param orderDTO ç¼ç ç³è¯·çç¸å
³çä¿¡æ¯ |
| | | */ |
| | | private void checkVerifyOnOrder(CodeClstemplateVO templateVO, CodeOrderDTO orderDTO) { |
| | | Map<String, CodeClstempattrVO> verifyAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getVerifyrule())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttrVO> verifyAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getVerifyRule())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (!CollectionUtils.isEmpty(verifyAttrVOMap)) { |
| | | verifyAttrVOMap.forEach((attrId, attrVO) -> { |
| | | String value = getValueFromOrderDTO(orderDTO, attrId); |
| | | if (StringUtils.isNotBlank(value) && !value.matches(attrVO.getVerifyrule())) { |
| | | if (StringUtils.isNotBlank(value) && !value.matches(attrVO.getVerifyRule())) { |
| | | //æ ¡éªæ£åè¡¨è¾¾å¼ |
| | | throw new VciBaseException("屿§[{0}]çå¼ä¸ç¬¦åæ ¡éªè§åçè¦æ±", new String[]{attrVO.getName()}); |
| | | } |
| | |
| | | CodeKeyattrrepeatVO keyRuleVO = keyRuleService.getRuleByClassifyFullInfo(classifyFullInfo); |
| | | //注æçæ¯keyRuleVOå¯è½ä¸ºç©ºï¼è¡¨ç¤ºä¸ä½¿ç¨è§åæ§å¶ |
| | | //è·åææçå
³é®å±æ§ |
| | | Map<String, CodeClstempattrVO> ketAttrMap = templateVO.getAttributes().stream().filter(s -> VciBaseUtil.getBoolean(s.getKeyattrflag())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttrVO> ketAttrMap = templateVO.getAttributes().stream().filter(s -> VciBaseUtil.getBoolean(s.getKeyAttrFlag())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, String> conditionMap = new HashMap<>(); |
| | | boolean trimAll = keyRuleVO == null ? false : VciBaseUtil.getBoolean(keyRuleVO.getIgnoreallspaceflag()); |
| | | //å
¨é¨å»ç©ºçä¼å
级大äºå»ç©º |
| | |
| | | private void checkEnumOnOrder(CodeClstemplateVO templateVO, CodeOrderDTO orderDTO) { |
| | | //妿æä¸¾å¯ä»¥ä¿®æ¹ï¼åä¸éè¦æ ¡éªæ¯å¦ç¬¦åæä¸¾çé项 |
| | | |
| | | Map<String, CodeClstempattrVO> enumAttrVOMap = templateVO.getAttributes().stream().filter(s -> (StringUtils.isNotBlank(s.getEnumstring()) || StringUtils.isNotBlank(s.getEnumid())) && !VciBaseUtil.getBoolean(s.getEnumeditflag())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttrVO> enumAttrVOMap = templateVO.getAttributes().stream().filter(s -> (StringUtils.isNotBlank(s.getEnumString()) || StringUtils.isNotBlank(s.getEnumId())) && !VciBaseUtil.getBoolean(s.getEnumEditFlag())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (!CollectionUtils.isEmpty(enumAttrVOMap)) { |
| | | enumAttrVOMap.forEach((attrId, attrVO) -> { |
| | | String value = getValueFromOrderDTO(orderDTO, attrId); |
| | |
| | | * @param orderDTO ç¼ç ç³è¯·çä¿¡æ¯ |
| | | */ |
| | | private void switchDateAttrOnOrder(CodeClstemplateVO templateVO, CodeOrderDTO orderDTO) { |
| | | Map<String, CodeClstempattrVO> dateAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getCodedateformat())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | Map<String, CodeClassifyTemplateAttrVO> dateAttrVOMap = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getCodeDateFormat())).collect(Collectors.toMap(s -> s.getId().toLowerCase(Locale.ROOT), t -> t)); |
| | | if (!CollectionUtils.isEmpty(dateAttrVOMap)) { |
| | | dateAttrVOMap.forEach((attrId, attrVO) -> { |
| | | String value = getValueFromOrderDTO(orderDTO, attrId); |
| | |
| | | // public void batchSaveSelectChar(CodeClstemplateVO templateVO, List<ClientBusinessObject> cboList) { |
| | | // if (templateVO != null && !CollectionUtils.isEmpty(cboList)) { |
| | | // //æ¯å¼æ¥çï¼æä»¥ç´æ¥å¾ªç¯ |
| | | // List<CodeClstempattrVO> selectAttrVOs = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getLibraryidentification())).collect(Collectors.toList()); |
| | | // List<CodeClassifyTemplateAttrVO> selectAttrVOs = templateVO.getAttributes().stream().filter(s -> StringUtils.isNotBlank(s.getLibraryidentification())).collect(Collectors.toList()); |
| | | // |
| | | // if (!CollectionUtils.isEmpty(selectAttrVOs)) { |
| | | //// SessionInfo sessionInfo = VciBaseUtil.getCurrentUserSessionInfo(); |
| | |
| | | import com.vci.ubcs.code.service.ICodeClassifyService; |
| | | import com.vci.ubcs.code.service.MdmEngineService; |
| | | import com.vci.ubcs.code.service.MdmIOService; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import com.vci.ubcs.code.vo.CodeClstemplateVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeImProtRusultVO; |
| | | import com.vci.ubcs.starter.bo.WriteExcelData; |
| | |
| | | //åç
§çèªè¡è¾å
¥åç§° |
| | | //å类注å
¥çä¸ç¨ï¼é½æ¯å¯¼å
¥åèªå¨å¤çç |
| | | //ç¼ç ï¼ç¶æçåæ®µä¸å¯¼å
¥ |
| | | List<CodeClstempattrVO> templateAttrVOS = templateVO.getAttributes().stream().filter(s -> |
| | | List<CodeClassifyTemplateAttrVO> templateAttrVOS = templateVO.getAttributes().stream().filter(s -> |
| | | !DEFAULT_ATTR_LIST.contains(s.getId()) |
| | | && StringUtils.isBlank(s.getComponentrule()) |
| | | && StringUtils.isBlank(s.getClassifyinvokeattr()) |
| | | && (isHistory || VciBaseUtil.getBoolean(s.getFormdisplayflag())) |
| | | && StringUtils.isBlank(s.getComponentRule()) |
| | | && StringUtils.isBlank(s.getClassifyInvokeAttr()) |
| | | && (isHistory || VciBaseUtil.getBoolean(s.getFormDisplayFlag())) |
| | | ).collect(Collectors.toList()); |
| | | |
| | | if(CollectionUtils.isEmpty(templateAttrVOS)){ |
| | | throw new VciBaseException("æ¨¡æ¿æ²¡æé
置任ä½ãè¡¨åæ¾ç¤ºãä¸ºãæ¯ãç屿§"); |
| | | } |
| | | List<CodeClstempattrVO> idAttrVOList = templateVO.getAttributes().stream().filter(s -> s.getId().equalsIgnoreCase(CODE_FIELD)).collect(Collectors.toList()); |
| | | List<CodeClassifyTemplateAttrVO> idAttrVOList = templateVO.getAttributes().stream().filter(s -> s.getId().equalsIgnoreCase(CODE_FIELD)).collect(Collectors.toList()); |
| | | LinkedList<WriteExcelData> excelDataList = new LinkedList<>(); |
| | | Workbook workbook = new HSSFWorkbook(); |
| | | if(isHistory){ |
| | |
| | | excelDataList.add(new WriteExcelData(0,2,!CollectionUtils.isEmpty(idAttrVOList)?idAttrVOList.get(0).getName():"ä¼ä¸ç¼ç ")); |
| | | } |
| | | for (int i = 0; i < templateAttrVOS.size(); i++) { |
| | | CodeClstempattrVO attrVO = templateAttrVOS.get(i); |
| | | CodeClassifyTemplateAttrVO attrVO = templateAttrVOS.get(i); |
| | | |
| | | Object text = attrVO.getName(); |
| | | text = exportKeyAndRequired(workbook,attrVO,text); |
| | | int colIndex = (isHistory?3:0) + i; |
| | | WriteExcelData excelData = new WriteExcelData(0, colIndex, text); |
| | | if(StringUtils.isNotBlank(attrVO.getCodedateformat()) |
| | | || VciFieldTypeEnum.VTDateTime.name().equalsIgnoreCase(attrVO.getAttributedatatype()) |
| | | || VciFieldTypeEnum.VTDate.name().equalsIgnoreCase(attrVO.getAttributedatatype()) |
| | | ||VciFieldTypeEnum.VTTime.name().equalsIgnoreCase(attrVO.getAttributedatatype())){ |
| | | if(StringUtils.isNotBlank(attrVO.getCodeDateFormat()) |
| | | || VciFieldTypeEnum.VTDateTime.name().equalsIgnoreCase(attrVO.getAttributeDataType()) |
| | | || VciFieldTypeEnum.VTDate.name().equalsIgnoreCase(attrVO.getAttributeDataType()) |
| | | ||VciFieldTypeEnum.VTTime.name().equalsIgnoreCase(attrVO.getAttributeDataType())){ |
| | | excelData.setDateFormat(VciDateUtil.DateTimeFormat); |
| | | } |
| | | if(text instanceof RichTextString){ |
| | | excelData.setFontColor(String.valueOf(HSSFColor.HSSFColorPredefined.RED.getIndex())); |
| | | } |
| | | excelDataList.add(excelData); |
| | | if(StringUtils.isNotBlank(attrVO.getEnumstring()) || StringUtils.isNotBlank(attrVO.getEnumid())){ |
| | | if(StringUtils.isNotBlank(attrVO.getEnumString()) || StringUtils.isNotBlank(attrVO.getEnumId())){ |
| | | //æ·»å æ°æ®æææ§ |
| | | List<String> enumValueList = new ArrayList<>(); |
| | | enumValueList.add(""); |
| | |
| | | ed.setValidationErrorMsg("请å¨åºåä¸éæ©æ£ç¡®çå¼"); |
| | | excelDataList.add(ed); |
| | | } |
| | | if(VciFieldTypeEnum.VTBoolean.name().equalsIgnoreCase(attrVO.getAttributedatatype())){ |
| | | if(VciFieldTypeEnum.VTBoolean.name().equalsIgnoreCase(attrVO.getAttributeDataType())){ |
| | | List<String> booleanList = new ArrayList<>(); |
| | | |
| | | booleanList.add("æ¯"); |
| | |
| | | * @param attrVO 屿§çæ¾ç¤ºå¯¹è±¡ |
| | | * @param text åå
æ ¼çå¼ |
| | | */ |
| | | private Object exportKeyAndRequired(Workbook workbook,CodeClstempattrVO attrVO,Object text){ |
| | | private Object exportKeyAndRequired(Workbook workbook,CodeClassifyTemplateAttrVO attrVO,Object text){ |
| | | //å¿
è¾å *ï¼å
³é®å±æ§ä¸ºèè² |
| | | if (VciBaseUtil.getBoolean(attrVO.getRequireflag()) || VciBaseUtil.getBoolean(attrVO.getKeyattrflag())) { |
| | | if (VciBaseUtil.getBoolean(attrVO.getRequireFlag()) || VciBaseUtil.getBoolean(attrVO.getKeyAttrFlag())) { |
| | | String value = text.toString(); |
| | | if(VciBaseUtil.getBoolean(attrVO.getRequireflag())) { |
| | | if(VciBaseUtil.getBoolean(attrVO.getRequireFlag())) { |
| | | value += REQUIRED_CHAR; |
| | | } |
| | | if(VciBaseUtil.getBoolean(attrVO.getKeyattrflag())){ |
| | | if(VciBaseUtil.getBoolean(attrVO.getKeyAttrFlag())){ |
| | | value += KEY_ATTR_CHAR; |
| | | } |
| | | RichTextString ts = new HSSFRichTextString(value); |
| | | if(VciBaseUtil.getBoolean(attrVO.getRequireflag())){ |
| | | if(VciBaseUtil.getBoolean(attrVO.getRequireFlag())){ |
| | | Font font = workbook.createFont(); |
| | | font.setColor(HSSFColor.HSSFColorPredefined.RED.getIndex()); |
| | | ts.applyFont(font); |
| | | } |
| | | |
| | | if(VciBaseUtil.getBoolean(attrVO.getKeyattrflag())){ |
| | | if(VciBaseUtil.getBoolean(attrVO.getKeyAttrFlag())){ |
| | | Font font = workbook.createFont(); |
| | | font.setColor(HSSFColor.HSSFColorPredefined.BLUE.getIndex()); |
| | | ts.applyFont(font); |
| | |
| | | @Override |
| | | public CodeButtonVO entityVO(CodeButton codebutton) { |
| | | CodeButtonVO codebuttonVO = Objects.requireNonNull(BeanUtil.copy(codebutton, CodeButtonVO.class)); |
| | | codebuttonVO.setUsedpositiontypeText(DictCache.getValue("codeButtonPosition", codebutton.getUsedpositiontype())); |
| | | codebuttonVO.setLcStatusText(DictCache.getValue("codeLcstatus", codebutton.getLcstatus())); |
| | | codebuttonVO.setUsedpositiontypeText(DictCache.getValue("codeButtonPosition", codebutton.getUsedPositionType())); |
| | | codebuttonVO.setLcStatusText(DictCache.getValue("codeLcstatus", codebutton.getLcStatus())); |
| | | return codebuttonVO; |
| | | } |
| | | |
| | |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateAttr; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateAttrVO; |
| | | import com.vci.ubcs.starter.web.enumpck.VciFieldTypeEnum; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import com.vci.ubcs.code.entity.CodeClstempattrEntity; |
| | | import com.vci.ubcs.code.vo.CodeClstempattrVO; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-19 |
| | | */ |
| | | public class CodeClstempattrWrapper extends BaseEntityWrapper<CodeClstempattrEntity, CodeClstempattrVO> { |
| | | public class CodeClstempattrWrapper extends BaseEntityWrapper<CodeClassifyTemplateAttr, CodeClassifyTemplateAttrVO> { |
| | | |
| | | public static CodeClstempattrWrapper build() { |
| | | return new CodeClstempattrWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeClstempattrVO entityVO(CodeClstempattrEntity CodeClstempattr) { |
| | | CodeClstempattrVO CodeClstempattrVO = Objects.requireNonNull(BeanUtil.copy(CodeClstempattr, CodeClstempattrVO.class)); |
| | | public CodeClassifyTemplateAttrVO entityVO(CodeClassifyTemplateAttr CodeClstempattr) { |
| | | CodeClassifyTemplateAttrVO codeClassifyTemplateAttrVO = Objects.requireNonNull(BeanUtil.copy(CodeClstempattr, CodeClassifyTemplateAttrVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodeClstempattr.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(CodeClstempattr.getUpdateUser()); |
| | | //CodeClstempattrVO.setCreateUserName(createUser.getName()); |
| | | //CodeClstempattrVO.setUpdateUserName(updateUser.getName()); |
| | | codeClassifyTemplateAttrVO.setAttributeDataTypeText(VciFieldTypeEnum.getTextByValue(CodeClstempattr.getAttributeDataType())); |
| | | |
| | | return CodeClstempattrVO; |
| | | return codeClassifyTemplateAttrVO; |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodePhaseattrEntity; |
| | | import com.vci.ubcs.code.entity.CodePhaseAttr; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import com.vci.ubcs.code.vo.CodePhaseattrVO; |
| | |
| | | * @author yuxc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public class CodePhaseattrWrapper extends BaseEntityWrapper<CodePhaseattrEntity, CodePhaseattrVO> { |
| | | public class CodePhaseattrWrapper extends BaseEntityWrapper<CodePhaseAttr, CodePhaseattrVO> { |
| | | |
| | | public static CodePhaseattrWrapper build() { |
| | | return new CodePhaseattrWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodePhaseattrVO entityVO(CodePhaseattrEntity codePhaseattr) { |
| | | public CodePhaseattrVO entityVO(CodePhaseAttr codePhaseattr) { |
| | | CodePhaseattrVO CodePhaseattrVO = Objects.requireNonNull(BeanUtil.copy(codePhaseattr, CodePhaseattrVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodePhaseattr.getCreateUser()); |
| | |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeClassifyTemplateButton; |
| | | import com.vci.ubcs.code.enumpack.CodeButtonUseEnum; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateButtonVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public CodeClassifyTemplateButtonVO entityVO(CodeClassifyTemplateButton CodeTempbutton) { |
| | | CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO = Objects.requireNonNull(BeanUtil.copy(CodeTempbutton, CodeClassifyTemplateButtonVO.class)); |
| | | public CodeClassifyTemplateButtonVO entityVO(CodeClassifyTemplateButton CodeTempbuttonDO) { |
| | | CodeClassifyTemplateButtonVO codeClassifyTemplateButtonVO = Objects.requireNonNull(BeanUtil.copy(CodeTempbuttonDO, CodeClassifyTemplateButtonVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodeTempbutton.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(CodeTempbutton.getUpdateUser()); |
| | | //CodeTempbuttonVO.setCreateUserName(createUser.getName()); |
| | | //CodeTempbuttonVO.setUpdateUserName(updateUser.getName()); |
| | | codeClassifyTemplateButtonVO.setButtonUseText(CodeButtonUseEnum.getTextByValue(CodeTempbuttonDO.getButtonUse())); |
| | | |
| | | return codeClassifyTemplateButtonVO; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeTemplatePhase; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿é¶æ®µ å
è£
ç±»,è¿åè§å¾å±æéçåæ®µ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-04-20 |
| | | */ |
| | | public class CodeTemplatePhaseWapper extends BaseEntityWrapper<CodeTemplatePhase, CodeTemplatePhaseVO> { |
| | | |
| | | public static CodeTemplatePhaseWapper build() { |
| | | return new CodeTemplatePhaseWapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeTemplatePhaseVO entityVO(CodeTemplatePhase CodeTempphase) { |
| | | CodeTemplatePhaseVO CodeTemplatePhaseVO = Objects.requireNonNull(BeanUtil.copy(CodeTempphase, com.vci.ubcs.code.vo.pagemodel.CodeTemplatePhaseVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodeTempphase.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(CodeTempphase.getUpdateUser()); |
| | | //CodeTemplatePhaseVO.setCreateUserName(createUser.getName()); |
| | | //CodeTemplatePhaseVO.setUpdateUserName(updateUser.getName()); |
| | | |
| | | return CodeTemplatePhaseVO; |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | COUNT(*) OVER () "##VCI_COUNT_VCI##" |
| | | from PL_CODE_BASICSEC |
| | | left join pl_code_basicsec btm_codebasicsec_1 |
| | | on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid |
| | | on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid |
| | | left join pl_code_classify platformbtm_codeclassify |
| | | on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid |
| | | on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid |
| | | <where> |
| | | <if test="codeBasicSec.oid != null and codeBasicSec.oid != ''"> |
| | | and PL_CODE_BASICSEC.OID = #{codeBasicSec.oid} |
| | |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeClassifyTemplateAttrMapper"> |
| | | |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="CodeClstempattrResultMap" type="com.vci.ubcs.code.entity.CodeClassifyTemplateAttr"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionOid"/> |
| | | <result column="NAMEOID" property="nameOid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastR"/> |
| | | <result column="FIRSTR" property="firstR"/> |
| | | <result column="LASTV" property="lastV"/> |
| | | <result column="FIRSTV" property="firstV"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createTime"/> |
| | | <result column="LASTMODIFIER" property="lastModifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastModifyTime"/> |
| | | <result column="REVISIONRULE" property="revisionRule"/> |
| | | <result column="VERSIONRULE" property="versionRule"/> |
| | | <result column="REVISIONSEQ" property="revisionSeq"/> |
| | | <result column="REVISIONVALUE" property="revisionValue"/> |
| | | <result column="VERSIONSEQ" property="versionSeq"/> |
| | | <result column="VERSIONVALUE" property="versionValue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcStatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyFromVersion"/> |
| | | <result column="CLASSIFYTEMPLATEOID" property="classifyTemplateOid"/> |
| | | <result column="ATTRIBUTEDATATYPE" property="attributeDataType"/> |
| | | <result column="KEYATTRFLAG" property="keyAttrFlag"/> |
| | | <result column="QUERYATTRFLAG" property="qrcodeFlag"/> |
| | | <result column="SENIORQUERYATTRFLAG" property="seniorQueryAttrFlag"/> |
| | | <result column="SAMEREPEATATTRFLAG" property="sameRepeatAttrFlag"/> |
| | | <result column="SORTATTRFLAG" property="sortAttrFlag"/> |
| | | <result column="QRCODEFLAG" property="qrcodeFlag"/> |
| | | <result column="BARCODEFLAG" property="barcodeFlag"/> |
| | | <result column="COMPONENTRULE" property="componentRule"/> |
| | | <result column="VERIFYRULE" property="versionValue"/> |
| | | <result column="CLASSIFYINVOKELEVEL" property="classifyInvokeLevel"/> |
| | | <result column="CLASSIFYINVOKEATTR" property="classifyInvokeAttr"/> |
| | | <result column="CLASSIFYINVOKEATTRNAME" property="classifyInvokeAttrName"/> |
| | | <result column="CLASSIFYINVOKEEDITFLAG" property="classifyInvokeEditFlag"/> |
| | | <result column="ORDERNUM" property="orderNum"/> |
| | | <result column="FORMDISPLAYFLAG" property="formDisplayFlag"/> |
| | | <result column="TABLEDISPLAYFLAG" property="tableDisplayFlag"/> |
| | | <result column="ATTRIBUTEGROUP" property="attributeGroup"/> |
| | | <result column="ENUMID" property="enumId"/> |
| | | <result column="ENUMNAME" property="enumName"/> |
| | | <result column="ENUMEDITFLAG" property="enumEditFlag"/> |
| | | <result column="REFERBTMID" property="referBtmId"/> |
| | | <result column="REFERBTMNAME" property="referBtmName"/> |
| | | <result column="REFERCONFIG" property="referConfig"/> |
| | | <result column="REQUIREFLAG" property="requireFlag"/> |
| | | <result column="READONLYFLAG" property="readOnlyFlag"/> |
| | | <result column="CONTROLLENGTH" property="controlLength"/> |
| | | <result column="FORMDISPLAYSTYLE" property="formDisplayStyle"/> |
| | | <result column="TABLEDISPLAYSTYLE" property="tableDisplayStyle"/> |
| | | <result column="FORMHREF" property="formHref"/> |
| | | <result column="TABLEHREF" property="tableHref"/> |
| | | <result column="PRECISIONLENGTH" property="precisionLength"/> |
| | | <result column="SCALELENGTH" property="scaleLength"/> |
| | | <result column="VALUEAREA" property="valueArea"/> |
| | | <result column="CODEDATEFORMAT" property="codeDateFormat"/> |
| | | <result column="TABLEDISPLAYJS" property="tableDisplayJs"/> |
| | | <result column="TEXTAREAFLAG" property="textAreaFlag"/> |
| | | <result column="IMAGEFLAG" property="imageFlag"/> |
| | | <result column="DEFAULTVALUE" property="defaultValue"/> |
| | | <result column="PREFIXVALUE" property="prefixValue"/> |
| | | <result column="SUFFIXVALUE" property="suffixValue"/> |
| | | <result column="FILTERSOURCEATTR" property="filterSourceAttr"/> |
| | | <result column="FILTERSOURCEATTRNAME" property="filterSourceAttrName"/> |
| | | <result column="ENUMSTRING" property="enumString"/> |
| | | <result column="ATTRTABLEWIDTH" property="attrTableWidth"/> |
| | | <result column="EXPLAIN" property="explain"/> |
| | | <result column="LIBRARYIDENTIFICATION" property="libraryIdentification"/> |
| | | <result column="PARENTCODE" property="parentCode"/> |
| | | <result column="PARENTNAME" property="parentName"/> |
| | | <result column="PARENTQUERYATTR" property="parentQueryAttr"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectCodeClstempattrPage" resultMap="CodeClstempattrResultMap"> |
| | | select * from PL_CODE_CLSTEMPATTR where 1=1 |
| | | </select> |
| | | |
| | | <select id="selectByClassifytemplateoid" resultMap="CodeClstempattrResultMap"> |
| | | select * from PL_CODE_CLSTEMPATTR where classifytemplateoid in (${classifytemplateoid}) |
| | | </select> |
| | | |
| | | <select id="selectRefByOid" resultMap="CodeClstempattrResultMap"> |
| | | select codeclstempattr0.OID as oid |
| | | from PL_CODE_CLSTEMPATTR codeclstempattr0 |
| | | left join PL_CODE_CLSTEMPLATE classifytemplateoid |
| | | on codeclstempattr0.classifyTemplateOid = classifytemplateoid.oid |
| | | where codeclstempattr0.classifytemplateoid = #{oid} |
| | | </select> |
| | | |
| | | |
| | | </mapper> |
| | |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodePhaseattrMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="CodePhaseattrResultMap" type="com.vci.ubcs.code.entity.CodePhaseattrEntity"> |
| | | <resultMap id="CodePhaseattrResultMap" type="com.vci.ubcs.code.entity.CodePhaseAttr"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionOid"/> |
| | | <result column="NAMEOID" property="nameOid"/> |
| | |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyFromVersion"/> |
| | | <result column="CODEPHASEOID" property="codePhaseOid"/> |
| | | <result column="ATTRIBUTEGROUP" property="attributegroup"/> |
| | | <result column="ATTRIBUTEGROUP" property="attributeGroup"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectCodePhaseattrPage" resultMap="CodePhaseattrResultMap"> |
| | |
| | | description, |
| | | oid, |
| | | versionseq, |
| | | checkinby, |
| | | revisionrule, |
| | | lctid, |
| | | id, |
| | | owner, |
| | | checkoutby, |
| | | creator, |
| | | createtime, |
| | | isfirstv, |
| | | firstv, |
| | | attributegroup, |
| | | revisionoid, |
| | | btmname, |
| | | checkouttime, |
| | | revisionvalue, |
| | | versionrule, |
| | | name, |
| | | islastr, |
| | | lastr, |
| | | lastmodifytime, |
| | | copyfromversion, |
| | | nameoid, |
| | | lcstatus, |
| | | islastv, |
| | | checkintime, |
| | | lastv, |
| | | codephaseoid, |
| | | isfirstr |
| | | firstr |
| | | from PL_CODE_PHASEATTR |
| | | where codephaseoid in |
| | | (select oid |
| | | from PL_CODE_TEMPPHASE |
| | | where codeClassifyTemplateOid = #{oid}) |
| | | (select oid |
| | | from PL_CODE_TEMPPHASE |
| | | where codeClassifyTemplateOid = #{oid}) |
| | | </select> |
| | | |
| | | <select id="selectByPhaseaIds" resultMap="CodePhaseattrResultMap"> |
| | |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeTemplatePhaseMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="CodeTempphaseResultMap" type="com.vci.ubcs.code.entity.CodeTempphaseEntity"> |
| | | <resultMap id="CodeTempphaseResultMap" type="com.vci.ubcs.code.entity.CodeTemplatePhase"> |
| | | <result column="CREATETIME" property="createTime"/> |
| | | <result column="LASTMODIFIER" property="lastModifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastModifyTime"/> |
| | |
| | | <select id="selectByCount" resultType="java.util.Map"> |
| | | select COUNT(w.OID) count |
| | | from ${tableName} w |
| | | join PL_CODE_ALLCODE c on w.OID = c.CREATECODEOID |
| | | join PL_CODE_ALLCODE c on w.OID = c.CREATECODEOID |
| | | where c.CREATECODEBTM = #{btm} |
| | | and c.CODERULEOID = #{oid} |
| | | and w.LASTR = '1' |
| | |
| | | 2023-04-21 18:33:29,992 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.3.Final |
| | | 2023-04-21 18:33:31,511 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-21 18:33:31,515 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-21 18:33:42,622 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob] & group[DEFAULT_GROUP] |
| | | 2023-04-21 18:33:42,642 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-21 18:33:42,659 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob-dev.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-21 18:33:42,662 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs.yaml,DEFAULT_GROUP'}] |
| | | 2023-04-21 18:33:42,722 INFO [main] c.v.ubcs.job.executor.JobApplication [SpringApplication.java : 640] The following 1 profile is active: "dev" |
| | | 2023-04-21 18:33:46,403 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode |
| | | 2023-04-21 18:33:46,412 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode. |
| | | 2023-04-21 18:33:46,495 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 27 ms. Found 0 Redis repository interfaces. |
| | | 2023-04-21 18:33:47,221 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=8a87525c-4e09-336f-9e65-667cebc7cd92 |
| | | 2023-04-21 18:33:47,237 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 150] BladePropertySourcePostProcessor init. |
| | | 2023-04-21 18:33:47,277 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 62] BladePropertySourcePostProcessor process @BladePropertySource bean. |
| | | 2023-04-21 18:33:47,359 WARN [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 67] Not found @BladePropertySource on spring bean class. |
| | | 2023-04-21 18:33:48,203 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:48,213 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:48,217 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$490/2039264985] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:48,223 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:48,489 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:48,503 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 18:33:50,366 WARN [main] io.undertow.websockets.jsr [Bootstrap.java : 68] UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used |
| | | 2023-04-21 18:33:50,646 INFO [main] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring embedded WebApplicationContext |
| | | 2023-04-21 18:33:50,646 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 292] Root WebApplicationContext: initialization completed in 7850 ms |
| | | 2023-04-21 18:33:51,931 INFO [main] c.v.u.j.executor.config.XxlJobConfig [XxlJobConfig.java : 43] >>>>>>>>>>> xxl-job config init. |
| | | 2023-04-21 18:33:51,974 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@45287377[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#shardingJobHandler] |
| | | 2023-04-21 18:33:51,975 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7159d601[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#commandJobHandler] |
| | | 2023-04-21 18:33:51,976 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@70b33256[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#httpJobHandler] |
| | | 2023-04-21 18:33:51,976 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@33d230ce[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler2] |
| | | 2023-04-21 18:33:51,976 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@35e74e08[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler] |
| | | 2023-04-21 18:33:52,880 INFO [main] c.a.c.s.SentinelWebMvcConfigurer [SentinelWebMvcConfigurer.java : 52] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. |
| | | 2023-04-21 18:33:52,996 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse) |
| | | 2023-04-21 18:33:52,997 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest) |
| | | 2023-04-21 18:33:52,998 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{GET [/test/testRequest]}" onto com.vci.ubcs.job.executor.controller.TestController#testRequest(String) |
| | | 2023-04-21 18:33:58,809 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-21 18:33:58,837 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 62] initializer namespace from System Property : null |
| | | 2023-04-21 18:33:58,840 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 66] initializer namespace from System Environment :null |
| | | 2023-04-21 18:33:58,842 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 73] initializer namespace from System Property :null |
| | | 2023-04-21 18:33:58,881 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-21 18:33:58,883 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-21 18:33:58,909 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 95] [RpcClientFactory] create a new rpc client of b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc |
| | | 2023-04-21 18:33:58,911 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] RpcClient init label, labels = {module=naming, source=sdk} |
| | | 2023-04-21 18:33:58,918 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager |
| | | 2023-04-21 18:33:58,919 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService |
| | | 2023-04-21 18:33:58,923 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler |
| | | 2023-04-21 18:33:58,924 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Try to connect to server on start up, server: {serverIp = '192.168.93.161', server main port = 38848} |
| | | 2023-04-21 18:33:59,088 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Success to connect to server [192.168.93.161:38848] on start up, connectionId = 1682073239071_192.168.93.1_52424 |
| | | 2023-04-21 18:33:59,091 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Notify connected event to listeners. |
| | | 2023-04-21 18:33:59,091 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler |
| | | 2023-04-21 18:33:59,093 INFO [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 76] Grpc connection connect |
| | | 2023-04-21 18:33:59,093 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$376/1442342557 |
| | | 2023-04-21 18:33:59,453 INFO [main] o.s.b.a.e.web.EndpointLinksResolver [EndpointLinksResolver.java : 58] Exposing 20 endpoint(s) beneath base path '/actuator' |
| | | 2023-04-21 18:34:02,449 INFO [main] o.s.b.f.a.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 367] Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties) |
| | | 2023-04-21 18:34:06,638 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. |
| | | 2023-04-21 18:34:06,852 INFO [main] c.x.r.r.p.XxlRpcProviderFactory [XxlRpcProviderFactory.java : 197] >>>>>>>>>>> xxl-rpc, provider factory add service success. serviceKey = com.xxl.job.core.biz.ExecutorBiz, serviceBean = class com.xxl.job.core.biz.impl.ExecutorBizImpl |
| | | 2023-04-21 18:34:08,138 INFO [main] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 141] [SUBSCRIBE-SERVICE] service:ubcs-xxljob, group:DEFAULT_GROUP, clusters:DEFAULT |
| | | 2023-04-21 18:34:08,170 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-21 18:34:08,188 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-21 18:34:08,226 INFO [Thread-82] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 66] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 7018 |
| | | 2023-04-21 18:34:08,234 INFO [main] io.undertow [Undertow.java : 120] starting server: Undertow - 2.2.18.Final |
| | | 2023-04-21 18:34:08,256 INFO [main] org.xnio [Xnio.java : 95] XNIO version 3.8.7.Final |
| | | 2023-04-21 18:34:08,282 INFO [main] org.xnio.nio [NioXnio.java : 58] XNIO NIO Implementation Version 3.8.7.Final |
| | | 2023-04-21 18:34:08,365 INFO [main] org.jboss.threads [Version.java : 52] JBoss Threads version 3.1.0.Final |
| | | 2023-04-21 18:34:08,587 INFO [main] o.s.b.w.e.undertow.UndertowWebServer [UndertowWebServer.java : 119] Undertow started on port(s) 36009 (http) |
| | | 2023-04-21 18:34:08,618 INFO [main] com.alibaba.nacos.client.naming [NamingGrpcClientProxy.java : 111] [REGISTER-SERVICE] public registering service ubcs-xxljob with instance Instance{instanceId='null', ip='192.168.237.1', port=36009, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} |
| | | 2023-04-21 18:34:08,673 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP ubcs-xxljob 192.168.237.1:36009 register finished |
| | | 2023-04-21 18:34:08,772 INFO [nacos-grpc-client-executor-192.168.93.161-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Receive server push request, request = NotifySubscriberRequest, requestId = 61 |
| | | 2023-04-21 18:34:08,780 INFO [nacos-grpc-client-executor-192.168.93.161-6] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 18:34:08,782 INFO [nacos-grpc-client-executor-192.168.93.161-6] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 18:34:08,809 INFO [nacos-grpc-client-executor-192.168.93.161-6] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [b9e7a2ad-8dbd-4157-9ac7-7aca6c855acc] Ack server push request, request = NotifySubscriberRequest, requestId = 61 |
| | | 2023-04-21 18:34:09,212 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 18:34:09,213 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 18:34:10,912 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:42:49,779 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.3.Final |
| | | 2023-05-09 17:42:50,561 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-05-09 17:42:50,562 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-05-09 17:42:53,141 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob] & group[DEFAULT_GROUP] |
| | | 2023-05-09 17:42:53,147 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob.yaml] & group[DEFAULT_GROUP] |
| | | 2023-05-09 17:42:53,151 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob-dev.yaml] & group[DEFAULT_GROUP] |
| | | 2023-05-09 17:42:53,152 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs.yaml,DEFAULT_GROUP'}] |
| | | 2023-05-09 17:42:53,172 INFO [main] c.v.ubcs.job.executor.JobApplication [SpringApplication.java : 640] The following 1 profile is active: "dev" |
| | | 2023-05-09 17:42:54,365 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode |
| | | 2023-05-09 17:42:54,368 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode. |
| | | 2023-05-09 17:42:54,393 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. |
| | | 2023-05-09 17:42:54,815 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=8a87525c-4e09-336f-9e65-667cebc7cd92 |
| | | 2023-05-09 17:42:54,820 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 150] BladePropertySourcePostProcessor init. |
| | | 2023-05-09 17:42:54,836 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 62] BladePropertySourcePostProcessor process @BladePropertySource bean. |
| | | 2023-05-09 17:42:54,873 WARN [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 67] Not found @BladePropertySource on spring bean class. |
| | | 2023-05-09 17:42:55,181 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,184 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,185 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$490/1926136110] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,188 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,233 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,239 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-05-09 17:42:55,481 WARN [main] io.undertow.websockets.jsr [Bootstrap.java : 68] UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used |
| | | 2023-05-09 17:42:55,513 INFO [main] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring embedded WebApplicationContext |
| | | 2023-05-09 17:42:55,513 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 292] Root WebApplicationContext: initialization completed in 2319 ms |
| | | 2023-05-09 17:42:55,936 INFO [main] c.v.u.j.executor.config.XxlJobConfig [XxlJobConfig.java : 43] >>>>>>>>>>> xxl-job config init. |
| | | 2023-05-09 17:42:55,949 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@5e9bf744[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler] |
| | | 2023-05-09 17:42:55,950 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@45e140ae[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler2] |
| | | 2023-05-09 17:42:55,950 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@48cdb156[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#httpJobHandler] |
| | | 2023-05-09 17:42:55,950 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@4b4814d0[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#commandJobHandler] |
| | | 2023-05-09 17:42:55,951 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@4ae8fb2a[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#shardingJobHandler] |
| | | 2023-05-09 17:42:56,285 INFO [main] c.a.c.s.SentinelWebMvcConfigurer [SentinelWebMvcConfigurer.java : 52] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. |
| | | 2023-05-09 17:42:56,336 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{GET [/test/testRequest]}" onto com.vci.ubcs.job.executor.controller.TestController#testRequest(String) |
| | | 2023-05-09 17:42:56,337 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse) |
| | | 2023-05-09 17:42:56,338 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest) |
| | | 2023-05-09 17:42:57,365 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 62] initializer namespace from System Property : null |
| | | 2023-05-09 17:42:57,366 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 66] initializer namespace from System Environment :null |
| | | 2023-05-09 17:42:57,366 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 73] initializer namespace from System Property :null |
| | | 2023-05-09 17:42:57,377 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-05-09 17:42:57,377 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-05-09 17:42:57,384 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 95] [RpcClientFactory] create a new rpc client of d6a451c2-8815-4f69-b501-e2ae60d8751b |
| | | 2023-05-09 17:42:57,385 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] RpcClient init label, labels = {module=naming, source=sdk} |
| | | 2023-05-09 17:42:57,387 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager |
| | | 2023-05-09 17:42:57,387 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService |
| | | 2023-05-09 17:42:57,388 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler |
| | | 2023-05-09 17:42:57,388 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Try to connect to server on start up, server: {serverIp = '192.168.93.149', server main port = 38848} |
| | | 2023-05-09 17:42:57,505 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Success to connect to server [192.168.93.149:38848] on start up, connectionId = 1683625377543_192.168.93.187_51720 |
| | | 2023-05-09 17:42:57,506 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Notify connected event to listeners. |
| | | 2023-05-09 17:42:57,506 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler |
| | | 2023-05-09 17:42:57,507 INFO [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 76] Grpc connection connect |
| | | 2023-05-09 17:42:57,507 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$376/653880197 |
| | | 2023-05-09 17:42:57,660 INFO [main] o.s.b.a.e.web.EndpointLinksResolver [EndpointLinksResolver.java : 58] Exposing 20 endpoint(s) beneath base path '/actuator' |
| | | 2023-05-09 17:42:58,518 INFO [main] o.s.b.f.a.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 367] Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties) |
| | | 2023-05-09 17:42:59,043 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. |
| | | 2023-05-09 17:42:59,085 INFO [main] c.x.r.r.p.XxlRpcProviderFactory [XxlRpcProviderFactory.java : 197] >>>>>>>>>>> xxl-rpc, provider factory add service success. serviceKey = com.xxl.job.core.biz.ExecutorBiz, serviceBean = class com.xxl.job.core.biz.impl.ExecutorBizImpl |
| | | 2023-05-09 17:42:59,448 INFO [main] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 141] [SUBSCRIBE-SERVICE] service:ubcs-xxljob, group:DEFAULT_GROUP, clusters:DEFAULT |
| | | 2023-05-09 17:42:59,463 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-05-09 17:42:59,473 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-05-09 17:42:59,481 INFO [Thread-43] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 66] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 7018 |
| | | 2023-05-09 17:42:59,497 INFO [main] io.undertow [Undertow.java : 120] starting server: Undertow - 2.2.18.Final |
| | | 2023-05-09 17:42:59,507 INFO [main] org.xnio [Xnio.java : 95] XNIO version 3.8.7.Final |
| | | 2023-05-09 17:42:59,516 INFO [main] org.xnio.nio [NioXnio.java : 58] XNIO NIO Implementation Version 3.8.7.Final |
| | | 2023-05-09 17:42:59,551 INFO [main] org.jboss.threads [Version.java : 52] JBoss Threads version 3.1.0.Final |
| | | 2023-05-09 17:42:59,602 INFO [main] o.s.b.w.e.undertow.UndertowWebServer [UndertowWebServer.java : 119] Undertow started on port(s) 36009 (http) |
| | | 2023-05-09 17:42:59,607 INFO [main] com.alibaba.nacos.client.naming [NamingGrpcClientProxy.java : 111] [REGISTER-SERVICE] public registering service ubcs-xxljob with instance Instance{instanceId='null', ip='192.168.237.1', port=36009, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} |
| | | 2023-05-09 17:42:59,615 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP ubcs-xxljob 192.168.237.1:36009 register finished |
| | | 2023-05-09 17:42:59,904 INFO [main] o.s.core.launch.StartEventListener [StartEventListener.java : 45] ---[UBCS-XXLJOB]---å¯å¨å®æï¼å½å使ç¨ç端å£:[36009]ï¼ç¯å¢åé:[dev]--- |
| | | 2023-05-09 17:42:59,918 INFO [main] c.v.ubcs.job.executor.JobApplication [StartupInfoLogger.java : 61] Started JobApplication in 11.381 seconds (JVM running for 13.757) |
| | | 2023-05-09 17:42:59,923 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 65] nacos.cache.data.init.snapshot = true |
| | | 2023-05-09 17:42:59,924 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.149_38848] [subscribe] ubcs-dev.yaml+DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,925 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.149_38848] [add-listener] ok, tenant=, dataId=ubcs-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-05-09 17:42:59,925 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,926 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.149_38848] [subscribe] ubcs-xxljob+DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,926 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.149_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-05-09 17:42:59,926 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob, group=DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,927 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.149_38848] [subscribe] ubcs.yaml+DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,927 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.149_38848] [add-listener] ok, tenant=, dataId=ubcs.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-05-09 17:42:59,927 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs.yaml, group=DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,928 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.149_38848] [subscribe] ubcs-xxljob.yaml+DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,928 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.149_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-05-09 17:42:59,928 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,928 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.149_38848] [subscribe] ubcs-xxljob-dev.yaml+DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,928 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.149_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-05-09 17:42:59,929 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-05-09 17:42:59,982 INFO [nacos-grpc-client-executor-192.168.93.149-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Receive server push request, request = NotifySubscriberRequest, requestId = 232 |
| | | 2023-05-09 17:42:59,983 INFO [nacos-grpc-client-executor-192.168.93.149-7] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-05-09 17:42:59,984 INFO [nacos-grpc-client-executor-192.168.93.149-7] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-05-09 17:42:59,990 INFO [nacos-grpc-client-executor-192.168.93.149-7] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [d6a451c2-8815-4f69-b501-e2ae60d8751b] Ack server push request, request = NotifySubscriberRequest, requestId = 232 |
| | | 2023-05-09 17:43:00,473 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-05-09 17:43:00,474 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-05-09 17:43:00,810 INFO [RMI TCP Connection(5)-192.168.0.101] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2023-05-09 17:43:00,810 INFO [RMI TCP Connection(5)-192.168.0.101] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet' |
| | | 2023-05-09 17:43:00,813 INFO [RMI TCP Connection(5)-192.168.0.101] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 3 ms |
| | | 2023-05-09 17:43:01,543 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:34:10,913 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:34:12,454 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-21 18:34:12,456 INFO [main] o.s.core.launch.StartEventListener [StartEventListener.java : 45] ---[UBCS-XXLJOB]---å¯å¨å®æï¼å½å使ç¨ç端å£:[36009]ï¼ç¯å¢åé:[dev]--- |
| | | 2023-04-21 18:34:12,499 INFO [main] c.v.ubcs.job.executor.JobApplication [StartupInfoLogger.java : 61] Started JobApplication in 45.836 seconds (JVM running for 51.034) |
| | | 2023-04-21 18:34:12,510 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 65] nacos.cache.data.init.snapshot = true |
| | | 2023-04-21 18:34:12,514 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,518 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 18:34:12,518 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,520 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob+DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,520 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 18:34:12,520 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob, group=DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,524 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs.yaml+DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,525 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 18:34:12,525 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,526 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob.yaml+DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,526 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 18:34:12,527 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,528 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-21 18:34:12,528 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 18:34:12,528 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 18:34:14,157 INFO [RMI TCP Connection(11)-192.168.0.103] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2023-04-21 18:34:14,157 INFO [RMI TCP Connection(11)-192.168.0.103] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet' |
| | | 2023-04-21 18:34:14,164 INFO [RMI TCP Connection(11)-192.168.0.103] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 6 ms |
| | | 2023-04-21 18:34:42,951 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:43:01,543 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:43:33,599 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:34:42,952 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:35:14,996 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:43:33,599 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:44:05,652 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:35:14,997 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:35:47,030 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:44:05,652 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:44:37,692 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:35:47,031 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:36:19,086 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:44:37,692 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:45:09,733 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:36:19,086 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:36:51,137 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:45:09,734 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:45:41,783 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:36:51,138 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:37:23,210 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:45:41,783 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:46:13,827 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:37:23,211 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:37:55,248 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:46:13,828 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:46:45,881 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:37:55,249 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:38:27,290 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:46:45,881 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:47:17,905 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:38:27,291 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:38:59,353 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:47:17,906 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:47:49,935 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:38:59,354 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:39:31,412 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:47:49,935 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:48:21,987 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:39:31,412 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:40:03,467 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:48:21,987 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:48:54,043 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:40:03,468 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:40:35,527 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:48:54,044 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:49:26,095 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:40:35,528 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:41:07,570 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:49:26,096 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:49:58,147 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:41:07,571 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:41:39,610 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:49:58,148 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:50:30,194 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:41:39,610 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:42:11,669 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:50:30,195 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:51:02,256 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:42:11,670 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:42:43,734 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:51:02,256 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:51:34,296 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:42:43,735 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:43:15,794 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:51:34,296 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:52:06,335 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:43:15,795 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:43:47,835 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:52:06,336 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:52:38,416 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:43:47,840 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:44:19,924 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:52:38,417 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:53:10,490 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:44:19,952 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:44:52,013 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:53:10,490 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:53:42,546 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:44:52,014 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:45:24,060 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:53:42,547 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:54:14,602 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:45:24,060 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:45:56,111 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:54:14,602 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:54:46,652 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:45:56,111 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:46:28,156 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:54:46,653 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:55:18,689 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:46:28,157 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:47:00,193 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:55:18,689 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:55:50,714 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:47:00,194 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:47:32,255 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:55:50,715 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:56:22,755 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:47:32,255 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:48:04,320 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:56:22,756 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:56:54,825 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:48:04,321 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:48:36,357 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:56:54,825 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:57:26,861 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:48:36,357 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:49:08,412 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:57:26,862 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:57:58,911 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:49:08,413 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:49:40,462 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:57:58,912 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:58:30,950 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:49:40,463 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:50:12,530 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:58:30,951 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:59:02,995 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:50:12,532 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:50:44,591 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:59:02,997 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 17:59:35,062 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:50:44,592 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:51:16,635 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 17:59:35,064 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:00:07,124 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:51:16,636 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:51:48,688 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 18:00:07,126 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:00:39,179 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:51:48,688 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:52:20,749 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 18:00:39,180 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:01:11,220 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:52:20,750 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:52:52,796 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 18:01:11,222 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:01:43,295 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:52:52,797 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:53:24,866 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 18:01:43,301 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:02:15,332 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:53:24,872 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:53:56,926 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | 2023-05-09 18:02:15,337 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:02:47,367 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:53:56,928 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:54:28,983 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:54:28,988 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:55:01,033 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:55:01,039 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:55:33,084 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:55:33,085 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:56:05,113 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:56:05,114 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:56:37,160 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:56:37,161 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:57:09,223 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:57:09,223 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:57:41,274 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:57:41,275 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:58:13,300 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:58:13,301 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 18:58:40,572 WARN [Thread-12] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient |
| | | 2023-04-21 18:58:40,574 WARN [Thread-20] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher |
| | | 2023-04-21 18:58:40,577 WARN [Thread-20] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end |
| | | 2023-04-21 18:58:40,603 WARN [Thread-12] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end |
| | | 2023-04-21 18:58:41,003 INFO [SpringApplicationShutdownHook] io.undertow [Undertow.java : 259] stopping server: Undertow - 2.2.18.Final |
| | | 2023-04-21 18:58:41,072 INFO [SpringApplicationShutdownHook] io.undertow.servlet [ServletContextImpl.java : 382] Destroying Spring FrameworkServlet 'dispatcherServlet' |
| | | 2023-04-21 18:58:41,092 ERROR [SpringApplicationShutdownHook] c.a.cloud.nacos.discovery.NacosWatch [NacosWatch.java : 180] namingService unsubscribe failed, properties:NacosDiscoveryProperties{serverAddr='192.168.93.161:38848', username='', password='', endpoint='', namespace='', watchDelay=30000, logName='', service='ubcs-xxljob', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.237.1', networkInterface='', port=36009, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, instanceEnabled=true, ephemeral=true, failureToleranceEnabled=false}, ipDeleteTimeout=null, failFast=true} |
| | | 2023-05-09 18:02:47,368 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-05-09 18:02:59,386 WARN [Thread-14] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher |
| | | 2023-05-09 18:02:59,385 WARN [Thread-7] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient |
| | | 2023-05-09 18:02:59,389 WARN [Thread-14] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end |
| | | 2023-05-09 18:02:59,393 WARN [Thread-7] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end |
| | | 2023-05-09 18:02:59,560 INFO [SpringApplicationShutdownHook] io.undertow [Undertow.java : 259] stopping server: Undertow - 2.2.18.Final |
| | | 2023-05-09 18:02:59,607 INFO [SpringApplicationShutdownHook] io.undertow.servlet [ServletContextImpl.java : 382] Destroying Spring FrameworkServlet 'dispatcherServlet' |
| | | 2023-05-09 18:02:59,617 ERROR [SpringApplicationShutdownHook] c.a.cloud.nacos.discovery.NacosWatch [NacosWatch.java : 180] namingService unsubscribe failed, properties:NacosDiscoveryProperties{serverAddr='192.168.93.149:38848', username='', password='', endpoint='', namespace='', watchDelay=30000, logName='', service='ubcs-xxljob', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.237.1', networkInterface='', port=36009, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, instanceEnabled=true, ephemeral=true, failureToleranceEnabled=false}, ipDeleteTimeout=null, failFast=true} |
| | | java.lang.IllegalStateException: UT015023: This Context has been already destroyed |
| | | at io.undertow.servlet.spec.ServletContextImpl.getDeploymentInfo(ServletContextImpl.java:211) |
| | | at io.undertow.servlet.spec.ServletContextImpl.getInitParameterNames(ServletContextImpl.java:449) |
| | |
| | | at java.lang.Iterable.forEach(Iterable.java:75) |
| | | at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:114) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:58:41,109 INFO [Thread-82] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 74] >>>>>>>>>>> xxl-rpc remoting server stop. |
| | | 2023-04-21 18:58:43,170 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registryRemove(AdminBizClient.java:46) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:84) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 18:58:43,174 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 90] >>>>>>>>>>> xxl-job registry-remove fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registryRemove, content=null] |
| | | 2023-04-21 18:58:43,178 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 105] >>>>>>>>>>> xxl-job, executor registry thread destory. |
| | | 2023-04-21 18:58:43,178 INFO [SpringApplicationShutdownHook] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 110] >>>>>>>>>>> xxl-rpc remoting server destroy success. |
| | | 2023-04-21 18:58:43,181 INFO [xxl-job, executor TriggerCallbackThread] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 96] >>>>>>>>>>> xxl-job, executor callback thread destory. |
| | | 2023-04-21 18:58:43,183 INFO [Thread-81] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 126] >>>>>>>>>>> xxl-job, executor retry callback thread destory. |
| | | 2023-04-21 18:58:43,303 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 94] De-registering from Nacos Server now... |
| | | 2023-04-21 18:58:43,308 WARN [SpringApplicationShutdownHook] o.s.c.a.CommonAnnotationBeanPostProcessor [InitDestroyAnnotationBeanPostProcessor.java : 185] Destroy method on bean with name 'nacosAutoServiceRegistration' threw an exception: java.lang.IllegalStateException: UT015023: This Context has been already destroyed |
| | | 2023-04-21 18:58:43,311 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 255] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin |
| | | 2023-04-21 18:58:43,313 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 140] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin |
| | | 2023-04-21 18:58:43,315 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 142] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop |
| | | 2023-04-21 18:58:43,316 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 257] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop |
| | | 2023-04-21 18:58:43,317 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 182] com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin |
| | | 2023-04-21 18:58:43,318 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoUpdateService.java : 130] com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin |
| | | 2023-04-21 18:58:43,653 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoUpdateService.java : 132] com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop |
| | | 2023-04-21 18:58:43,654 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServerListManager.java : 192] com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin |
| | | 2023-04-21 18:58:43,655 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 74] [NamingHttpClientManager] Start destroying NacosRestTemplate |
| | | 2023-04-21 18:58:43,656 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 81] [NamingHttpClientManager] Destruction of the end |
| | | 2023-04-21 18:58:43,656 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServerListManager.java : 197] com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop |
| | | 2023-04-21 18:58:43,656 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientProxy.java : 527] com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin |
| | | 2023-04-21 18:58:43,657 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [BeatReactor.java : 162] com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin |
| | | 2023-04-21 18:58:43,657 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [BeatReactor.java : 164] com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop |
| | | 2023-04-21 18:58:43,658 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 74] [NamingHttpClientManager] Start destroying NacosRestTemplate |
| | | 2023-04-21 18:58:43,658 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 81] [NamingHttpClientManager] Destruction of the end |
| | | 2023-04-21 18:58:43,658 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientProxy.java : 530] com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop |
| | | 2023-04-21 18:58:43,659 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 453] Shutdown rpc client, set status to shutdown |
| | | 2023-04-21 18:58:43,660 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 455] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@2625fc0b[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0] |
| | | 2023-04-21 18:58:43,661 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 592] Close current connection 1682073239071_192.168.93.1_52424 |
| | | 2023-04-21 18:58:43,667 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 129] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@69b132c2[Running, pool size = 3, active threads = 1, queued tasks = 0, completed tasks = 316] |
| | | 2023-04-21 18:58:43,669 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 267] Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@678728be[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 493] |
| | | 2023-04-21 18:58:43,667 INFO [nacos-grpc-client-executor-192.168.93.161-316] c.a.n.c.r.client.grpc.GrpcClient [LoggerUtils.java : 60] [1682073239071_192.168.93.1_52424]Ignore complete event,isRunning:false,isAbandon=false |
| | | 2023-04-21 18:58:43,670 INFO [SpringApplicationShutdownHook] c.a.n.c.a.r.i.CredentialWatcher [CredentialWatcher.java : 105] [null] CredentialWatcher is stopped |
| | | 2023-04-21 18:58:43,671 INFO [SpringApplicationShutdownHook] c.a.n.c.a.r.i.CredentialService [CredentialService.java : 99] [null] CredentialService is freed |
| | | 2023-04-21 18:58:43,671 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 189] com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop |
| | | 2023-04-21 19:14:18,407 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.3.Final |
| | | 2023-04-21 19:14:19,667 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-21 19:14:19,671 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-21 19:14:28,894 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob] & group[DEFAULT_GROUP] |
| | | 2023-04-21 19:14:28,919 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-21 19:14:28,936 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob-dev.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-21 19:14:28,937 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs.yaml,DEFAULT_GROUP'}] |
| | | 2023-04-21 19:14:28,974 INFO [main] c.v.ubcs.job.executor.JobApplication [SpringApplication.java : 640] The following 1 profile is active: "dev" |
| | | 2023-04-21 19:14:32,876 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode |
| | | 2023-04-21 19:14:32,894 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode. |
| | | 2023-04-21 19:14:33,005 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 40 ms. Found 0 Redis repository interfaces. |
| | | 2023-04-21 19:14:34,084 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=8a87525c-4e09-336f-9e65-667cebc7cd92 |
| | | 2023-04-21 19:14:34,094 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 150] BladePropertySourcePostProcessor init. |
| | | 2023-04-21 19:14:34,121 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 62] BladePropertySourcePostProcessor process @BladePropertySource bean. |
| | | 2023-04-21 19:14:34,236 WARN [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 67] Not found @BladePropertySource on spring bean class. |
| | | 2023-04-21 19:14:35,067 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,080 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,084 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$490/1132189701] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,092 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,212 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,223 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-21 19:14:35,918 WARN [main] io.undertow.websockets.jsr [Bootstrap.java : 68] UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used |
| | | 2023-04-21 19:14:35,966 INFO [main] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring embedded WebApplicationContext |
| | | 2023-04-21 19:14:35,967 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 292] Root WebApplicationContext: initialization completed in 6951 ms |
| | | 2023-04-21 19:14:36,555 INFO [main] c.v.u.j.executor.config.XxlJobConfig [XxlJobConfig.java : 43] >>>>>>>>>>> xxl-job config init. |
| | | 2023-04-21 19:14:36,583 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@70091872[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#httpJobHandler] |
| | | 2023-04-21 19:14:36,584 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@105db94d[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler] |
| | | 2023-04-21 19:14:36,585 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1d99ee1b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler2] |
| | | 2023-04-21 19:14:36,585 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3915e7c3[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#commandJobHandler] |
| | | 2023-04-21 19:14:36,586 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@167a21b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#shardingJobHandler] |
| | | 2023-04-21 19:14:37,330 INFO [main] c.a.c.s.SentinelWebMvcConfigurer [SentinelWebMvcConfigurer.java : 52] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. |
| | | 2023-04-21 19:14:37,437 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse) |
| | | 2023-04-21 19:14:37,437 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest) |
| | | 2023-04-21 19:14:37,438 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{GET [/test/testRequest]}" onto com.vci.ubcs.job.executor.controller.TestController#testRequest(String) |
| | | 2023-04-21 19:14:41,301 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-21 19:14:41,324 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 62] initializer namespace from System Property : null |
| | | 2023-04-21 19:14:41,326 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 66] initializer namespace from System Environment :null |
| | | 2023-04-21 19:14:41,329 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 73] initializer namespace from System Property :null |
| | | 2023-04-21 19:14:41,416 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-21 19:14:41,417 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-21 19:14:41,453 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 95] [RpcClientFactory] create a new rpc client of a8842145-f732-4160-a4ce-031976227c3f |
| | | 2023-04-21 19:14:41,455 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] RpcClient init label, labels = {module=naming, source=sdk} |
| | | 2023-04-21 19:14:41,484 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager |
| | | 2023-04-21 19:14:41,496 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService |
| | | 2023-04-21 19:14:41,499 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler |
| | | 2023-04-21 19:14:41,501 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Try to connect to server on start up, server: {serverIp = '192.168.93.161', server main port = 38848} |
| | | 2023-04-21 19:14:41,773 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Success to connect to server [192.168.93.161:38848] on start up, connectionId = 1682075681766_192.168.93.1_57607 |
| | | 2023-04-21 19:14:41,776 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Notify connected event to listeners. |
| | | 2023-04-21 19:14:41,779 INFO [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 76] Grpc connection connect |
| | | 2023-04-21 19:14:41,776 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler |
| | | 2023-04-21 19:14:41,779 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$376/99695585 |
| | | 2023-04-21 19:14:42,330 INFO [main] o.s.b.a.e.web.EndpointLinksResolver [EndpointLinksResolver.java : 58] Exposing 20 endpoint(s) beneath base path '/actuator' |
| | | 2023-04-21 19:14:44,967 INFO [main] o.s.b.f.a.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 367] Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties) |
| | | 2023-04-21 19:14:47,268 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. |
| | | 2023-04-21 19:14:47,360 INFO [main] c.x.r.r.p.XxlRpcProviderFactory [XxlRpcProviderFactory.java : 197] >>>>>>>>>>> xxl-rpc, provider factory add service success. serviceKey = com.xxl.job.core.biz.ExecutorBiz, serviceBean = class com.xxl.job.core.biz.impl.ExecutorBizImpl |
| | | 2023-04-21 19:14:48,494 INFO [main] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 141] [SUBSCRIBE-SERVICE] service:ubcs-xxljob, group:DEFAULT_GROUP, clusters:DEFAULT |
| | | 2023-04-21 19:14:48,583 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-21 19:14:48,624 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-21 19:14:48,632 INFO [Thread-67] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 66] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 7018 |
| | | 2023-04-21 19:14:48,712 INFO [main] io.undertow [Undertow.java : 120] starting server: Undertow - 2.2.18.Final |
| | | 2023-04-21 19:14:48,739 INFO [main] org.xnio [Xnio.java : 95] XNIO version 3.8.7.Final |
| | | 2023-04-21 19:14:48,771 INFO [main] org.xnio.nio [NioXnio.java : 58] XNIO NIO Implementation Version 3.8.7.Final |
| | | 2023-04-21 19:14:48,878 INFO [main] org.jboss.threads [Version.java : 52] JBoss Threads version 3.1.0.Final |
| | | 2023-04-21 19:14:49,035 INFO [main] o.s.b.w.e.undertow.UndertowWebServer [UndertowWebServer.java : 119] Undertow started on port(s) 36009 (http) |
| | | 2023-04-21 19:14:49,049 INFO [main] com.alibaba.nacos.client.naming [NamingGrpcClientProxy.java : 111] [REGISTER-SERVICE] public registering service ubcs-xxljob with instance Instance{instanceId='null', ip='192.168.237.1', port=36009, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} |
| | | 2023-04-21 19:14:49,070 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP ubcs-xxljob 192.168.237.1:36009 register finished |
| | | 2023-04-21 19:14:49,090 INFO [nacos-grpc-client-executor-192.168.93.161-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Receive server push request, request = NotifySubscriberRequest, requestId = 110 |
| | | 2023-04-21 19:14:49,091 INFO [nacos-grpc-client-executor-192.168.93.161-5] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob -> [] |
| | | 2023-04-21 19:14:49,091 INFO [nacos-grpc-client-executor-192.168.93.161-5] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob -> [] |
| | | 2023-04-21 19:14:49,106 INFO [nacos-grpc-client-executor-192.168.93.161-5] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Ack server push request, request = NotifySubscriberRequest, requestId = 110 |
| | | 2023-04-21 19:14:49,545 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 19:14:49,546 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 19:14:49,660 INFO [nacos-grpc-client-executor-192.168.93.161-9] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Receive server push request, request = NotifySubscriberRequest, requestId = 111 |
| | | 2023-04-21 19:14:49,661 INFO [nacos-grpc-client-executor-192.168.93.161-9] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 19:14:49,662 INFO [nacos-grpc-client-executor-192.168.93.161-9] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-21 19:14:49,677 INFO [nacos-grpc-client-executor-192.168.93.161-9] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [a8842145-f732-4160-a4ce-031976227c3f] Ack server push request, request = NotifySubscriberRequest, requestId = 111 |
| | | 2023-04-21 19:14:50,198 INFO [main] o.s.core.launch.StartEventListener [StartEventListener.java : 45] ---[UBCS-XXLJOB]---å¯å¨å®æï¼å½å使ç¨ç端å£:[36009]ï¼ç¯å¢åé:[dev]--- |
| | | 2023-04-21 19:14:50,225 INFO [main] c.v.ubcs.job.executor.JobApplication [StartupInfoLogger.java : 61] Started JobApplication in 34.47 seconds (JVM running for 38.233) |
| | | 2023-04-21 19:14:50,235 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 65] nacos.cache.data.init.snapshot = true |
| | | 2023-04-21 19:14:50,237 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,240 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 19:14:50,240 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,241 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob+DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,242 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 19:14:50,242 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob, group=DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,243 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs.yaml+DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,244 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 19:14:50,244 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,244 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob.yaml+DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,245 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 19:14:50,245 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,245 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.93.161_38848] [subscribe] ubcs-xxljob-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,245 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.93.161_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-21 19:14:50,245 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-21 19:14:50,569 INFO [RMI TCP Connection(7)-192.168.0.103] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2023-04-21 19:14:50,570 INFO [RMI TCP Connection(7)-192.168.0.103] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet' |
| | | 2023-04-21 19:14:50,574 INFO [RMI TCP Connection(7)-192.168.0.103] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 4 ms |
| | | 2023-04-21 19:14:50,717 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:14:50,718 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:15:22,768 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:15:22,769 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:15:54,811 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:15:54,812 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:16:26,868 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:16:26,868 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:16:58,913 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:16:58,914 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:17:30,975 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:17:30,976 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:18:03,017 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:18:03,017 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:18:35,064 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:18:35,064 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:19:07,100 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:19:07,100 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:19:39,154 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:19:39,155 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:20:11,195 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:20:11,196 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:20:43,253 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:20:43,254 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:21:15,306 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:21:15,306 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:21:47,365 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:21:47,370 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:22:19,398 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:22:19,398 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:22:51,447 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:22:51,448 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:23:23,511 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:23:23,520 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:23:55,587 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:23:55,593 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:24:27,621 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:24:27,622 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:24:59,677 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:24:59,682 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:25:31,742 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:25:31,744 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:26:03,798 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:26:03,799 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-21 19:26:19,075 WARN [Thread-17] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher |
| | | 2023-04-21 19:26:19,077 WARN [Thread-10] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient |
| | | 2023-04-21 19:26:19,081 WARN [Thread-17] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end |
| | | 2023-04-21 19:26:19,095 WARN [Thread-10] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end |
| | | 2023-04-21 19:26:19,556 INFO [SpringApplicationShutdownHook] io.undertow [Undertow.java : 259] stopping server: Undertow - 2.2.18.Final |
| | | 2023-04-21 19:26:19,702 INFO [SpringApplicationShutdownHook] io.undertow.servlet [ServletContextImpl.java : 382] Destroying Spring FrameworkServlet 'dispatcherServlet' |
| | | 2023-04-21 19:26:19,879 ERROR [SpringApplicationShutdownHook] c.a.cloud.nacos.discovery.NacosWatch [NacosWatch.java : 180] namingService unsubscribe failed, properties:NacosDiscoveryProperties{serverAddr='192.168.93.161:38848', username='', password='', endpoint='', namespace='', watchDelay=30000, logName='', service='ubcs-xxljob', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.237.1', networkInterface='', port=36009, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, instanceEnabled=true, ephemeral=true, failureToleranceEnabled=false}, ipDeleteTimeout=null, failFast=true} |
| | | java.lang.IllegalStateException: UT015023: This Context has been already destroyed |
| | | at io.undertow.servlet.spec.ServletContextImpl.getDeploymentInfo(ServletContextImpl.java:211) |
| | | at io.undertow.servlet.spec.ServletContextImpl.getInitParameterNames(ServletContextImpl.java:449) |
| | | at org.springframework.web.context.support.ServletContextPropertySource.getPropertyNames(ServletContextPropertySource.java:41) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getPropertyNames(PropertySourcesUtils.java:130) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getSubProperties(PropertySourcesUtils.java:103) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getSubProperties(PropertySourcesUtils.java:57) |
| | | at com.alibaba.cloud.nacos.NacosDiscoveryProperties.enrichNacosDiscoveryProperties(NacosDiscoveryProperties.java:657) |
| | | at com.alibaba.cloud.nacos.NacosDiscoveryProperties.getNacosProperties(NacosDiscoveryProperties.java:651) |
| | | at com.alibaba.cloud.nacos.discovery.NacosWatch.stop(NacosWatch.java:175) |
| | | at com.alibaba.cloud.nacos.discovery.NacosWatch.stop(NacosWatch.java:107) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:234) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.access$300(DefaultLifecycleProcessor.java:54) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:373) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:206) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:129) |
| | | at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1067) |
| | | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.doClose(ServletWebServerApplicationContext.java:174) |
| | | at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1021) |
| | | at org.springframework.boot.SpringApplicationShutdownHook.closeAndWait(SpringApplicationShutdownHook.java:145) |
| | | at java.lang.Iterable.forEach(Iterable.java:75) |
| | | at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:114) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:26:20,078 INFO [Thread-67] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 74] >>>>>>>>>>> xxl-rpc remoting server stop. |
| | | 2023-04-21 19:26:22,654 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registryRemove(AdminBizClient.java:46) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:84) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-21 19:26:22,655 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 90] >>>>>>>>>>> xxl-job registry-remove fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registryRemove, content=null] |
| | | 2023-04-21 19:26:22,656 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 105] >>>>>>>>>>> xxl-job, executor registry thread destory. |
| | | 2023-04-21 19:26:22,656 INFO [SpringApplicationShutdownHook] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 110] >>>>>>>>>>> xxl-rpc remoting server destroy success. |
| | | 2023-04-21 19:26:22,659 INFO [xxl-job, executor TriggerCallbackThread] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 96] >>>>>>>>>>> xxl-job, executor callback thread destory. |
| | | 2023-04-21 19:26:22,660 INFO [Thread-66] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 126] >>>>>>>>>>> xxl-job, executor retry callback thread destory. |
| | | 2023-04-21 19:26:22,696 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 94] De-registering from Nacos Server now... |
| | | 2023-04-21 19:26:22,701 WARN [SpringApplicationShutdownHook] o.s.c.a.CommonAnnotationBeanPostProcessor [InitDestroyAnnotationBeanPostProcessor.java : 185] Destroy method on bean with name 'nacosAutoServiceRegistration' threw an exception: java.lang.IllegalStateException: UT015023: This Context has been already destroyed |
| | | 2023-04-21 19:26:22,704 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 255] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin |
| | | 2023-04-21 19:26:22,705 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 140] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin |
| | | 2023-04-21 19:26:22,707 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 142] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop |
| | | 2023-04-21 19:26:22,707 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 257] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop |
| | | 2023-04-21 19:26:22,707 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 182] com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin |
| | | 2023-04-21 19:26:22,708 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoUpdateService.java : 130] com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin |
| | | 2023-05-09 18:02:59,625 INFO [Thread-43] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 74] >>>>>>>>>>> xxl-rpc remoting server stop. |