| | |
| | | } |
| | | |
| | | //主é®è·åå类模æ¿å±æ§ |
| | | export const gridCodeClassifyTemplate = (oid) =>{ |
| | | export const gridCodeClassifyTemplate = (params) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate', |
| | | method: 'get', |
| | | params:{ |
| | | oid |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const gridCodeClassifyFindTemplate = (params) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate', |
| | | method: 'get', |
| | | params:{ |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | //æ·»å |
| | | export const addSave = (data) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/addSave', |
| | | method: 'post', |
| | | data:data |
| | | }) |
| | | } |
| | | //å é¤ |
| | | export const deleteData = (data) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/deleteData', |
| | | method: 'Delete', |
| | | data:data |
| | | }) |
| | | } |
| | | //ä¿®æ¹ |
| | | export const editSave = (data) =>{ |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/editSave', |
| | | method: 'Put', |
| | | data:data |
| | | }) |
| | | } |
| | | //åºæ¬ä¿¡æ¯è¡¨åæ°æ® |
| | |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | |
| | |
| | | </span> |
| | | <span v-else-if="type.prop==='tab2'">æ¨¡æ¿æµç¨</span> |
| | | <span v-else-if="type.prop==='tab3'">模æ¿é¶æ®µ</span> |
| | | <span v-else-if="type.prop==='tab4'">æ¨¡æ¿æé®æµç¨</span> |
| | | </basic-container> |
| | | |
| | | </template> |
| | |
| | | <!--</script>--> |
| | | |
| | | |
| | | <style lang="scss" scoped> |
| | | <style lang="scss"> |
| | | //ä¿®æ¹å类注å
¥å¯¹è¯æ¡å
Œ
±æ ·å¼ |
| | | .mydialog .el-dialog__body { |
| | | padding: 10px 20px 30px; |
| | |
| | | <!--suppress ALL --> |
| | | <template> |
| | | <el-container> |
| | | <!-- 左侧èå--> |
| | |
| | | <avue-tabs :option="tabOption" @change="handleChange"></avue-tabs> |
| | | <span v-if="type.prop==='tab1'"> |
| | | <basic-container> |
| | | <avue-crud v-model="crudForm" :data="this.Formlist" :option="this.crudTreeOption" v-loading="FormLoing" |
| | | <avue-crud v-model="crudForm" v-loading="FormLoing" :data="this.Formlist" :option="this.crudTreeOption" |
| | | @row-save="CrudRowSave" |
| | | @row-del="CrudRowDel" |
| | | @row-update="CrudRowUpdata" |
| | | > |
| | | <template slot="menuLeft"> |
| | | <el-button plain size="small" type="primary">æ¥è¯¢</el-button> |
| | | <el-button plain size="small" type="primary" @click="FindFormVisible = true;">æ¥è¯¢</el-button> |
| | | <el-button plain size="small" type="primary" @click="TemRefresh">å·æ°</el-button> |
| | | <el-button plain size="small" type="primary">ä»å
¶å®æ¨¡æ¿å
é</el-button> |
| | | <div style="display: inline-block"> <el-input v-model="FindText" placeholder="请è¾å
¥å
³é®åæå车æ¥è¯¢" |
| | | size="small" |
| | | @keyup.enter.native="EnterFind"></el-input></div> |
| | | |
| | | <el-dialog :visible.sync="FindFormVisible" append-to-body title="é«çº§æ¥è¯¢"> |
| | | <div> |
| | | <el-button size="small" type="primary" @click="AdvQueries">æ¥è¯¢</el-button> |
| | | <el-button size="small" type="primary">éç½®</el-button> |
| | | </div> |
| | | <div style="padding-left: 80px;margin-top: 15px;"> |
| | | <template v-for="(value, key) in FindSelect"> |
| | | <div style="display: flex;justify-content: space-around;width: 85%;margin-bottom: 15px"> |
| | | <el-select v-model="FindSelect[key]" placeholder="è¯·éæ©" style="width: 28%" @change="handleSelectChange(key)"> |
| | | <el-option label="模æ¿ç¼å·" value="0"></el-option> |
| | | <el-option label="模æ¿åç§°" value="1"></el-option> |
| | | <el-option label="æ¨¡æ¿æè¿°" value="2"></el-option> |
| | | <el-option label="çæ¬å·" value="3"></el-option> |
| | | <el-option label="ç¶æ" value="4"></el-option> |
| | | </el-select> |
| | | <el-select v-model="condition[0]" placeholder="è¯·éæ©" style="width: 15%"> |
| | | <el-option label="å
å«" value="0"></el-option> |
| | | <el-option label="çäº" value="1"></el-option> |
| | | </el-select> |
| | | <el-input v-model="QueryArray[key]" style="width: 49%"></el-input> |
| | | <span> <i class="el-icon-delete" style="font-size: 22px;margin-top:8px;margin-left: 10px"/></span> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </el-dialog> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | |
| | | importClassify, |
| | | gridCodeClassifyTemplate, |
| | | getObjectByOid, |
| | | gridCodeClassifyTemplateAttr |
| | | gridCodeClassifyTemplateAttr, |
| | | gridCodeClassifyFindTemplate, |
| | | addSave, |
| | | deleteData, |
| | | editSave |
| | | } from "@/api/template/templateAttr"; |
| | | |
| | | export default { |
| | |
| | | inject: ['crudTreeOption', "crudTreeData"], |
| | | data() { |
| | | return { |
| | | //模æ¿å±æ§å±ç¤ºå
容 |
| | | ProData: [], |
| | | //åè½¦é®æç´¢ç»å®å¼ |
| | | FindText: "", |
| | | fileList: [], |
| | | //é«çº§æ¥è¯¢å¯¹è¯æ¡ |
| | | FindFormVisible: false, |
| | | //é«çº§æ¥è¯¢ä¸ææ¡ |
| | | FindSelect: { |
| | | id: "0", |
| | | name: "1", |
| | | description: "2", |
| | | revisionValue: "3", |
| | | lcStatus: "4" |
| | | }, |
| | | //é«çº§æ¥è¯¢æ¡ä»¶ |
| | | condition: ["0", "0", "0", "0", "0"], |
| | | //é«çº§æ¥è¯¢ çäº/ä¸çäº |
| | | Equalto: "0", |
| | | //é«çº§æ¥è¯¢ è¾å
¥æ¡æ°æ® |
| | | QueryArray: { |
| | | id: "", |
| | | name: "", |
| | | description: "", |
| | | revisionValue: "", |
| | | lcStatus: "" |
| | | }, |
| | | //åç¨å¯ç¨æ¥æ¶æ°ç» |
| | | FlagObj: {}, |
| | | //ä¿®æ¹å¯¹è¯æ¡ |
| | | TreeEditFormVisible: false, |
| | |
| | | TreeFlag: false, |
| | | //æ å è½½ |
| | | loading: false, |
| | | FormLoing:false, |
| | | FormLoing: false, |
| | | TreeAddform: { |
| | | id: "", |
| | | name: "", |
| | |
| | | ], |
| | | //ä¼ éç»åç»ä»¶å¨ææ¸²æçæ°æ® |
| | | TreeList: {}, |
| | | //å®ä¹ä¸ä¸ªæ¨¡æ¿å±æ§idï¼æ°æ®æ¯æ¨¡æ¿ç®¡çè¡¨æ ¼éé¢çoid |
| | | codeClassifyOid:"" |
| | | } |
| | | }, |
| | | //tabæ é»è®¤æ¯è¡¨æ ¼ |
| | |
| | | this.$message.error(res) |
| | | }) |
| | | }, |
| | | //å®ä¹ä¸ä¸ªä¿®æ¹å¯¹è±¡å±æ§åçæ¹æ³ |
| | | //å®ä¹ä¸ä¸ªä¿®æ¹å¯¹è±¡å±æ§åçæ¹æ³ è¿é嫿¹ï¼ï¼ï¼å¥½åæ¯åå°æ¥å£æ°æ®å段ä¸ä¸è´ï¼æ·»å çæ¹æ³ãå
·ä½ä»ä¹åå æä¹å¿è®°äº |
| | | ModifyProperties(obj, oldName, newName) { |
| | | for (let key in obj) { |
| | | if (key === oldName) { |
| | |
| | | }); |
| | | } |
| | | }, |
| | | //æ ç¹å»äºä»¶ |
| | | async nodeClick(data) { |
| | | //å®ä¹ä¸ä¸ªæ¨¡æ¿å±æ§idï¼æ°æ®æ¯æ¨¡æ¿ç®¡çè¡¨æ ¼éé¢çoid |
| | | this.nodeClickList = data |
| | | console.log(data.oid) |
| | | //console.log(data.oid) |
| | | try { |
| | | await TreeObjcet(data.oid).then(res => { |
| | | this.FlagObj = res.data.data |
| | |
| | | this.$message.error(res) |
| | | }) |
| | | //模æ¿ç®¡çè¡¨æ ¼æ°æ® |
| | | await gridCodeClassifyTemplate(data.oid).then(res => { |
| | | await gridCodeClassifyTemplate({'conditionMap[codeClassifyOid]':data.oid }).then(res => { |
| | | this.Formlist = res.data.data.filter(item => { |
| | | if(item.codeclassifyoid != ""){ |
| | | return item.codeclassifyoid == this.nodeClickList.oid |
| | | } |
| | | if (item.codeclassifyoid != "") { |
| | | this.codeClassifyOid=item.codeclassifyoid |
| | | return item.codeclassifyoid == this.nodeClickList.oid |
| | | } |
| | | }) |
| | | console.log("formlist", this.Formlist) |
| | | gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': this.Formlist[0].oid}).then(res => { |
| | |
| | | this.$message.error(res) |
| | | }) |
| | | }).catch(res => { |
| | | console.log(res) |
| | | console.log(res) |
| | | }) |
| | | // åºæ¬ä¿¡æ¯è¡¨åæ°æ® |
| | | await getObjectByOid(this.nodeClickList.oid).then(res => { |
| | |
| | | handleChange(column) { |
| | | this.type = column |
| | | }, |
| | | // //é«çº§æ¥è¯¢æé® |
| | | // handleSelectChange(key) { |
| | | // const selectedValue = this.FindSelect[key]; |
| | | // console.log(selectedValue) |
| | | // console.log(this.QueryArray[0]) |
| | | // switch (this.FindSelect[key]) { |
| | | // case '0': |
| | | // this.QueryArray[key] = ''; |
| | | // this.$set(this.QueryArray, key, ''); |
| | | // // 妿éä¸çæ¯æ¨¡æ¿ç¼å·ï¼ç¸åºçè¾å
¥æ¡ååç»å®å
³ç³»ä¸º QueryArray.id |
| | | // this.$set(this.QueryArray, 'id', this.QueryArray[key]); |
| | | // break; |
| | | // case '1': |
| | | // this.QueryArray[key] = ''; |
| | | // this.$set(this.QueryArray, key, ''); |
| | | // // 妿éä¸çæ¯æ¨¡æ¿åç§°ï¼ç¸åºçè¾å
¥æ¡ååç»å®å
³ç³»ä¸º QueryArray.name |
| | | // this.$set(this.QueryArray, 'name', this.QueryArray[key]); |
| | | // break; |
| | | // case '2': |
| | | // this.QueryArray[key] = ''; |
| | | // this.$set(this.QueryArray, key, ''); |
| | | // // 妿éä¸çæ¯æ¨¡æ¿æè¿°ï¼ç¸åºçè¾å
¥æ¡ååç»å®å
³ç³»ä¸º QueryArray.description |
| | | // this.$set(this.QueryArray, 'description', this.QueryArray[key]); |
| | | // break; |
| | | // case '3': |
| | | // this.QueryArray[key] = ''; |
| | | // this.$set(this.QueryArray, key, ''); |
| | | // // 妿éä¸çæ¯çæ¬å·ï¼ç¸åºçè¾å
¥æ¡ååç»å®å
³ç³»ä¸º QueryArray.revisionValue |
| | | // this.$set(this.QueryArray, 'revisionValue', this.QueryArray[key]); |
| | | // break; |
| | | // case '4': |
| | | // this.QueryArray[key] = ''; |
| | | // this.$set(this.QueryArray, key, ''); |
| | | // // 妿éä¸çæ¯ç¶æï¼ç¸åºçè¾å
¥æ¡ååç»å®å
³ç³»ä¸º QueryArray.lcStatus |
| | | // this.$set(this.QueryArray, 'lcStatus', this.QueryArray[key]); |
| | | // break; |
| | | // } |
| | | // }, |
| | | AdvQueries() { |
| | | this.FindFormVisible = false |
| | | //妿å
¨é¨ä¸ºç©º allEmpty为true |
| | | const allEmpty = Object.values(this.QueryArray).every(value => !value); |
| | | //妿å
¨é¨ä¸ºç©ºï¼ç¹å»æ¥è¯¢åºç°æææ°æ® |
| | | if (allEmpty) { |
| | | gridCodeClassifyTemplate().then(res => { |
| | | this.Formlist = res.data.data |
| | | }) |
| | | } else { |
| | | //é»è®¤æ¯çäº |
| | | gridCodeClassifyFindTemplate({'conditionMap[id]': this.QueryArray.id}, |
| | | {'conditionMap[name]': this.QueryArray.name}, |
| | | {'conditionMap[description]': this.QueryArray.description}, |
| | | {'conditionMap[revisionValue]': this.QueryArray.revisionValue}, |
| | | {'conditionMap[lcStatus]': this.QueryArray.lcStatus} |
| | | ).then(res => { |
| | | this.Formlist = res.data.data |
| | | }) |
| | | } |
| | | }, |
| | | //模æ¿ç®¡ç渲æ |
| | | CrudRend(){ |
| | | gridCodeClassifyTemplate({'conditionMap[codeclassifyoid]':this.nodeClickList.oid }).then(res=>{ |
| | | this.Formlist = res.data.data |
| | | }) |
| | | }, |
| | | //模æ¿ç®¡çè¡¨æ ¼æ·»å |
| | | CrudRowSave(row){ |
| | | if(this.nodeClickList.length <= 0){ |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: '请å
仿 ä¸éæ©ä¸æ¡æ°æ®!' |
| | | }); |
| | | }else { |
| | | console.log(this.nodeClickList) |
| | | let codeClassifyOid=this.codeClassifyOid |
| | | this.$set(row,"codeclassifyoid",codeClassifyOid) |
| | | addSave(row).then(res=>{ |
| | | this.CrudRend() |
| | | }).catch(res=>{ |
| | | this.$message({ |
| | | type: 'info', |
| | | message: res |
| | | }); |
| | | }) |
| | | } |
| | | }, |
| | | //模æ¿ç®¡çä¿®æ¹ |
| | | CrudRowUpdata(row){ |
| | | editSave(row).then(()=>{ |
| | | this.CrudRend() |
| | | }).catch(res=>{ |
| | | this.$message({ |
| | | type: 'info', |
| | | message: res |
| | | }); |
| | | }) |
| | | }, |
| | | //模æ¿ç®¡çå é¤ |
| | | CrudRowDel(row){ |
| | | deleteData(row).then(res=>{ |
| | | this.CrudRend() |
| | | }).catch(res=>{ |
| | | this.$message({ |
| | | type: 'info', |
| | | message: res |
| | | }); |
| | | }) |
| | | }, |
| | | //模æ¿ç®¡çè¡¨æ ¼æ¥è¯¢ |
| | | EnterFind() { |
| | | console.log(this.Formlist) |
| | |
| | | }) |
| | | } else { |
| | | gridCodeClassifyTemplate().then(res => { |
| | | this.Formlist = res.data.data.filter(item => { |
| | | return item.name.includes(this.FindText) |
| | | } |
| | | ) |
| | | } |
| | | ) |
| | | } |
| | | }, |
| | | TemRefresh(){ |
| | | this.FormLoing=true |
| | | if(this.nodeClickList.oid != ""){ |
| | | gridCodeClassifyTemplate(this.nodeClickList.oid).then(res=>{ |
| | | this.Formlist = res.data.data.filter(item => { |
| | | return item.codeclassifyoid == this.nodeClickList.oid |
| | | return item.name.includes(this.FindText) |
| | | }) |
| | | }) |
| | | }else { |
| | | this.FormLoing=true |
| | | } |
| | | }, |
| | | //å·æ° |
| | | TemRefresh() { |
| | | this.FormLoing = true |
| | | if (this.nodeClickList.oid != "") { |
| | | gridCodeClassifyTemplate({'conditionMap[codeclassifyoid]':this.nodeClickList.oid}).then(res => { |
| | | this.Formlist = res.data.data.filter(item => { |
| | | return item.codeclassifyoid == this.nodeClickList.oid |
| | | }) |
| | | }) |
| | | } else { |
| | | this.FormLoing = true |
| | | } |
| | | setTimeout(() => { |
| | | this.FormLoing=false |
| | | this.FormLoing = false |
| | | }, 600); |
| | | }, |
| | | // å·¦æ å¤é |
| | |
| | | append-to-body |
| | | :visible.sync="isShowReferConfig" |
| | | width="90%" |
| | | id="refer-config" |
| | | @close="recoveryDataAndForm('initData')" |
| | | style="height: 115vh; margin-top: -14vh; overflow-y: hidden"> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | |
| | | <div style="width: 100%; overflow-y: auto; height: 65vh"> |
| | | <el-row> |
| | | <avue-form ref="form" :option="formOption" v-model="form" class="referTypeForm"> |
| | | <template> |
| | | <el-input |
| | | ref="referType" |
| | | <template #referTypeName="{disabled,size}"> |
| | | <el-input :disabled="disabled" |
| | | :size="size" |
| | | v-model="form.referTypeName" |
| | | ref="referTypeName" |
| | | placeholder="è¯·éæ© åç
§çä¸å¡ç±»å" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | v-model="form.referType" |
| | | @focus="openAttrSelectOrGetValue('referType')"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearAttrDataByIcon('referType')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | @focus="openSelectionTable('referType')"> |
| | | <i v-show="!disabled" slot="suffix" class="el-icon-circle-close" @click="clearSelectionTable('referType')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </template> |
| | | <template #sortField="{disabled,size}"> |
| | | <el-input :disabled="disabled" |
| | | :size="size" |
| | | v-model="form.sortField" |
| | | ref="sortField" |
| | | placeholder="è¯·éæ© æåºå段" |
| | | prefix-icon="el-icon-search" |
| | | readonly="true" |
| | | @focus="openSelectionTable('sortField')"> |
| | | <i slot="suffix" class="el-icon-circle-close" @click="clearSelectionTable('sortField')" style="margin-right: 5px;cursor: pointer;"></i> |
| | | </el-input> |
| | | </template> |
| | | </avue-form> |
| | |
| | | <el-row v-show="form.type=='default' || form.type=='grid'"> |
| | | <avue-crud |
| | | ref="crudAttr" |
| | | class="crud-attr" |
| | | :option="attrOption" |
| | | @cell-click="clicktest" |
| | | @cell-click="clickAttrEdit" |
| | | :data="attrData"> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | @click="openAddSearchOrAttrDialog('selectAttr')">鿩屿§ |
| | | @click="openSelectionTable('selectAttr')">鿩屿§ |
| | | </el-button> |
| | | <div class="tag-group" style="display: inline"> |
| | | <el-tag |
| | | v-for="item in attrData" |
| | | v-show="item.isquery && item.title!=''" |
| | | style="margin-left: 3px" |
| | | :key="item.title" |
| | | type="info" |
| | | size="small" |
| | | effect="dark"> |
| | | {{ item.title }} |
| | | </el-tag> |
| | | </div> |
| | | </template> |
| | | </avue-crud> |
| | | </el-row> |
| | | <el-row> |
| | | <el-row style="margin-top: 10px"> |
| | | <avue-crud |
| | | ref="crudAddCondition" |
| | | :option="addSearchCondtionOption" |
| | | @cell-click="clickAddSearchCondtionEdit" |
| | | :data="addSearchCondtionData"> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | @click="openAddSearchOrAttrDialog('addSearchCondition')"> |
| | | @click="openSelectionTable('addSearchCondition')"> |
| | | æ·»å æ¥è¯¢æ¡ä»¶ |
| | | </el-button> |
| | | </template> |
| | |
| | | <el-tab-pane label="ç´æ¥éååç
§é
ç½®" name="second"> |
| | | <div style="width: 100%; overflow-y: auto; height: 65vh"> |
| | | <avue-crud |
| | | :option="optionSelectReferConfig" |
| | | :option="selectReferConfigOption" |
| | | :table-loading="selectReferConfigLoading" |
| | | :data="selectReferConfigData" |
| | | :page.sync="selectReferConfigPage" |
| | |
| | | <el-button @click="recoveryDataAndForm('initForm')">æ¸
空å
容</el-button> |
| | | <el-button @click="isShowReferConfig = false">å æ¶</el-button> |
| | | </div> |
| | | |
| | | <el-dialog title="为ãåç
§çä¸å¡ç±»åãéåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowReferBtmType" |
| | | width="70%" |
| | | destroy-on-close |
| | | @close="clearTableRowSelection('referType')" |
| | | style="height: 110vh; margin-top: -12vh; overflow-y: hidden"> |
| | | <avue-crud :option="selectionReferBtmTypeOption" |
| | | :table-loading="selectReferBtmTypeLoading" |
| | | :data="selectReferBtmTypeData" |
| | | :page.sync="selectReferBtmTypePage" |
| | | ref="selectReferBtmTypeCrud" |
| | | class="referBtmType-crud" |
| | | @row-click="referBtmTypeRowClick" |
| | | @search-change="referBtmTypeSearchChange" |
| | | @search-reset="referBtmTypeSearchReset" |
| | | @current-change="referBtmTypeCurrentChange" |
| | | @size-change="referBtmTypeSizeChange"> |
| | | <template #radio="{row}"> |
| | | <el-radio v-model="referBtmTypeSelectRow" |
| | | :label="row.$index"> |
| | | - |
| | | </el-radio> |
| | | </template> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="selectedReferBtmType">ç¡® å®</el-button> |
| | | <el-button @click="isShowReferBtmType = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog title="为ãæåºå段ãéåå¼" |
| | | append-to-body |
| | | :visible.sync="isShowSortField" |
| | | width="70%" |
| | | destroy-on-close |
| | | @close="clearTableRowSelection('sortField')" |
| | | style="height: 110vh; margin-top: -12vh; overflow-y: hidden"> |
| | | <avue-crud :option="selectionSortFieldOption" |
| | | :table-loading="selectSortFieldLoading" |
| | | :data="selectSortFieldData" |
| | | :page.sync="selectSortFieldPage" |
| | | ref="selectSortFieldCrud" |
| | | @row-click="sortFieldRowClick" |
| | | @search-change="sortFieldChange" |
| | | @search-reset="sortFieldSearchReset" |
| | | @current-change="sortFieldCurrentChange" |
| | | @size-change="sortFieldSizeChange"> |
| | | <template #radio="{row}"> |
| | | <el-radio v-model="sortFieldSelectRow" |
| | | :label="row.$index"> |
| | | - |
| | | </el-radio> |
| | | </template> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="selectedSortField">ç¡® å®</el-button> |
| | | <el-button @click="isShowSortField = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog title="éæ©æ¾ç¤ºå段" |
| | | append-to-body |
| | | :visible.sync="isShowShowField" |
| | | width="70%" |
| | | destroy-on-close |
| | | style="height: 110vh; margin-top: -12vh; overflow-y: hidden"> |
| | | <avue-crud :option="selectionShowFieldOption" |
| | | :table-loading="selectShowFieldLoading" |
| | | :data="selectShowFieldData" |
| | | ref="selectShowFieldCrud" |
| | | @row-click="showFieldRowClick" |
| | | @selection-change="selectionShowFieldDataChange" |
| | | @search-change="showFieldSearchChange" |
| | | @search-reset="showFieldSearchReset"> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="selectedShowField">ç¡® å®</el-button> |
| | | <el-button @click="isShowShowField = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-dialog title="éæ©æ¥è¯¢æ¡ä»¶" |
| | | append-to-body |
| | | :visible.sync="isShowSearchCondition" |
| | | width="70%" |
| | | destroy-on-close |
| | | style="height: 110vh; margin-top: -12vh; overflow-y: hidden"> |
| | | <avue-crud :option="selectionSearchConditionOption" |
| | | :table-loading="selectSearchConditionLoading" |
| | | :data="selectSearchConditionData" |
| | | ref="selectSearchConditionCrud" |
| | | @row-click="searchConditionRowClick" |
| | | @selection-change="searchConditionDataChange" |
| | | @search-change="searchConditionSearchChange" |
| | | @search-reset="searchConditionSearchReset"> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="selectedSearchCondition">ç¡® å®</el-button> |
| | | <el-button @click="isShowSearchCondition = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | </el-dialog> |
| | | |
| | | </template> |
| | |
| | | }, |
| | | }, |
| | | data() { |
| | | let element = ''; |
| | | return { |
| | | //æµè¯è¡¨æ ¼è¡ç¼è¾ææ |
| | | // tableData:[{ |
| | | // field: 'id', |
| | | // title: 'ç¼å·', |
| | | // fieldType: 'text', |
| | | // fieldTypeText: 'ææ¬æ¡', |
| | | // sort: true, |
| | | // sortField: 'id', |
| | | // width: '150', |
| | | // isquery: true, |
| | | // $cellEdit: false |
| | | // },{ |
| | | // field: 'name', |
| | | // title: 'åç§°', |
| | | // fieldType: 'text', |
| | | // fieldTypeText: 'ææ¬æ¡', |
| | | // sort: true, |
| | | // sortField: 'name', |
| | | // width: '180', |
| | | // isquery: true, |
| | | // $cellEdit: false |
| | | // }], |
| | | // tableOption:{ |
| | | // tableData:[], //è¡¨æ ¼æ°æ® |
| | | // options:[] //è¡¨æ ¼é
置项信æ¯ï¼è¡¨å¤´ï¼label宽度çï¼ |
| | | // }, |
| | | |
| | | activeName: 'first', //å½åæ´»å¨çtabs |
| | | labelWidth: '150', // æ é¢å®½åº¦ |
| | | isShowReferConfig: false, // å¯¹è¯æ¡æ¾ç¤ºéèæ§å¶ |
| | | isShowReferConfig: false, // 第ä¸å±å¯¹è¯æ¡æ¾ç¤ºéèæ§å¶ |
| | | referTypeIsReadOnly: false, |
| | | // 表å对象 |
| | | form: { |
| | | referType: '', |
| | | referTypeName: '', //æ¾ç¤ºçå¼ |
| | | referType: '', //å®é
åå¨çå¼ |
| | | textField: 'name', |
| | | valueField: 'oid', |
| | | type: 'default', //åç
§çªå£ç±»å |
| | |
| | | useFormKey: '', |
| | | paramForFormKey: '', |
| | | isMuti: false, |
| | | mapFields: '', |
| | | mapFields: '', |
| | | // æ¥è¯¢æ¡ä»¶å表 |
| | | // limit: '15', |
| | | // sortField: '', |
| | | // sortType: 'asc', |
| | |
| | | // loadType: 'all', |
| | | // onlyLeaf: false, |
| | | }, |
| | | attrData: [ |
| | | { |
| | | field: 'id', |
| | | title: 'ç¼å·', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: "true", |
| | | sortField: 'id', |
| | | width: '150', |
| | | isquery: true, |
| | | },{ |
| | | field: 'name', |
| | | title: 'åç§°', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: "true", |
| | | sortField: 'name', |
| | | width: '180', |
| | | isquery: true, |
| | | } |
| | | ], |
| | | attrData: [], |
| | | attrOption: { |
| | | height:'150', |
| | | height:'180', |
| | | tip: false, |
| | | addBtn: false, |
| | | editBtn: false, |
| | |
| | | { |
| | | label: "ååæ®µ(*)", |
| | | prop: "field", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "åå(*)", |
| | | prop: "title", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "åæ®µç±»å(*)", |
| | | prop: "fieldTypeText", |
| | | cell: true, |
| | | clearable: false, |
| | | type:"select", |
| | | value: 'text', |
| | | dicData: [{ |
| | | value: 'text', label: 'ææ¬æ¡' |
| | | }, { |
| | | value: 'combox', label: '䏿èå' |
| | | }, { |
| | | value: 'radio',label: 'åé' |
| | | }, { |
| | | value: 'swtich', label: 'å¼å
³' |
| | | }, { |
| | | value: 'date', label: 'æ¶é´' |
| | | }, { |
| | | value: 'textarea', label: 'ææ¬å' |
| | | }], |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "åè¡¨å¯æåº", |
| | | prop: "sort", |
| | | cell: true, |
| | | clearable: false, |
| | | type:"switch", |
| | | width: '80px', |
| | | value: true, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "æåºå段", |
| | | prop: "sortField", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "åæ®µå®½åº¦", |
| | | prop: "width", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "ååºå®ä½ç½®", |
| | | prop: "fixedText", |
| | | cell: true, |
| | | type:"select", |
| | | clearable: false, |
| | | value: 'noFixed', |
| | | dicData: [{value: 'noFixed', label: 'ä¸åºå®'}, {value: 'left', label: '左边'}, {value: 'right', label: 'å³è¾¹'}], |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | },{ |
| | | label: "jsæ¾ç¤ºä»£ç ", |
| | | prop: "templet", |
| | | cell: true, |
| | | clearable: false, |
| | | blur: (value) => this.updateAttrBlur(value), |
| | | }, |
| | | ] |
| | | }, |
| | | addSearchCondtionData: [ |
| | | { |
| | | id: 'test', |
| | | cate: 'test', |
| | | value: 1 |
| | | },{ |
| | | id: 'test1', |
| | | cate: 'test1', |
| | | value: 2 |
| | | },{ |
| | | id: 'test2', |
| | | cate: 'test2', |
| | | value: 3 |
| | | },{ |
| | | id: 'test4', |
| | | cate: 'test4', |
| | | value: 4 |
| | | } |
| | | ], |
| | | addSearchCondtionData: [], |
| | | addSearchCondtionOption: { |
| | | height:'150', |
| | | tip: false, |
| | |
| | | column: [ |
| | | { |
| | | label: "çéåæ®µ", |
| | | prop: "id", |
| | | prop: "filterField", |
| | | cell: true, |
| | | clearable: false, |
| | | },{ |
| | | label: "çéç±»å", |
| | | prop: "cate", |
| | | prop: "filterType", |
| | | type: "select", |
| | | cell: true, |
| | | clearable: false, |
| | | dicData: [{ |
| | | value: 'like', label: 'å
å«' |
| | | }, { |
| | | value: '=', label: 'çäº' |
| | | }, { |
| | | value: '>', label: '大äº' |
| | | }, { |
| | | value: '<', label: 'å°äº' |
| | | }, { |
| | | value: '!=', label: 'ä¸çäº' |
| | | }, { |
| | | value: '>=', label: '大äºçäº' |
| | | }, { |
| | | value: '<=', label: 'å°äºçäº' |
| | | }] |
| | | },{ |
| | | label: "çéå¼", |
| | | prop: "value", |
| | | prop: "filterValue", |
| | | cell: true, |
| | | clearable: false, |
| | | } |
| | | ] |
| | | }, |
| | | |
| | | optionSelectReferConfig: { |
| | | selectReferConfigOption: { |
| | | height:'auto', |
| | | tip: false, |
| | | addBtn: false, |
| | |
| | | }, |
| | | selectReferConfigQuery: {}, |
| | | |
| | | //为ãåç
§çä¸å¡ç±»åãéåå¼å¯¹è¯æ¡ |
| | | selectionReferBtmTypeOption: { |
| | | border: true, |
| | | height: '260', |
| | | tip: false, |
| | | //searchShow: false, |
| | | index: true, |
| | | selection: false, |
| | | menu: false, |
| | | addBtn: false, |
| | | refreshBtn: false, |
| | | searchShowBtn: false, |
| | | columnBtn: false, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | align: 'center', |
| | | menuAlign: 'center', |
| | | column: [{ |
| | | label: '-', |
| | | prop: 'radio', |
| | | width: 60, |
| | | hide: false |
| | | },{ |
| | | label: 'ä¸å¡ç±»åç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: 'ä¸å¡ç±»ååç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: 'æè¿°', |
| | | search: false, |
| | | prop: 'description' |
| | | }], |
| | | }, |
| | | selectReferBtmTypeLoading: false, |
| | | selectReferBtmTypeData: [], |
| | | selectReferBtmTypePage: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | referBtmTypeQuery: {}, |
| | | isShowReferBtmType: false, |
| | | referBtmTypeSelectRowData: '', |
| | | referBtmTypeSelectRow: '', |
| | | |
| | | |
| | | // 为ãæåºå段ãéåå¼å¯¹è¯æ¡ |
| | | isShowSortField: false, |
| | | selectionSortFieldOption: { |
| | | border: true, |
| | | height: '220px', |
| | | tip: false, |
| | | //searchShow: false, |
| | | index: true, |
| | | selection: false, |
| | | addBtn: false, |
| | | menu: false, |
| | | refreshBtn: false, |
| | | searchShowBtn: false, |
| | | columnBtn: false, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | align: 'center', |
| | | menuAlign: 'center', |
| | | border: true, |
| | | column: [{ |
| | | label: '-', |
| | | prop: 'radio', |
| | | width: 60, |
| | | hide: false |
| | | },{ |
| | | label: '屿§è±æç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: '屿§ä¸æåç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: '屿§é¿åº¦', |
| | | search: false, |
| | | prop: 'attrLength' |
| | | },{ |
| | | label: '屿§ç±»å', |
| | | search: false, |
| | | prop: 'attrType' |
| | | }], |
| | | }, |
| | | selectSortFieldLoading: false, |
| | | selectSortFieldData: [], |
| | | selectSortFieldPage: { |
| | | pageSize: 10, |
| | | currentPage: 1, |
| | | total: 0 |
| | | }, |
| | | sortFieldQuery: {}, |
| | | sortFieldSelectRow: '', |
| | | sortFieldSelectRowData: '', |
| | | |
| | | |
| | | //éæ©æ¾ç¤ºå段 |
| | | isShowShowField: false, |
| | | selectionShowFieldOption: { |
| | | border: true, |
| | | height: '220px', |
| | | tip: false, |
| | | //searchShow: false, |
| | | index: true, |
| | | selection: true, |
| | | addBtn: false, |
| | | menu: false, |
| | | refreshBtn: false, |
| | | searchShowBtn: false, |
| | | columnBtn: false, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | align: 'center', |
| | | menuAlign: 'center', |
| | | border: true, |
| | | column: [{ |
| | | label: '屿§è±æç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: '屿§ä¸æåç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: '屿§é¿åº¦', |
| | | search: false, |
| | | prop: 'attrLength' |
| | | },{ |
| | | label: '屿§ç±»å', |
| | | search: false, |
| | | prop: 'attrType' |
| | | }], |
| | | }, |
| | | showFieldQuery: {}, |
| | | selectShowFieldLoading: false, |
| | | selectShowFieldData: [], |
| | | showFieldSelectList: [], |
| | | |
| | | //æ·»å æ¥è¯¢æ¡ä»¶ |
| | | isShowSearchCondition: false, |
| | | selectionSearchConditionOption: { |
| | | border: true, |
| | | height: '220px', |
| | | tip: false, |
| | | //searchShow: false, |
| | | index: true, |
| | | selection: true, |
| | | addBtn: false, |
| | | menu: false, |
| | | refreshBtn: false, |
| | | searchShowBtn: false, |
| | | columnBtn: false, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | align: 'center', |
| | | menuAlign: 'center', |
| | | border: true, |
| | | column: [{ |
| | | label: '屿§è±æç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: '屿§ä¸æåç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: '屿§é¿åº¦', |
| | | search: false, |
| | | prop: 'attrLength' |
| | | },{ |
| | | label: '屿§ç±»å', |
| | | search: false, |
| | | prop: 'attrType' |
| | | }], |
| | | }, |
| | | selectSearchConditionLoading: false, |
| | | selectSearchConditionData: [], |
| | | searchConditionQuery: {}, |
| | | searchConditionSelectList: [], |
| | | |
| | | //ä¸ä¸æ¬¡ç¹å»çè¡ç¼è¾æ°æ® |
| | | preClickAttrRow: '', |
| | | preClickAddSearchConditionRow: '', |
| | | |
| | | }; |
| | | }, |
| | | // 表åç颿¾ç¤ºå
容é
ç½® |
| | |
| | | column: [ |
| | | { |
| | | label: 'åç
§çä¸å¡ç±»å', |
| | | prop: 'referType', |
| | | prop: 'referTypeName', |
| | | span: 7, |
| | | disabled: this.referTypeIsReadOnly, |
| | | clearable: !this.referTypeIsReadOnly, |
| | | tip: 'åç
§æ°æ®æ¥è¯¢çä¸å¡ç±»åã', |
| | | tipPlacement: 'right', |
| | | type: 'input', |
| | | rules: [{ |
| | | required: true, |
| | | message: "(åç
§çä¸å¡ç±»å)å¿
填项ä¸è½ä¸ºç©º", |
| | | trigger: "blur", |
| | | trigger: ["blur","change"], |
| | | }], |
| | | children: { |
| | | border: true, |
| | | height: '200px', |
| | | tip: false, |
| | | //searchShow: false, |
| | | index: true, |
| | | selection: true, |
| | | //refreshBtn: false, |
| | | //columnBtn: false, |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, |
| | | column: [{ |
| | | label: 'ä¸å¡ç±»åç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: 'ä¸å¡ç±»ååç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: 'æè¿°', |
| | | search: false, |
| | | prop: 'description' |
| | | }], |
| | | }, |
| | | // formatter: (row) => { |
| | | // console.log(row.name); |
| | | // if (!row.name) |
| | | // return '' |
| | | // return row.name; |
| | | // }, |
| | | // onLoad: ({ page, value, data }, callback) => { |
| | | // console.log(page); |
| | | // console.log(value); |
| | | // console.log(data); |
| | | // //馿¬¡å è½½å»æ¥è¯¢å¯¹åºçå¼ |
| | | // if (value) { |
| | | // console.log(111+"======="+ value); |
| | | // this.$message.success('馿¬¡æ¥è¯¢' + value) |
| | | // callback({ |
| | | // id: 't1', |
| | | // name: 'test1', |
| | | // description: 'test1', |
| | | // }) |
| | | // return; |
| | | // } |
| | | // if (data) { |
| | | // console.log(111+"======="+ data); |
| | | // this.$message.success('æç´¢æ¥è¯¢åæ°' + JSON.stringify(data)) |
| | | // } |
| | | // if (page) { |
| | | // console.log(111+"======="+ page); |
| | | // this.$message.success('å页忰' + JSON.stringify(page)) |
| | | // } |
| | | // //å页æ¥è¯¢ä¿¡æ¯ |
| | | // callback({ |
| | | // total: 2, |
| | | // data: [{ |
| | | // id: 't2', |
| | | // name: 'test2', |
| | | // description: 'test2', |
| | | // }, { |
| | | // id: 't3', |
| | | // name: 'test3', |
| | | // description: 'test3', |
| | | // }] |
| | | // }) |
| | | // }, |
| | | // props: { |
| | | // label: 'name', |
| | | // value: 'id', |
| | | // } |
| | | },{ |
| | | label: 'æ¾ç¤ºç屿§', |
| | | prop: 'textField', |
| | |
| | | label: 'æåºå段', |
| | | prop: 'sortField', |
| | | span: 7, |
| | | type: 'table', |
| | | tip: 'æ¥è¯¢æ°æ®æ¶çæåºå段', |
| | | //clearable: false, |
| | | tipPlacement: 'right', |
| | | children: { |
| | | border: true, |
| | | column: [{ |
| | | label: '屿§è±æç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: '屿§ä¸æåç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: '屿§é¿åº¦', |
| | | search: false, |
| | | prop: 'attrLength' |
| | | },{ |
| | | label: '屿§ç±»å', |
| | | search: false, |
| | | prop: 'attrType' |
| | | }], |
| | | }, |
| | | // è¿å¿éè¦æ·»å ä¸å¡ç±»åæ¥å£ |
| | | |
| | | },{ |
| | | label: 'æåºç±»å', |
| | | prop: 'sortType', |
| | |
| | | label: 'æåºå段', |
| | | prop: 'sortField', |
| | | span: 7, |
| | | type: 'table', |
| | | children: { |
| | | border: true, |
| | | column: [{ |
| | | label: '屿§è±æç¼å·', |
| | | width: 120, |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'id' |
| | | },{ |
| | | label: '屿§ä¸æåç§°', |
| | | search: true, |
| | | searchSpan: 8, |
| | | searchLabelWidth: 100, |
| | | prop: 'name' |
| | | },{ |
| | | label: '屿§é¿åº¦', |
| | | search: false, |
| | | prop: 'attrLength' |
| | | },{ |
| | | label: '屿§ç±»å', |
| | | search: false, |
| | | prop: 'attrType' |
| | | }], |
| | | }, |
| | | //type: 'table', |
| | | tip: 'æ¥è¯¢æ°æ®æ¶çæåºå段', |
| | | tipPlacement: 'right', |
| | | // children: { |
| | | // border: true, |
| | | // column: [{ |
| | | // label: '屿§è±æç¼å·', |
| | | // width: 120, |
| | | // search: true, |
| | | // searchSpan: 8, |
| | | // searchLabelWidth: 100, |
| | | // prop: 'id' |
| | | // },{ |
| | | // label: '屿§ä¸æåç§°', |
| | | // search: true, |
| | | // searchSpan: 8, |
| | | // searchLabelWidth: 100, |
| | | // prop: 'name' |
| | | // },{ |
| | | // label: '屿§é¿åº¦', |
| | | // search: false, |
| | | // prop: 'attrLength' |
| | | // },{ |
| | | // label: '屿§ç±»å', |
| | | // search: false, |
| | | // prop: 'attrType' |
| | | // }], |
| | | // }, |
| | | // è¿å¿éè¦æ·»å ä¸å¡ç±»åæ¥å£è¯·æ±å®ç°å¼¹çªçé¢è¡¨æ ¼æ¸²æ |
| | | },{ |
| | | label: 'æåºç±»å', |
| | |
| | | ] |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | mounted() { |
| | | // 麻çè¿ä¸ªå°æ¹è°æ»æäº |
| | | this.element = document.getElementById('refer-config'); |
| | | this.element.addEventListener("click", (e) => { |
| | | //<table cellspacing="0" cellpadding="0" border="0" class="el-table__body" style="width: 911px;"> |
| | | //console.log(e.target); |
| | | // console.log(this.$refs.crudAttr); |
| | | // console.log(this.$refs.crudAttr.$el.contains(e.target)); |
| | | //console.log(!this.$refs.crudAttr.$el.contains(e.target) && this.preClickAttrRow != null); |
| | | if (!this.$refs.crudAttr.$el.contains(e.target) && |
| | | this.preClickAttrRow != '') { |
| | | this.preClickAttrRow.$cellEdit = false; |
| | | } |
| | | if (!this.$refs.crudAddCondition.$el.contains(e.target) && |
| | | this.preClickAddSearchConditionRow != '') { |
| | | this.preClickAddSearchConditionRow.$cellEdit = false; |
| | | } |
| | | }); |
| | | }, |
| | | watch: { |
| | | // è´¼åï¼åæ¢ç±»åæ¶è¡¨æ ¼ï¼éèåæ¾ç¤ºå°±ä¼åºç°è¡¨æ ¼éä½é®é¢ï¼ |
| | | 'form.type'(val) { |
| | | //console.log(val); |
| | | this.onloadAttrData(); |
| | | } |
| | | }, |
| | | methods: { |
| | | clicktest(cell){ |
| | | |
| | | // åå»è¡¨æ ¼å®ç°è¡¨æ ¼è¡ç¼è¾ |
| | | clickAttrEdit(row, column, event){ |
| | | if(this.preClickAttrRow && this.preClickAttrRow != row){ |
| | | //console.log(this.attrData[this.preClickAttrRow.$index]); |
| | | this.attrData[this.preClickAttrRow.$index].$cellEdit = false; |
| | | } |
| | | row.$cellEdit = true; |
| | | this.preClickAttrRow = row; |
| | | }, |
| | | // 屿§è¡¨æ ¼è¡ç¼è¾å¤±å»ç¦ç¹æ¶ä¿åæ¹æ³ |
| | | updateAttrBlur(value){ |
| | | //console.log(this.attrData[0]); |
| | | |
| | | //cell.$cellEdit = true; |
| | | }, |
| | | // åå»è¡¨æ ¼å®ç°è¡¨æ ¼è¡ç¼è¾ |
| | | clickAddSearchCondtionEdit(row, column, event){ |
| | | if(this.preClickAddSearchConditionRow && this.preClickAddSearchConditionRow != row){ |
| | | //console.log(this.attrData[this.preClickAttrRow.$index]); |
| | | this.addSearchCondtionData[this.preClickAddSearchConditionRow.$index].$cellEdit = false; |
| | | } |
| | | row.$cellEdit = true; |
| | | this.preClickAddSearchConditionRow = row; |
| | | }, |
| | | //ä¸ä¸ä¸ªé¡µé¢å·²ç»éä¸åç
§åºç¨çä¸å¡ç±»åçæ
åµï¼åä¸ä¸æ¬¡å·²ç»é
ç½®è¿åç
§é
ç½®çæ
åµä¸è¿è¡é¡µé¢åå§å渲æ |
| | | initPageData(val){ |
| | | let value = JSON.parse(val); |
| | | if(value != null || value != 'undefined' ){ |
| | | this.form = value; |
| | | //console.log(val); |
| | | this.referTypeIsReadOnly = true; |
| | | } |
| | | //console.log(localStorage.getItem("userId")); |
| | | }, |
| | | // 忢å½åæ´»å¨çtabs |
| | | handleClick(tab, event) { |
| | | if(tab.index=='0'){ |
| | | this.onloadAttrData(); |
| | | }else{ |
| | | this.onloadselectReferConfigData(); |
| | | //this.onloadSelectReferConfigData(); |
| | | } |
| | | }, |
| | | // éæ©å®åç
§é
ç½®ä¹åç¹å»ä¿åæé®è§¦å |
| | |
| | | //表åéªè¯ |
| | | this.$refs.form.validate((valid, done, msg) => { |
| | | if (valid) { |
| | | // æ ¹æ®ç±»å对form表åä¸çåæ°è¿è¡è¿æ»¤ï¼åªä¿çé空ä¸éè¦ç屿§ |
| | | let submitForm = this.filterForm(); |
| | | //console.log(submitForm); |
| | | //è½¬æ¢æJSONå符串è¿è¡ç¶ç»ä»¶åæ¾ |
| | | let submitFormJson = JSON.stringify(submitForm); |
| | | //console.log(submitFormJson); |
| | | this.$emit('echoReferConfig', submitFormJson) // 触åupdate:dataå°åç»ä»¶å¼ä¼ éç»ç¶ç»ä»¶ |
| | | //this.isShowReferConfig = false; |
| | | this.$emit('echoReferConfig', submitForm) // 触åupdate:dataå°åç»ä»¶å¼ä¼ éç»ç¶ç»ä»¶ |
| | | this.isShowReferConfig = false; |
| | | done() |
| | | } else { |
| | | for(let attr in msg) { |
| | |
| | | } |
| | | }) |
| | | }, |
| | | //ä»ç¼åä¸é£form表å对象 |
| | | getLocalStoregeForm(){ |
| | | localStorage.getItem("userId"); |
| | | |
| | | }, |
| | | /** å
¶å®éå屿§è¡¨æ ¼çé»è®¤æ°æ®ä¸éè¦å è½½ï¼ |
| | | 使¯å¼¹çªæå¼ä¼æè¡¨æ ¼éè¡é®é¢æä»¥éè¦å¨è¿è°ç¨doLayoutæ¹æ³*/ |
| | | onloadAttrData(){ |
| | | this.$nextTick(() => { |
| | | this.$refs.crudAttr.doLayout() |
| | | }) |
| | | this.attrData = [ |
| | | { |
| | | field: 'id', |
| | | title: 'ç¼å·', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: true, |
| | | sortField: 'id', |
| | | width: '150', |
| | | isquery: true, |
| | | $cellEdit: false |
| | | },{ |
| | | field: 'name', |
| | | title: 'åç§°', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: true, |
| | | sortField: 'name', |
| | | width: '180', |
| | | isquery: true, |
| | | $cellEdit: false |
| | | } |
| | | ]; |
| | | }, |
| | | // 屿§éæ©è¡¨æ ¼ä¸çç§»é¤æé®åè½ |
| | | removeCurrentRow(row,condition){ |
| | |
| | | // 该çé¢çæ°æ®è¿è¡åå§åå¤å |
| | | recoveryDataAndForm(condition){ |
| | | if(condition=='initForm'){ |
| | | this.referTypeIsReadOnly = false; |
| | | let currentType = this.form.type; |
| | | this.form = this.$options.data().form; |
| | | this.form.type = currentType; |
| | | console.log(this.form); |
| | | // this.form.referContent = ''; |
| | | // this.form.displayTable = ''; |
| | | return; |
| | | } |
| | | Object.assign(this.$data,this.$options.data()); |
| | | }, |
| | | // æå¼æ·»å æ¥è¯¢æ¡ä»¶å¯¹è¯æ¡ |
| | | openAddSearchOrAttrDialog(condition){ |
| | | if(condition=='addSearchCondition'){ |
| | | console.log('this is open addSearchCondition'); |
| | | }else { |
| | | if(this.form.referType == '' || this.form.referType == null){ |
| | | this.$message.warning("请è¾å
¥åç
§çä¸å¡ç±»å") |
| | | return; |
| | | } |
| | | |
| | | console.log('this is open selectAttr'); |
| | | } |
| | | Object.assign(this.$data,this.$options.data()); |
| | | // ç§»é¤ç»å®å¨è¯¥é¡µé¢å¯¹è¯æ¡ä¸çå
¨å±çå¬äºä»¶ |
| | | if(this.element != ''){ |
| | | let te = window.removeEventListener('click', this.element) |
| | | } |
| | | }, |
| | | // æäº¤è¡¨åä¹åè¿æ»¤æç©ºæä¸éè¦çè¡¨åæ°æ® |
| | | filterForm(){ |
| | | const oldForm = this.form; |
| | | let submittDefaultForm = [ |
| | | 'referTypeName', |
| | | 'referType', |
| | | 'textField', |
| | | 'valueField', |
| | |
| | | 'paramForFormKey', |
| | | 'isMuti', |
| | | 'mapFields', |
| | | 'searchCondition', |
| | | ]; |
| | | let addArray = []; |
| | | let newForm ={}; |
| | |
| | | ]; |
| | | } |
| | | submittDefaultForm = submittDefaultForm.concat(addArray); |
| | | if(!this.checkArrayIsUndefined(this.addSearchCondtionData)){ |
| | | newForm = { |
| | | searchCondition: this.addSearchCondtionData, |
| | | } |
| | | } |
| | | if((oldForm.type == 'default' || oldForm.type == 'grid') && (this.attrData.length >= 0 && !this.checkArrayIsUndefined(this.addSearchCondtionData))){ |
| | | newForm = Object.assign(newForm,{attrData:this.attrData}); |
| | | } |
| | | // è¿æ»¤åºç©ºå¼å±æ§åä¸éè¦ç屿§ |
| | | submittDefaultForm.forEach(item=>{ |
| | | //console.log(item); |
| | | if(item == 'isMuti' || item == 'onlyLeaf' || oldForm[item] != '' || oldForm[item] != ''){ |
| | | newForm = Object.assign(newForm,{[item]:oldForm[item]}); |
| | | // console.log(!this.checkStringIsEmpty(oldForm[item]) || !this.checkArrayIsUndefined(oldForm[item])); |
| | | if((item == 'isMuti' || item == 'onlyLeaf') || (!this.checkStringIsEmpty(oldForm[item]) || !this.checkArrayIsUndefined(oldForm[item]))){ |
| | | //console.log(item,oldForm[item]); |
| | | newForm = Object.assign(newForm,{[item]:oldForm[item]}); |
| | | } |
| | | }); |
| | | // console.log(newForm); |
| | | return newForm; |
| | | }, |
| | | onloadselectReferConfigData(){ |
| | | /** |
| | | * 为空 |
| | | * @param val |
| | | * @returns {boolean} |
| | | */ |
| | | checkStringIsEmpty(val){ |
| | | if ( |
| | | val === null || |
| | | typeof val === 'undefined' || |
| | | (typeof val === 'string' && val === "" && val !== 'undefined') |
| | | ) { |
| | | return true; |
| | | } |
| | | return false; |
| | | }, |
| | | /** |
| | | * æ¯å¦ä¸ºå®ä¹ |
| | | * @param val |
| | | * @returns {boolean} |
| | | */ |
| | | checkArrayIsUndefined(val){ |
| | | return typeof val === 'array' && (val.length === 0 ||val === null || typeof val === 'undefined'); |
| | | }, |
| | | onloadSelectReferConfigData(){ |
| | | this.$nextTick(() => { |
| | | this.$refs.selectReferConfigCrud.doLayout() |
| | | }) |
| | | this.selectReferConfigData = [{ |
| | | field: 'id', |
| | | title: 'ç¼å·', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: "true", |
| | | sortField: 'id', |
| | | width: '150', |
| | | isquery: true, |
| | | },{ |
| | | field: 'name', |
| | | title: 'åç§°', |
| | | fieldType: 'text', |
| | | fieldTypeText: 'ææ¬æ¡', |
| | | sort: "true", |
| | | sortField: 'name', |
| | | width: '180', |
| | | isquery: true, |
| | | }]; |
| | | }, |
| | | |
| | | // æå¼è¡¨æ ¼éæ©æ¡ |
| | | openSelectionTable(condition){ |
| | | if (condition == 'referType'){ |
| | | this.isShowReferBtmType = true; |
| | | this.referBtmTypeOnLoad(); |
| | | }else if (condition == 'sortField'){ |
| | | this.isShowSortField = true; |
| | | this.sortFieldOnLoad(); |
| | | }else { |
| | | if(this.form.referType == '' || this.form.referType == null){ |
| | | this.$message.warning("请è¾å
¥åç
§çä¸å¡ç±»å") |
| | | return; |
| | | } |
| | | if(condition == 'addSearchCondition'){ |
| | | this.isShowSearchCondition = true; |
| | | this.selectSearchConditionDataOnload(); |
| | | }else { |
| | | this.isShowShowField = true; |
| | | this.selectShowFieldDataOnload(); |
| | | } |
| | | } |
| | | }, |
| | | // æ¸
ç©ºè¡¨æ ¼éæ©æ¡ |
| | | clearSelectionTable(condition){ |
| | | if(condition == 'referType'){ |
| | | this.form.referType = ''; |
| | | this.form.referTypeName = ''; |
| | | }else { |
| | | this.form.sortField = ''; |
| | | } |
| | | }, |
| | | // å
³éå¯¹è¯æ¡æ¶å¯¹éä¸å
容è¿è¡æ¸
空ï¼å¹¶è§£ç»å
¨å±çå¬äºä»¶ |
| | | clearTableRowSelection(condition){ |
| | | if(condition == 'sortField'){ |
| | | this.sortFieldSelectRow = ''; |
| | | this.sortFieldSelectRowData = ''; |
| | | }else if(condition == 'referType'){ |
| | | this.referBtmTypeSelectRow=''; |
| | | this.referBtmTypeSelectRowData = ''; |
| | | } |
| | | |
| | | }, |
| | | |
| | | // 为ãåç
§çä¸å¡ç±»åãéåå¼ |
| | | referBtmTypeOnLoad(page, params = {}){ |
| | | this.selectReferBtmTypeLoading = true; |
| | | // è°ç¨apiè¯·æ± |
| | | const data = { |
| | | total: 2, |
| | | data: [{ |
| | | id: 't2', |
| | | name: 'test2', |
| | | description: 'test2', |
| | | }, { |
| | | id: 't3', |
| | | name: 'test3', |
| | | description: 'test3', |
| | | }] |
| | | } |
| | | this.selectReferBtmTypeData = data.data; |
| | | this.selectReferBtmTypePage.total = data.total; |
| | | this.selectReferBtmTypeLoading = false; |
| | | }, |
| | | referBtmTypeSizeChange(pageSize){ |
| | | this.selectReferBtmTypePage.pageSize = pageSize; |
| | | }, |
| | | referBtmTypeSearchChange(params, done){ |
| | | this.referBtmTypeQuery = params; |
| | | this.selectReferBtmTypePage.currentPage = 1; |
| | | this.referBtmTypeOnLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | referBtmTypeSearchReset(){ |
| | | this.referBtmTypeQuery = {}; |
| | | this.referBtmTypeOnLoad(this.selectReferBtmTypePage); |
| | | }, |
| | | referBtmTypeRowClick(row){ |
| | | this.referBtmTypeSelectRowData = row; |
| | | this.referBtmTypeSelectRow = row.$index |
| | | //console.log( this.referBtmTypeSelectRowData); |
| | | }, |
| | | referBtmTypeCurrentChange(currentPage){ |
| | | this.selectReferBtmTypePage.currentPage = currentPage; |
| | | }, |
| | | selectedReferBtmType(){ |
| | | if(!this.referBtmTypeSelectRowData) { |
| | | this.$message.warning("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | return; |
| | | } |
| | | this.form.referTypeName = this.referBtmTypeSelectRowData.name; |
| | | this.form.referType = this.referBtmTypeSelectRowData.id; |
| | | this.isShowReferBtmType = false; |
| | | }, |
| | | |
| | | // 为ãæåºå段ãéåå¼ |
| | | sortFieldOnLoad(page, params = {}){ |
| | | this.selectSortFieldLoading = true; |
| | | // è°ç¨apiè¯·æ± |
| | | const data = { |
| | | total: 2, |
| | | data: [{ |
| | | id: 'test', |
| | | name: 'æµè¯', |
| | | attrLength: 11, |
| | | attrType: 'å符串' |
| | | }, { |
| | | id: 'test1', |
| | | name: 'æµè¯1', |
| | | attrLength: 12, |
| | | attrType: 'æ°å' |
| | | }] |
| | | } |
| | | this.selectSortFieldData = data.data; |
| | | this.selectSortFieldPage.total = data.total; |
| | | this.selectSortFieldLoading = false; |
| | | }, |
| | | sortFieldSizeChange(pageSize){ |
| | | this.selectSortFieldPage.pageSize = pageSize; |
| | | }, |
| | | sortFieldSearchChange(params, done){ |
| | | this.sortFieldQuery = params; |
| | | this.selectSortFieldPage.currentPage = 1; |
| | | this.sortFieldOnLoad(this.page, params); |
| | | done(); |
| | | }, |
| | | sortFieldSearchReset(){ |
| | | this.sortFieldQuery = {}; |
| | | this.sortFieldOnLoad(this.selectSortFieldPage); |
| | | }, |
| | | sortFieldRowClick(row){ |
| | | this.sortFieldSelectRowData = row; |
| | | this.sortFieldSelectRow = row.$index |
| | | //console.log( this.sortFieldSelectRowData); |
| | | }, |
| | | sortFieldCurrentChange(currentPage){ |
| | | this.selectReferBtmTypePage.currentPage = currentPage; |
| | | }, |
| | | selectedSortField(){ |
| | | if(!this.sortFieldSelectRowData) { |
| | | this.$message.warning("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | return; |
| | | } |
| | | this.form.sortField = this.sortFieldSelectRowData.id; |
| | | this.isShowSortField = false; |
| | | }, |
| | | |
| | | // éæ©æ¾ç¤ºå段 |
| | | selectShowFieldDataOnload(params = {}){ |
| | | this.selectShowFieldLoading = true; |
| | | // è°ç¨apiè¯·æ± |
| | | const data = { |
| | | total: 2, |
| | | data: [{ |
| | | id: 'test', |
| | | name: 'æµè¯', |
| | | attrLength: 11, |
| | | attrType: 'text', |
| | | attrTypeText: 'ææ¬æ¡' |
| | | }, { |
| | | id: 'test1', |
| | | name: 'æµè¯1', |
| | | attrLength: 12, |
| | | attrType: 'number', |
| | | attrTypeText: 'æ°å' |
| | | }, { |
| | | id: 'test2', |
| | | name: 'æµè¯2', |
| | | attrLength: 13, |
| | | attrType: 'date', |
| | | attrTypeText: 'æ¥æ' |
| | | }] |
| | | } |
| | | this.selectShowFieldData = data.data; |
| | | this.selectShowFieldLoading = false; |
| | | }, |
| | | selectionShowFieldDataChange(list){ |
| | | this.showFieldSelectList = list; |
| | | this.$refs.selectShowFieldCrud.setCurrentRow(this.showFieldSelectList[list.length-1]); |
| | | }, |
| | | showFieldRowClick(row){ |
| | | //this.showFieldSelectList.push(row); |
| | | this.$refs.selectShowFieldCrud.setCurrentRow(row); |
| | | this.$refs.selectShowFieldCrud.toggleRowSelection(row); //éä¸å½åè¡ |
| | | }, |
| | | showFieldSearchChange(params, done){ |
| | | this.showFieldQuery = params; |
| | | this.selectShowFieldDataOnload(params); |
| | | done(); |
| | | }, |
| | | showFieldSearchReset(){ |
| | | this.showFieldQuery = {}; |
| | | this.sortFieldOnLoad(); |
| | | }, |
| | | selectedShowField(){ |
| | | //console.log(this.showFieldSelectList); |
| | | if(this.showFieldSelectList.length <= 0) { |
| | | this.$message.warning("请è³å°éæ©ä¸æ¡æ°æ®"); |
| | | return; |
| | | } |
| | | //this.showFieldSelectList; |
| | | this.showFieldSelectList.forEach(item => { |
| | | this.attrData.push( |
| | | { |
| | | field: item.id, |
| | | title: item.id, |
| | | fieldType: item.attrType, |
| | | fieldTypeText: item.attrTypeText, |
| | | sort: false, |
| | | sortField: item.id, |
| | | width: item.attrLength, |
| | | isquery: false, |
| | | $cellEdit: false |
| | | } |
| | | ) |
| | | |
| | | }) |
| | | this.isShowShowField = false; |
| | | }, |
| | | |
| | | |
| | | // éæ©æ¥è¯¢æ¡ä»¶ |
| | | selectSearchConditionDataOnload(params = {}){ |
| | | this.selectSearchConditionLoading = true; |
| | | // è°ç¨apiè¯·æ± |
| | | this.selectSearchConditionData = [{ |
| | | id: 'test', |
| | | name: 'æµè¯', |
| | | attrLength: 11, |
| | | attrType: 'å符串', |
| | | $cellEdit: false, |
| | | }, { |
| | | id: 'test1', |
| | | name: 'æµè¯1', |
| | | attrLength: 12, |
| | | attrType: 'æ°å', |
| | | $cellEdit: false, |
| | | }, { |
| | | id: 'test2', |
| | | name: 'æµè¯2', |
| | | attrLength: 13, |
| | | attrType: 'æ¥æ', |
| | | $cellEdit: false, |
| | | }]; |
| | | this.selectSearchConditionLoading = false; |
| | | }, |
| | | searchConditionRowClick(row){ |
| | | this.$refs.selectSearchConditionCrud.setCurrentRow(row); |
| | | this.$refs.selectSearchConditionCrud.toggleRowSelection(row); //éä¸å½åè¡ |
| | | }, |
| | | searchConditionDataChange(list){ |
| | | this.searchConditionSelectList = list; |
| | | this.$refs.selectSearchConditionCrud.setCurrentRow(this.searchConditionSelectList[list.length-1]); |
| | | }, |
| | | searchConditionSearchChange(params, done){ |
| | | this.searchConditionQuery = params; |
| | | this.selectSearchConditionDataOnload(params); |
| | | done(); |
| | | }, |
| | | searchConditionSearchReset(){ |
| | | this.searchConditionQuery = {}; |
| | | this.sortFieldOnLoad(); |
| | | }, |
| | | selectedSearchCondition(){ |
| | | console.log(this.searchConditionSelectList); |
| | | if(this.searchConditionSelectList.length <= 0) { |
| | | this.$message.warning("请è³å°éæ©ä¸æ¡æ°æ®"); |
| | | return; |
| | | } |
| | | this.searchConditionSelectList.forEach(item => { |
| | | this.addSearchCondtionData.push( |
| | | { |
| | | filterField: item.id, |
| | | filterType: '=', |
| | | filterValue: '', |
| | | $cellEdit: false |
| | | } |
| | | ) |
| | | |
| | | }) |
| | | this.isShowSearchCondition = false; |
| | | }, |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | .referBtmType-crud > .el-card > .el-card__body > .avue-crud__menu { |
| | | display: none!important; |
| | | } |
| | | |
| | | /* æç¤ºææ¬åºç°çé度 */ |
| | | .el-tooltip__popper{ |
| | | width: 200px !important; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <el-table :data="tableOptions.tableData" @cell-click="cellCilck" @cell-mouse-leave="cellMouseLeave" height="250" border style="width: 100%"> |
| | | <el-table-column v-for="(item,index) in tableOptions.options" :key="index" align="center" |
| | | :prop="item.prop" :label="item.label" :width="item.labelWidth"> |
| | | <template slot-scope="{row}"> |
| | | <!-- èªå®ä¹çåæ®µ --> |
| | | <div v-if="item.isSlot"> |
| | | <slot :name="item.prop" :row="row"></slot> |
| | | </div> |
| | | <div v-else> |
| | | <el-input v-if="row.isClickProperty == item.prop" v-model="row[item.prop]" placeholder="请è¾å
¥å
容" @change="valChange"></el-input> |
| | | <span v-else>{{row[item.prop]}}</span> |
| | | </div> |
| | | </template> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="{scope}"> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-search" |
| | | plain |
| | | @click="scope.row.isquery=!scope.row.isquery"> |
| | | {{scope.row.isquery ? "åæ¶å¿«éæ¥è¯¢":"å¿«éæ¥è¯¢"}} |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-minus" |
| | | plain |
| | | @click="removeCurrentRow(scope.row,'removeAttr')">ç§»é¤ |
| | | </el-button> |
| | | </template> |
| | | <!-- è¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button type="primary" |
| | | size="small" |
| | | icon="el-icon-plus" |
| | | @click="openSelectionTable('selectAttr')">鿩屿§ |
| | | </el-button> |
| | | <div class="tag-group" style="display: inline"> |
| | | <el-tag |
| | | v-for="item in attrData" |
| | | v-show="item.isquery && item.title!=''" |
| | | style="margin-left: 3px" |
| | | :key="item.title" |
| | | type="info" |
| | | size="small" |
| | | effect="dark"> |
| | | {{ item.title }} |
| | | </el-tag> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | name: "tableEdit", |
| | | props:{ |
| | | tableOptions:{ |
| | | type:Object, |
| | | default(){ |
| | | return {} |
| | | } |
| | | } |
| | | }, |
| | | data(){ |
| | | return{} |
| | | }, |
| | | methods:{ |
| | | //åå»åå
æ ¼å¼å¯ç¼è¾ |
| | | cellCilck(row, column, cell, event){ |
| | | this.$set(row, "isClickProperty", column.property); |
| | | console.log(row,column,cell,event); |
| | | }, |
| | | //é¼ æ 离å¼åå
æ ¼ï¼ç¼è¾å
³é |
| | | cellMouseLeave(row){ |
| | | this.$set(row, "isClickProperty", ""); |
| | | }, |
| | | //ç¼è¾åå
æ ¼å¼åå |
| | | valChange(val){ |
| | | this.$emit("editTable",val) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | |
| | | 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 formulaEditor from "@/components/code-dialog-page/formulaEditor" |
| | | import referConfigDialog from "@/components/code-dialog-page/referConfigDialog" |
| | | import businessAdd from "@/views/modeling/BusinessAdd" |
| | | import tableEdit from "@/components/code-dialog-page/tableEdit" |
| | | |
| | | // 注åå
¨å±crudé©±å¨ |
| | | window.$crudCommon = crudCommon; |
| | |
| | | Vue.use(Element, { |
| | | i18n: (key, value) => i18n.t(key, value) |
| | | }); |
| | | |
| | | Vue.use(window.AVUE, { |
| | | size: 'small', |
| | | tableSize: 'small', |
| | |
| | | Vue.component('formulaEditor',formulaEditor) |
| | | Vue.component('referConfigDialog',referConfigDialog) |
| | | Vue.component('businessAdd',businessAdd) |
| | | Vue.component('attrCrud',attrCrud) |
| | | Vue.component('tableEdit',tableEdit) |
| | | |
| | | |
| | | |
| | | // å è½½ç¸å
³urlå°å |
| | | Object.keys(urls).forEach(key => { |
| | |
| | | //æå¤æå¯ç çç¥ä¿®æ¹çå¼åè¿æ¬å°ï¼ç¶ååè·¯ç±æéjsæä»¶éé¢è·ååå夿ï¼ä¸ç¶å·æ°ä¼è¿å
¥é¦é¡µï¼å ä¸ºå¨æidåtokençæ
åµä¸ï¼å·æ°é¡µé¢æè
è¿å
¥ç»å½é¡µä¼èªå¨è¿å
¥é¦é¡µï¼ |
| | | //index页é¢ä¹å¯ä»¥ç¨å°è¿ä¸ªå¼æ¥å¤ææ¯å¦æ¯è¶
管身份ç»å½æ¥å¤ææ¯å¦æéè¿ææ¶é´ç |
| | | localStorage.setItem("updataid",JSON.stringify(this.userInfo)) |
| | | localStorage.setItem("userId",this.userInfo.user_id) |
| | | loading.close(); |
| | | }).catch(() => { |
| | | loading.close(); |
| | |
| | | |
| | | //主é®è·åå类模æ¿å±æ§ |
| | | export const gridCodeClassifyTemplate = (oid) =>{ |
| | | console.log(oid); |
| | | return request({ |
| | | url:'/api/ubcs-code/codeClassifyTemplateController/gridCodeClassifyTemplate', |
| | | method: 'get', |
| | |
| | | <template> |
| | | <basic-container style="height: 350px;"> |
| | | <basic-container style="height: 100%;"> |
| | | |
| | | <!-- ç¼ç è§åä¿¡æ¯å±ç¤ºåºå --> |
| | | <basic-container class="code-rule-container"> |
| | |
| | | </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> |
| | | <el-button @click="cloneSettingBox = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- ç¼ç è§å,ä»å
¶ä»è§åå
éå¯¹è¯æ¡ --> |
| | |
| | | </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> |
| | | <el-button @click="cloneOtherCodeRuleSettingBox = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | <!-- 第ä¸å±å¯¹è¯æ¡çæé®åï¼çº¿æ¡ --> |
| | | <el-divider class="horizontal-line" 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> |
| | | <el-button @click="addBasicCodeSettingBox = false" v-show="showbtn">å æ¶</el-button> |
| | | </div> |
| | | |
| | | <!-- 第äºå±å¯¹è¯æ¡,屿§ç 段ï¼å±æ§éæ©å¯¹è¯æ¡ --> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectAttrOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="selectedListClassifyLinkAttr">ç¡® å®</el-button> |
| | | <el-button @click="isShowSelectAttrOption = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | @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> |
| | | <el-button @click="isShowParentClassifyOption = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | @row-click="referBtmRowClick"> |
| | | </avue-crud> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="isShowSelectReferBtmOption = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="saveSelectedreferBtm">ä¿ å</el-button> |
| | | <el-button @click="isShowSelectReferBtmOption = false">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | |
| | | import referBtmOption from "@/const/code/referBtmDialog"; |
| | | import fixedValueOption from "@/const/code/fixedValueMgrDialog"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | import func from "@/util/func"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | |
| | | /* å¼ç¨ç 段åç
§é
ç½®,åç»ä»¶å¡«å®åç
§é
ç½®ä¹åå
容忾æ¶è°ç¨ */ |
| | | echoReferConfig(content){ |
| | | this.form.referConfig = content; |
| | | this.form.referBtmId = content.referType; |
| | | this.form.referBtmName = content.referTypeName; |
| | | //console.log(content); |
| | | //è½¬æ¢æJSONå符串è¿è¡ç¶ç»ä»¶åæ¾ |
| | | let submitFormJson = JSON.stringify(content); |
| | | this.form.referConfig = submitFormJson; |
| | | }, |
| | | |
| | | /** 为åç
§å¼ç¨çä¸å¡ç±»åéåå¼ï¼ç¬¬äºå±åµå¥å¯¹è¯æ¡ï¼åå
¶ç¸å
³æ¹æ³ */ |
| | |
| | | }, |
| | | // åå»ç¼ç è§åå®ç°è¡éæ© |
| | | codeRuleRowClick (row) { |
| | | // è¿å¿åºè¯¥å¯ä»¥ä¸è¦ï¼å 为toggleRowSelectionä¹ä¼è§¦åè¡éæ©æ¶é´ |
| | | this.selectionList = row; |
| | | this.$refs.crud.toggleSelection(); |
| | | this.$refs.crud.setCurrentRow(row); |
| | |
| | | this.refreshReferBtmDataChange(); |
| | | }else if(condition === 'referConfig'){ |
| | | this.$refs.referConfigDialog.isShowReferConfig = true; |
| | | if(func.notEmpty(this.form.referConfig)){ |
| | | this.$refs.referConfigDialog.initPageData(this.form.referConfig); |
| | | } |
| | | //è¡¨æ ¼éè¡çé®é¢æ |
| | | this.$refs.referConfigDialog.onloadAttrData(); |
| | | } |
| | |
| | | this.form.parentClassifySecOid = ''; |
| | | }else if(condition === 'referBtmId'){ |
| | | this.form.referBtmId = ''; |
| | | this.form.referConfig = ''; |
| | | }else if(condition === 'referConfig'){ |
| | | this.form.referConfig = ''; |
| | | } |
| | |
| | | |
| | | .add-basicsec-form > .el-divider--vertical { |
| | | width: 2px; |
| | | height: 72%; |
| | | height: 100%; |
| | | margin: 0 auto; |
| | | position: fixed; |
| | | /* position: fixed; */ |
| | | } |
| | | |
| | | .left { |
| | | /* float: left; */ |
| | | width: 49%; |
| | | width: 45%; |
| | | height: 100%; |
| | | } |
| | | |
| | |
| | | *.war |
| | | *.ear |
| | | /target |
| | | |
| | | /ubcs-common/src/main/java/com/vci/ubcs/common/constant/LauncherConstant.java |
| | |
| | | * nacos dev å°å |
| | | */ |
| | | //String NACOS_DEV_ADDR = "dev.vci-tech.com:38848"; |
| | | String NACOS_DEV_ADDR = "127.0.0.1:8848"; |
| | | String NACOS_DEV_ADDR = "localhost:8848"; |
| | | |
| | | /** |
| | | * nacos prod å°å |
| | |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodePhaseAttr extends BaseModel { |
| | | |
| | | /** |
| | | * åºåå |
| | | */ |
| | | private static final long serialVersionUID = 4585738864127061777L; |
| | | |
| | | /** |
| | | * |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç æ®µåºç¡ä¿¡æ¯æ°æ®æä½å± |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:24 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_REFERCONFIG") |
| | | @ApiModel(value = "CodeReferConfig对象", description = "ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®") |
| | | public class CodeReferConfig extends BaseModel { |
| | | |
| | | /** |
| | | * åºåå |
| | | */ |
| | | private static final long serialVersionUID = 957685333614390234L; |
| | | |
| | | /** |
| | | * åç
§çä¸å¡ç±»å |
| | | */ |
| | | private String referType; |
| | | |
| | | /** |
| | | * æ¾ç¤ºç屿§ |
| | | */ |
| | | private String textField; |
| | | |
| | | /** |
| | | * åå¨å¼ç屿§ |
| | | */ |
| | | private String valueField; |
| | | |
| | | /** |
| | | * åç
§çªå£ç±»å |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * èªå®ä¹çåå°è·¯å¾ |
| | | */ |
| | | private String url; |
| | | |
| | | /** |
| | | * æå¡çå°å |
| | | */ |
| | | private String backPath; |
| | | |
| | | /** |
| | | * 请æ±åå°çåè®®æ¹å¼ |
| | | */ |
| | | private String method; |
| | | |
| | | /** |
| | | * çªå£æ¾ç¤ºçé«åº¦ |
| | | */ |
| | | private Long height; |
| | | |
| | | /** |
| | | * è¿æ»¤å±æ§è¯·æ±åæ° |
| | | */ |
| | | private String paramForFormKey; |
| | | |
| | | /** |
| | | * æ¯å¦å¤é |
| | | */ |
| | | private String isMuti; |
| | | |
| | | /** |
| | | * æ å°å
¶ä»å±æ§ |
| | | */ |
| | | private String mapFields; |
| | | |
| | | /** |
| | | * åèçUIä¸ä¸æ |
| | | */ |
| | | private String referContent; |
| | | |
| | | /** |
| | | * å¹³å°çè¡¨æ ¼ç¼å· |
| | | */ |
| | | private String displayTable; |
| | | |
| | | /** |
| | | * æ¯é¡µæ¾ç¤ºæ¡æ° |
| | | */ |
| | | private String limit; |
| | | |
| | | /** |
| | | * æåºå段 |
| | | */ |
| | | private String sortField; |
| | | |
| | | /** |
| | | * æåºç±»å |
| | | */ |
| | | private String sortType; |
| | | |
| | | /** |
| | | * æ å½¢çä¸çº§å±æ§ |
| | | */ |
| | | private String parentFieldName; |
| | | |
| | | /** |
| | | * ä¸çº§å±æ§å¼å¯¹åºå±æ§ |
| | | */ |
| | | private String parentUsedField; |
| | | |
| | | /** |
| | | * æ ¹èç¹çå¼ |
| | | */ |
| | | private String parentValue; |
| | | |
| | | /** |
| | | * æ å è½½æ¹å¼ |
| | | */ |
| | | private String loadType; |
| | | |
| | | /** |
| | | * æ¯å¦åªè½éæ©å¶åèç¹ |
| | | */ |
| | | private String onlyLeaf; |
| | | |
| | | /** |
| | | * æåº |
| | | */ |
| | | private Integer orderNum; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æ¾ç¤ºå±æ§é
ç½® |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:35 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_SHOWFIELDCONFIG") |
| | | @ApiModel(value = "CodeShowFieldConfig对象", description = "ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æ¾ç¤ºå±æ§é
ç½®") |
| | | public class CodeShowFieldConfig extends BaseModel { |
| | | |
| | | private static final long serialVersionUID = -71135592796848692L; |
| | | |
| | | /** |
| | | * ååæ®µ |
| | | */ |
| | | private String field; |
| | | |
| | | /** |
| | | * åå |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * åæ®µç±»å |
| | | */ |
| | | private String fieldType; |
| | | |
| | | /** |
| | | * åè¡¨å¯æåº |
| | | */ |
| | | private String sort; |
| | | |
| | | /** |
| | | * æåºå段 |
| | | */ |
| | | private String sortField; |
| | | |
| | | /** |
| | | * åæ®µå®½åº¦ |
| | | */ |
| | | private Long width; |
| | | |
| | | /** |
| | | * ååºå®ä½ç½® |
| | | */ |
| | | private String fixedText; |
| | | |
| | | /** |
| | | * jsæ¾ç¤ºä»£ç |
| | | */ |
| | | private String templet; |
| | | |
| | | /** |
| | | * æåº |
| | | */ |
| | | private Integer orderNum; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æç´¢æ¡ä»¶é
ç½® |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:36 |
| | | */ |
| | | |
| | | @Data |
| | | @TableName("PL_CODE_SRCHCONDCONFIG") |
| | | @ApiModel(value = "CodeSrchCondConfig对象", description = "ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æç´¢æ¡ä»¶é
ç½®") |
| | | public class CodeSrchCondConfig extends BaseModel { |
| | | |
| | | private static final long serialVersionUID = -51655155561881523L; |
| | | |
| | | /** |
| | | * çéåæ®µ |
| | | */ |
| | | private String filterField; |
| | | |
| | | /** |
| | | * çéç±»å |
| | | */ |
| | | private String filterType; |
| | | |
| | | /** |
| | | * çéçå¼ |
| | | */ |
| | | private String filterValue; |
| | | |
| | | /** |
| | | * æåº |
| | | */ |
| | | private Integer orderNum; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç æ®µåºç¡ä¿¡æ¯æ°æ®æä½å± |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:24 |
| | | */ |
| | | @Data |
| | | public class CodeReferConfigVO extends BaseModelVO { |
| | | |
| | | /** |
| | | * åºåå |
| | | */ |
| | | private static final long serialVersionUID = 957685333614390234L; |
| | | |
| | | /** |
| | | * åç
§çä¸å¡ç±»å |
| | | */ |
| | | private String referType; |
| | | |
| | | /** |
| | | * æ¾ç¤ºç屿§ |
| | | */ |
| | | private String textField; |
| | | |
| | | /** |
| | | * åå¨å¼ç屿§ |
| | | */ |
| | | private String valueField; |
| | | |
| | | /** |
| | | * åç
§çªå£ç±»å |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * èªå®ä¹çåå°è·¯å¾ |
| | | */ |
| | | private String url; |
| | | |
| | | /** |
| | | * æå¡çå°å |
| | | */ |
| | | private String backPath; |
| | | |
| | | /** |
| | | * 请æ±åå°çåè®®æ¹å¼ |
| | | */ |
| | | private String method; |
| | | |
| | | /** |
| | | * çªå£æ¾ç¤ºçé«åº¦ |
| | | */ |
| | | private Long height; |
| | | |
| | | /** |
| | | * è¿æ»¤å±æ§è¯·æ±åæ° |
| | | */ |
| | | private String paramForFormKey; |
| | | |
| | | /** |
| | | * æ¯å¦å¤é |
| | | */ |
| | | private String isMuti; |
| | | |
| | | /** |
| | | * æ å°å
¶ä»å±æ§ |
| | | */ |
| | | private String mapFields; |
| | | |
| | | /** |
| | | * åèçUIä¸ä¸æ |
| | | */ |
| | | private String referContent; |
| | | |
| | | /** |
| | | * å¹³å°çè¡¨æ ¼ç¼å· |
| | | */ |
| | | private String displayTable; |
| | | |
| | | /** |
| | | * æ¯é¡µæ¾ç¤ºæ¡æ° |
| | | */ |
| | | private String limit; |
| | | |
| | | /** |
| | | * æåºå段 |
| | | */ |
| | | private String sortField; |
| | | |
| | | /** |
| | | * æåºç±»å |
| | | */ |
| | | private String sortType; |
| | | |
| | | /** |
| | | * æ å½¢çä¸çº§å±æ§ |
| | | */ |
| | | private String parentFieldName; |
| | | |
| | | /** |
| | | * ä¸çº§å±æ§å¼å¯¹åºå±æ§ |
| | | */ |
| | | private String parentUsedField; |
| | | |
| | | /** |
| | | * æ ¹èç¹çå¼ |
| | | */ |
| | | private String parentValue; |
| | | |
| | | /** |
| | | * æ å è½½æ¹å¼ |
| | | */ |
| | | private String loadType; |
| | | |
| | | /** |
| | | * æ¯å¦åªè½éæ©å¶åèç¹ |
| | | */ |
| | | private String onlyLeaf; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æ¾ç¤ºå±æ§é
ç½® |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:35 |
| | | */ |
| | | @Data |
| | | public class CodeShowFieldConfigVO extends BaseModelVO { |
| | | |
| | | private static final long serialVersionUID = -71135592796848692L; |
| | | |
| | | /** |
| | | * ååæ®µ |
| | | */ |
| | | private String field; |
| | | |
| | | /** |
| | | * åå |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * åæ®µç±»å |
| | | */ |
| | | private String fieldType; |
| | | |
| | | /** |
| | | * åè¡¨å¯æåº |
| | | */ |
| | | private String sort; |
| | | |
| | | /** |
| | | * æåºå段 |
| | | */ |
| | | private String sortField; |
| | | |
| | | /** |
| | | * åæ®µå®½åº¦ |
| | | */ |
| | | private Long width; |
| | | |
| | | /** |
| | | * ååºå®ä½ç½® |
| | | */ |
| | | private String fixedText; |
| | | |
| | | /** |
| | | * jsæ¾ç¤ºä»£ç |
| | | */ |
| | | private String templet; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ç¼ç è§å管ç-å¼ç¨ç 段-åç
§é
ç½®-æç´¢æ¡ä»¶é
ç½® |
| | | * |
| | | * @author ludc |
| | | * @date 2023/5/19 17:36 |
| | | */ |
| | | |
| | | @Data |
| | | public class CodeSrchCondConfigVO extends BaseModelVO { |
| | | |
| | | private static final long serialVersionUID = -51655155561881523L; |
| | | |
| | | /** |
| | | * çéåæ®µ |
| | | */ |
| | | private String filterField; |
| | | |
| | | /** |
| | | * çéç±»å |
| | | */ |
| | | private String filterType; |
| | | |
| | | /** |
| | | * çéçå¼ |
| | | */ |
| | | private String filterValue; |
| | | |
| | | } |
| | |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.constant.QueryOptionConstant; |
| | | import com.vci.ubcs.starter.web.pagemodel.SessionInfo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | * æ¯å¦æä¹
å |
| | | */ |
| | | private static ThreadLocal<String> needPersistenceInThread = new ThreadLocal<>(); |
| | | |
| | | /** |
| | | * æ¥å¿å¯¹è±¡ |
| | | */ |
| | |
| | | } else { |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * æå»ºä¸»é®çæ¥è¯¢æ¡ä»¶ |
| | | * @param oid ä¸»é® |
| | | * @return æ¥è¯¢æ¡ä»¶ |
| | | */ |
| | | public static Map<String,String> getOidQuery(String oid) { |
| | | Map<String,String> conditionMap = new HashMap<>(); |
| | | if(oid.contains(",")){ |
| | | conditionMap.put("oid", QueryOptionConstant.IN + "(" + VciBaseUtil.toInSql(VciBaseUtil.str2List(oid).toArray(new String[0])) + ")"); |
| | | }else { |
| | | conditionMap.put("oid", oid.trim()); |
| | | } |
| | | return conditionMap; |
| | | } |
| | | |
| | | /** |
| | |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å°whereSqléçå
容转åå°æ¥è¯¢mapé |
| | |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.vci.ubcs</groupId> |
| | | <artifactId>ubcs-webservice</artifactId> |
| | | <version>3.0.1.RELEASE</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.vci.ubcs</groupId> |
| | | <artifactId>ubcs-ddl</artifactId> |
| | | <version>3.0.1.RELEASE</version> |
| | | </dependency> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeReferConfig; |
| | | import com.vci.ubcs.code.service.CodeReferConfigService; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * åç
§é
置表(CodeReferConfig)表æ§å¶å± |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:47:49 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("codeReferConfig") |
| | | public class CodeReferConfigController { |
| | | /** |
| | | * æå¡å¯¹è±¡ |
| | | */ |
| | | @Resource |
| | | private CodeReferConfigService plCodeReferconfigService; |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param codeReferConfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @GetMapping |
| | | public ResponseEntity<Page<CodeReferConfig>> queryByPage(CodeReferConfig codeReferConfig, PageRequest pageRequest) { |
| | | return ResponseEntity.ok(this.plCodeReferconfigService.queryByPage(codeReferConfig, pageRequest)); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®æ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return åæ¡æ°æ® |
| | | */ |
| | | @GetMapping("{id}") |
| | | public ResponseEntity<CodeReferConfig> queryById(@PathVariable("id") String id) { |
| | | return ResponseEntity.ok(this.plCodeReferconfigService.queryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param codeReferConfig å®ä½ |
| | | * @return æ°å¢ç»æ |
| | | */ |
| | | @PostMapping |
| | | public ResponseEntity<CodeReferConfig> add(CodeReferConfig codeReferConfig) { |
| | | return ResponseEntity.ok(this.plCodeReferconfigService.insert(codeReferConfig)); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾æ°æ® |
| | | * |
| | | * @param codeReferConfig å®ä½ |
| | | * @return ç¼è¾ç»æ |
| | | */ |
| | | @PutMapping |
| | | public ResponseEntity<CodeReferConfig> edit(CodeReferConfig codeReferConfig) { |
| | | return ResponseEntity.ok(this.plCodeReferconfigService.update(codeReferConfig)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return å 餿¯å¦æå |
| | | */ |
| | | @DeleteMapping |
| | | public ResponseEntity<Boolean> deleteById(String id) { |
| | | return ResponseEntity.ok(this.plCodeReferconfigService.deleteById(id)); |
| | | } |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | import com.vci.ubcs.code.service.CodeShowFieldConfigService; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¾ç¤ºç屿§é
置表(CodeShowFieldConfig)表æ§å¶å± |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:55 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("codeShowFieldConfig") |
| | | public class CodeShowFieldConfigController { |
| | | |
| | | /** |
| | | * æå¡å¯¹è±¡ |
| | | */ |
| | | @Resource |
| | | private CodeShowFieldConfigService codeShowFieldConfigService; |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param plCodeShowfieldconfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @GetMapping |
| | | public ResponseEntity<Page<CodeShowFieldConfig>> queryByPage(CodeShowFieldConfig plCodeShowfieldconfig, PageRequest pageRequest) { |
| | | return ResponseEntity.ok(this.codeShowFieldConfigService.queryByPage(plCodeShowfieldconfig, pageRequest)); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®æ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return åæ¡æ°æ® |
| | | */ |
| | | @GetMapping("{id}") |
| | | public ResponseEntity<CodeShowFieldConfig> queryById(@PathVariable("id") String id) { |
| | | return ResponseEntity.ok(this.codeShowFieldConfigService.queryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeShowfieldconfig å®ä½ |
| | | * @return æ°å¢ç»æ |
| | | */ |
| | | @PostMapping |
| | | public ResponseEntity<CodeShowFieldConfig> add(CodeShowFieldConfig plCodeShowfieldconfig) { |
| | | return ResponseEntity.ok(this.codeShowFieldConfigService.insert(plCodeShowfieldconfig)); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾æ°æ® |
| | | * |
| | | * @param plCodeShowfieldconfig å®ä½ |
| | | * @return ç¼è¾ç»æ |
| | | */ |
| | | @PutMapping |
| | | public ResponseEntity<CodeShowFieldConfig> edit(CodeShowFieldConfig plCodeShowfieldconfig) { |
| | | return ResponseEntity.ok(this.codeShowFieldConfigService.update(plCodeShowfieldconfig)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return å 餿¯å¦æå |
| | | */ |
| | | @DeleteMapping |
| | | public ResponseEntity<Boolean> deleteById(String id) { |
| | | return ResponseEntity.ok(this.codeShowFieldConfigService.deleteById(id)); |
| | | } |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.service.CodeSrchCondConfigService; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¥è¯¢æ¡ä»¶é
置表(CodeSrchCondConfig)表æ§å¶å± |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("codeSrchCondConfig") |
| | | public class CodeSrchCondConfigController { |
| | | /** |
| | | * æå¡å¯¹è±¡ |
| | | */ |
| | | @Resource |
| | | private CodeSrchCondConfigService codeSrchCondConfigService; |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param plCodeSrchcondconfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @GetMapping |
| | | public ResponseEntity<Page<CodeSrchCondConfig>> queryByPage(CodeSrchCondConfig plCodeSrchcondconfig, PageRequest pageRequest) { |
| | | return ResponseEntity.ok(this.codeSrchCondConfigService.queryByPage(plCodeSrchcondconfig, pageRequest)); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®æ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return åæ¡æ°æ® |
| | | */ |
| | | @GetMapping("{id}") |
| | | public ResponseEntity<CodeSrchCondConfig> queryById(@PathVariable("id") String id) { |
| | | return ResponseEntity.ok(this.codeSrchCondConfigService.queryById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeSrchcondconfig å®ä½ |
| | | * @return æ°å¢ç»æ |
| | | */ |
| | | @PostMapping |
| | | public ResponseEntity<CodeSrchCondConfig> add(CodeSrchCondConfig plCodeSrchcondconfig) { |
| | | return ResponseEntity.ok(this.codeSrchCondConfigService.insert(plCodeSrchcondconfig)); |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾æ°æ® |
| | | * |
| | | * @param plCodeSrchcondconfig å®ä½ |
| | | * @return ç¼è¾ç»æ |
| | | */ |
| | | @PutMapping |
| | | public ResponseEntity<CodeSrchCondConfig> edit(CodeSrchCondConfig plCodeSrchcondconfig) { |
| | | return ResponseEntity.ok(this.codeSrchCondConfigService.update(plCodeSrchcondconfig)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿°æ® |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return å 餿¯å¦æå |
| | | */ |
| | | @DeleteMapping |
| | | public ResponseEntity<Boolean> deleteById(String id) { |
| | | return ResponseEntity.ok(this.codeSrchCondConfigService.deleteById(id)); |
| | | } |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeReferConfig; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.data.domain.Pageable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åç
§é
置表(CodeReferConfig)è¡¨æ°æ®åºè®¿é®å± |
| | | * |
| | | * @author makejava |
| | | * @since 2023-05-19 17:47:51 |
| | | */ |
| | | public interface CodeReferConfigMapper { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeReferConfig queryById(String oid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æå®è¡æ°æ® |
| | | * |
| | | * @param plCodeReferconfig æ¥è¯¢æ¡ä»¶ |
| | | * @param pageable å页对象 |
| | | * @return 对象å表 |
| | | */ |
| | | List<CodeReferConfig> queryAllByLimit(CodeReferConfig plCodeReferconfig, @Param("pageable") Pageable pageable); |
| | | |
| | | /** |
| | | * ç»è®¡æ»è¡æ° |
| | | * |
| | | * @param plCodeReferconfig æ¥è¯¢æ¡ä»¶ |
| | | * @return æ»è¡æ° |
| | | */ |
| | | long count(CodeReferConfig plCodeReferconfig); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insert(CodeReferConfig plCodeReferconfig); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeReferConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insertBatch(@Param("entities") List<CodeReferConfig> entities); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢ææä¸»é®æ´æ°æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeReferConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | * @throws org.springframework.jdbc.BadSqlGrammarException å
¥åæ¯ç©ºListçæ¶å伿SQLè¯å¥é误çå¼å¸¸ï¼è¯·èªè¡æ ¡éªå
¥å |
| | | */ |
| | | int insertOrUpdateBatch(@Param("entities") List<CodeReferConfig> entities); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int update(CodeReferConfig plCodeReferconfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int deleteById(String oid); |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.data.domain.Pageable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¾ç¤ºç屿§é
置表(CodeShowFieldConfig)è¡¨æ°æ®åºè®¿é®å± |
| | | * |
| | | * @author makejava |
| | | * @since 2023-05-19 17:58:55 |
| | | */ |
| | | public interface CodeShowFieldConfigMapper { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeShowFieldConfig queryById(String oid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æå®è¡æ°æ® |
| | | * |
| | | * @param plCodeShowfieldconfig æ¥è¯¢æ¡ä»¶ |
| | | * @param pageable å页对象 |
| | | * @return 对象å表 |
| | | */ |
| | | List<CodeShowFieldConfig> queryAllByLimit(CodeShowFieldConfig plCodeShowfieldconfig, @Param("pageable") Pageable pageable); |
| | | |
| | | /** |
| | | * ç»è®¡æ»è¡æ° |
| | | * |
| | | * @param plCodeShowfieldconfig æ¥è¯¢æ¡ä»¶ |
| | | * @return æ»è¡æ° |
| | | */ |
| | | long count(CodeShowFieldConfig plCodeShowfieldconfig); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeShowfieldconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insert(CodeShowFieldConfig plCodeShowfieldconfig); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeShowFieldConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insertBatch(@Param("entities") List<CodeShowFieldConfig> entities); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢ææä¸»é®æ´æ°æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeShowFieldConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | * @throws org.springframework.jdbc.BadSqlGrammarException å
¥åæ¯ç©ºListçæ¶å伿SQLè¯å¥é误çå¼å¸¸ï¼è¯·èªè¡æ ¡éªå
¥å |
| | | */ |
| | | int insertOrUpdateBatch(@Param("entities") List<CodeShowFieldConfig> entities); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param plCodeShowfieldconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int update(CodeShowFieldConfig plCodeShowfieldconfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int deleteById(String oid); |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.data.domain.Pageable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¥è¯¢æ¡ä»¶é
置表(CodeSrchCondConfig)è¡¨æ°æ®åºè®¿é®å± |
| | | * |
| | | * @author makejava |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | public interface CodeSrchCondConfigMapper { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeSrchCondConfig queryById(String oid); |
| | | |
| | | /** |
| | | * æ¥è¯¢æå®è¡æ°æ® |
| | | * |
| | | * @param plCodeSrchcondconfig æ¥è¯¢æ¡ä»¶ |
| | | * @param pageable å页对象 |
| | | * @return 对象å表 |
| | | */ |
| | | List<CodeSrchCondConfig> queryAllByLimit(CodeSrchCondConfig plCodeSrchcondconfig, @Param("pageable") Pageable pageable); |
| | | |
| | | /** |
| | | * ç»è®¡æ»è¡æ° |
| | | * |
| | | * @param plCodeSrchcondconfig æ¥è¯¢æ¡ä»¶ |
| | | * @return æ»è¡æ° |
| | | */ |
| | | long count(CodeSrchCondConfig plCodeSrchcondconfig); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeSrchcondconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insert(CodeSrchCondConfig plCodeSrchcondconfig); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeSrchCondConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int insertBatch(@Param("entities") List<CodeSrchCondConfig> entities); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢ææä¸»é®æ´æ°æ°æ®ï¼MyBatisåçforeachæ¹æ³ï¼ |
| | | * |
| | | * @param entities List<CodeSrchCondConfig> å®ä¾å¯¹è±¡å表 |
| | | * @return å½±åè¡æ° |
| | | * @throws org.springframework.jdbc.BadSqlGrammarException å
¥åæ¯ç©ºListçæ¶å伿SQLè¯å¥é误çå¼å¸¸ï¼è¯·èªè¡æ ¡éªå
¥å |
| | | */ |
| | | int insertOrUpdateBatch(@Param("entities") List<CodeSrchCondConfig> entities); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param plCodeSrchcondconfig å®ä¾å¯¹è±¡ |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int update(CodeSrchCondConfig plCodeSrchcondconfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å½±åè¡æ° |
| | | */ |
| | | int deleteById(String oid); |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeReferConfig; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | /** |
| | | * åç
§é
置表(CodeReferConfig)表æå¡æ¥å£ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:47:59 |
| | | */ |
| | | public interface CodeReferConfigService { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeReferConfig queryById(String oid); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param plCodeReferconfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | Page<CodeReferConfig> queryByPage(CodeReferConfig plCodeReferconfig, PageRequest pageRequest); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeReferConfig insert(CodeReferConfig plCodeReferconfig); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeReferConfig update(CodeReferConfig plCodeReferconfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | boolean deleteById(String oid); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¾ç¤ºç屿§é
置表(CodeShowFieldConfig)表æå¡æ¥å£ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | public interface CodeShowFieldConfigService { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeShowFieldConfig queryById(String oid); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param codeShowFieldConfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | Page<CodeShowFieldConfig> queryByPage(CodeShowFieldConfig codeShowFieldConfig, PageRequest pageRequest); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param codeShowFieldConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeShowFieldConfig insert(CodeShowFieldConfig codeShowFieldConfig); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param codeShowFieldConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeShowFieldConfig update(CodeShowFieldConfig codeShowFieldConfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | boolean deleteById(String oid); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.service.impl.CodeSrchCondConfigServiceImpl; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¥è¯¢æ¡ä»¶é
置表(CodeSrchCondConfig)表æå¡æ¥å£ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | public interface CodeSrchCondConfigService { |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeSrchCondConfig queryById(String oid); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param codeSrchCondConfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | Page<CodeSrchCondConfig> queryByPage(CodeSrchCondConfig codeSrchCondConfig, PageRequest pageRequest); |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param codeSrchCondConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeSrchCondConfig insert(CodeSrchCondConfig codeSrchCondConfig); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param codeSrchCondConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | CodeSrchCondConfig update(CodeSrchCondConfig codeSrchCondConfig); |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | boolean deleteById(String oid); |
| | | |
| | | } |
| | |
| | | import org.apache.poi.hssf.util.HSSFColor; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springblade.core.cache.utils.CacheUtil;import com.vci.ubcs.core.log.exception.ServiceException; |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | | import org.springblade.core.log.exception.ServiceException; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | |
| | | import com.vci.ubcs.code.entity.CodeReferConfig; |
| | | import com.vci.ubcs.code.mapper.CodeReferConfigMapper; |
| | | import com.vci.ubcs.code.service.CodeReferConfigService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageImpl; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * åç
§é
置表(CodeReferconfig)表æå¡å®ç°ç±» |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:48:02 |
| | | */ |
| | | @Service("CodeReferconfigService") |
| | | public class CodeReferConfigServiceImpl implements CodeReferConfigService { |
| | | @Resource |
| | | private CodeReferConfigMapper codeReferconfigMapper; |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeReferConfig queryById(String oid) { |
| | | return this.codeReferconfigMapper.queryById(oid); |
| | | } |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param plCodeReferconfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @Override |
| | | public Page<CodeReferConfig> queryByPage(CodeReferConfig plCodeReferconfig, PageRequest pageRequest) { |
| | | long total = this.codeReferconfigMapper.count(plCodeReferconfig); |
| | | return new PageImpl<>(this.codeReferconfigMapper.queryAllByLimit(plCodeReferconfig, pageRequest), pageRequest, total); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeReferConfig insert(CodeReferConfig plCodeReferconfig) { |
| | | this.codeReferconfigMapper.insert(plCodeReferconfig); |
| | | return plCodeReferconfig; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param plCodeReferconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeReferConfig update(CodeReferConfig plCodeReferconfig) { |
| | | this.codeReferconfigMapper.update(plCodeReferconfig); |
| | | return this.queryById(plCodeReferconfig.getOid()); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Override |
| | | public boolean deleteById(String oid) { |
| | | return this.codeReferconfigMapper.deleteById(oid) > 0; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | import com.vci.ubcs.code.mapper.CodeShowFieldConfigMapper; |
| | | import com.vci.ubcs.code.service.CodeShowFieldConfigService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageImpl; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¾ç¤ºç屿§é
置表(CodeShowFieldConfigService)表æå¡å®ç°ç±» |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | @Service("CodeShowFieldConfigService") |
| | | public class CodeShowFieldConfigServiceImpl implements CodeShowFieldConfigService { |
| | | |
| | | @Resource |
| | | private CodeShowFieldConfigMapper codeShowFieldConfigMapper; |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeShowFieldConfig queryById(String oid) { |
| | | return this.codeShowFieldConfigMapper.queryById(oid); |
| | | } |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param codeShowFieldConfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @Override |
| | | public Page<CodeShowFieldConfig> queryByPage(CodeShowFieldConfig codeShowFieldConfig, PageRequest pageRequest) { |
| | | long total = this.codeShowFieldConfigMapper.count(codeShowFieldConfig); |
| | | return new PageImpl<>(this.codeShowFieldConfigMapper.queryAllByLimit(codeShowFieldConfig, pageRequest), pageRequest, total); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param codeShowFieldConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeShowFieldConfig insert(CodeShowFieldConfig codeShowFieldConfig) { |
| | | this.codeShowFieldConfigMapper.insert(codeShowFieldConfig); |
| | | return codeShowFieldConfig; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param codeShowFieldConfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeShowFieldConfig update(CodeShowFieldConfig codeShowFieldConfig) { |
| | | this.codeShowFieldConfigMapper.update(codeShowFieldConfig); |
| | | return this.queryById(codeShowFieldConfig.getOid()); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Override |
| | | public boolean deleteById(String oid) { |
| | | return this.codeShowFieldConfigMapper.deleteById(oid) > 0; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.mapper.CodeSrchCondConfigMapper; |
| | | import com.vci.ubcs.code.service.CodeSrchCondConfigService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageImpl; |
| | | import org.springframework.data.domain.PageRequest; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * å¼ç¨ç 段ï¼åç
§é
ç½®çé¢ï¼æ¥è¯¢æ¡ä»¶é
置表(CodeSrchCondConfigService)表æå¡å®ç°ç±» |
| | | * |
| | | * @author ludc |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | @Service("CodeSrchCondConfigService") |
| | | public class CodeSrchCondConfigServiceImpl implements CodeSrchCondConfigService { |
| | | |
| | | @Resource |
| | | private CodeSrchCondConfigMapper codeSrchcondconfigMapper; |
| | | |
| | | /** |
| | | * éè¿IDæ¥è¯¢åæ¡æ°æ® |
| | | * codeSrchcondconfig |
| | | * @param oid ä¸»é® |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeSrchCondConfig queryById(String oid) { |
| | | return this.codeSrchcondconfigMapper.queryById(oid); |
| | | } |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param codeSrchcondconfig ç鿡件 |
| | | * @param pageRequest å页对象 |
| | | * @return æ¥è¯¢ç»æ |
| | | */ |
| | | @Override |
| | | public Page<CodeSrchCondConfig> queryByPage(CodeSrchCondConfig codeSrchcondconfig, PageRequest pageRequest) { |
| | | long total = this.codeSrchcondconfigMapper.count(codeSrchcondconfig); |
| | | return new PageImpl<>(this.codeSrchcondconfigMapper.queryAllByLimit(codeSrchcondconfig, pageRequest), pageRequest, total); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ°æ® |
| | | * |
| | | * @param codeSrchcondconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeSrchCondConfig insert(CodeSrchCondConfig codeSrchcondconfig) { |
| | | this.codeSrchcondconfigMapper.insert(codeSrchcondconfig); |
| | | return codeSrchcondconfig; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ°æ® |
| | | * |
| | | * @param codeSrchcondconfig å®ä¾å¯¹è±¡ |
| | | * @return å®ä¾å¯¹è±¡ |
| | | */ |
| | | @Override |
| | | public CodeSrchCondConfig update(CodeSrchCondConfig codeSrchcondconfig) { |
| | | this.codeSrchcondconfigMapper.update(codeSrchcondconfig); |
| | | return this.queryById(codeSrchcondconfig.getOid()); |
| | | } |
| | | |
| | | /** |
| | | * éè¿ä¸»é®å 餿°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Override |
| | | public boolean deleteById(String oid) { |
| | | return this.codeSrchcondconfigMapper.deleteById(oid) > 0; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeReferConfigMapper"> |
| | | |
| | | <resultMap type="com.vci.ubcs.code.entity.CodeReferConfig" id="CodeReferconfigMap"> |
| | | <result property="oid" column="OID" jdbcType="VARCHAR"/> |
| | | <result property="revisionOid" column="REVISIONOID" jdbcType="VARCHAR"/> |
| | | <result property="nameOid" column="NAMEOID" jdbcType="VARCHAR"/> |
| | | <result property="btmname" column="BTMNAME" jdbcType="VARCHAR"/> |
| | | <result property="lastR" column="LASTR" jdbcType="VARCHAR"/> |
| | | <result property="firstR" column="FIRSTR" jdbcType="VARCHAR"/> |
| | | <result property="lastV" column="LASTV" jdbcType="VARCHAR"/> |
| | | <result property="firstV" column="FIRSTV" jdbcType="VARCHAR"/> |
| | | <result property="creator" column="CREATOR" jdbcType="VARCHAR"/> |
| | | <result property="createTime" column="CREATETIME" jdbcType="VARCHAR"/> |
| | | <result property="revisionSeq" column="REVISIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="revisionValue" column="REVISIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="versionSeq" column="VERSIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="versionValue" column="VERSIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="lctid" column="LCTID" jdbcType="VARCHAR"/> |
| | | <result property="lcStatus" column="LCSTATUS" jdbcType="VARCHAR"/> |
| | | <result property="ts" column="TS" jdbcType="VARCHAR"/> |
| | | <result property="name" column="NAME" jdbcType="VARCHAR"/> |
| | | <result property="description" column="DESCRIPTION" jdbcType="VARCHAR"/> |
| | | <result property="owner" column="OWNER" jdbcType="VARCHAR"/> |
| | | <result property="copyFromVersion" column="COPYFROMVERSION" jdbcType="VARCHAR"/> |
| | | <result property="orderNum" column="ORDERNUM" jdbcType="INTEGER"/> |
| | | <result property="referType" column="REFERTYPE" jdbcType="VARCHAR"/> |
| | | <result property="textField" column="TEXTFIELD" jdbcType="VARCHAR"/> |
| | | <result property="valueField" column="VALUEFIELD" jdbcType="VARCHAR"/> |
| | | <result property="type" column="TYPE" jdbcType="VARCHAR"/> |
| | | <result property="url" column="URL" jdbcType="VARCHAR"/> |
| | | <result property="backPath" column="BACKPATH" jdbcType="VARCHAR"/> |
| | | <result property="method" column="METHOD" jdbcType="VARCHAR"/> |
| | | <result property="height" column="HEIGHT" jdbcType="INTEGER"/> |
| | | <result property="paramForFormKey" column="PARAMFORFORMKEY" jdbcType="VARCHAR"/> |
| | | <result property="isMuti" column="ISMUTI" jdbcType="VARCHAR"/> |
| | | <result property="mapFields" column="MAPFIELDS" jdbcType="VARCHAR"/> |
| | | <result property="referContent" column="REFERCONTENT" jdbcType="VARCHAR"/> |
| | | <result property="displayTable" column="DISPLAYTABLE" jdbcType="VARCHAR"/> |
| | | <result property="limit" column="LIMIT" jdbcType="VARCHAR"/> |
| | | <result property="sortField" column="SORTFIELD" jdbcType="VARCHAR"/> |
| | | <result property="sortType" column="SORTTYPE" jdbcType="VARCHAR"/> |
| | | <result property="parentFieldName" column="PARENTFIELDNAME" jdbcType="VARCHAR"/> |
| | | <result property="parentUsedField" column="PARENTUSEDFIELD" jdbcType="VARCHAR"/> |
| | | <result property="parentValue" column="PARENTVALUE" jdbcType="VARCHAR"/> |
| | | <result property="loadType" column="LOADTYPE" jdbcType="VARCHAR"/> |
| | | <result property="onlyLeaf" column="ONLYLEAF" jdbcType="VARCHAR"/> |
| | | </resultMap> |
| | | |
| | | <!--æ¥è¯¢å个--> |
| | | <select id="queryById" resultMap="CodeReferconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, REFERTYPE, TEXTFIELD, VALUEFIELD, TYPE, URL, BACKPATH, METHOD, HEIGHT, PARAMFORFORMKEY, ISMUTI, MAPFIELDS, REFERCONTENT, DISPLAYTABLE, LIMIT, SORTFIELD, SORTTYPE, PARENTFIELDNAME, PARENTUSEDFIELD, PARENTVALUE, LOADTYPE, ONLYLEAF |
| | | from PL_CODE_REFERCONFIG |
| | | where OID = #{oid} |
| | | </select> |
| | | |
| | | <!--æ¥è¯¢æå®è¡æ°æ®--> |
| | | <select id="queryAllByLimit" resultMap="CodeReferconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, REFERTYPE, TEXTFIELD, VALUEFIELD, TYPE, URL, BACKPATH, METHOD, HEIGHT, PARAMFORFORMKEY, ISMUTI, MAPFIELDS, REFERCONTENT, DISPLAYTABLE, LIMIT, SORTFIELD, SORTTYPE, PARENTFIELDNAME, PARENTUSEDFIELD, PARENTVALUE, LOADTYPE, ONLYLEAF |
| | | from PL_CODE_REFERCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="refertype != null and refertype != ''"> |
| | | and REFERTYPE = #{refertype} |
| | | </if> |
| | | <if test="textfield != null and textfield != ''"> |
| | | and TEXTFIELD = #{textfield} |
| | | </if> |
| | | <if test="valuefield != null and valuefield != ''"> |
| | | and VALUEFIELD = #{valuefield} |
| | | </if> |
| | | <if test="type != null and type != ''"> |
| | | and TYPE = #{type} |
| | | </if> |
| | | <if test="url != null and url != ''"> |
| | | and URL = #{url} |
| | | </if> |
| | | <if test="backpath != null and backpath != ''"> |
| | | and BACKPATH = #{backpath} |
| | | </if> |
| | | <if test="method != null and method != ''"> |
| | | and METHOD = #{method} |
| | | </if> |
| | | <if test="height != null"> |
| | | and HEIGHT = #{height} |
| | | </if> |
| | | <if test="paramforformkey != null and paramforformkey != ''"> |
| | | and PARAMFORFORMKEY = #{paramforformkey} |
| | | </if> |
| | | <if test="ismuti != null and ismuti != ''"> |
| | | and ISMUTI = #{ismuti} |
| | | </if> |
| | | <if test="mapfields != null and mapfields != ''"> |
| | | and MAPFIELDS = #{mapfields} |
| | | </if> |
| | | <if test="refercontent != null and refercontent != ''"> |
| | | and REFERCONTENT = #{refercontent} |
| | | </if> |
| | | <if test="displaytable != null and displaytable != ''"> |
| | | and DISPLAYTABLE = #{displaytable} |
| | | </if> |
| | | <if test="limit != null and limit != ''"> |
| | | and LIMIT = #{limit} |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | and SORTFIELD = #{sortfield} |
| | | </if> |
| | | <if test="sorttype != null and sorttype != ''"> |
| | | and SORTTYPE = #{sorttype} |
| | | </if> |
| | | <if test="parentfieldname != null and parentfieldname != ''"> |
| | | and PARENTFIELDNAME = #{parentfieldname} |
| | | </if> |
| | | <if test="parentusedfield != null and parentusedfield != ''"> |
| | | and PARENTUSEDFIELD = #{parentusedfield} |
| | | </if> |
| | | <if test="parentvalue != null and parentvalue != ''"> |
| | | and PARENTVALUE = #{parentvalue} |
| | | </if> |
| | | <if test="loadtype != null and loadtype != ''"> |
| | | and LOADTYPE = #{loadtype} |
| | | </if> |
| | | <if test="onlyleaf != null and onlyleaf != ''"> |
| | | and ONLYLEAF = #{onlyleaf} |
| | | </if> |
| | | </where> |
| | | limit #{pageable.offset}, #{pageable.pageSize} |
| | | </select> |
| | | |
| | | <!--ç»è®¡æ»è¡æ°--> |
| | | <select id="count" resultType="java.lang.Long"> |
| | | select count(1) |
| | | from PL_CODE_REFERCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="refertype != null and refertype != ''"> |
| | | and REFERTYPE = #{refertype} |
| | | </if> |
| | | <if test="textfield != null and textfield != ''"> |
| | | and TEXTFIELD = #{textfield} |
| | | </if> |
| | | <if test="valuefield != null and valuefield != ''"> |
| | | and VALUEFIELD = #{valuefield} |
| | | </if> |
| | | <if test="type != null and type != ''"> |
| | | and TYPE = #{type} |
| | | </if> |
| | | <if test="url != null and url != ''"> |
| | | and URL = #{url} |
| | | </if> |
| | | <if test="backpath != null and backpath != ''"> |
| | | and BACKPATH = #{backpath} |
| | | </if> |
| | | <if test="method != null and method != ''"> |
| | | and METHOD = #{method} |
| | | </if> |
| | | <if test="height != null"> |
| | | and HEIGHT = #{height} |
| | | </if> |
| | | <if test="paramforformkey != null and paramforformkey != ''"> |
| | | and PARAMFORFORMKEY = #{paramforformkey} |
| | | </if> |
| | | <if test="ismuti != null and ismuti != ''"> |
| | | and ISMUTI = #{ismuti} |
| | | </if> |
| | | <if test="mapfields != null and mapfields != ''"> |
| | | and MAPFIELDS = #{mapfields} |
| | | </if> |
| | | <if test="refercontent != null and refercontent != ''"> |
| | | and REFERCONTENT = #{refercontent} |
| | | </if> |
| | | <if test="displaytable != null and displaytable != ''"> |
| | | and DISPLAYTABLE = #{displaytable} |
| | | </if> |
| | | <if test="limit != null and limit != ''"> |
| | | and LIMIT = #{limit} |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | and SORTFIELD = #{sortfield} |
| | | </if> |
| | | <if test="sorttype != null and sorttype != ''"> |
| | | and SORTTYPE = #{sorttype} |
| | | </if> |
| | | <if test="parentfieldname != null and parentfieldname != ''"> |
| | | and PARENTFIELDNAME = #{parentfieldname} |
| | | </if> |
| | | <if test="parentusedfield != null and parentusedfield != ''"> |
| | | and PARENTUSEDFIELD = #{parentusedfield} |
| | | </if> |
| | | <if test="parentvalue != null and parentvalue != ''"> |
| | | and PARENTVALUE = #{parentvalue} |
| | | </if> |
| | | <if test="loadtype != null and loadtype != ''"> |
| | | and LOADTYPE = #{loadtype} |
| | | </if> |
| | | <if test="onlyleaf != null and onlyleaf != ''"> |
| | | and ONLYLEAF = #{onlyleaf} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <!--æ°å¢ææå--> |
| | | <insert id="insert" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_REFERCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, REFERTYPE, TEXTFIELD, VALUEFIELD, TYPE, URL, BACKPATH, METHOD, HEIGHT, PARAMFORFORMKEY, ISMUTI, MAPFIELDS, REFERCONTENT, DISPLAYTABLE, LIMIT, SORTFIELD, SORTTYPE, PARENTFIELDNAME, PARENTUSEDFIELD, PARENTVALUE, LOADTYPE, ONLYLEAF) |
| | | values (#{revisionoid}, #{nameoid}, #{btmname}, #{lastr}, #{firstr}, #{lastv}, #{firstv}, #{creator}, #{createtime}, #{revisionseq}, #{revisionvalue}, #{versionseq}, #{versionvalue}, #{lctid}, #{lcstatus}, #{ts}, #{name}, #{description}, #{owner}, #{copyfromversion}, #{ordernum}, #{refertype}, #{textfield}, #{valuefield}, #{type}, #{url}, #{backpath}, #{method}, #{height}, #{paramforformkey}, #{ismuti}, #{mapfields}, #{refercontent}, #{displaytable}, #{limit}, #{sortfield}, #{sorttype}, #{parentfieldname}, #{parentusedfield}, #{parentvalue}, #{loadtype}, #{onlyleaf}) |
| | | </insert> |
| | | |
| | | <insert id="insertBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_REFERCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, REFERTYPE, TEXTFIELD, VALUEFIELD, TYPE, URL, BACKPATH, METHOD, HEIGHT, PARAMFORFORMKEY, ISMUTI, MAPFIELDS, REFERCONTENT, DISPLAYTABLE, LIMIT, SORTFIELD, SORTTYPE, PARENTFIELDNAME, PARENTUSEDFIELD, PARENTVALUE, LOADTYPE, ONLYLEAF) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.refertype}, #{entity.textfield}, #{entity.valuefield}, #{entity.type}, #{entity.url}, #{entity.backpath}, #{entity.method}, #{entity.height}, #{entity.paramforformkey}, #{entity.ismuti}, #{entity.mapfields}, #{entity.refercontent}, #{entity.displaytable}, #{entity.limit}, #{entity.sortfield}, #{entity.sorttype}, #{entity.parentfieldname}, #{entity.parentusedfield}, #{entity.parentvalue}, #{entity.loadtype}, #{entity.onlyleaf}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <insert id="insertOrUpdateBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_REFERCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, REFERTYPE, TEXTFIELD, VALUEFIELD, TYPE, URL, BACKPATH, METHOD, HEIGHT, PARAMFORFORMKEY, ISMUTI, MAPFIELDS, REFERCONTENT, DISPLAYTABLE, LIMIT, SORTFIELD, SORTTYPE, PARENTFIELDNAME, PARENTUSEDFIELD, PARENTVALUE, LOADTYPE, ONLYLEAF) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.refertype}, #{entity.textfield}, #{entity.valuefield}, #{entity.type}, #{entity.url}, #{entity.backpath}, #{entity.method}, #{entity.height}, #{entity.paramforformkey}, #{entity.ismuti}, #{entity.mapfields}, #{entity.refercontent}, #{entity.displaytable}, #{entity.limit}, #{entity.sortfield}, #{entity.sorttype}, #{entity.parentfieldname}, #{entity.parentusedfield}, #{entity.parentvalue}, #{entity.loadtype}, #{entity.onlyleaf}) |
| | | </foreach> |
| | | on duplicate key update |
| | | REVISIONOID = values(REVISIONOID), |
| | | NAMEOID = values(NAMEOID), |
| | | BTMNAME = values(BTMNAME), |
| | | LASTR = values(LASTR), |
| | | FIRSTR = values(FIRSTR), |
| | | LASTV = values(LASTV), |
| | | FIRSTV = values(FIRSTV), |
| | | CREATOR = values(CREATOR), |
| | | CREATETIME = values(CREATETIME), |
| | | REVISIONSEQ = values(REVISIONSEQ), |
| | | REVISIONVALUE = values(REVISIONVALUE), |
| | | VERSIONSEQ = values(VERSIONSEQ), |
| | | VERSIONVALUE = values(VERSIONVALUE), |
| | | LCTID = values(LCTID), |
| | | LCSTATUS = values(LCSTATUS), |
| | | TS = values(TS), |
| | | NAME = values(NAME), |
| | | DESCRIPTION = values(DESCRIPTION), |
| | | OWNER = values(OWNER), |
| | | COPYFROMVERSION = values(COPYFROMVERSION), |
| | | ORDERNUM = values(ORDERNUM), |
| | | REFERTYPE = values(REFERTYPE), |
| | | TEXTFIELD = values(TEXTFIELD), |
| | | VALUEFIELD = values(VALUEFIELD), |
| | | TYPE = values(TYPE), |
| | | URL = values(URL), |
| | | BACKPATH = values(BACKPATH), |
| | | METHOD = values(METHOD), |
| | | HEIGHT = values(HEIGHT), |
| | | PARAMFORFORMKEY = values(PARAMFORFORMKEY), |
| | | ISMUTI = values(ISMUTI), |
| | | MAPFIELDS = values(MAPFIELDS), |
| | | REFERCONTENT = values(REFERCONTENT), |
| | | DISPLAYTABLE = values(DISPLAYTABLE), |
| | | LIMIT = values(LIMIT), |
| | | SORTFIELD = values(SORTFIELD), |
| | | SORTTYPE = values(SORTTYPE), |
| | | PARENTFIELDNAME = values(PARENTFIELDNAME), |
| | | PARENTUSEDFIELD = values(PARENTUSEDFIELD), |
| | | PARENTVALUE = values(PARENTVALUE), |
| | | LOADTYPE = values(LOADTYPE), |
| | | ONLYLEAF = values(ONLYLEAF) |
| | | </insert> |
| | | |
| | | <!--éè¿ä¸»é®ä¿®æ¹æ°æ®--> |
| | | <update id="update"> |
| | | update PL_CODE_REFERCONFIG |
| | | <set> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | REVISIONOID = #{revisionoid}, |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | NAMEOID = #{nameoid}, |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | BTMNAME = #{btmname}, |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | LASTR = #{lastr}, |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | FIRSTR = #{firstr}, |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | LASTV = #{lastv}, |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | FIRSTV = #{firstv}, |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | CREATOR = #{creator}, |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | CREATETIME = #{createtime}, |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | REVISIONSEQ = #{revisionseq}, |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | REVISIONVALUE = #{revisionvalue}, |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | VERSIONSEQ = #{versionseq}, |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | VERSIONVALUE = #{versionvalue}, |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | LCTID = #{lctid}, |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | LCSTATUS = #{lcstatus}, |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | TS = #{ts}, |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | NAME = #{name}, |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | DESCRIPTION = #{description}, |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | OWNER = #{owner}, |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | COPYFROMVERSION = #{copyfromversion}, |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | ORDERNUM = #{ordernum}, |
| | | </if> |
| | | <if test="refertype != null and refertype != ''"> |
| | | REFERTYPE = #{refertype}, |
| | | </if> |
| | | <if test="textfield != null and textfield != ''"> |
| | | TEXTFIELD = #{textfield}, |
| | | </if> |
| | | <if test="valuefield != null and valuefield != ''"> |
| | | VALUEFIELD = #{valuefield}, |
| | | </if> |
| | | <if test="type != null and type != ''"> |
| | | TYPE = #{type}, |
| | | </if> |
| | | <if test="url != null and url != ''"> |
| | | URL = #{url}, |
| | | </if> |
| | | <if test="backpath != null and backpath != ''"> |
| | | BACKPATH = #{backpath}, |
| | | </if> |
| | | <if test="method != null and method != ''"> |
| | | METHOD = #{method}, |
| | | </if> |
| | | <if test="height != null"> |
| | | HEIGHT = #{height}, |
| | | </if> |
| | | <if test="paramforformkey != null and paramforformkey != ''"> |
| | | PARAMFORFORMKEY = #{paramforformkey}, |
| | | </if> |
| | | <if test="ismuti != null and ismuti != ''"> |
| | | ISMUTI = #{ismuti}, |
| | | </if> |
| | | <if test="mapfields != null and mapfields != ''"> |
| | | MAPFIELDS = #{mapfields}, |
| | | </if> |
| | | <if test="refercontent != null and refercontent != ''"> |
| | | REFERCONTENT = #{refercontent}, |
| | | </if> |
| | | <if test="displaytable != null and displaytable != ''"> |
| | | DISPLAYTABLE = #{displaytable}, |
| | | </if> |
| | | <if test="limit != null and limit != ''"> |
| | | LIMIT = #{limit}, |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | SORTFIELD = #{sortfield}, |
| | | </if> |
| | | <if test="sorttype != null and sorttype != ''"> |
| | | SORTTYPE = #{sorttype}, |
| | | </if> |
| | | <if test="parentfieldname != null and parentfieldname != ''"> |
| | | PARENTFIELDNAME = #{parentfieldname}, |
| | | </if> |
| | | <if test="parentusedfield != null and parentusedfield != ''"> |
| | | PARENTUSEDFIELD = #{parentusedfield}, |
| | | </if> |
| | | <if test="parentvalue != null and parentvalue != ''"> |
| | | PARENTVALUE = #{parentvalue}, |
| | | </if> |
| | | <if test="loadtype != null and loadtype != ''"> |
| | | LOADTYPE = #{loadtype}, |
| | | </if> |
| | | <if test="onlyleaf != null and onlyleaf != ''"> |
| | | ONLYLEAF = #{onlyleaf}, |
| | | </if> |
| | | </set> |
| | | where OID = #{oid} |
| | | </update> |
| | | |
| | | <!--éè¿ä¸»é®å é¤--> |
| | | <delete id="deleteById"> |
| | | delete from PL_CODE_REFERCONFIG where OID = #{oid} |
| | | </delete> |
| | | |
| | | </mapper> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeShowFieldConfigMapper"> |
| | | |
| | | <resultMap type="com.vci.ubcs.code.entity.CodeShowFieldConfig" id="PlCodeShowfieldconfigMap"> |
| | | <result property="oid" column="OID" jdbcType="VARCHAR"/> |
| | | <result property="revisionOid" column="REVISIONOID" jdbcType="VARCHAR"/> |
| | | <result property="nameOid" column="NAMEOID" jdbcType="VARCHAR"/> |
| | | <result property="btmname" column="BTMNAME" jdbcType="VARCHAR"/> |
| | | <result property="lastR" column="LASTR" jdbcType="VARCHAR"/> |
| | | <result property="firstR" column="FIRSTR" jdbcType="VARCHAR"/> |
| | | <result property="lastV" column="LASTV" jdbcType="VARCHAR"/> |
| | | <result property="firstV" column="FIRSTV" jdbcType="VARCHAR"/> |
| | | <result property="creator" column="CREATOR" jdbcType="VARCHAR"/> |
| | | <result property="createTime" column="CREATETIME" jdbcType="VARCHAR"/> |
| | | <result property="revisionSeq" column="REVISIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="revisionValue" column="REVISIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="versionSeq" column="VERSIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="versionValue" column="VERSIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="lctid" column="LCTID" jdbcType="VARCHAR"/> |
| | | <result property="lcStatus" column="LCSTATUS" jdbcType="VARCHAR"/> |
| | | <result property="ts" column="TS" jdbcType="VARCHAR"/> |
| | | <result property="name" column="NAME" jdbcType="VARCHAR"/> |
| | | <result property="description" column="DESCRIPTION" jdbcType="VARCHAR"/> |
| | | <result property="owner" column="OWNER" jdbcType="VARCHAR"/> |
| | | <result property="copyFromVersion" column="COPYFROMVERSION" jdbcType="VARCHAR"/> |
| | | <result property="orderNum" column="ORDERNUM" jdbcType="INTEGER"/> |
| | | <result property="field" column="FIELD" jdbcType="VARCHAR"/> |
| | | <result property="title" column="TITLE" jdbcType="VARCHAR"/> |
| | | <result property="fieldType" column="FIELDTYPE" jdbcType="VARCHAR"/> |
| | | <result property="sort" column="SORT" jdbcType="VARCHAR"/> |
| | | <result property="sortField" column="SORTFIELD" jdbcType="VARCHAR"/> |
| | | <result property="width" column="WIDTH" jdbcType="INTEGER"/> |
| | | <result property="fixedText" column="FIXEDTEXT" jdbcType="VARCHAR"/> |
| | | <result property="templet" column="TEMPLET" jdbcType="VARCHAR"/> |
| | | </resultMap> |
| | | |
| | | <!--æ¥è¯¢å个--> |
| | | <select id="queryById" resultMap="PlCodeShowfieldconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FIELD, TITLE, FIELDTYPE, SORT, SORTFIELD, WIDTH, FIXEDTEXT, TEMPLET |
| | | from PL_CODE_SHOWFIELDCONFIG |
| | | where OID = #{oid} |
| | | </select> |
| | | |
| | | <!--æ¥è¯¢æå®è¡æ°æ®--> |
| | | <select id="queryAllByLimit" resultMap="PlCodeShowfieldconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FIELD, TITLE, FIELDTYPE, SORT, SORTFIELD, WIDTH, FIXEDTEXT, TEMPLET |
| | | from PL_CODE_SHOWFIELDCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="field != null and field != ''"> |
| | | and FIELD = #{field} |
| | | </if> |
| | | <if test="title != null and title != ''"> |
| | | and TITLE = #{title} |
| | | </if> |
| | | <if test="fieldtype != null and fieldtype != ''"> |
| | | and FIELDTYPE = #{fieldtype} |
| | | </if> |
| | | <if test="sort != null and sort != ''"> |
| | | and SORT = #{sort} |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | and SORTFIELD = #{sortfield} |
| | | </if> |
| | | <if test="width != null"> |
| | | and WIDTH = #{width} |
| | | </if> |
| | | <if test="fixedtext != null and fixedtext != ''"> |
| | | and FIXEDTEXT = #{fixedtext} |
| | | </if> |
| | | <if test="templet != null and templet != ''"> |
| | | and TEMPLET = #{templet} |
| | | </if> |
| | | </where> |
| | | limit #{pageable.offset}, #{pageable.pageSize} |
| | | </select> |
| | | |
| | | <!--ç»è®¡æ»è¡æ°--> |
| | | <select id="count" resultType="java.lang.Long"> |
| | | select count(1) |
| | | from PL_CODE_SHOWFIELDCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="field != null and field != ''"> |
| | | and FIELD = #{field} |
| | | </if> |
| | | <if test="title != null and title != ''"> |
| | | and TITLE = #{title} |
| | | </if> |
| | | <if test="fieldtype != null and fieldtype != ''"> |
| | | and FIELDTYPE = #{fieldtype} |
| | | </if> |
| | | <if test="sort != null and sort != ''"> |
| | | and SORT = #{sort} |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | and SORTFIELD = #{sortfield} |
| | | </if> |
| | | <if test="width != null"> |
| | | and WIDTH = #{width} |
| | | </if> |
| | | <if test="fixedtext != null and fixedtext != ''"> |
| | | and FIXEDTEXT = #{fixedtext} |
| | | </if> |
| | | <if test="templet != null and templet != ''"> |
| | | and TEMPLET = #{templet} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <!--æ°å¢ææå--> |
| | | <insert id="insert" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SHOWFIELDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FIELD, TITLE, FIELDTYPE, SORT, SORTFIELD, WIDTH, FIXEDTEXT, TEMPLET) |
| | | values (#{revisionoid}, #{nameoid}, #{btmname}, #{lastr}, #{firstr}, #{lastv}, #{firstv}, #{creator}, #{createtime}, #{revisionseq}, #{revisionvalue}, #{versionseq}, #{versionvalue}, #{lctid}, #{lcstatus}, #{ts}, #{name}, #{description}, #{owner}, #{copyfromversion}, #{ordernum}, #{field}, #{title}, #{fieldtype}, #{sort}, #{sortfield}, #{width}, #{fixedtext}, #{templet}) |
| | | </insert> |
| | | |
| | | <insert id="insertBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SHOWFIELDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FIELD, TITLE, FIELDTYPE, SORT, SORTFIELD, WIDTH, FIXEDTEXT, TEMPLET) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.field}, #{entity.title}, #{entity.fieldtype}, #{entity.sort}, #{entity.sortfield}, #{entity.width}, #{entity.fixedtext}, #{entity.templet}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <insert id="insertOrUpdateBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SHOWFIELDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FIELD, TITLE, FIELDTYPE, SORT, SORTFIELD, WIDTH, FIXEDTEXT, TEMPLET) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.field}, #{entity.title}, #{entity.fieldtype}, #{entity.sort}, #{entity.sortfield}, #{entity.width}, #{entity.fixedtext}, #{entity.templet}) |
| | | </foreach> |
| | | on duplicate key update |
| | | REVISIONOID = values(REVISIONOID), |
| | | NAMEOID = values(NAMEOID), |
| | | BTMNAME = values(BTMNAME), |
| | | LASTR = values(LASTR), |
| | | FIRSTR = values(FIRSTR), |
| | | LASTV = values(LASTV), |
| | | FIRSTV = values(FIRSTV), |
| | | CREATOR = values(CREATOR), |
| | | CREATETIME = values(CREATETIME), |
| | | REVISIONSEQ = values(REVISIONSEQ), |
| | | REVISIONVALUE = values(REVISIONVALUE), |
| | | VERSIONSEQ = values(VERSIONSEQ), |
| | | VERSIONVALUE = values(VERSIONVALUE), |
| | | LCTID = values(LCTID), |
| | | LCSTATUS = values(LCSTATUS), |
| | | TS = values(TS), |
| | | NAME = values(NAME), |
| | | DESCRIPTION = values(DESCRIPTION), |
| | | OWNER = values(OWNER), |
| | | COPYFROMVERSION = values(COPYFROMVERSION), |
| | | ORDERNUM = values(ORDERNUM), |
| | | FIELD = values(FIELD), |
| | | TITLE = values(TITLE), |
| | | FIELDTYPE = values(FIELDTYPE), |
| | | SORT = values(SORT), |
| | | SORTFIELD = values(SORTFIELD), |
| | | WIDTH = values(WIDTH), |
| | | FIXEDTEXT = values(FIXEDTEXT), |
| | | TEMPLET = values(TEMPLET) |
| | | </insert> |
| | | |
| | | <!--éè¿ä¸»é®ä¿®æ¹æ°æ®--> |
| | | <update id="update"> |
| | | update PL_CODE_SHOWFIELDCONFIG |
| | | <set> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | REVISIONOID = #{revisionoid}, |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | NAMEOID = #{nameoid}, |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | BTMNAME = #{btmname}, |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | LASTR = #{lastr}, |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | FIRSTR = #{firstr}, |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | LASTV = #{lastv}, |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | FIRSTV = #{firstv}, |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | CREATOR = #{creator}, |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | CREATETIME = #{createtime}, |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | REVISIONSEQ = #{revisionseq}, |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | REVISIONVALUE = #{revisionvalue}, |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | VERSIONSEQ = #{versionseq}, |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | VERSIONVALUE = #{versionvalue}, |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | LCTID = #{lctid}, |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | LCSTATUS = #{lcstatus}, |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | TS = #{ts}, |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | NAME = #{name}, |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | DESCRIPTION = #{description}, |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | OWNER = #{owner}, |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | COPYFROMVERSION = #{copyfromversion}, |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | ORDERNUM = #{ordernum}, |
| | | </if> |
| | | <if test="field != null and field != ''"> |
| | | FIELD = #{field}, |
| | | </if> |
| | | <if test="title != null and title != ''"> |
| | | TITLE = #{title}, |
| | | </if> |
| | | <if test="fieldtype != null and fieldtype != ''"> |
| | | FIELDTYPE = #{fieldtype}, |
| | | </if> |
| | | <if test="sort != null and sort != ''"> |
| | | SORT = #{sort}, |
| | | </if> |
| | | <if test="sortfield != null and sortfield != ''"> |
| | | SORTFIELD = #{sortfield}, |
| | | </if> |
| | | <if test="width != null"> |
| | | WIDTH = #{width}, |
| | | </if> |
| | | <if test="fixedtext != null and fixedtext != ''"> |
| | | FIXEDTEXT = #{fixedtext}, |
| | | </if> |
| | | <if test="templet != null and templet != ''"> |
| | | TEMPLET = #{templet}, |
| | | </if> |
| | | </set> |
| | | where OID = #{oid} |
| | | </update> |
| | | |
| | | <!--éè¿ä¸»é®å é¤--> |
| | | <delete id="deleteById"> |
| | | delete from PL_CODE_SHOWFIELDCONFIG where OID = #{oid} |
| | | </delete> |
| | | |
| | | </mapper> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeSrchCondConfigMapper"> |
| | | |
| | | <resultMap type="com.vci.ubcs.code.entity.CodeSrchCondConfig" id="PlCodeSrchcondconfigMap"> |
| | | <result property="oid" column="OID" jdbcType="VARCHAR"/> |
| | | <result property="revisionOid" column="REVISIONOID" jdbcType="VARCHAR"/> |
| | | <result property="nameOid" column="NAMEOID" jdbcType="VARCHAR"/> |
| | | <result property="btmname" column="BTMNAME" jdbcType="VARCHAR"/> |
| | | <result property="lastR" column="LASTR" jdbcType="VARCHAR"/> |
| | | <result property="firstR" column="FIRSTR" jdbcType="VARCHAR"/> |
| | | <result property="lastV" column="LASTV" jdbcType="VARCHAR"/> |
| | | <result property="firstV" column="FIRSTV" jdbcType="VARCHAR"/> |
| | | <result property="creator" column="CREATOR" jdbcType="VARCHAR"/> |
| | | <result property="createTime" column="CREATETIME" jdbcType="VARCHAR"/> |
| | | <result property="revisionSeq" column="REVISIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="revisionValue" column="REVISIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="versionSeq" column="VERSIONSEQ" jdbcType="INTEGER"/> |
| | | <result property="versionValue" column="VERSIONVALUE" jdbcType="VARCHAR"/> |
| | | <result property="lctid" column="LCTID" jdbcType="VARCHAR"/> |
| | | <result property="lcStatus" column="LCSTATUS" jdbcType="VARCHAR"/> |
| | | <result property="ts" column="TS" jdbcType="VARCHAR"/> |
| | | <result property="name" column="NAME" jdbcType="VARCHAR"/> |
| | | <result property="description" column="DESCRIPTION" jdbcType="VARCHAR"/> |
| | | <result property="owner" column="OWNER" jdbcType="VARCHAR"/> |
| | | <result property="copyFromVersion" column="COPYFROMVERSION" jdbcType="VARCHAR"/> |
| | | <result property="orderNum" column="ORDERNUM" jdbcType="INTEGER"/> |
| | | <result property="filterField" column="FILTERFIELD" jdbcType="VARCHAR"/> |
| | | <result property="filterType" column="FILTERTYPE" jdbcType="VARCHAR"/> |
| | | <result property="filterValue" column="FILTERVALUE" jdbcType="VARCHAR"/> |
| | | </resultMap> |
| | | |
| | | <!--æ¥è¯¢å个--> |
| | | <select id="queryById" resultMap="PlCodeSrchcondconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FILTERFIELD, FILTERTYPE, FILTERVALUE |
| | | from PL_CODE_SRCHCONDCONFIG |
| | | where OID = #{oid} |
| | | </select> |
| | | |
| | | <!--æ¥è¯¢æå®è¡æ°æ®--> |
| | | <select id="queryAllByLimit" resultMap="PlCodeSrchcondconfigMap"> |
| | | select |
| | | OID, REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FILTERFIELD, FILTERTYPE, FILTERVALUE |
| | | from PL_CODE_SRCHCONDCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="filterfield != null and filterfield != ''"> |
| | | and FILTERFIELD = #{filterfield} |
| | | </if> |
| | | <if test="filtertype != null and filtertype != ''"> |
| | | and FILTERTYPE = #{filtertype} |
| | | </if> |
| | | <if test="filtervalue != null and filtervalue != ''"> |
| | | and FILTERVALUE = #{filtervalue} |
| | | </if> |
| | | </where> |
| | | limit #{pageable.offset}, #{pageable.pageSize} |
| | | </select> |
| | | |
| | | <!--ç»è®¡æ»è¡æ°--> |
| | | <select id="count" resultType="java.lang.Long"> |
| | | select count(1) |
| | | from PL_CODE_SRCHCONDCONFIG |
| | | <where> |
| | | <if test="oid != null and oid != ''"> |
| | | and OID = #{oid} |
| | | </if> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | and REVISIONOID = #{revisionoid} |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | and NAMEOID = #{nameoid} |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | and BTMNAME = #{btmname} |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | and LASTR = #{lastr} |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | and FIRSTR = #{firstr} |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | and LASTV = #{lastv} |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | and FIRSTV = #{firstv} |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | and CREATOR = #{creator} |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | and CREATETIME = #{createtime} |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | and REVISIONSEQ = #{revisionseq} |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | and REVISIONVALUE = #{revisionvalue} |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | and VERSIONSEQ = #{versionseq} |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | and VERSIONVALUE = #{versionvalue} |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | and LCTID = #{lctid} |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | and LCSTATUS = #{lcstatus} |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | and TS = #{ts} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and NAME = #{name} |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | and DESCRIPTION = #{description} |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | and OWNER = #{owner} |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | and COPYFROMVERSION = #{copyfromversion} |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | and ORDERNUM = #{ordernum} |
| | | </if> |
| | | <if test="filterfield != null and filterfield != ''"> |
| | | and FILTERFIELD = #{filterfield} |
| | | </if> |
| | | <if test="filtertype != null and filtertype != ''"> |
| | | and FILTERTYPE = #{filtertype} |
| | | </if> |
| | | <if test="filtervalue != null and filtervalue != ''"> |
| | | and FILTERVALUE = #{filtervalue} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <!--æ°å¢ææå--> |
| | | <insert id="insert" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SRCHCONDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FILTERFIELD, FILTERTYPE, FILTERVALUE) |
| | | values (#{revisionoid}, #{nameoid}, #{btmname}, #{lastr}, #{firstr}, #{lastv}, #{firstv}, #{creator}, #{createtime}, #{revisionseq}, #{revisionvalue}, #{versionseq}, #{versionvalue}, #{lctid}, #{lcstatus}, #{ts}, #{name}, #{description}, #{owner}, #{copyfromversion}, #{ordernum}, #{filterfield}, #{filtertype}, #{filtervalue}) |
| | | </insert> |
| | | |
| | | <insert id="insertBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SRCHCONDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FILTERFIELD, FILTERTYPE, FILTERVALUE) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.filterfield}, #{entity.filtertype}, #{entity.filtervalue}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <insert id="insertOrUpdateBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_SRCHCONDCONFIG(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, LCTID, LCSTATUS, TS, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, ORDERNUM, FILTERFIELD, FILTERTYPE, FILTERVALUE) |
| | | values |
| | | <foreach collection="entities" item="entity" separator=","> |
| | | (#{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.revisionseq}, #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, #{entity.ts}, #{entity.name}, #{entity.description}, #{entity.owner}, #{entity.copyfromversion}, #{entity.ordernum}, #{entity.filterfield}, #{entity.filtertype}, #{entity.filtervalue}) |
| | | </foreach> |
| | | on duplicate key update |
| | | REVISIONOID = values(REVISIONOID), |
| | | NAMEOID = values(NAMEOID), |
| | | BTMNAME = values(BTMNAME), |
| | | LASTR = values(LASTR), |
| | | FIRSTR = values(FIRSTR), |
| | | LASTV = values(LASTV), |
| | | FIRSTV = values(FIRSTV), |
| | | CREATOR = values(CREATOR), |
| | | CREATETIME = values(CREATETIME), |
| | | REVISIONSEQ = values(REVISIONSEQ), |
| | | REVISIONVALUE = values(REVISIONVALUE), |
| | | VERSIONSEQ = values(VERSIONSEQ), |
| | | VERSIONVALUE = values(VERSIONVALUE), |
| | | LCTID = values(LCTID), |
| | | LCSTATUS = values(LCSTATUS), |
| | | TS = values(TS), |
| | | NAME = values(NAME), |
| | | DESCRIPTION = values(DESCRIPTION), |
| | | OWNER = values(OWNER), |
| | | COPYFROMVERSION = values(COPYFROMVERSION), |
| | | ORDERNUM = values(ORDERNUM), |
| | | FILTERFIELD = values(FILTERFIELD), |
| | | FILTERTYPE = values(FILTERTYPE), |
| | | FILTERVALUE = values(FILTERVALUE) |
| | | </insert> |
| | | |
| | | <!--éè¿ä¸»é®ä¿®æ¹æ°æ®--> |
| | | <update id="update"> |
| | | update PL_CODE_SRCHCONDCONFIG |
| | | <set> |
| | | <if test="revisionoid != null and revisionoid != ''"> |
| | | REVISIONOID = #{revisionoid}, |
| | | </if> |
| | | <if test="nameoid != null and nameoid != ''"> |
| | | NAMEOID = #{nameoid}, |
| | | </if> |
| | | <if test="btmname != null and btmname != ''"> |
| | | BTMNAME = #{btmname}, |
| | | </if> |
| | | <if test="lastr != null and lastr != ''"> |
| | | LASTR = #{lastr}, |
| | | </if> |
| | | <if test="firstr != null and firstr != ''"> |
| | | FIRSTR = #{firstr}, |
| | | </if> |
| | | <if test="lastv != null and lastv != ''"> |
| | | LASTV = #{lastv}, |
| | | </if> |
| | | <if test="firstv != null and firstv != ''"> |
| | | FIRSTV = #{firstv}, |
| | | </if> |
| | | <if test="creator != null and creator != ''"> |
| | | CREATOR = #{creator}, |
| | | </if> |
| | | <if test="createtime != null and createtime != ''"> |
| | | CREATETIME = #{createtime}, |
| | | </if> |
| | | <if test="revisionseq != null"> |
| | | REVISIONSEQ = #{revisionseq}, |
| | | </if> |
| | | <if test="revisionvalue != null and revisionvalue != ''"> |
| | | REVISIONVALUE = #{revisionvalue}, |
| | | </if> |
| | | <if test="versionseq != null"> |
| | | VERSIONSEQ = #{versionseq}, |
| | | </if> |
| | | <if test="versionvalue != null and versionvalue != ''"> |
| | | VERSIONVALUE = #{versionvalue}, |
| | | </if> |
| | | <if test="lctid != null and lctid != ''"> |
| | | LCTID = #{lctid}, |
| | | </if> |
| | | <if test="lcstatus != null and lcstatus != ''"> |
| | | LCSTATUS = #{lcstatus}, |
| | | </if> |
| | | <if test="ts != null and ts != ''"> |
| | | TS = #{ts}, |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | NAME = #{name}, |
| | | </if> |
| | | <if test="description != null and description != ''"> |
| | | DESCRIPTION = #{description}, |
| | | </if> |
| | | <if test="owner != null and owner != ''"> |
| | | OWNER = #{owner}, |
| | | </if> |
| | | <if test="copyfromversion != null and copyfromversion != ''"> |
| | | COPYFROMVERSION = #{copyfromversion}, |
| | | </if> |
| | | <if test="ordernum != null"> |
| | | ORDERNUM = #{ordernum}, |
| | | </if> |
| | | <if test="filterfield != null and filterfield != ''"> |
| | | FILTERFIELD = #{filterfield}, |
| | | </if> |
| | | <if test="filtertype != null and filtertype != ''"> |
| | | FILTERTYPE = #{filtertype}, |
| | | </if> |
| | | <if test="filtervalue != null and filtervalue != ''"> |
| | | FILTERVALUE = #{filtervalue}, |
| | | </if> |
| | | </set> |
| | | where OID = #{oid} |
| | | </update> |
| | | |
| | | <!--éè¿ä¸»é®å é¤--> |
| | | <delete id="deleteById"> |
| | | delete from PL_CODE_SRCHCONDCONFIG where OID = #{oid} |
| | | </delete> |
| | | |
| | | </mapper> |
| | | |
| | |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.secure.annotation.PreAuth; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import com.vci.ubcs.system.entity.ValueRange; |
| | | import org.springblade.core.tool.constant.RoleConstant; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-logging</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <exclusion> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter</artifactId> |
| | | </exclusion> |
| | |
| | | <groupId>javax.validation</groupId> |
| | | <artifactId>validation-api</artifactId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <dependency> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2023-05-20 00:08:12,304 INFO [nacos-grpc-client-executor-localhost-1081] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [3e635850-c2bd-4d08-b6fd-e5343c60783f] Receive server push request, request = ClientDetectionRequest, requestId = 140 |
| | | 2023-05-20 00:08:12,403 INFO [nacos-grpc-client-executor-localhost-1081] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [3e635850-c2bd-4d08-b6fd-e5343c60783f] Ack server push request, request = ClientDetectionRequest, requestId = 140 |
| | | 2023-05-20 00:48:54,086 WARN [XNIO-1 task-2] o.s.b.a.health.HealthEndpointSupport [HealthEndpointSupport.java : 181] Health contributor org.springframework.boot.actuate.autoconfigure.health.HealthEndpointConfiguration$AdaptedReactiveHealthContributors$1 (redis) took 336256ms to respond |
| | | 2023-05-20 00:48:54,145 INFO [lettuce-eventExecutorLoop-1-15] i.l.core.protocol.ConnectionWatchdog [AbstractInternalLogger.java : 171] Reconnecting, last destination was /1.12.225.193:6379 |
| | | 2023-05-20 00:48:54,382 INFO [lettuce-nioEventLoop-6-3] i.l.c.protocol.ReconnectionHandler [ReconnectionHandler.java : 174] Reconnected to 1.12.225.193:6379 |
| | | 2023-05-20 00:48:56,127 INFO [nacos-grpc-client-executor-localhost-1093] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c279855f-5634-4159-84ec-09347150fd37_config-0] Receive server push request, request = ClientDetectionRequest, requestId = 172 |
| | | 2023-05-20 00:48:56,130 INFO [nacos-grpc-client-executor-localhost-1084] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [3e635850-c2bd-4d08-b6fd-e5343c60783f] Receive server push request, request = ClientDetectionRequest, requestId = 176 |
| | | 2023-05-20 00:48:56,130 INFO [nacos-grpc-client-executor-localhost-1084] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [3e635850-c2bd-4d08-b6fd-e5343c60783f] Ack server push request, request = ClientDetectionRequest, requestId = 176 |
| | | 2023-05-20 00:48:56,131 INFO [nacos-grpc-client-executor-localhost-1093] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [c279855f-5634-4159-84ec-09347150fd37_config-0] Ack server push request, request = ClientDetectionRequest, requestId = 172 |
| | | 2023-05-20 00:49:14,980 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-05-20 00:49:14,981 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-20 00:49:47,005 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-05-20 00:49:47,006 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-20 00:50:19,032 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-05-20 00:50:19,032 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-20 00:50:51,094 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-05-20 00:50:51,095 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-20 00:51:23,130 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-05-20 00:51:23,133 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-20 00:51:55,163 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-05-20 00:51:55,165 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-20 00:52:27,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-05-20 00:52:27,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-05-20 00:52:59,238 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-05-20 00:52:59,242 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-20 00:53:31,298 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-05-20 00:53:31,299 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-20 00:54:03,322 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-05-20 00:54:03,323 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-20 00:54:35,368 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-05-20 00:54:35,369 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-20 00:55:07,411 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-05-20 00:55:07,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-05-20 00:55:39,458 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-05-20 00:55:39,462 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-20 00:56:11,496 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-05-20 00:56:11,502 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-20 00:56:43,536 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-05-20 00:56:43,537 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-20 00:57:15,582 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-05-20 00:57:15,582 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-20 00:57:47,623 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-05-20 00:57:47,625 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-20 00:58:19,669 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-05-20 00:58:19,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-05-20 00:58:51,705 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-05-20 00:58:51,707 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-20 00:59:23,734 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-05-20 00:59:23,739 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-20 00:59:55,791 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-05-20 00:59:55,792 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-20 01:00:27,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 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-05-20 01:00:27,826 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-20 01:00:59,876 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-05-20 01:00:59,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-20 01:01:31,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 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-05-20 01:01:31,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-20 01:02:03,944 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-05-20 01:02:03,946 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-20 01:02:35,966 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-05-20 01:02:35,967 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-20 01:03:08,011 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-05-20 01:03:08,012 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-20 01:03:40,042 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-05-20 01:03:40,043 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-20 01:04:12,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-05-20 01:04:12,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-05-20 01:04:26,066 WARN [Thread-11] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher |
| | | 2023-05-20 01:04:26,066 WARN [Thread-3] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient |
| | | 2023-05-20 01:04:26,068 WARN [Thread-11] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end |
| | | 2023-05-20 01:04:26,074 WARN [Thread-3] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end |
| | | 2023-05-20 01:04:26,353 INFO [SpringApplicationShutdownHook] io.undertow [Undertow.java : 259] stopping server: Undertow - 2.2.18.Final |
| | | 2023-05-20 01:04:26,453 INFO [SpringApplicationShutdownHook] io.undertow.servlet [ServletContextImpl.java : 382] Destroying Spring FrameworkServlet 'dispatcherServlet' |
| | | 2023-05-20 01:04:26,471 ERROR [SpringApplicationShutdownHook] c.a.cloud.nacos.discovery.NacosWatch [NacosWatch.java : 180] namingService unsubscribe failed, properties:NacosDiscoveryProperties{serverAddr='localhost:8848', 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-05-20 01:04:26,486 INFO [Thread-52] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 74] >>>>>>>>>>> xxl-rpc remoting server stop. |
| | | 2023-05-20 01:04:28,532 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-05-20 01:04:28,533 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-05-20 01:04:28,533 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 105] >>>>>>>>>>> xxl-job, executor registry thread destory. |
| | | 2023-05-20 01:04:28,534 INFO [SpringApplicationShutdownHook] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 110] >>>>>>>>>>> xxl-rpc remoting server destroy success. |
| | | 2023-05-20 01:04:28,539 INFO [xxl-job, executor TriggerCallbackThread] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 96] >>>>>>>>>>> xxl-job, executor callback thread destory. |
| | | 2023-05-20 01:04:28,539 INFO [Thread-51] c.x.j.c.thread.TriggerCallbackThread [TriggerCallbackThread.java : 126] >>>>>>>>>>> xxl-job, executor retry callback thread destory. |
| | | 2023-05-20 01:04:28,567 INFO [SpringApplicationShutdownHook] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 94] De-registering from Nacos Server now... |
| | | 2023-05-20 01:04:28,572 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-05-20 01:04:28,575 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 255] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin |
| | | 2023-05-20 01:04:28,576 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 140] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin |
| | | 2023-05-20 01:04:28,577 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [FailoverReactor.java : 142] com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop |
| | | 2023-05-20 01:04:28,577 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 257] com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop |
| | | 2023-05-20 01:04:28,577 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 182] com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin |
| | | 2023-05-20 01:04:28,578 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoUpdateService.java : 130] com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin |
| | | 2023-05-20 01:04:28,911 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServiceInfoUpdateService.java : 132] com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop |
| | | 2023-05-20 01:04:28,912 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServerListManager.java : 192] com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin |
| | | 2023-05-20 01:04:28,913 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 74] [NamingHttpClientManager] Start destroying NacosRestTemplate |
| | | 2023-05-20 01:04:28,913 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 81] [NamingHttpClientManager] Destruction of the end |
| | | 2023-05-20 01:04:28,913 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [ServerListManager.java : 197] com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop |
| | | 2023-05-20 01:04:28,914 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientProxy.java : 527] com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin |
| | | 2023-05-20 01:04:28,914 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [BeatReactor.java : 162] com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin |
| | | 2023-05-20 01:04:28,914 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [BeatReactor.java : 164] com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop |
| | | 2023-05-20 01:04:28,914 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 74] [NamingHttpClientManager] Start destroying NacosRestTemplate |
| | | 2023-05-20 01:04:28,914 WARN [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientManager.java : 81] [NamingHttpClientManager] Destruction of the end |
| | | 2023-05-20 01:04:28,914 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingHttpClientProxy.java : 530] com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop |
| | | 2023-05-20 01:04:28,915 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 453] Shutdown rpc client, set status to shutdown |
| | | 2023-05-20 01:04:28,915 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 455] Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@20397823[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0] |
| | | 2023-05-20 01:04:28,916 INFO [SpringApplicationShutdownHook] c.alibaba.nacos.common.remote.client [RpcClient.java : 592] Close current connection 1684500039323_127.0.0.1_55961 |
| | | 2023-05-20 01:04:28,920 INFO [nacos-grpc-client-executor-localhost-1279] c.a.n.c.r.client.grpc.GrpcClient [LoggerUtils.java : 60] [1684500039323_127.0.0.1_55961]Ignore complete event,isRunning:false,isAbandon=false |
| | | 2023-05-20 01:04:28,934 INFO [SpringApplicationShutdownHook] c.a.n.c.r.client.grpc.GrpcClient [GrpcClient.java : 129] Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@389f1783[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 1280] |
| | | 2023-05-20 01:04:28,935 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 267] Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@510facf0[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 2052] |
| | | 2023-05-20 01:04:28,935 INFO [SpringApplicationShutdownHook] c.a.n.c.a.r.i.CredentialWatcher [CredentialWatcher.java : 105] [null] CredentialWatcher is stopped |
| | | 2023-05-20 01:04:28,936 INFO [SpringApplicationShutdownHook] c.a.n.c.a.r.i.CredentialService [CredentialService.java : 99] [null] CredentialService is freed |
| | | 2023-05-20 01:04:28,936 INFO [SpringApplicationShutdownHook] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 189] com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop |