已修改159个文件
已删除3个文件
已重命名4个文件
已添加6个文件
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/list', |
| | | url: '/api/ubcs-system/region/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyTree = (parentCode, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/lazy-tree', |
| | | url: '/api/ubcs-system/region/lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (code) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/detail', |
| | | url: '/api/ubcs-system/region/detail', |
| | | method: 'get', |
| | | params: { |
| | | code |
| | |
| | | |
| | | export const remove = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/remove', |
| | | url: '/api/ubcs-system/region/remove', |
| | | method: 'post', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const submit = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/submit', |
| | | url: '/api/ubcs-system/region/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/list', |
| | | url: '/api/ubcs-desk/notice/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/remove', |
| | | url: '/api/ubcs-desk/notice/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/submit', |
| | | url: '/api/ubcs-desk/notice/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/submit', |
| | | url: '/api/ubcs-desk/notice/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getNotice = (id) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/detail', |
| | | url: '/api/ubcs-desk/notice/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const modelList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/list', |
| | | url: '/api/ubcs-flow/model/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const managerList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/list', |
| | | url: '/api/ubcs-flow/manager/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const followList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/follow/list', |
| | | url: '/api/ubcs-flow/follow/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeModel = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/remove', |
| | | url: '/api/ubcs-flow/model/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const deployModel = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/deploy', |
| | | url: '/api/ubcs-flow/model/deploy', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const changeState = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/change-state', |
| | | url: '/api/ubcs-flow/manager/change-state', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | headers: { |
| | | "Content-Type": "multipart/form-data" |
| | | }, |
| | | url: '/api/blade-flow/manager/deploy-upload', |
| | | url: '/api/ubcs-flow/manager/deploy-upload', |
| | | method: 'post', |
| | | data: formData |
| | | }) |
| | |
| | | |
| | | export const deleteDeployment = (deploymentIds) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/delete-deployment', |
| | | url: '/api/ubcs-flow/manager/delete-deployment', |
| | | method: 'post', |
| | | params: { |
| | | deploymentIds, |
| | |
| | | |
| | | export const deleteProcessInstance = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/follow/delete-process-instance', |
| | | url: '/api/ubcs-flow/follow/delete-process-instance', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const submitModel = (data) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/submit', |
| | | url: '/api/ubcs-flow/model/submit', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | |
| | | export const detail = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/detail', |
| | | url: '/api/ubcs-flow/model/detail', |
| | | method: 'get', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const modelView = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/process/model-view', |
| | | url: '/api/ubcs-flow/process/model-view', |
| | | method: 'get', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const getUsualList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/usual/list', |
| | | url: '/api/ubcs-log/usual/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getApiList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/api/list', |
| | | url: '/api/ubcs-log/api/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getErrorList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/error/list', |
| | | url: '/api/ubcs-log/error/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getUsualLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/usual/detail', |
| | | url: '/api/ubcs-log/usual/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getApiLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/api/detail', |
| | | url: '/api/ubcs-log/api/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getErrorLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/error/detail', |
| | | url: '/api/ubcs-log/error/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-report/report/rest/list', |
| | | url: '/api/-report/report/rest/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | } |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-report/report/rest/remove', |
| | | url: '/api/-report/report/rest/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/list', |
| | | url: '/api/-resource/attach/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/detail', |
| | | url: '/api/-resource/attach/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/remove', |
| | | url: '/api/-resource/attach/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/submit', |
| | | url: '/api/-resource/attach/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/submit', |
| | | url: '/api/-resource/attach/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/list', |
| | | url: '/api/-resource/oss/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/detail', |
| | | url: '/api/-resource/oss/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/remove', |
| | | url: '/api/-resource/oss/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/submit', |
| | | url: '/api/-resource/oss/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/submit', |
| | | url: '/api/-resource/oss/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const enable = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/enable', |
| | | url: '/api/-resource/oss/enable', |
| | | method: 'post', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/list', |
| | | url: '/api/-resource/sms/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/detail', |
| | | url: '/api/-resource/sms/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/remove', |
| | | url: '/api/-resource/sms/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/submit', |
| | | url: '/api/-resource/sms/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/submit', |
| | | url: '/api/-resource/sms/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const enable = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/enable', |
| | | url: '/api/-resource/sms/enable', |
| | | method: 'post', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const send = (code, phones, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/endpoint/send-message', |
| | | url: '/api/-resource/sms/endpoint/send-message', |
| | | method: 'post', |
| | | params: { |
| | | code, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/list', |
| | | url: '/api/-system/client/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/detail', |
| | | url: '/api/-system/client/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/remove', |
| | | url: '/api/-system/client/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/submit', |
| | | url: '/api/-system/client/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/submit', |
| | | url: '/api/-system/client/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/list', |
| | | url: '/api/-system/dept/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-list', |
| | | url: '/api/-system/dept/lazy-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/remove', |
| | | url: '/api/-system/dept/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/submit', |
| | | url: '/api/-system/dept/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/submit', |
| | | url: '/api/-system/dept/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDept = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/detail', |
| | | url: '/api/-system/dept/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getDeptTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/tree', |
| | | url: '/api/-system/dept/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getDeptLazyTree = (parentId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-tree', |
| | | url: '/api/-system/dept/lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | parentId |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/list', |
| | | url: '/api/-system/dict/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParentList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/parent-list', |
| | | url: '/api/-system/dict/parent-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getChildList = (current, size, parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/child-list', |
| | | url: '/api/-system/dict/child-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/remove', |
| | | url: '/api/-system/dict/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/submit', |
| | | url: '/api/-system/dict/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/submit', |
| | | url: '/api/-system/dict/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDict = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/detail', |
| | | url: '/api/-system/dict/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getDictTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/tree?code=DICT', |
| | | url: '/api/-system/dict/tree?code=DICT', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const getDictionary = (params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/dictionary', |
| | | url: '/api/-system/dict/dictionary', |
| | | method: 'get', |
| | | params, |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/list', |
| | | url: '/api/-system/dict-biz/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParentList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/parent-list', |
| | | url: '/api/-system/dict-biz/parent-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getChildList = (current, size, parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/child-list', |
| | | url: '/api/-system/dict-biz/child-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/remove', |
| | | url: '/api/-system/dict-biz/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/submit', |
| | | url: '/api/-system/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/submit', |
| | | url: '/api/-system/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDict = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/detail', |
| | | url: '/api/-system/dict-biz/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getDictTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/tree?code=DICT', |
| | | url: '/api/-system/dict-biz/tree?code=DICT', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const getDictionary = (params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/dictionary', |
| | | url: '/api/-system/dict-biz/dictionary', |
| | | method: 'get', |
| | | params, |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/list', |
| | | url: '/api/-system/menu/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/lazy-list', |
| | | url: '/api/-system/menu/lazy-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyMenuList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/lazy-menu-list', |
| | | url: '/api/-system/menu/lazy-menu-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getMenuList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/menu-list', |
| | | url: '/api/-system/menu/menu-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getMenuTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/tree', |
| | | url: '/api/-system/menu/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/remove', |
| | | url: '/api/-system/menu/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/submit', |
| | | url: '/api/-system/menu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/submit', |
| | | url: '/api/-system/menu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenu = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/detail', |
| | | url: '/api/-system/menu/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | |
| | | export const getTopMenu = () => request({ |
| | | url: '/api/blade-system/menu/top-menu', |
| | | url: '/api/-system/menu/top-menu', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const getRoutes = (topMenuId) => request({ |
| | | url: '/api/blade-system/menu/routes', |
| | | url: '/api/-system/menu/routes', |
| | | method: 'get', |
| | | params: { |
| | | topMenuId, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/list', |
| | | url: '/api/-system/param/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/remove', |
| | | url: '/api/-system/param/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/submit', |
| | | url: '/api/-system/param/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/submit', |
| | | url: '/api/-system/param/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | //å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/page', |
| | | url:'/api/-system/combination/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | //åæ¥è¯¢ |
| | | export const getOnesearch =(id)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/one', |
| | | url:'/api/-system/combination/one', |
| | | method:'post', |
| | | params:{ |
| | | id |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/submit', |
| | | url:'/api/-system/combination/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/submit', |
| | | url:'/api/-system/combination/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | //å é¤ |
| | | export const getremove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/combination/remove', |
| | | url: '/api/-system/combination/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | //ä¸ææ°æ®å¨è¯¢ï¼å¯ç çç»åæ¹å¼ï¼ |
| | | export const getpassword=()=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/select', |
| | | url:'/api/-system/combination/select', |
| | | method:'get', |
| | | }) |
| | | } |
| | |
| | | //å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/page', |
| | | url:'/api/-system/strategy/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | //åæ¥è¯¢ |
| | | export const getOnesearch =(id)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/one', |
| | | url:'/api/-system/strategy/one', |
| | | method:'post', |
| | | params:{ |
| | | id |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/submit', |
| | | url:'/api/-system/strategy/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/submit', |
| | | url:'/api/-system/strategy/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | //å é¤ |
| | | export const getremove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/strategy/remove', |
| | | url: '/api/-system/strategy/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/submit', |
| | | url:'/api/-system/value-range/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/submit', |
| | | url:'/api/-system/value-range/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // å
¨æ¥è¯¢ |
| | | export const allList =()=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/list', |
| | | url:'/api/-system/value-range/list', |
| | | method:'get' |
| | | }) |
| | | } |
| | | // å é¤ |
| | | export const getremove = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/value-range/remove', |
| | | url: '/api/-system/value-range/remove', |
| | | method: 'post', |
| | | data:row |
| | | }) |
| | |
| | | // å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/page', |
| | | url:'/api/-system/value-range/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/list', |
| | | url: '/api/-system/post/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getPostList = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/select', |
| | | url: '/api/-system/post/select', |
| | | method: 'get', |
| | | params: { |
| | | tenantId |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/detail', |
| | | url: '/api/-system/post/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/remove', |
| | | url: '/api/-system/post/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/submit', |
| | | url: '/api/-system/post/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/submit', |
| | | url: '/api/-system/post/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/list', |
| | | url: '/api/-system/role/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | } |
| | | export const grantTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/grant-tree', |
| | | url: '/api/-system/menu/grant-tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const grant = (roleIds, menuIds, dataScopeIds, apiScopeIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/grant', |
| | | url: '/api/-system/role/grant', |
| | | method: 'post', |
| | | data: { |
| | | roleIds, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/remove', |
| | | url: '/api/-system/role/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/submit', |
| | | url: '/api/-system/role/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/submit', |
| | | url: '/api/-system/role/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getRole = (roleIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/role-tree-keys', |
| | | url: '/api/-system/menu/role-tree-keys', |
| | | method: 'get', |
| | | params: { |
| | | roleIds, |
| | |
| | | |
| | | export const getRoleTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/tree', |
| | | url: '/api/-system/role/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getRoleTreeById = (roleId) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/tree-by-id', |
| | | url: '/api/-system/role/tree-by-id', |
| | | method: 'get', |
| | | params: { |
| | | roleId, |
| | |
| | | |
| | | export const getListDataScope = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/list', |
| | | url: '/api/-system/data-scope/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeDataScope = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/remove', |
| | | url: '/api/-system/data-scope/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const addDataScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/submit', |
| | | url: '/api/-system/data-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updateDataScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/submit', |
| | | url: '/api/-system/data-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenuDataScope = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/detail', |
| | | url: '/api/-system/data-scope/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getListApiScope = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/list', |
| | | url: '/api/-system/api-scope/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeApiScope = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/remove', |
| | | url: '/api/-system/api-scope/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const addApiScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/submit', |
| | | url: '/api/-system/api-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updateApiScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/submit', |
| | | url: '/api/-system/api-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenuApiScope = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/detail', |
| | | url: '/api/-system/api-scope/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/list', |
| | | url: '/api/-system/tenant/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/detail', |
| | | url: '/api/-system/tenant/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/remove', |
| | | url: '/api/-system/tenant/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/submit', |
| | | url: '/api/-system/tenant/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/submit', |
| | | url: '/api/-system/tenant/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const setting = (ids, form) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/setting', |
| | | url: '/api/-system/tenant/setting', |
| | | method: 'post', |
| | | params: { |
| | | ...form, |
| | |
| | | |
| | | export const datasource = (tenantId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/datasource', |
| | | url: '/api/-system/tenant/datasource', |
| | | method: 'post', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const info = (domain) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/info', |
| | | url: '/api/-system/tenant/info', |
| | | method: 'get', |
| | | params: { |
| | | domain |
| | |
| | | |
| | | export const packageInfo = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/package-detail', |
| | | url: '/api/-system/tenant/package-detail', |
| | | method: 'get', |
| | | params: { |
| | | tenantId |
| | |
| | | |
| | | export const packageSetting = (tenantId, packageId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/package-setting', |
| | | url: '/api/-system/tenant/package-setting', |
| | | method: 'post', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/list', |
| | | url: '/api/-system/tenant-package/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/detail', |
| | | url: '/api/-system/tenant-package/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/remove', |
| | | url: '/api/-system/tenant-package/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/submit', |
| | | url: '/api/-system/tenant-package/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/submit', |
| | | url: '/api/-system/tenant-package/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/list', |
| | | url: '/api/-system/topmenu/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/detail', |
| | | url: '/api/-system/topmenu/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/remove', |
| | | url: '/api/-system/topmenu/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/submit', |
| | | url: '/api/-system/topmenu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/submit', |
| | | url: '/api/-system/topmenu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const grantTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/grant-top-tree', |
| | | url: '/api/-system/menu/grant-top-tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const getTopTree = (topMenuIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/top-tree-keys', |
| | | url: '/api/-system/menu/top-tree-keys', |
| | | method: 'get', |
| | | params: { |
| | | topMenuIds, |
| | |
| | | |
| | | export const grant = (topMenuIds, menuIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/grant', |
| | | url: '/api/-system/topmenu/grant', |
| | | method: 'post', |
| | | data: { |
| | | topMenuIds, |
| | |
| | | |
| | | export const getList = (current, size, params, deptId) => { |
| | | return request({ |
| | | url: '/api/blade-user/page', |
| | | url: '/api/-user/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-user/remove', |
| | | url: '/api/-user/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/submit', |
| | | url: '/api/-user/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/update', |
| | | url: '/api/-user/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updatePlatform = (userId, userType, userExt) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-platform', |
| | | url: '/api/-user/update-platform', |
| | | method: 'post', |
| | | params: { |
| | | userId, |
| | |
| | | |
| | | export const getUser = (id) => { |
| | | return request({ |
| | | url: '/api/blade-user/detail', |
| | | url: '/api/-user/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getUserPlatform = (id) => { |
| | | return request({ |
| | | url: '/api/blade-user/platform-detail', |
| | | url: '/api/-user/platform-detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getUserInfo = () => { |
| | | return request({ |
| | | url: '/api/blade-user/info', |
| | | url: '/api/-user/info', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const resetPassword = (userIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/reset-password', |
| | | url: '/api/-user/reset-password', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | |
| | | export const updatePassword = (oldPassword, newPassword, newPassword1) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-password', |
| | | url: '/api/-user/update-password', |
| | | method: 'post', |
| | | params: { |
| | | oldPassword, |
| | |
| | | |
| | | export const updateInfo = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-info', |
| | | url: '/api/-user/update-info', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const grant = (userIds, roleIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/grant', |
| | | url: '/api/-user/grant', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | |
| | | export const unlock = (userIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/unlock', |
| | | url: '/api/-user/unlock', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | //å¯ç é
ç½® |
| | | export const insert =(UserPwdstrategyVO) => { |
| | | return request({ |
| | | url:'/api/blade-system/user-pwdstrategy/insert', |
| | | url:'/api/-system/user-pwdstrategy/insert', |
| | | method:'put', |
| | | data:UserPwdstrategyVO |
| | | }) |
| | |
| | | // æéæ¶é´ |
| | | export const check =(userId) => { |
| | | return request({ |
| | | url: '/api/blade-user/check-renexpr', |
| | | url: '/api/-user/check-renexpr', |
| | | method: 'post', |
| | | params:{ |
| | | userId |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/list', |
| | | url: '/api/-develop/code/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const build = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/gen-code', |
| | | url: '/api/-develop/code/gen-code', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | } |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/remove', |
| | | url: '/api/-develop/code/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/submit', |
| | | url: '/api/-develop/code/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/submit', |
| | | url: '/api/-develop/code/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const copy = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/copy', |
| | | url: '/api/-develop/code/copy', |
| | | method: 'post', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getCode = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/detail', |
| | | url: '/api/-develop/code/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/list', |
| | | url: '/api/-develop/datasource/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/detail', |
| | | url: '/api/-develop/datasource/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/remove', |
| | | url: '/api/-develop/datasource/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/submit', |
| | | url: '/api/-develop/datasource/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/submit', |
| | | url: '/api/-develop/datasource/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/list', |
| | | url: '/api/-develop/model/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/detail', |
| | | url: '/api/-develop/model/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/remove', |
| | | url: '/api/-develop/model/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/submit', |
| | | url: '/api/-develop/model/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/submit', |
| | | url: '/api/-develop/model/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getTableList = (datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-list', |
| | | url: '/api/-develop/model/table-list', |
| | | method: 'get', |
| | | params: { |
| | | datasourceId, |
| | |
| | | |
| | | export const getTableInfo = (modelId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-info', |
| | | url: '/api/-develop/model/table-info', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | |
| | | export const getTableInfoByName = (tableName, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-info', |
| | | url: '/api/-develop/model/table-info', |
| | | method: 'get', |
| | | params: { |
| | | tableName, |
| | |
| | | |
| | | export const getModelPrototype = (modelId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/model-prototype', |
| | | url: '/api/-develop/model/model-prototype', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | |
| | | export const submitModelPrototype = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model-prototype/submit-list', |
| | | url: '/api/-develop/model-prototype/submit-list', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const prototypeDetail = (modelId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model-prototype/select', |
| | | url: '/api/-develop/model-prototype/select', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | import website from "@/config/website"; |
| | | |
| | | export const loginByUsername = (tenantId, deptId, roleId, username, password, type, key) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId, |
| | |
| | | }); |
| | | |
| | | export const loginBySocial = (tenantId, source, state) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId |
| | |
| | | }) |
| | | |
| | | export const loginBySso = (state) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': state |
| | |
| | | }) |
| | | |
| | | export const refreshToken = (refresh_token, tenantId, deptId, roleId) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId, |
| | |
| | | }); |
| | | |
| | | export const registerGuest = (form, oauthId) => request({ |
| | | url: '/api/blade-user/register-guest', |
| | | url: '/api/ubcs-user/register-guest', |
| | | method: 'post', |
| | | params: { |
| | | tenantId: form.tenantId, |
| | |
| | | }); |
| | | |
| | | export const getButtons = () => request({ |
| | | url: '/api/blade-system/menu/buttons', |
| | | url: '/api/ubcs-system/menu/buttons', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const getCaptcha = () => request({ |
| | | url: '/api/blade-auth/oauth/captcha', |
| | | url: '/api/ubcs-auth/oauth/captcha', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const logout = () => request({ |
| | | url: '/api/blade-auth/oauth/logout', |
| | | url: '/api/ubcs-auth/oauth/logout', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const getUserInfo = () => request({ |
| | | url: '/api/blade-auth/oauth/user-info', |
| | | url: '/api/ubcs-auth/oauth/user-info', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const sendLogs = (list) => request({ |
| | | url: '/api/blade-auth/oauth/logout', |
| | | url: '/api/ubcs-auth/oauth/logout', |
| | | method: 'post', |
| | | data: list |
| | | }); |
| | | |
| | | export const clearCache = () => request({ |
| | | url: '/api/blade-auth/oauth/clear-cache', |
| | | url: '/api/ubcs-auth/oauth/clear-cache', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const selcetList = () => request({ |
| | | url: '/api/blade-system/tenant/tenant-map', |
| | | url: '/api/ubcs-system/tenant/tenant-map', |
| | | method: 'get', |
| | | }); |
| | | |
| | |
| | | |
| | | export const historyFlowList = (processInstanceId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/process/history-flow-list', |
| | | url: '/api/-flow/process/history-flow-list', |
| | | method: 'get', |
| | | params: { |
| | | processInstanceId |
| | |
| | | |
| | | export const leaveProcess = (data) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/start-process', |
| | | url: '/api/-desk/process/leave/start-process', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | |
| | | export const leaveDetail = (businessId) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/detail', |
| | | url: '/api/-desk/process/leave/detail', |
| | | method: 'get', |
| | | params: { |
| | | businessId |
| | |
| | | |
| | | export const startList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/start-list', |
| | | url: '/api/-flow/work/start-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-list', |
| | | url: '/api/-flow/work/claim-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const todoList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/todo-list', |
| | | url: '/api/-flow/work/todo-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const sendList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/send-list', |
| | | url: '/api/-flow/work/send-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const doneList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/done-list', |
| | | url: '/api/-flow/work/done-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimTask = (taskId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-task', |
| | | url: '/api/-flow/work/claim-task', |
| | | method: 'post', |
| | | params: { |
| | | taskId |
| | |
| | | |
| | | export const completeTask = (data) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/complete-task', |
| | | url: '/api/-flow/work/complete-task', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | } |
| | | }, |
| | | // ç¬¬ä¸æ¹ç³»ç»ææå°å |
| | | authUrl: 'http://localhost/blade-auth/oauth/render', |
| | | authUrl: 'http://localhost/ubcs-auth/oauth/render', |
| | | // æ¥è¡¨è®¾è®¡å¨å°å(cloud端å£ä¸º8108,boot端å£ä¸º80) |
| | | reportUrl: 'http://localhost:8108/ureport', |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(blade-authæå¡çå°) |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(ubcs-authæå¡çå°) |
| | | // åç¹ç»å½åè°å°å(Saberæå¡çå°å) |
| | | redirectUri: 'http://localhost:1888', |
| | | } |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | label: 'åå
¸ç¼ç ', |
| | | prop: 'dictCode', |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/select", |
| | | dicUrl: "/api/-system/dict/select", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "code" |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock('/api/blade-auth/oauth/token/refresh', 'post', () => { |
| | | Mock.mock('/api/-auth/oauth/token/refresh', 'post', () => { |
| | | return { |
| | | data: { |
| | | "account": "admin", |
| | |
| | | "refresh_token": "eyJ0eXAiOiJKc29uV2ViVG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwidXNlcl9pZCI6IjExMjM1OTg4MjE3Mzg2NzUyMDEiLCJyb2xlX2lkIjoiMTEyMzU5ODgxNjczODY3NTIwMSIsInVzZXJfbmFtZSI6ImFkbWluIiwibmlja19uYW1lIjoi566h55CG5ZGYIiwiYWNjb3VudCI6ImFkbWluIiwidGVuYW50X2NvZGUiOiIwMDAwMDAiLCJjbGllbnRfaWQiOiJzd29yZCIsImV4cCI6MTU1Nzk0Njc5OSwibmJmIjoxNTU3ODgxODg0fQ.FT8y1v1tg8hOAAoQpKlarKMgmsSXol-561edqtvOwa4", |
| | | "token_type": "bearer", |
| | | "expires_in": 64915, |
| | | "license": "powered by bladex" |
| | | "license": "powered by x" |
| | | } |
| | | } |
| | | }) |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock(/\/api\/blade-system\/param\/list/, 'get', getFakeList); |
| | | Mock.mock(/\/api\/-system\/param\/list/, 'get', getFakeList); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/detail/, 'get', getFakeDetail); |
| | | Mock.mock(/\/api\/-system\/param\/detail/, 'get', getFakeDetail); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/submit/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/-system\/param\/submit/, 'post', fakeSuccess); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/remove/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/-system\/param\/remove/, 'post', fakeSuccess); |
| | | |
| | | } |
| | |
| | | text: ' ', |
| | | ratio: 0.1 |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/-resource/oss/endpoint/put-file', |
| | | tip: 'åªè½ä¸ä¼ jpg/pngç¨æ·å¤´åï¼ä¸ä¸è¶
è¿500kb', |
| | | span: 12, |
| | | row: true, |
| | |
| | | label: 'deptName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/dept/select', |
| | | dicUrl: '/api/-system/dept/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | label: 'roleName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/role/select', |
| | | dicUrl: '/api/-system/role/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | switchDept() { |
| | | const userId = this.userInfo.user_id; |
| | | const deptColumn = this.findObject(this.userOption.column, "deptId"); |
| | | deptColumn.dicUrl = `/api/blade-system/dept/select?userId=${userId}`; |
| | | deptColumn.dicUrl = `/api/-system/dept/select?userId=${userId}`; |
| | | deptColumn.display = true; |
| | | const roleColumn = this.findObject(this.userOption.column, "roleId"); |
| | | roleColumn.dicUrl = `/api/blade-system/role/select?userId=${userId}`; |
| | | roleColumn.dicUrl = `/api/-system/role/select?userId=${userId}`; |
| | | roleColumn.display = true; |
| | | this.userBox = true; |
| | | }, |
| | |
| | | }, |
| | | mounted() { |
| | | //å¨mountedè·åé¦é¡µä¸æèåæ°æ® |
| | | this.$axios.get('/api/blade-system/tenant/tenant-map').then(res => { |
| | | this.$axios.get('/api/ubcs-system/tenant/tenant-map').then(res => { |
| | | if (res.data.code == 200) { |
| | | this.loginForm.region = res.data.data |
| | | } |
| | |
| | | 'loginForm.deptId'() { |
| | | const column = this.findObject(this.userOption.column, "deptId"); |
| | | if (this.loginForm.deptId.includes(",")) { |
| | | column.dicUrl = `/api/blade-system/dept/select?deptId=${this.loginForm.deptId}`; |
| | | column.dicUrl = `/api/ubcs-system/dept/select?deptId=${this.loginForm.deptId}`; |
| | | column.display = true; |
| | | } else { |
| | | column.dicUrl = ''; |
| | |
| | | 'loginForm.roleId'() { |
| | | const column = this.findObject(this.userOption.column, "roleId"); |
| | | if (this.loginForm.roleId.includes(",")) { |
| | | column.dicUrl = `/api/blade-system/role/select?roleId=${this.loginForm.roleId}`; |
| | | column.dicUrl = `/api/ubcs-system/role/select?roleId=${this.loginForm.roleId}`; |
| | | column.display = true; |
| | | } else { |
| | | column.dicUrl = ''; |
| | |
| | | label: "ä¸çº§èå", |
| | | prop: "parentId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/menu/tree", |
| | | dicUrl: "/api/-system/menu/tree", |
| | | hide: true, |
| | | props: { |
| | | label: "title" |
| | |
| | | { |
| | | label: "æ¥å£ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=api_scope_type", |
| | | dicUrl: "/api/-system/dict/dictionary?code=api_scope_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "ä¸çº§èå", |
| | | prop: "parentId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/menu/tree", |
| | | dicUrl: "/api/-system/menu/tree", |
| | | hide: true, |
| | | props: { |
| | | label: "title" |
| | |
| | | { |
| | | label: "è§åç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=data_scope_type", |
| | | dicUrl: "/api/-system/dict/dictionary?code=data_scope_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | label: "åºåç级", |
| | | prop: "regionLevel", |
| | | type: "radio", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=region", |
| | | dicUrl: "/api/-system/dict/dictionary?code=region", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ .xls,.xlsx æ åæ ¼å¼æä»¶', |
| | | action: "/api/blade-system/region/import-region" |
| | | action: "/api/-system/region/import-region" |
| | | }, |
| | | { |
| | | label: "æ°æ®è¦ç", |
| | |
| | | value: 'code' |
| | | }, |
| | | cascader: ['city'], |
| | | dicUrl: '/api/blade-system/region/select', |
| | | dicUrl: '/api/-system/region/select', |
| | | span: 24, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | cascader: ['district'], |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{province}}', |
| | | dicUrl: '/api/-system/region/select?code={{province}}', |
| | | span: 24, |
| | | }, |
| | | { |
| | |
| | | value: 'code' |
| | | }, |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{city}}', |
| | | dicUrl: '/api/-system/region/select?code={{city}}', |
| | | span: 24, |
| | | } |
| | | ] |
| | |
| | | 'excelForm.isCovered'() { |
| | | if (this.excelForm.isCovered !== '') { |
| | | const column = this.findObject(this.excelOption.column, "excelFile"); |
| | | column.action = `/api/blade-system/region/import-region?isCovered=${this.excelForm.isCovered}`; |
| | | column.action = `/api/-system/region/import-region?isCovered=${this.excelForm.isCovered}`; |
| | | } |
| | | } |
| | | }, |
| | |
| | | type: "warning" |
| | | }).then(() => { |
| | | NProgress.start(); |
| | | exportBlob(`/api/blade-system/region/export-region?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/-system/region/export-region?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, `è¡æ¿åºåæ°æ®${dateNow()}.xlsx`); |
| | | NProgress.done(); |
| | | }) |
| | | }); |
| | | }, |
| | | handleTemplate() { |
| | | exportBlob(`/api/blade-system/region/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/-system/region/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, "è¡æ¿åºå模æ¿.xlsx"); |
| | | }) |
| | | }, |
| | |
| | | { |
| | | label: "éç¥ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=notice", |
| | | dicUrl: "/api/-system/dict/dictionary?code=notice", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "content", |
| | | component: 'AvueUeditor', |
| | | options: { |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/-resource/oss/endpoint/put-file', |
| | | props: { |
| | | res: "data", |
| | | url: "link", |
| | |
| | | label: 'æµç¨ç±»å', |
| | | prop: 'flowCategory', |
| | | type: 'select', |
| | | dicUrl: `/api/blade-system/dict/dictionary?code=flow`, |
| | | dicUrl: `/api/-system/dict/dictionary?code=flow`, |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | multiple: true, |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ bpmn20.xml æ åæ ¼å¼æä»¶', |
| | | action: '/api/blade-flow/manager/check-upload' |
| | | action: '/api/-flow/manager/check-upload' |
| | | }, |
| | | ] |
| | | } |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | { |
| | | label: "æµç¨ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | multiple: true, |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | }, |
| | | methods: { |
| | | handlePreview(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=ubcs-${name}`}); |
| | | }, |
| | | handleDesign(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=ubcs-${name}`}); |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm("ç¡®å®å°éæ©æ°æ®å é¤?", { |
| | |
| | | propsHttp: { |
| | | res: 'data' |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-file-attach" |
| | | action: "/api/ubcs-resource/oss/endpoint/put-file-attach" |
| | | } |
| | | ] |
| | | } |
| | |
| | | width: 100, |
| | | searchLabelWidth: 50, |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=oss", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=oss", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | }, |
| | | 'debugForm.code'() { |
| | | const column = this.findObject(this.debugOption.column, "backgroundUrl"); |
| | | column.action = `/api/blade-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | column.action = `/api/ubcs-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | width: 100, |
| | | searchLabelWidth: 50, |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=sms", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=sms", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | { |
| | | label: "æºæç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=org_category", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=org_category", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | label: "å²ä½ç±»å", |
| | | prop: "category", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=post_category", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=post_category", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/ubcs-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/tenant-package/select", |
| | | dicUrl: "/api/ubcs-system/tenant-package/select", |
| | | props: { |
| | | label: "packageName", |
| | | value: "id" |
| | |
| | | |
| | | created() { |
| | | // è·åå°trueè¿æ¯falseç´æ¥èµå¼ï¼å®ä¹æ¹æ³ä¼å°±æ¯è·åä¸å°ï¼ä¸ç¥éä»ä¹é®é¢ï¼å¼ºå¶ç¨JSON.parseä¼å¨åé¢è¿½å ä¸ä¸ªdisabledï¼æä»¥ç´æ¥è·åãåæå¦ææ·»å cloumnä¼åºç°bugï¼ç¨foreach循ç¯åºcolumnå¨å¤ætypeæ¯å¦çäºradioï¼ç¶åå°åç¬radioçdisabledæ¹ä¸ºres.data.data |
| | | this.$axios.get('/api/blade-system/tenant/find-ssa-enable').then(res => { |
| | | this.$axios.get('/api/ubcs-system/tenant/find-ssa-enable').then(res => { |
| | | this.option.column[6].disabled= res.data.data |
| | | }); |
| | | }, |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ .xls,.xlsx æ åæ ¼å¼æä»¶', |
| | | action: "/api/blade-user/import-user" |
| | | action: "/api/ubcs-user/import-user" |
| | | }, |
| | | { |
| | | label: "æ°æ®è¦ç", |
| | |
| | | 'excelForm.isCovered'() { |
| | | if (this.excelForm.isCovered !== '') { |
| | | const column = this.findObject(this.excelOption.column, "excelFile"); |
| | | column.action = `/api/blade-user/import-user?isCovered=${this.excelForm.isCovered}`; |
| | | column.action = `/api/ubcs-user/import-user?isCovered=${this.excelForm.isCovered}`; |
| | | } |
| | | } |
| | | }, |
| | |
| | | type: "warning" |
| | | }).then(() => { |
| | | NProgress.start(); |
| | | exportBlob(`/api/blade-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => { |
| | | exportBlob(`/api/ubcs-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => { |
| | | downloadXls(res.data, `ç¨æ·æ°æ®è¡¨${dateNow()}.xlsx`); |
| | | NProgress.done(); |
| | | }) |
| | | }); |
| | | }, |
| | | handleTemplate() { |
| | | exportBlob(`/api/blade-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/ubcs-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, "ç¨æ·æ°æ®æ¨¡æ¿.xlsx"); |
| | | }) |
| | | }, |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/model/select", |
| | | dicUrl: "/api/ubcs-develop/model/select", |
| | | props: { |
| | | label: "modelName", |
| | | value: "id" |
| | |
| | | label: "å表模å", |
| | | prop: "subModelId", |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/model/select", |
| | | dicUrl: "/api/ubcs-develop/model/select", |
| | | props: { |
| | | label: "modelName", |
| | | value: "id" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨BladeXå°è£
çBaseServiceè§£éæ´å¤åè½', |
| | | prop: "baseMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨Wrapperå
è£
卿¥æå±Controllerè¿åå表çåæ®µ', |
| | | prop: "wrapMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨Feignè¿ç¨è°ç¨', |
| | | prop: "feignMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | this.form.codeName = modelName; |
| | | } |
| | | if (validatenull(this.form.serviceName)) { |
| | | this.form.serviceName = `blade-${modelCode}`; |
| | | this.form.serviceName = `ubcs-${modelCode}`; |
| | | } |
| | | if (validatenull(this.form.pkName)) { |
| | | this.form.pkName = "id"; |
| | |
| | | <div>9.[å级]Ossä¸Smså级ä¾èµå¹¶éé
ææ°ç</div> |
| | | <div>10.[æ°å¢]åºäºå®å¡ç³»ç»çé¨ç½²æ¹æ¡</div> |
| | | <div>11.[æ°å¢]Prometheuså
¨æ¹ä½çæ§æ¹æ¡</div> |
| | | <div>12.[æ°å¢]blade-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>12.[æ°å¢]ubcs-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>13.[æ°å¢]BladeX对æ¥Prometheusé¨ç½²èæ¬</div> |
| | | <div>14.[æ°å¢]Saberè¿ç¨é¨ç½²æ¨éèæ¬</div> |
| | | <div>15.[æ°å¢]åºäºSentinelçæå¡çææ¹æ¡</div> |
| | |
| | | <div>18.[ä¼å]å°sms-starterç³»åå并为ä¸</div> |
| | | <div>19.[ä¼å]å¢å¼ºä¼åUrléé
符å¹é
é»è¾</div> |
| | | <div>20.[ä¼å]æ°æ®æéç¼åé»è¾</div> |
| | | <div>21.[ä¼å]blade-autoå°è£
</div> |
| | | <div>21.[ä¼å]ubcs-autoå°è£
</div> |
| | | <div>22.[ä¼å]SqlLogInterceptoré
ç½®</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.7.2.RELEASEåå¸ï¼éæå级常ç¨åè½ï¼ä¼å使ç¨ä½éª" name="21"> |
| | |
| | | <div>12.[æ°å¢]ç¨æ·å¯¼å
¥å¯¼åºçç¨æ·å¹³å°å段</div> |
| | | <div>13.[ä¿®æ¹]æ¥å¿è·¯å¾é»è®¤ä¼å
çº§ï¼æ¯æé
ç½®è¦ç</div> |
| | | <div>14.[ä¿®æ¹]Report模åå
è·¯å¾ï¼æ°å¢Coreç®å½</div> |
| | | <div>15.[éæ]blade-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]blade-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>15.[éæ]ubcs-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]ubcs-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>17.[ä¼å]RefreshTokenå·æ°é»è¾</div> |
| | | <div>18.[ä¼å]ç§æ·æ°å¢é»è¾ï¼ä¸å¡åå
¸æ¯ææ éå±çº§å¤å¶</div> |
| | | <div>19.[ä¼å]Ribbonç»ä»¶ï¼æ¯æFeignè°ç¨é
ç½®</div> |
| | |
| | | <div>18.[ä¿®å¤]dockerèæ¬nginx端å£å¹é
é®é¢</div> |
| | | <div>19.[ä¿®å¤]æºææ¨¡åæäº¤æªå é¤ç¼åçé®é¢</div> |
| | | <div>20.[ä¿®å¤]ossç¼åè·åæªå ç§æ·å¤æçé®é¢</div> |
| | | <div>21.[ä¿®å¤]blade-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | <div>21.[ä¿®å¤]ubcs-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.2.1.RELEASEåå¸ï¼éæELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ª" name="10"> |
| | | <div>1.[æ°å¢]éæææ°çELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ªåè½</div> |
| | |
| | | <div>8.[æ°å¢]saberæ¯ætab忢ä¿å页é¢ç¶æ</div> |
| | | <div>9.[æ°å¢]æ·»å bomç»ä¸çæ¬é
ç½®</div> |
| | | <div>10.[æ°å¢]æ·»å trace starter</div> |
| | | <div>11.[æ°å¢]blade-adminæé¤seataæå¡</div> |
| | | <div>11.[æ°å¢]ubcs-adminæé¤seataæå¡</div> |
| | | <div>12.[æ°å¢]ossæææä½å¢å æéæ ¡éª</div> |
| | | <div>13.[æ°å¢][ä¿®å¤]dictãroleä¸éæ©ç¶èç¹æ¥é</div> |
| | | <div>14.[æ°å¢]卿ç½å
³è®¾ç½®å¯å¨å è½½</div> |
| | |
| | | <el-collapse-item title="2.1.0.RELEASEåå¸ï¼å
¨é¢å¢å¼ºåºå±é©±å¨" name="8"> |
| | | <div>1.[å级]springboot 2.1.8ãspringcloud greenwich sr3</div> |
| | | <div>2.[æ°å¢]éæseataï¼æä¾æç®éææ¹æ¡</div> |
| | | <div>3.[æ°å¢]blade-adminå¢å nacos卿çå¬</div> |
| | | <div>3.[æ°å¢]ubcs-adminå¢å nacos卿çå¬</div> |
| | | <div>4.[æ°å¢]å¢å aliosséæï¼å¼ºåossè¿åä¿¡æ¯</div> |
| | | <div>5.[æ°å¢]è·å令çæä½å¢å ç©ºå¤æ</div> |
| | | <div>6.[æ°å¢]æåæ°æ®åºä¾èµãå¢å¼ºmybatisãå¢å ymlèªå®ä¹é
置读å</div> |
| | |
| | | <div>2.[æ°å¢]å¢å qiniuå°è£
</div> |
| | | <div>3.[æ°å¢]å¢å ossç»ä¸æ¥å£</div> |
| | | <div>4.[æ°å¢]éæminioãqiniuï¼è¿è¡ç»ä¸ç®¡ççå¤ç§æ·ossç³»ç»</div> |
| | | <div>5.[ä¼å]blade-core-cloudé»è¾</div> |
| | | <div>5.[ä¼å]ubcs-core-cloudé»è¾</div> |
| | | <div>6.[æ°å¢]badex-bizå¢å ä¸åå
åçswaggerãmybatisé
ç½®demo</div> |
| | | <div>7.[æ°å¢]badex-bizå¢å nacosèªå®ä¹æ³¨åæä»¶demo</div> |
| | | <div>8.[æ°å¢]bladex-bizå¢å nacos忰卿巿°demo</div> |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: '审æ¹äººå', |
| | | prop: 'taskUser', |
| | | type: 'select', |
| | | dicUrl: `/api/blade-user/user-list`, |
| | | dicUrl: `/api/ubcs-user/user-list`, |
| | | props: { |
| | | label: "account", |
| | | value: "id" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | [class^="icon-"]{ |
| | | font-family: "iconfont" !important; |
| | | /* 以ä¸å
容åç
§ç¬¬ä¸æ¹å¾æ åºæ¬èº«çè§å */ |
| | | font-size: 18px !important; |
| | | font-size: 13px !important; |
| | | font-style: normal; |
| | | -webkit-font-smoothing: antialiased; |
| | | -moz-osx-font-smoothing: grayscale; |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/list', |
| | | url: '/api/ubcs-system/region/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyTree = (parentCode, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/lazy-tree', |
| | | url: '/api/ubcs-system/region/lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (code) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/detail', |
| | | url: '/api/ubcs-system/region/detail', |
| | | method: 'get', |
| | | params: { |
| | | code |
| | |
| | | |
| | | export const remove = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/remove', |
| | | url: '/api/ubcs-system/region/remove', |
| | | method: 'post', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const submit = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/region/submit', |
| | | url: '/api/ubcs-system/region/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/list', |
| | | url: '/api/ubcs-desk/notice/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/remove', |
| | | url: '/api/ubcs-desk/notice/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/submit', |
| | | url: '/api/ubcs-desk/notice/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/submit', |
| | | url: '/api/ubcs-desk/notice/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getNotice = (id) => { |
| | | return request({ |
| | | url: '/api/blade-desk/notice/detail', |
| | | url: '/api/ubcs-desk/notice/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const modelList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/list', |
| | | url: '/api/ubcs-flow/model/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const managerList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/list', |
| | | url: '/api/ubcs-flow/manager/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const followList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/follow/list', |
| | | url: '/api/ubcs-flow/follow/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeModel = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/remove', |
| | | url: '/api/ubcs-flow/model/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const deployModel = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/deploy', |
| | | url: '/api/ubcs-flow/model/deploy', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const changeState = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/change-state', |
| | | url: '/api/ubcs-flow/manager/change-state', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | headers: { |
| | | "Content-Type": "multipart/form-data" |
| | | }, |
| | | url: '/api/blade-flow/manager/deploy-upload', |
| | | url: '/api/ubcs-flow/manager/deploy-upload', |
| | | method: 'post', |
| | | data: formData |
| | | }) |
| | |
| | | |
| | | export const deleteDeployment = (deploymentIds) => { |
| | | return request({ |
| | | url: '/api/blade-flow/manager/delete-deployment', |
| | | url: '/api/ubcs-flow/manager/delete-deployment', |
| | | method: 'post', |
| | | params: { |
| | | deploymentIds, |
| | |
| | | |
| | | export const deleteProcessInstance = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/follow/delete-process-instance', |
| | | url: '/api/ubcs-flow/follow/delete-process-instance', |
| | | method: 'post', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const submitModel = (data) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/submit', |
| | | url: '/api/ubcs-flow/model/submit', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | |
| | | export const detail = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/model/detail', |
| | | url: '/api/ubcs-flow/model/detail', |
| | | method: 'get', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const modelView = (params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/process/model-view', |
| | | url: '/api/ubcs-flow/process/model-view', |
| | | method: 'get', |
| | | params |
| | | }) |
| | |
| | | |
| | | export const getUsualList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/usual/list', |
| | | url: '/api/ubcs-log/usual/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getApiList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/api/list', |
| | | url: '/api/ubcs-log/api/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getErrorList = (current, size) => { |
| | | return request({ |
| | | url: '/api/blade-log/error/list', |
| | | url: '/api/ubcs-log/error/list', |
| | | method: 'get', |
| | | params: { |
| | | current, |
| | |
| | | |
| | | export const getUsualLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/usual/detail', |
| | | url: '/api/ubcs-log/usual/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getApiLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/api/detail', |
| | | url: '/api/ubcs-log/api/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getErrorLogs = (id) => { |
| | | return request({ |
| | | url: '/api/blade-log/error/detail', |
| | | url: '/api/ubcs-log/error/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-report/report/rest/list', |
| | | url: '/api/ubcs-report/report/rest/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | } |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-report/report/rest/remove', |
| | | url: '/api/ubcs-report/report/rest/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/list', |
| | | url: '/api/ubcs-resource/attach/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/detail', |
| | | url: '/api/ubcs-resource/attach/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/remove', |
| | | url: '/api/ubcs-resource/attach/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/submit', |
| | | url: '/api/ubcs-resource/attach/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/attach/submit', |
| | | url: '/api/ubcs-resource/attach/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/list', |
| | | url: '/api/ubcs-resource/oss/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/detail', |
| | | url: '/api/ubcs-resource/oss/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/remove', |
| | | url: '/api/ubcs-resource/oss/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/submit', |
| | | url: '/api/ubcs-resource/oss/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/submit', |
| | | url: '/api/ubcs-resource/oss/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const enable = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/oss/enable', |
| | | url: '/api/ubcs-resource/oss/enable', |
| | | method: 'post', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/list', |
| | | url: '/api/ubcs-resource/sms/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/detail', |
| | | url: '/api/ubcs-resource/sms/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/remove', |
| | | url: '/api/ubcs-resource/sms/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/submit', |
| | | url: '/api/ubcs-resource/sms/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/submit', |
| | | url: '/api/ubcs-resource/sms/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const enable = (id) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/enable', |
| | | url: '/api/ubcs-resource/sms/enable', |
| | | method: 'post', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const send = (code, phones, params) => { |
| | | return request({ |
| | | url: '/api/blade-resource/sms/endpoint/send-message', |
| | | url: '/api/ubcs-resource/sms/endpoint/send-message', |
| | | method: 'post', |
| | | params: { |
| | | code, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/list', |
| | | url: '/api/ubcs-system/client/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/detail', |
| | | url: '/api/ubcs-system/client/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/remove', |
| | | url: '/api/ubcs-system/client/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/submit', |
| | | url: '/api/ubcs-system/client/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/client/submit', |
| | | url: '/api/ubcs-system/client/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/list', |
| | | url: '/api/ubcs-system/dept/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-list', |
| | | url: '/api/ubcs-system/dept/lazy-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/remove', |
| | | url: '/api/ubcs-system/dept/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/submit', |
| | | url: '/api/ubcs-system/dept/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/submit', |
| | | url: '/api/ubcs-system/dept/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDept = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/detail', |
| | | url: '/api/ubcs-system/dept/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getDeptTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/tree', |
| | | url: '/api/ubcs-system/dept/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getDeptLazyTree = (parentId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-tree', |
| | | url: '/api/ubcs-system/dept/lazy-tree', |
| | | method: 'get', |
| | | params: { |
| | | parentId |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/list', |
| | | url: '/api/ubcs-system/dict/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParentList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/parent-list', |
| | | url: '/api/ubcs-system/dict/parent-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getChildList = (current, size, parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/child-list', |
| | | url: '/api/ubcs-system/dict/child-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/remove', |
| | | url: '/api/ubcs-system/dict/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/submit', |
| | | url: '/api/ubcs-system/dict/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/submit', |
| | | url: '/api/ubcs-system/dict/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDict = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/detail', |
| | | url: '/api/ubcs-system/dict/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getDictTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/tree?code=DICT', |
| | | url: '/api/ubcs-system/dict/tree?code=DICT', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const getDictionary = (params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict/dictionary', |
| | | url: '/api/ubcs-system/dict/dictionary', |
| | | method: 'get', |
| | | params, |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/list', |
| | | url: '/api/ubcs-system/dict-biz/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParentList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/parent-list', |
| | | url: '/api/ubcs-system/dict-biz/parent-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getChildList = (current, size, parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/child-list', |
| | | url: '/api/ubcs-system/dict-biz/child-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/remove', |
| | | url: '/api/ubcs-system/dict-biz/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/submit', |
| | | url: '/api/ubcs-system/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/submit', |
| | | url: '/api/ubcs-system/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDict = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/detail', |
| | | url: '/api/ubcs-system/dict-biz/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getDictTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/tree?code=DICT', |
| | | url: '/api/ubcs-system/dict-biz/tree?code=DICT', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const getDictionary = (params) => { |
| | | return request({ |
| | | url: '/api/blade-system/dict-biz/dictionary', |
| | | url: '/api/ubcs-system/dict-biz/dictionary', |
| | | method: 'get', |
| | | params, |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/list', |
| | | url: '/api/ubcs-system/menu/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/lazy-list', |
| | | url: '/api/ubcs-system/menu/lazy-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getLazyMenuList = (parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/lazy-menu-list', |
| | | url: '/api/ubcs-system/menu/lazy-menu-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getMenuList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/menu-list', |
| | | url: '/api/ubcs-system/menu/menu-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getMenuTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/tree', |
| | | url: '/api/ubcs-system/menu/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/remove', |
| | | url: '/api/ubcs-system/menu/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/submit', |
| | | url: '/api/ubcs-system/menu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/submit', |
| | | url: '/api/ubcs-system/menu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenu = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/detail', |
| | | url: '/api/ubcs-system/menu/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | |
| | | export const getTopMenu = () => request({ |
| | | url: '/api/blade-system/menu/top-menu', |
| | | url: '/api/ubcs-system/menu/top-menu', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const getRoutes = (topMenuId) => request({ |
| | | url: '/api/blade-system/menu/routes', |
| | | url: '/api/ubcs-system/menu/routes', |
| | | method: 'get', |
| | | params: { |
| | | topMenuId, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/list', |
| | | url: '/api/ubcs-system/param/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/remove', |
| | | url: '/api/ubcs-system/param/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/submit', |
| | | url: '/api/ubcs-system/param/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/param/submit', |
| | | url: '/api/ubcs-system/param/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | //å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/page', |
| | | url:'/api/ubcs-system/combination/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | //åæ¥è¯¢ |
| | | export const getOnesearch =(id)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/one', |
| | | url:'/api/ubcs-system/combination/one', |
| | | method:'post', |
| | | params:{ |
| | | id |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/submit', |
| | | url:'/api/ubcs-system/combination/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/submit', |
| | | url:'/api/ubcs-system/combination/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | //å é¤ |
| | | export const getremove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/combination/remove', |
| | | url: '/api/ubcs-system/combination/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | //ä¸ææ°æ®å¨è¯¢ï¼å¯ç çç»åæ¹å¼ï¼ |
| | | export const getpassword=()=>{ |
| | | return request({ |
| | | url:'/api/blade-system/combination/select', |
| | | url:'/api/ubcs-system/combination/select', |
| | | method:'get', |
| | | }) |
| | | } |
| | |
| | | //å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/page', |
| | | url:'/api/ubcs-system/strategy/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | //åæ¥è¯¢ |
| | | export const getOnesearch =(id)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/one', |
| | | url:'/api/ubcs-system/strategy/one', |
| | | method:'post', |
| | | params:{ |
| | | id |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/submit', |
| | | url:'/api/ubcs-system/strategy/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/strategy/submit', |
| | | url:'/api/ubcs-system/strategy/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | //å é¤ |
| | | export const getremove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/strategy/remove', |
| | | url: '/api/ubcs-system/strategy/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | // æ°å¢ |
| | | export const getadd =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/submit', |
| | | url:'/api/ubcs-system/value-range/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // ä¿®æ¹ |
| | | export const getupdata =(row)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/submit', |
| | | url:'/api/ubcs-system/value-range/submit', |
| | | method:'post', |
| | | data:row |
| | | }) |
| | |
| | | // å
¨æ¥è¯¢ |
| | | export const allList =()=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/list', |
| | | url:'/api/ubcs-system/value-range/list', |
| | | method:'get' |
| | | }) |
| | | } |
| | | // å é¤ |
| | | export const getremove = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/value-range/remove', |
| | | url: '/api/ubcs-system/value-range/remove', |
| | | method: 'post', |
| | | data:row |
| | | }) |
| | |
| | | // å页 |
| | | export const getPage =(current, size, params)=>{ |
| | | return request({ |
| | | url:'/api/blade-system/value-range/page', |
| | | url:'/api/ubcs-system/value-range/page', |
| | | method:'get', |
| | | params:{ |
| | | ...params, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/list', |
| | | url: '/api/ubcs-system/post/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getPostList = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/select', |
| | | url: '/api/ubcs-system/post/select', |
| | | method: 'get', |
| | | params: { |
| | | tenantId |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/detail', |
| | | url: '/api/ubcs-system/post/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/remove', |
| | | url: '/api/ubcs-system/post/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/submit', |
| | | url: '/api/ubcs-system/post/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/post/submit', |
| | | url: '/api/ubcs-system/post/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/list', |
| | | url: '/api/ubcs-system/role/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | } |
| | | export const grantTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/grant-tree', |
| | | url: '/api/ubcs-system/menu/grant-tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const grant = (roleIds, menuIds, dataScopeIds, apiScopeIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/grant', |
| | | url: '/api/ubcs-system/role/grant', |
| | | method: 'post', |
| | | data: { |
| | | roleIds, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/remove', |
| | | url: '/api/ubcs-system/role/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/submit', |
| | | url: '/api/ubcs-system/role/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/submit', |
| | | url: '/api/ubcs-system/role/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getRole = (roleIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/role-tree-keys', |
| | | url: '/api/ubcs-system/menu/role-tree-keys', |
| | | method: 'get', |
| | | params: { |
| | | roleIds, |
| | |
| | | |
| | | export const getRoleTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/tree', |
| | | url: '/api/ubcs-system/role/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getRoleTreeById = (roleId) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/tree-by-id', |
| | | url: '/api/ubcs-system/role/tree-by-id', |
| | | method: 'get', |
| | | params: { |
| | | roleId, |
| | |
| | | |
| | | export const getListDataScope = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/list', |
| | | url: '/api/ubcs-system/data-scope/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeDataScope = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/remove', |
| | | url: '/api/ubcs-system/data-scope/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const addDataScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/submit', |
| | | url: '/api/ubcs-system/data-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updateDataScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/submit', |
| | | url: '/api/ubcs-system/data-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenuDataScope = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/data-scope/detail', |
| | | url: '/api/ubcs-system/data-scope/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getListApiScope = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/list', |
| | | url: '/api/ubcs-system/api-scope/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const removeApiScope = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/remove', |
| | | url: '/api/ubcs-system/api-scope/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const addApiScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/submit', |
| | | url: '/api/ubcs-system/api-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updateApiScope = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/submit', |
| | | url: '/api/ubcs-system/api-scope/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getMenuApiScope = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/api-scope/detail', |
| | | url: '/api/ubcs-system/api-scope/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/list', |
| | | url: '/api/ubcs-system/tenant/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/detail', |
| | | url: '/api/ubcs-system/tenant/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/remove', |
| | | url: '/api/ubcs-system/tenant/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/submit', |
| | | url: '/api/ubcs-system/tenant/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/submit', |
| | | url: '/api/ubcs-system/tenant/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const setting = (ids, form) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/setting', |
| | | url: '/api/ubcs-system/tenant/setting', |
| | | method: 'post', |
| | | params: { |
| | | ...form, |
| | |
| | | |
| | | export const datasource = (tenantId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/datasource', |
| | | url: '/api/ubcs-system/tenant/datasource', |
| | | method: 'post', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const info = (domain) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/info', |
| | | url: '/api/ubcs-system/tenant/info', |
| | | method: 'get', |
| | | params: { |
| | | domain |
| | |
| | | |
| | | export const packageInfo = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/package-detail', |
| | | url: '/api/ubcs-system/tenant/package-detail', |
| | | method: 'get', |
| | | params: { |
| | | tenantId |
| | |
| | | |
| | | export const packageSetting = (tenantId, packageId) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant/package-setting', |
| | | url: '/api/ubcs-system/tenant/package-setting', |
| | | method: 'post', |
| | | params: { |
| | | tenantId, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/list', |
| | | url: '/api/ubcs-system/tenant-package/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/detail', |
| | | url: '/api/ubcs-system/tenant-package/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/remove', |
| | | url: '/api/ubcs-system/tenant-package/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/submit', |
| | | url: '/api/ubcs-system/tenant-package/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/tenant-package/submit', |
| | | url: '/api/ubcs-system/tenant-package/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/list', |
| | | url: '/api/ubcs-system/topmenu/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/detail', |
| | | url: '/api/ubcs-system/topmenu/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/remove', |
| | | url: '/api/ubcs-system/topmenu/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/submit', |
| | | url: '/api/ubcs-system/topmenu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/submit', |
| | | url: '/api/ubcs-system/topmenu/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const grantTree = () => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/grant-top-tree', |
| | | url: '/api/ubcs-system/menu/grant-top-tree', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const getTopTree = (topMenuIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/menu/top-tree-keys', |
| | | url: '/api/ubcs-system/menu/top-tree-keys', |
| | | method: 'get', |
| | | params: { |
| | | topMenuIds, |
| | |
| | | |
| | | export const grant = (topMenuIds, menuIds) => { |
| | | return request({ |
| | | url: '/api/blade-system/topmenu/grant', |
| | | url: '/api/ubcs-system/topmenu/grant', |
| | | method: 'post', |
| | | data: { |
| | | topMenuIds, |
| | |
| | | |
| | | export const getList = (current, size, params, deptId) => { |
| | | return request({ |
| | | url: '/api/blade-user/page', |
| | | url: '/api/ubcs-user/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-user/remove', |
| | | url: '/api/ubcs-user/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/submit', |
| | | url: '/api/ubcs-user/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/update', |
| | | url: '/api/ubcs-user/update', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const updatePlatform = (userId, userType, userExt) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-platform', |
| | | url: '/api/ubcs-user/update-platform', |
| | | method: 'post', |
| | | params: { |
| | | userId, |
| | |
| | | |
| | | export const getUser = (id) => { |
| | | return request({ |
| | | url: '/api/blade-user/detail', |
| | | url: '/api/ubcs-user/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getUserPlatform = (id) => { |
| | | return request({ |
| | | url: '/api/blade-user/platform-detail', |
| | | url: '/api/ubcs-user/platform-detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getUserInfo = () => { |
| | | return request({ |
| | | url: '/api/blade-user/info', |
| | | url: '/api/ubcs-user/info', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | export const resetPassword = (userIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/reset-password', |
| | | url: '/api/ubcs-user/reset-password', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | |
| | | export const updatePassword = (oldPassword, newPassword, newPassword1) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-password', |
| | | url: '/api/ubcs-user/update-password', |
| | | method: 'post', |
| | | params: { |
| | | oldPassword, |
| | |
| | | |
| | | export const updateInfo = (row) => { |
| | | return request({ |
| | | url: '/api/blade-user/update-info', |
| | | url: '/api/ubcs-user/update-info', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const grant = (userIds, roleIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/grant', |
| | | url: '/api/ubcs-user/grant', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | |
| | | export const unlock = (userIds) => { |
| | | return request({ |
| | | url: '/api/blade-user/unlock', |
| | | url: '/api/ubcs-user/unlock', |
| | | method: 'post', |
| | | params: { |
| | | userIds, |
| | |
| | | //å¯ç é
ç½® |
| | | export const insert =(UserPwdstrategyVO) => { |
| | | return request({ |
| | | url:'/api/blade-system/user-pwdstrategy/insert', |
| | | url:'/api/ubcs-system/user-pwdstrategy/insert', |
| | | method:'put', |
| | | data:UserPwdstrategyVO |
| | | }) |
| | |
| | | // æéæ¶é´ |
| | | export const check =(userId) => { |
| | | return request({ |
| | | url: '/api/blade-user/check-renexpr', |
| | | url: '/api/ubcs-user/check-renexpr', |
| | | method: 'post', |
| | | params:{ |
| | | userId |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/list', |
| | | url: '/api/ubcs-develop/code/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const build = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/gen-code', |
| | | url: '/api/ubcs-develop/code/gen-code', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | } |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/remove', |
| | | url: '/api/ubcs-develop/code/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/submit', |
| | | url: '/api/ubcs-develop/code/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/submit', |
| | | url: '/api/ubcs-develop/code/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const copy = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/copy', |
| | | url: '/api/ubcs-develop/code/copy', |
| | | method: 'post', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getCode = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/code/detail', |
| | | url: '/api/ubcs-develop/code/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/list', |
| | | url: '/api/ubcs-develop/datasource/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/detail', |
| | | url: '/api/ubcs-develop/datasource/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/remove', |
| | | url: '/api/ubcs-develop/datasource/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/submit', |
| | | url: '/api/ubcs-develop/datasource/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/datasource/submit', |
| | | url: '/api/ubcs-develop/datasource/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/list', |
| | | url: '/api/ubcs-develop/model/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getDetail = (id) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/detail', |
| | | url: '/api/ubcs-develop/model/detail', |
| | | method: 'get', |
| | | params: { |
| | | id |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/remove', |
| | | url: '/api/ubcs-develop/model/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/submit', |
| | | url: '/api/ubcs-develop/model/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/submit', |
| | | url: '/api/ubcs-develop/model/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getTableList = (datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-list', |
| | | url: '/api/ubcs-develop/model/table-list', |
| | | method: 'get', |
| | | params: { |
| | | datasourceId, |
| | |
| | | |
| | | export const getTableInfo = (modelId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-info', |
| | | url: '/api/ubcs-develop/model/table-info', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | |
| | | export const getTableInfoByName = (tableName, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/table-info', |
| | | url: '/api/ubcs-develop/model/table-info', |
| | | method: 'get', |
| | | params: { |
| | | tableName, |
| | |
| | | |
| | | export const getModelPrototype = (modelId, datasourceId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model/model-prototype', |
| | | url: '/api/ubcs-develop/model/model-prototype', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | |
| | | export const submitModelPrototype = (row) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model-prototype/submit-list', |
| | | url: '/api/ubcs-develop/model-prototype/submit-list', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const prototypeDetail = (modelId) => { |
| | | return request({ |
| | | url: '/api/blade-develop/model-prototype/select', |
| | | url: '/api/ubcs-develop/model-prototype/select', |
| | | method: 'get', |
| | | params: { |
| | | modelId, |
| | |
| | | import website from "@/config/website"; |
| | | |
| | | export const loginByUsername = (tenantId, deptId, roleId, username, password, type, key) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId, |
| | |
| | | }); |
| | | |
| | | export const loginBySocial = (tenantId, source, state) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId |
| | |
| | | }) |
| | | |
| | | export const loginBySso = (state) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': state |
| | |
| | | }) |
| | | |
| | | export const refreshToken = (refresh_token, tenantId, deptId, roleId) => request({ |
| | | url: '/api/blade-auth/oauth/token', |
| | | url: '/api/ubcs-auth/oauth/token', |
| | | method: 'post', |
| | | headers: { |
| | | 'Tenant-Id': tenantId, |
| | |
| | | }); |
| | | |
| | | export const registerGuest = (form, oauthId) => request({ |
| | | url: '/api/blade-user/register-guest', |
| | | url: '/api/ubcs-user/register-guest', |
| | | method: 'post', |
| | | params: { |
| | | tenantId: form.tenantId, |
| | |
| | | }); |
| | | |
| | | export const getButtons = () => request({ |
| | | url: '/api/blade-system/menu/buttons', |
| | | url: '/api/ubcs-system/menu/buttons', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const getCaptcha = () => request({ |
| | | url: '/api/blade-auth/oauth/captcha', |
| | | url: '/api/ubcs-auth/oauth/captcha', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const logout = () => request({ |
| | | url: '/api/blade-auth/oauth/logout', |
| | | url: '/api/ubcs-auth/oauth/logout', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const getUserInfo = () => request({ |
| | | url: '/api/blade-auth/oauth/user-info', |
| | | url: '/api/ubcs-auth/oauth/user-info', |
| | | method: 'get' |
| | | }); |
| | | |
| | | export const sendLogs = (list) => request({ |
| | | url: '/api/blade-auth/oauth/logout', |
| | | url: '/api/ubcs-auth/oauth/logout', |
| | | method: 'post', |
| | | data: list |
| | | }); |
| | | |
| | | export const clearCache = () => request({ |
| | | url: '/api/blade-auth/oauth/clear-cache', |
| | | url: '/api/ubcs-auth/oauth/clear-cache', |
| | | method: 'get', |
| | | authorization: false |
| | | }); |
| | | |
| | | export const selcetList = () => request({ |
| | | url: '/api/blade-system/tenant/tenant-map', |
| | | url: '/api/ubcs-system/tenant/tenant-map', |
| | | method: 'get', |
| | | }); |
| | | |
| | |
| | | |
| | | export const historyFlowList = (processInstanceId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/process/history-flow-list', |
| | | url: '/api/ubcs-flow/process/history-flow-list', |
| | | method: 'get', |
| | | params: { |
| | | processInstanceId |
| | |
| | | |
| | | export const leaveProcess = (data) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/start-process', |
| | | url: '/api/ubcs-desk/process/leave/start-process', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | |
| | | export const leaveDetail = (businessId) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/detail', |
| | | url: '/api/ubcs-desk/process/leave/detail', |
| | | method: 'get', |
| | | params: { |
| | | businessId |
| | |
| | | |
| | | export const startList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/start-list', |
| | | url: '/api/ubcs-flow/work/start-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-list', |
| | | url: '/api/ubcs-flow/work/claim-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const todoList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/todo-list', |
| | | url: '/api/ubcs-flow/work/todo-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const sendList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/send-list', |
| | | url: '/api/ubcs-flow/work/send-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const doneList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/done-list', |
| | | url: '/api/ubcs-flow/work/done-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimTask = (taskId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-task', |
| | | url: '/api/ubcs-flow/work/claim-task', |
| | | method: 'post', |
| | | params: { |
| | | taskId |
| | |
| | | |
| | | export const completeTask = (data) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/complete-task', |
| | | url: '/api/ubcs-flow/work/complete-task', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | } |
| | | }, |
| | | // ç¬¬ä¸æ¹ç³»ç»ææå°å |
| | | authUrl: 'http://localhost/blade-auth/oauth/render', |
| | | authUrl: 'http://localhost/ubcs-auth/oauth/render', |
| | | // æ¥è¡¨è®¾è®¡å¨å°å(cloud端å£ä¸º8108,boot端å£ä¸º80) |
| | | reportUrl: 'http://localhost:8108/ureport', |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(blade-authæå¡çå°) |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(ubcs-authæå¡çå°) |
| | | // åç¹ç»å½åè°å°å(Saberæå¡çå°å) |
| | | redirectUri: 'http://localhost:1888', |
| | | } |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/ubcs-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | label: 'åå
¸ç¼ç ', |
| | | prop: 'dictCode', |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/select", |
| | | dicUrl: "/api/ubcs-system/dict/select", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "code" |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock('/api/blade-auth/oauth/token/refresh', 'post', () => { |
| | | Mock.mock('/api/ubcs-auth/oauth/token/refresh', 'post', () => { |
| | | return { |
| | | data: { |
| | | "account": "admin", |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock(/\/api\/blade-system\/param\/list/, 'get', getFakeList); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/list/, 'get', getFakeList); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/detail/, 'get', getFakeDetail); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/detail/, 'get', getFakeDetail); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/submit/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/submit/, 'post', fakeSuccess); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/remove/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/remove/, 'post', fakeSuccess); |
| | | |
| | | } |
| | |
| | | text: ' ', |
| | | ratio: 0.1 |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | tip: 'åªè½ä¸ä¼ jpg/pngç¨æ·å¤´åï¼ä¸ä¸è¶
è¿500kb', |
| | | span: 12, |
| | | row: true, |
| | |
| | | label: 'deptName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/dept/select', |
| | | dicUrl: '/api/ubcs-system/dept/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | label: 'roleName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/role/select', |
| | | dicUrl: '/api/ubcs-system/role/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | switchDept() { |
| | | const userId = this.userInfo.user_id; |
| | | const deptColumn = this.findObject(this.userOption.column, "deptId"); |
| | | deptColumn.dicUrl = `/api/blade-system/dept/select?userId=${userId}`; |
| | | deptColumn.dicUrl = `/api/ubcs-system/dept/select?userId=${userId}`; |
| | | deptColumn.display = true; |
| | | const roleColumn = this.findObject(this.userOption.column, "roleId"); |
| | | roleColumn.dicUrl = `/api/blade-system/role/select?userId=${userId}`; |
| | | roleColumn.dicUrl = `/api/ubcs-system/role/select?userId=${userId}`; |
| | | roleColumn.display = true; |
| | | this.userBox = true; |
| | | }, |
| | |
| | | }, |
| | | mounted() { |
| | | //å¨mountedè·åé¦é¡µä¸æèåæ°æ® |
| | | this.$axios.get('/api/blade-system/tenant/tenant-map').then(res => { |
| | | this.$axios.get('/api/ubcs-system/tenant/tenant-map').then(res => { |
| | | if (res.data.code == 200) { |
| | | this.loginForm.region = res.data.data |
| | | } |
| | |
| | | 'loginForm.deptId'() { |
| | | const column = this.findObject(this.userOption.column, "deptId"); |
| | | if (this.loginForm.deptId.includes(",")) { |
| | | column.dicUrl = `/api/blade-system/dept/select?deptId=${this.loginForm.deptId}`; |
| | | column.dicUrl = `/api/ubcs-system/dept/select?deptId=${this.loginForm.deptId}`; |
| | | column.display = true; |
| | | } else { |
| | | column.dicUrl = ''; |
| | |
| | | 'loginForm.roleId'() { |
| | | const column = this.findObject(this.userOption.column, "roleId"); |
| | | if (this.loginForm.roleId.includes(",")) { |
| | | column.dicUrl = `/api/blade-system/role/select?roleId=${this.loginForm.roleId}`; |
| | | column.dicUrl = `/api/ubcs-system/role/select?roleId=${this.loginForm.roleId}`; |
| | | column.display = true; |
| | | } else { |
| | | column.dicUrl = ''; |
| | |
| | | label: "ä¸çº§èå", |
| | | prop: "parentId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/menu/tree", |
| | | dicUrl: "/api/ubcs-system/menu/tree", |
| | | hide: true, |
| | | props: { |
| | | label: "title" |
| | |
| | | { |
| | | label: "æ¥å£ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=api_scope_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=api_scope_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "ä¸çº§èå", |
| | | prop: "parentId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/menu/tree", |
| | | dicUrl: "/api/ubcs-system/menu/tree", |
| | | hide: true, |
| | | props: { |
| | | label: "title" |
| | |
| | | { |
| | | label: "è§åç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=data_scope_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=data_scope_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | label: "åºåç级", |
| | | prop: "regionLevel", |
| | | type: "radio", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=region", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=region", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ .xls,.xlsx æ åæ ¼å¼æä»¶', |
| | | action: "/api/blade-system/region/import-region" |
| | | action: "/api/ubcs-system/region/import-region" |
| | | }, |
| | | { |
| | | label: "æ°æ®è¦ç", |
| | |
| | | value: 'code' |
| | | }, |
| | | cascader: ['city'], |
| | | dicUrl: '/api/blade-system/region/select', |
| | | dicUrl: '/api/ubcs-system/region/select', |
| | | span: 24, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | cascader: ['district'], |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{province}}', |
| | | dicUrl: '/api/ubcs-system/region/select?code={{province}}', |
| | | span: 24, |
| | | }, |
| | | { |
| | |
| | | value: 'code' |
| | | }, |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{city}}', |
| | | dicUrl: '/api/ubcs-system/region/select?code={{city}}', |
| | | span: 24, |
| | | } |
| | | ] |
| | |
| | | 'excelForm.isCovered'() { |
| | | if (this.excelForm.isCovered !== '') { |
| | | const column = this.findObject(this.excelOption.column, "excelFile"); |
| | | column.action = `/api/blade-system/region/import-region?isCovered=${this.excelForm.isCovered}`; |
| | | column.action = `/api/ubcs-system/region/import-region?isCovered=${this.excelForm.isCovered}`; |
| | | } |
| | | } |
| | | }, |
| | |
| | | type: "warning" |
| | | }).then(() => { |
| | | NProgress.start(); |
| | | exportBlob(`/api/blade-system/region/export-region?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/ubcs-system/region/export-region?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, `è¡æ¿åºåæ°æ®${dateNow()}.xlsx`); |
| | | NProgress.done(); |
| | | }) |
| | | }); |
| | | }, |
| | | handleTemplate() { |
| | | exportBlob(`/api/blade-system/region/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/ubcs-system/region/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, "è¡æ¿åºå模æ¿.xlsx"); |
| | | }) |
| | | }, |
| | |
| | | { |
| | | label: "éç¥ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=notice", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=notice", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "content", |
| | | component: 'AvueUeditor', |
| | | options: { |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | props: { |
| | | res: "data", |
| | | url: "link", |
| | |
| | | label: 'æµç¨ç±»å', |
| | | prop: 'flowCategory', |
| | | type: 'select', |
| | | dicUrl: `/api/blade-system/dict/dictionary?code=flow`, |
| | | dicUrl: `/api/ubcs-system/dict/dictionary?code=flow`, |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | multiple: true, |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ bpmn20.xml æ åæ ¼å¼æä»¶', |
| | | action: '/api/blade-flow/manager/check-upload' |
| | | action: '/api/ubcs-flow/manager/check-upload' |
| | | }, |
| | | ] |
| | | } |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | { |
| | | label: "æµç¨ç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | multiple: true, |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | }, |
| | | methods: { |
| | | handlePreview(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=ubcs-${name}`}); |
| | | }, |
| | | handleDesign(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=ubcs-${name}`}); |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm("ç¡®å®å°éæ©æ°æ®å é¤?", { |
| | |
| | | propsHttp: { |
| | | res: 'data' |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-file-attach" |
| | | action: "/api/ubcs-resource/oss/endpoint/put-file-attach" |
| | | } |
| | | ] |
| | | } |
| | |
| | | width: 100, |
| | | searchLabelWidth: 50, |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=oss", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=oss", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | }, |
| | | 'debugForm.code'() { |
| | | const column = this.findObject(this.debugOption.column, "backgroundUrl"); |
| | | column.action = `/api/blade-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | column.action = `/api/ubcs-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | width: 100, |
| | | searchLabelWidth: 50, |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=sms", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=sms", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | { |
| | | label: "æºæç±»å", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=org_category", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=org_category", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: website.tenantMode, |
| | |
| | | label: "å²ä½ç±»å", |
| | | prop: "category", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=post_category", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=post_category", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/ubcs-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/tenant-package/select", |
| | | dicUrl: "/api/ubcs-system/tenant-package/select", |
| | | props: { |
| | | label: "packageName", |
| | | value: "id" |
| | |
| | | |
| | | created() { |
| | | // è·åå°trueè¿æ¯falseç´æ¥èµå¼ï¼å®ä¹æ¹æ³ä¼å°±æ¯è·åä¸å°ï¼ä¸ç¥éä»ä¹é®é¢ï¼å¼ºå¶ç¨JSON.parseä¼å¨åé¢è¿½å ä¸ä¸ªdisabledï¼æä»¥ç´æ¥è·åãåæå¦ææ·»å cloumnä¼åºç°bugï¼ç¨foreach循ç¯åºcolumnå¨å¤ætypeæ¯å¦çäºradioï¼ç¶åå°åç¬radioçdisabledæ¹ä¸ºres.data.data |
| | | this.$axios.get('/api/blade-system/tenant/find-ssa-enable').then(res => { |
| | | this.$axios.get('/api/ubcs-system/tenant/find-ssa-enable').then(res => { |
| | | this.option.column[6].disabled= res.data.data |
| | | }); |
| | | }, |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æå±ç§æ·", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/api/ubcs-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId" |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | { |
| | | label: "ç¨æ·å¹³å°", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=user_type", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=user_type", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | res: 'data' |
| | | }, |
| | | tip: '请ä¸ä¼ .xls,.xlsx æ åæ ¼å¼æä»¶', |
| | | action: "/api/blade-user/import-user" |
| | | action: "/api/ubcs-user/import-user" |
| | | }, |
| | | { |
| | | label: "æ°æ®è¦ç", |
| | |
| | | 'excelForm.isCovered'() { |
| | | if (this.excelForm.isCovered !== '') { |
| | | const column = this.findObject(this.excelOption.column, "excelFile"); |
| | | column.action = `/api/blade-user/import-user?isCovered=${this.excelForm.isCovered}`; |
| | | column.action = `/api/ubcs-user/import-user?isCovered=${this.excelForm.isCovered}`; |
| | | } |
| | | } |
| | | }, |
| | |
| | | type: "warning" |
| | | }).then(() => { |
| | | NProgress.start(); |
| | | exportBlob(`/api/blade-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => { |
| | | exportBlob(`/api/ubcs-user/export-user?${this.website.tokenHeader}=${getToken()}&account=${account}&realName=${realName}`).then(res => { |
| | | downloadXls(res.data, `ç¨æ·æ°æ®è¡¨${dateNow()}.xlsx`); |
| | | NProgress.done(); |
| | | }) |
| | | }); |
| | | }, |
| | | handleTemplate() { |
| | | exportBlob(`/api/blade-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | exportBlob(`/api/ubcs-user/export-template?${this.website.tokenHeader}=${getToken()}`).then(res => { |
| | | downloadXls(res.data, "ç¨æ·æ°æ®æ¨¡æ¿.xlsx"); |
| | | }) |
| | | }, |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/model/select", |
| | | dicUrl: "/api/ubcs-develop/model/select", |
| | | props: { |
| | | label: "modelName", |
| | | value: "id" |
| | |
| | | label: "å表模å", |
| | | prop: "subModelId", |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/model/select", |
| | | dicUrl: "/api/ubcs-develop/model/select", |
| | | props: { |
| | | label: "modelName", |
| | | value: "id" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨BladeXå°è£
çBaseServiceè§£éæ´å¤åè½', |
| | | prop: "baseMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨Wrapperå
è£
卿¥æå±Controllerè¿åå表çåæ®µ', |
| | | prop: "wrapMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | labelTip:'é
ç½®æ¯å¦ä½¿ç¨Feignè¿ç¨è°ç¨', |
| | | prop: "feignMode", |
| | | type: 'radio', |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=yes_no", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | this.form.codeName = modelName; |
| | | } |
| | | if (validatenull(this.form.serviceName)) { |
| | | this.form.serviceName = `blade-${modelCode}`; |
| | | this.form.serviceName = `ubcs-${modelCode}`; |
| | | } |
| | | if (validatenull(this.form.pkName)) { |
| | | this.form.pkName = "id"; |
| | |
| | | <div>9.[å级]Ossä¸Smså级ä¾èµå¹¶éé
ææ°ç</div> |
| | | <div>10.[æ°å¢]åºäºå®å¡ç³»ç»çé¨ç½²æ¹æ¡</div> |
| | | <div>11.[æ°å¢]Prometheuså
¨æ¹ä½çæ§æ¹æ¡</div> |
| | | <div>12.[æ°å¢]blade-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>12.[æ°å¢]ubcs-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>13.[æ°å¢]BladeX对æ¥Prometheusé¨ç½²èæ¬</div> |
| | | <div>14.[æ°å¢]Saberè¿ç¨é¨ç½²æ¨éèæ¬</div> |
| | | <div>15.[æ°å¢]åºäºSentinelçæå¡çææ¹æ¡</div> |
| | |
| | | <div>18.[ä¼å]å°sms-starterç³»åå并为ä¸</div> |
| | | <div>19.[ä¼å]å¢å¼ºä¼åUrléé
符å¹é
é»è¾</div> |
| | | <div>20.[ä¼å]æ°æ®æéç¼åé»è¾</div> |
| | | <div>21.[ä¼å]blade-autoå°è£
</div> |
| | | <div>21.[ä¼å]ubcs-autoå°è£
</div> |
| | | <div>22.[ä¼å]SqlLogInterceptoré
ç½®</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.7.2.RELEASEåå¸ï¼éæå级常ç¨åè½ï¼ä¼å使ç¨ä½éª" name="21"> |
| | |
| | | <div>12.[æ°å¢]ç¨æ·å¯¼å
¥å¯¼åºçç¨æ·å¹³å°å段</div> |
| | | <div>13.[ä¿®æ¹]æ¥å¿è·¯å¾é»è®¤ä¼å
çº§ï¼æ¯æé
ç½®è¦ç</div> |
| | | <div>14.[ä¿®æ¹]Report模åå
è·¯å¾ï¼æ°å¢Coreç®å½</div> |
| | | <div>15.[éæ]blade-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]blade-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>15.[éæ]ubcs-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]ubcs-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>17.[ä¼å]RefreshTokenå·æ°é»è¾</div> |
| | | <div>18.[ä¼å]ç§æ·æ°å¢é»è¾ï¼ä¸å¡åå
¸æ¯ææ éå±çº§å¤å¶</div> |
| | | <div>19.[ä¼å]Ribbonç»ä»¶ï¼æ¯æFeignè°ç¨é
ç½®</div> |
| | |
| | | <div>18.[ä¿®å¤]dockerèæ¬nginx端å£å¹é
é®é¢</div> |
| | | <div>19.[ä¿®å¤]æºææ¨¡åæäº¤æªå é¤ç¼åçé®é¢</div> |
| | | <div>20.[ä¿®å¤]ossç¼åè·åæªå ç§æ·å¤æçé®é¢</div> |
| | | <div>21.[ä¿®å¤]blade-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | <div>21.[ä¿®å¤]ubcs-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.2.1.RELEASEåå¸ï¼éæELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ª" name="10"> |
| | | <div>1.[æ°å¢]éæææ°çELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ªåè½</div> |
| | |
| | | <div>8.[æ°å¢]saberæ¯ætab忢ä¿å页é¢ç¶æ</div> |
| | | <div>9.[æ°å¢]æ·»å bomç»ä¸çæ¬é
ç½®</div> |
| | | <div>10.[æ°å¢]æ·»å trace starter</div> |
| | | <div>11.[æ°å¢]blade-adminæé¤seataæå¡</div> |
| | | <div>11.[æ°å¢]ubcs-adminæé¤seataæå¡</div> |
| | | <div>12.[æ°å¢]ossæææä½å¢å æéæ ¡éª</div> |
| | | <div>13.[æ°å¢][ä¿®å¤]dictãroleä¸éæ©ç¶èç¹æ¥é</div> |
| | | <div>14.[æ°å¢]卿ç½å
³è®¾ç½®å¯å¨å è½½</div> |
| | |
| | | <el-collapse-item title="2.1.0.RELEASEåå¸ï¼å
¨é¢å¢å¼ºåºå±é©±å¨" name="8"> |
| | | <div>1.[å级]springboot 2.1.8ãspringcloud greenwich sr3</div> |
| | | <div>2.[æ°å¢]éæseataï¼æä¾æç®éææ¹æ¡</div> |
| | | <div>3.[æ°å¢]blade-adminå¢å nacos卿çå¬</div> |
| | | <div>3.[æ°å¢]ubcs-adminå¢å nacos卿çå¬</div> |
| | | <div>4.[æ°å¢]å¢å aliosséæï¼å¼ºåossè¿åä¿¡æ¯</div> |
| | | <div>5.[æ°å¢]è·å令çæä½å¢å ç©ºå¤æ</div> |
| | | <div>6.[æ°å¢]æåæ°æ®åºä¾èµãå¢å¼ºmybatisãå¢å ymlèªå®ä¹é
置读å</div> |
| | |
| | | <div>2.[æ°å¢]å¢å qiniuå°è£
</div> |
| | | <div>3.[æ°å¢]å¢å ossç»ä¸æ¥å£</div> |
| | | <div>4.[æ°å¢]éæminioãqiniuï¼è¿è¡ç»ä¸ç®¡ççå¤ç§æ·ossç³»ç»</div> |
| | | <div>5.[ä¼å]blade-core-cloudé»è¾</div> |
| | | <div>5.[ä¼å]ubcs-core-cloudé»è¾</div> |
| | | <div>6.[æ°å¢]badex-bizå¢å ä¸åå
åçswaggerãmybatisé
ç½®demo</div> |
| | | <div>7.[æ°å¢]badex-bizå¢å nacosèªå®ä¹æ³¨åæä»¶demo</div> |
| | | <div>8.[æ°å¢]bladex-bizå¢å nacos忰卿巿°demo</div> |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: '审æ¹äººå', |
| | | prop: 'taskUser', |
| | | type: 'select', |
| | | dicUrl: `/api/blade-user/user-list`, |
| | | dicUrl: `/api/ubcs-user/user-list`, |
| | | props: { |
| | | label: "account", |
| | | value: "id" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "æµç¨åç±»", |
| | | type: "select", |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=flow", |
| | | dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/router/axios'; |
| | | |
| | | export const gridCodeBasicSec = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/gridCodeBasicSec', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const addSave = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/addSave', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const editSave = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/editSave', |
| | | method: 'put', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const deleteData = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/deleteData', |
| | | method: 'delete', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const getObjectByOid = (oid) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/getObjectByOid', |
| | | method: 'get', |
| | | params: { |
| | | oid |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const listDataByOids = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/listDataByOids', |
| | | method: 'get', |
| | | params: { |
| | | oid |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const refDataGrid = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/refDataGrid', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const refDataGridClassifySec = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/refDataGridClassifySec', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | | current, |
| | | size, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const clone = (row) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/clone', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | |
| | | export const upOrderNum = (oid) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/upOrderNum', |
| | | method: 'post', |
| | | data: oid |
| | | }) |
| | | } |
| | | |
| | | |
| | | export const downOrderNum = (oid) => { |
| | | return request({ |
| | | url: '/api/ubcs-code/codeBasicSecController/downOrderNum', |
| | | method: 'post', |
| | | data: oid |
| | | }) |
| | | } |
| | |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/list', |
| | | url: '/api/ubcs-omd/dict-biz/list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getParentList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/parent-list', |
| | | url: '/api/ubcs-omd/dict-biz/parent-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const getChildList = (current, size, parentId, params) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/child-list', |
| | | url: '/api/ubcs-omd/dict-biz/child-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const remove = (ids) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/remove', |
| | | url: '/api/ubcs-omd/dict-biz/remove', |
| | | method: 'post', |
| | | params: { |
| | | ids, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/submit', |
| | | url: '/api/ubcs-omd/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/submit', |
| | | url: '/api/ubcs-omd/dict-biz/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const getDict = (id) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/detail', |
| | | url: '/api/ubcs-omd/dict-biz/detail', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | |
| | | } |
| | | export const getDictTree = () => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/tree?code=DICT', |
| | | url: '/api/ubcs-omd/dict-biz/tree?code=DICT', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export const getDictionary = (params) => { |
| | | return request({ |
| | | url: '/api/blade-omd/dict-biz/dictionary', |
| | | url: '/api/ubcs-omd/dict-biz/dictionary', |
| | | method: 'get', |
| | | params, |
| | | }) |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-system/role/submit', |
| | | url: '/api/ubcs-system/role/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const historyFlowList = (processInstanceId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/process/history-flow-list', |
| | | url: '/api/ubcs-flow/process/history-flow-list', |
| | | method: 'get', |
| | | params: { |
| | | processInstanceId |
| | |
| | | |
| | | export const leaveProcess = (data) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/start-process', |
| | | url: '/api/ubcs-desk/process/leave/start-process', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | |
| | | export const leaveDetail = (businessId) => { |
| | | return request({ |
| | | url: '/api/blade-desk/process/leave/detail', |
| | | url: '/api/ubcs-desk/process/leave/detail', |
| | | method: 'get', |
| | | params: { |
| | | businessId |
| | |
| | | |
| | | export const startList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/start-list', |
| | | url: '/api/ubcs-flow/work/start-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-list', |
| | | url: '/api/ubcs-flow/work/claim-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const todoList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/todo-list', |
| | | url: '/api/ubcs-flow/work/todo-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const sendList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/send-list', |
| | | url: '/api/ubcs-flow/work/send-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const doneList = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/done-list', |
| | | url: '/api/ubcs-flow/work/done-list', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const claimTask = (taskId) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/claim-task', |
| | | url: '/api/ubcs-flow/work/claim-task', |
| | | method: 'post', |
| | | params: { |
| | | taskId |
| | |
| | | |
| | | export const completeTask = (data) => { |
| | | return request({ |
| | | url: '/api/blade-flow/work/complete-task', |
| | | url: '/api/ubcs-flow/work/complete-task', |
| | | method: 'post', |
| | | data |
| | | }) |
| | |
| | | // é¿éç¢é徿 åºé
ç½® |
| | | let iconfontVersion = ['567566_pwc3oottzol']; |
| | | let iconfontUrl = `//at.alicdn.com/t/font_$key.css`; |
| | | |
| | | //let iconfontUrl = `//at.alicdn.com/t/font_$key.css`; |
| | | let iconfontUrl = `//at.alicdn.com/t/c/font_4017492_2d1qk52m7xp.css`; |
| | | let baseUrl = ''; |
| | | let codeUrl = `${baseUrl}/code` |
| | | const env = process.env |
| | |
| | | } |
| | | }, |
| | | // ç¬¬ä¸æ¹ç³»ç»ææå°å |
| | | authUrl: 'http://localhost/blade-auth/oauth/render', |
| | | authUrl: 'http://localhost/ubcs-auth/oauth/render', |
| | | // æ¥è¡¨è®¾è®¡å¨å°å(cloud端å£ä¸º8108,boot端å£ä¸º80) |
| | | reportUrl: 'http://localhost:8108/ureport', |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(blade-authæå¡çå°) |
| | | // åç¹ç»å½ç³»ç»è®¤è¯(ubcs-authæå¡çå°) |
| | | // åç¹ç»å½åè°å°å(Saberæå¡çå°å) |
| | | redirectUri: 'http://localhost:1888', |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | export default { |
| | | height:'200', |
| | | calcHeight: 30, |
| | | tip: false, |
| | | editBtn:false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | disablePage: false, |
| | | border: true, |
| | | index: true, |
| | | viewBtn: true, |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: "ç æ®µç¼å·", |
| | | prop: "id", |
| | | search: false, |
| | | searchLabelWidth: 80, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段ç¼ç ", |
| | | trigger: "blur", |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µåç§°", |
| | | prop: "name", |
| | | search: false, |
| | | searchLabelWidth: 80, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段åç§°", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µæè¿°", |
| | | prop: "description", |
| | | search: false, |
| | | type: "textarea", |
| | | searchLabelWidth: 45, |
| | | searchSpan: 5, |
| | | span: 24, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段åç§°", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | { |
| | | label: "ç æ®µç±»å", |
| | | prop: "sectypeText", |
| | | search: false, |
| | | searchLabelWidth: 45, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请è¾å
¥ç 段åç§°", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | ] |
| | | } |
| | |
| | | export default { |
| | | height:'auto', |
| | | height:"200px", |
| | | calcHeight: 30, |
| | | tip: false, |
| | | editBtn:false, |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/ubcs-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | label: 'åå
¸ç¼ç ', |
| | | prop: 'dictCode', |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/select", |
| | | dicUrl: "/api/ubcs-system/dict/select", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "code" |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock('/api/blade-auth/oauth/token/refresh', 'post', () => { |
| | | Mock.mock('/api/ubcs-auth/oauth/token/refresh', 'post', () => { |
| | | return { |
| | | data: { |
| | | "account": "admin", |
| | |
| | | |
| | | export default ({mock}) => { |
| | | if (!mock) return; |
| | | Mock.mock(/\/api\/blade-system\/param\/list/, 'get', getFakeList); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/list/, 'get', getFakeList); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/detail/, 'get', getFakeDetail); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/detail/, 'get', getFakeDetail); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/submit/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/submit/, 'post', fakeSuccess); |
| | | |
| | | Mock.mock(/\/api\/blade-system\/param\/remove/, 'post', fakeSuccess); |
| | | Mock.mock(/\/api\/ubcs-system\/param\/remove/, 'post', fakeSuccess); |
| | | |
| | | } |
| | |
| | | text: ' ', |
| | | ratio: 0.1 |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | tip: 'åªè½ä¸ä¼ jpg/pngç¨æ·å¤´åï¼ä¸ä¸è¶
è¿500kb', |
| | | span: 12, |
| | | row: true, |
| | |
| | | switchDept() { |
| | | const userId = this.userInfo.user_id; |
| | | const deptColumn = this.findObject(this.userOption.column, "deptId"); |
| | | deptColumn.dicUrl = `/api/blade-system/dept/select?userId=${userId}`; |
| | | deptColumn.dicUrl = `/api/ubcs-system/dept/select?userId=${userId}`; |
| | | deptColumn.display = true; |
| | | const roleColumn = this.findObject(this.userOption.column, "roleId"); |
| | | roleColumn.dicUrl = `/api/blade-system/role/select?userId=${userId}`; |
| | | roleColumn.dicUrl = `/api/ubcs-system/role/select?userId=${userId}`; |
| | | roleColumn.display = true; |
| | | this.userBox = true; |
| | | }, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | |
| | | <avue-crud :option="optionBasic" |
| | | :data="basicData" |
| | | :permission="permissionList" |
| | | @refresh-change="refreshChange"> |
| | | </avue-crud> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import optionBasic from "@/const/code/codebasic"; |
| | | export default { |
| | | name: "basicCode", |
| | | data() { |
| | | return { |
| | | loading: true, |
| | | selectionList: [], |
| | | //åºç¡ç æ®µè¡¨æ ¼é
ç½® |
| | | optionBasic: optionBasic, |
| | | basicData: [], |
| | | }; |
| | | }, |
| | | computed: { |
| | | permissionList() { |
| | | return { |
| | | addBtn: false, |
| | | viewBtn: false, |
| | | delBtn: false, |
| | | editBtn: false |
| | | }; |
| | | }, |
| | | |
| | | }, |
| | | methods: { |
| | | initData() { |
| | | |
| | | }, |
| | | // refreshChange() { |
| | | // this.onLoad(); |
| | | // }, |
| | | |
| | | save(){ |
| | | // clone().then(() => { |
| | | // this.loading = true; |
| | | // this.$message({ |
| | | // type: "success", |
| | | // message: "æä½æå!" |
| | | // }); |
| | | // }, error => { |
| | | // window.console.log(error); |
| | | // }); |
| | | }, |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
| | |
| | | <template> |
| | | <basic-container> |
| | | <basic-container style="height: 350px;"> |
| | | |
| | | <!-- ç¼ç è§åä¿¡æ¯å±ç¤ºåºå --> |
| | | <avue-crud :option="option" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | v-model="form" |
| | | ref="crud" |
| | | :before-open="beforeOpen" |
| | | @row-update="rowUpdate" |
| | | @row-save="rowSave" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-edit" |
| | | v-show="scope.row.lcStatusText=='ç¼è¾ä¸' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç¼ è¾ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="iconfont iconicon_shakehands" |
| | | v-show="scope.row.lcStatusText=='ç¼è¾ä¸' ? true:false" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'release')">å å¸ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatusText=='å·²åå¸' ? true:false" |
| | | icon="iconfont iconicon_details" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'disable')">å ç¨ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatusText=='åç¨' ? true:false" |
| | | icon="iconfont iconicon_task_done" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'enable')">å¯ ç¨ |
| | | </el-button> |
| | | </template> |
| | | <!-- è¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button type="danger" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | @click="handleDelete">å é¤ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-coin" |
| | | plain |
| | | @click="cloneCodeSetting">å
é |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-coine" |
| | | plain |
| | | @click="handleDelete">ä»å
¶ä»è§åä¸å
éç æ®µ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-notebook-1" |
| | | plain |
| | | @click="handleRange">使ç¨èå´ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-notebook-2" |
| | | plain |
| | | @click="handleDelete">æ¸
空ç å¼ |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <basic-container> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç¼ç è§å</p> |
| | | <avue-crud :option="optionRule" |
| | | :table-loading="loading" |
| | | :data="data" |
| | | :page.sync="page" |
| | | :permission="permissionList" |
| | | v-model="form" |
| | | ref="crud" |
| | | :before-open="beforeOpen" |
| | | @cell-click="loadBasic" |
| | | @row-update="rowUpdate" |
| | | @row-save="rowSave" |
| | | @search-change="searchChange" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | | @current-change="currentChange" |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <!-- è¡¨æ ¼å
æä½æé® --> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-edit" |
| | | v-show="scope.row.lcStatusText=='ç¼è¾ä¸' ? true:false" |
| | | plain |
| | | @click="openEdit(scope.row)">ç¼ è¾ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | icon="el-icon-position" |
| | | v-show="scope.row.lcStatusText=='ç¼è¾ä¸' ? true:false" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'release')">å å¸ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatusText=='å·²åå¸' ? true:false" |
| | | icon="el-icon-video-pause" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'disable')">å ç¨ |
| | | </el-button> |
| | | <el-button type="text" |
| | | size="small" |
| | | v-show="scope.row.lcStatusText=='åç¨' ? true:false" |
| | | icon="el-icon-video-play" |
| | | plain |
| | | @click="enableOrDeactivatse(scope.row.oid,'enable')">å¯ ç¨ |
| | | </el-button> |
| | | </template> |
| | | <!-- è¡¨æ ¼å·¦ä¸æ¹æé®åºå --> |
| | | <template slot="menuLeft" slot-scope="scope"> |
| | | <el-button type="danger" |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | @click="handleDelete">å é¤ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="icon-kelong" |
| | | plain |
| | | @click="cloneCodeSetting">å
é |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="icon-lianjiekelong" |
| | | style="font-size: 12px;" |
| | | plain |
| | | @click="handleDelete">ä»å
¶ä»è§åä¸å
éç æ®µ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="el-icon-s-help" |
| | | plain |
| | | @click="handleRange">使ç¨èå´ |
| | | </el-button> |
| | | <el-button size="small" |
| | | icon="icon-qingkong" |
| | | plain |
| | | @click="handleDelete">æ¸
空ç å¼ |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | | |
| | | <!-- å¯¹è¯æ¡ --> |
| | | <el-dialog title="ç¼ç è§å使ç¨èå´" |
| | | append-to-body |
| | | :visible.sync="codeRangeSettingBox" |
| | | width="800px"> |
| | | append-to-body |
| | | :visible.sync="codeRangeSettingBox" |
| | | width="800px"> |
| | | <avue-crud |
| | | :option="dialogeOption" |
| | | :table-loading="dialogLoading" |
| | |
| | | </el-dialog> |
| | | <!-- å
éå¯¹è¯æ¡ --> |
| | | <el-dialog title="å
éç¼ç è§å" |
| | | append-to-body |
| | | :visible.sync="cloneSettingBox" |
| | | width="800px"> |
| | | append-to-body |
| | | :visible.sync="cloneSettingBox" |
| | | width="800px"> |
| | | <clone-code></clone-code> |
| | | </el-dialog> |
| | | |
| | | <!-- åºç¡ç¼ç ä¿¡æ¯ --> |
| | | <!-- åºç¡ç 段å±ç¤ºåºå --> |
| | | <basic-container> |
| | | <p style="margin-top: -12px; margin-bottom: 4px; font-weight: 570; font-size: 19px; color: #0e2d5f;">ç æ®µç®¡ç</p> |
| | | <avue-crud :option="optionBasic" |
| | | :table-loading="loadingBasic" |
| | | :data="basicData" |
| | | :permission="permissionList" |
| | | @refresh-change="refreshChange"> |
| | | </avue-crud> |
| | | </basic-container> |
| | | |
| | | </basic-container> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import {gridCodeRule, getDetail, add, update, remove, listUseRange, updateStatus} from "@/api/code/mdmrule"; |
| | | import option from "@/const/code/mdmrule"; |
| | | import { gridCodeRule, getDetail, add, update, remove, listUseRange, updateStatus } from "@/api/code/mdmrule"; |
| | | import { gridCodeBasicSec } from "@/api/code/codebasic"; |
| | | import optionBasic from "@/const/code/codebasic"; |
| | | import optionRule from "@/const/code/mdmrule"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | total: 0 |
| | | }, |
| | | selectionList: [], |
| | | option: option, |
| | | //ç¼ç è§åè¡¨æ ¼é
ç½® |
| | | optionRule: optionRule, |
| | | |
| | | data: [], |
| | | |
| | | /*使ç¨èå´*/ |
| | | codeRangeSettingBox: false, |
| | | /*å
éå¼¹çª*/ |
| | | /*å
éæé®å¯¹è¯æ¡æ§å¶*/ |
| | | cloneSettingBox: false, |
| | | optionBasic: optionBasic, |
| | | |
| | | //åºç¡ç 段å±ç¤º |
| | | basicData:[], |
| | | loadingBasic: true, |
| | | |
| | | /*使ç¨èå´å¯¹è¯æ¡æ§å¶*/ |
| | | codeRangeSettingBox: false, |
| | | useRangeData: [], |
| | | dialogLoading: true, |
| | | /*使ç¨èå´å¯¹è¯æ¡*/ |
| | |
| | | }, |
| | | }, |
| | | methods: { |
| | | //ç¹å»åºåå è½½åºç¡ç æ®µä¿¡æ¯ |
| | | loadBasic(row){ |
| | | this.loadingBasic = true; |
| | | //console.log(row.oid); |
| | | gridCodeBasicSec(1, -1, {"pkCodeRule":row.oid}).then(res => { |
| | | const data = res.data.data; |
| | | this.basicData = data.records; |
| | | //console.log(this.basicData); |
| | | this.loadingBasic = false; |
| | | }); |
| | | |
| | | }, |
| | | |
| | | //æ¥è¯¢ä½¿ç¨èå´ |
| | | handleRange(){ |
| | | if (this.selectionList.length === 0) { |
| | |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.loadBasic(data.records[0]) |
| | | this.selectionClear(); |
| | | }); |
| | | } |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | .icon-lianjiekelong { |
| | | font-size: 12px; |
| | | } |
| | | </style> |
| | |
| | | }, |
| | | methods: { |
| | | handlePreview(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=preview-${name}&src=${this.website.reportUrl}/preview?_u=ubcs-${name}`}); |
| | | }, |
| | | handleDesign(name) { |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=blade-${name}`}); |
| | | this.$router.push({path: `/myiframe/urlPath?name=designer-${name}&src=${this.website.reportUrl}/designer?_u=ubcs-${name}`}); |
| | | }, |
| | | rowDel(row) { |
| | | this.$confirm("ç¡®å®å°éæ©æ°æ®å é¤?", { |
| | |
| | | }, |
| | | 'debugForm.code'() { |
| | | const column = this.findObject(this.debugOption.column, "backgroundUrl"); |
| | | column.action = `/api/blade-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | column.action = `/api/ubcs-resource/oss/endpoint/put-file?code=${this.debugForm.code}`; |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | this.form.codeName = modelName; |
| | | } |
| | | if (validatenull(this.form.serviceName)) { |
| | | this.form.serviceName = `blade-${modelCode}`; |
| | | this.form.serviceName = `ubcs-${modelCode}`; |
| | | } |
| | | if (validatenull(this.form.pkName)) { |
| | | this.form.pkName = "id"; |
| | |
| | | <div>9.[å级]Ossä¸Smså级ä¾èµå¹¶éé
ææ°ç</div> |
| | | <div>10.[æ°å¢]åºäºå®å¡ç³»ç»çé¨ç½²æ¹æ¡</div> |
| | | <div>11.[æ°å¢]Prometheuså
¨æ¹ä½çæ§æ¹æ¡</div> |
| | | <div>12.[æ°å¢]blade-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>12.[æ°å¢]ubcs-adminæå¡æ¯æprometheus对nacosçæå¡åç°</div> |
| | | <div>13.[æ°å¢]BladeX对æ¥Prometheusé¨ç½²èæ¬</div> |
| | | <div>14.[æ°å¢]Saberè¿ç¨é¨ç½²æ¨éèæ¬</div> |
| | | <div>15.[æ°å¢]åºäºSentinelçæå¡çææ¹æ¡</div> |
| | |
| | | <div>18.[ä¼å]å°sms-starterç³»åå并为ä¸</div> |
| | | <div>19.[ä¼å]å¢å¼ºä¼åUrléé
符å¹é
é»è¾</div> |
| | | <div>20.[ä¼å]æ°æ®æéç¼åé»è¾</div> |
| | | <div>21.[ä¼å]blade-autoå°è£
</div> |
| | | <div>21.[ä¼å]ubcs-autoå°è£
</div> |
| | | <div>22.[ä¼å]SqlLogInterceptoré
ç½®</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.7.2.RELEASEåå¸ï¼éæå级常ç¨åè½ï¼ä¼å使ç¨ä½éª" name="21"> |
| | |
| | | <div>12.[æ°å¢]ç¨æ·å¯¼å
¥å¯¼åºçç¨æ·å¹³å°å段</div> |
| | | <div>13.[ä¿®æ¹]æ¥å¿è·¯å¾é»è®¤ä¼å
çº§ï¼æ¯æé
ç½®è¦ç</div> |
| | | <div>14.[ä¿®æ¹]Report模åå
è·¯å¾ï¼æ°å¢Coreç®å½</div> |
| | | <div>15.[éæ]blade-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]blade-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>15.[éæ]ubcs-adminï¼ééçæ§éç¥å®ç°</div> |
| | | <div>16.[ä¼å]ubcs-adminï¼å¢å è´¦å·å¯ç ç»å½</div> |
| | | <div>17.[ä¼å]RefreshTokenå·æ°é»è¾</div> |
| | | <div>18.[ä¼å]ç§æ·æ°å¢é»è¾ï¼ä¸å¡åå
¸æ¯ææ éå±çº§å¤å¶</div> |
| | | <div>19.[ä¼å]Ribbonç»ä»¶ï¼æ¯æFeignè°ç¨é
ç½®</div> |
| | |
| | | <div>18.[ä¿®å¤]dockerèæ¬nginx端å£å¹é
é®é¢</div> |
| | | <div>19.[ä¿®å¤]æºææ¨¡åæäº¤æªå é¤ç¼åçé®é¢</div> |
| | | <div>20.[ä¿®å¤]ossç¼åè·åæªå ç§æ·å¤æçé®é¢</div> |
| | | <div>21.[ä¿®å¤]blade-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | <div>21.[ä¿®å¤]ubcs-authå¨java11䏿 æ³è¿è¡çé®é¢</div> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="2.2.1.RELEASEåå¸ï¼éæELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ª" name="10"> |
| | | <div>1.[æ°å¢]éæææ°çELKï¼å¢å åå¸å¼æ¥å¿è¿½è¸ªåè½</div> |
| | |
| | | <div>8.[æ°å¢]saberæ¯ætab忢ä¿å页é¢ç¶æ</div> |
| | | <div>9.[æ°å¢]æ·»å bomç»ä¸çæ¬é
ç½®</div> |
| | | <div>10.[æ°å¢]æ·»å trace starter</div> |
| | | <div>11.[æ°å¢]blade-adminæé¤seataæå¡</div> |
| | | <div>11.[æ°å¢]ubcs-adminæé¤seataæå¡</div> |
| | | <div>12.[æ°å¢]ossæææä½å¢å æéæ ¡éª</div> |
| | | <div>13.[æ°å¢][ä¿®å¤]dictãroleä¸éæ©ç¶èç¹æ¥é</div> |
| | | <div>14.[æ°å¢]卿ç½å
³è®¾ç½®å¯å¨å è½½</div> |
| | |
| | | <el-collapse-item title="2.1.0.RELEASEåå¸ï¼å
¨é¢å¢å¼ºåºå±é©±å¨" name="8"> |
| | | <div>1.[å级]springboot 2.1.8ãspringcloud greenwich sr3</div> |
| | | <div>2.[æ°å¢]éæseataï¼æä¾æç®éææ¹æ¡</div> |
| | | <div>3.[æ°å¢]blade-adminå¢å nacos卿çå¬</div> |
| | | <div>3.[æ°å¢]ubcs-adminå¢å nacos卿çå¬</div> |
| | | <div>4.[æ°å¢]å¢å aliosséæï¼å¼ºåossè¿åä¿¡æ¯</div> |
| | | <div>5.[æ°å¢]è·å令çæä½å¢å ç©ºå¤æ</div> |
| | | <div>6.[æ°å¢]æåæ°æ®åºä¾èµãå¢å¼ºmybatisãå¢å ymlèªå®ä¹é
置读å</div> |
| | |
| | | <div>2.[æ°å¢]å¢å qiniuå°è£
</div> |
| | | <div>3.[æ°å¢]å¢å ossç»ä¸æ¥å£</div> |
| | | <div>4.[æ°å¢]éæminioãqiniuï¼è¿è¡ç»ä¸ç®¡ççå¤ç§æ·ossç³»ç»</div> |
| | | <div>5.[ä¼å]blade-core-cloudé»è¾</div> |
| | | <div>5.[ä¼å]ubcs-core-cloudé»è¾</div> |
| | | <div>6.[æ°å¢]badex-bizå¢å ä¸åå
åçswaggerãmybatisé
ç½®demo</div> |
| | | <div>7.[æ°å¢]badex-bizå¢å nacosèªå®ä¹æ³¨åæä»¶demo</div> |
| | | <div>8.[æ°å¢]bladex-bizå¢å nacos忰卿巿°demo</div> |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //æ¬å°æå¡æ¥å£å°å |
| | | // target: 'http://192.168.0.101:37000', |
| | | target: 'http://dev.vci-tech.com:37000', |
| | | target: 'http://localhost:37000', |
| | | //target: 'http://dev.vci-tech.com:37000', |
| | | //è¿ç¨æ¼ç¤ºæå¡å°å,å¯ç¨äºç´æ¥å¯å¨é¡¹ç® |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |
| | |
| | | * nacos dev å°å |
| | | */ |
| | | //String NACOS_DEV_ADDR = "dev.vci-tech.com:38848"; |
| | | String NACOS_DEV_ADDR = "192.168.93.154:38848"; |
| | | String NACOS_DEV_ADDR = "192.168.3.9:38848"; |
| | | |
| | | /** |
| | | * nacos prod å°å |
| | |
| | | private String lastModifier; |
| | | private Date lastModifyTime; |
| | | private String revisionRule; |
| | | private int revisionSeq; |
| | | private Integer revisionSeq; |
| | | private String revisionValue; |
| | | private String versionRule; |
| | | private int versionSeq; |
| | | private Integer versionSeq; |
| | | private String versionValue; |
| | | private String lcStatus; |
| | | private String lcStatusText; |
| | |
| | | this.versionRule = versionRule; |
| | | } |
| | | |
| | | public int getRevisionSeq() { |
| | | public Integer getRevisionSeq() { |
| | | return this.revisionSeq; |
| | | } |
| | | |
| | |
| | | this.revisionValue = revisionValue; |
| | | } |
| | | |
| | | public int getVersionSeq() { |
| | | public Integer getVersionSeq() { |
| | | return this.versionSeq; |
| | | } |
| | | |
| | |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.vci.ubcs</groupId> |
| | | <artifactId>ubcs-omd-api</artifactId> |
| | | <version>3.0.1.RELEASE</version> |
| | | <scope>compile</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.oracle.database.jdbc</groupId> |
| | | <artifactId>ojdbc8</artifactId> |
| | | </dependency> |
| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * ç æ®µåºç¡ä¿¡æ¯æ°æ®æä½å± |
| | |
| | | */ |
| | | List<CodeBasicSec> selectCodeBasicSecPage(IPage page, @Param("codeBasicSec") CodeBasicSecVO codeBasicSecVO); |
| | | |
| | | Long countByCondition(@Param("conditionMap") Map<String,String> conditionMap); |
| | | /** |
| | | * æ¹éæå
¥ |
| | | * @param codeBasicSecList |
| | | * @return |
| | | */ |
| | | Long insertBatch(@Param("entities") List<CodeBasicSec> codeBasicSecList); |
| | | |
| | | List<String> getOidByCodeclassifysecOid(@Param("codeClassifySecOid") String codeClassifySecOid); |
| | | |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åç±»ç æ®µçç 弿°æ®æä½å± |
| | |
| | | */ |
| | | public interface CodeClassifyValueMapper extends BaseMapper<CodeClassifyValue> { |
| | | |
| | | List<String> selectAllLevelChildOid(@Param("oid") String oid); |
| | | |
| | | |
| | | Long countAllLevelChildOid(@Param("oid") String oid); |
| | | |
| | | } |
| | |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeBasicSecVO; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.KeyValue; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åºå®ç 段çç 弿塿¥å£ |
| | |
| | | */ |
| | | boolean addSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹ç 段åºç¡ä¿¡æ¯ |
| | | * @param codeBasicSecDTO ç æ®µåºç¡ä¿¡æ¯æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | boolean editSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * å é¤ç 段åºç¡ä¿¡æ¯ |
| | | * @param codeBasicSecDTO ç æ®µåºç¡ä¿¡æ¯æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | boolean deleteCodeBasicSec(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * 主é®è·åç æ®µåºç¡ä¿¡æ¯ |
| | | * @param oid ä¸»é® |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeBasicSecVO getObjectByOid(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·åç æ®µåºç¡ä¿¡æ¯ |
| | | * @param oidCollections 主é®éåï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | Collection<CodeBasicSecVO> listCodeBasicSecByOids(Collection<String> oidCollections) throws VciBaseException; |
| | | |
| | | /** |
| | | * åç
§ç 段åºç¡ä¿¡æ¯å表 |
| | | * @param codeBasicSecVO æ¥è¯¢æ¡ä»¶ |
| | | * @param page å页åæåº |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | IPage<CodeBasicSecVO> refDataGridCodeBasicSec(IPage<CodeBasicSecVO> page, CodeBasicSecVO codeBasicSecVO) throws VciBaseException; |
| | | |
| | | /** |
| | | * åç
§åç±»çç æ®µ |
| | | * @param codeBasicSecVO æ¥è¯¢æ¡ä»¶ |
| | | * @param page å页ç对象 |
| | | * @return ç æ®µçå
容 |
| | | */ |
| | | IPage<CodeBasicSecVO> refDataGridClassifySec(IPage<CodeBasicSecVO> page, CodeBasicSecVO codeBasicSecVO); |
| | | |
| | | /** |
| | | * å
éç æ®µä¿¡æ¯ |
| | | * @param oidList æºç 段信æ¯ä¸»é®éå |
| | | * @param pkCodeRule ç®æ ç¼ç è§å |
| | | * @return å
éç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | R cloneCodeBasicSec(List<String> oidList, String pkCodeRule); |
| | | |
| | | /** |
| | | * æ¥è¯¢ç®æ åç±»ç æ®µæå¨çæ ç»æ |
| | | * @param oid ç®æ åç±»ç æ®µä¸»é® |
| | | * @return åç±»ç æ®µæ ç»æ |
| | | */ |
| | | //List<Tree> gridCodeClassifySecTree(String oid); |
| | | |
| | | /** |
| | | * ä¸ç§» |
| | | * @param oid ä¸»é® |
| | | */ |
| | | boolean upOrderNum(String oid); |
| | | |
| | | /** |
| | | * ä¸ç§» |
| | | * @param oid ä¸»é® |
| | | */ |
| | | boolean downOrderNum(String oid); |
| | | |
| | | /** |
| | | * æ å½¢ç»ææ¥è¯¢oid |
| | | * @param codeClassifySecOid |
| | | * @return |
| | | */ |
| | | List<String> getOidByCodeclassifysecOid(String codeClassifySecOid); |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.dto.CodeClassifyValueDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyValueVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.TreeQueryObject; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.Tree; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åç±»ç æ®µçç 弿塿¥å£ |
| | |
| | | */ |
| | | public interface ICodeClassifyValueService extends IService<CodeClassifyValue> { |
| | | |
| | | /** |
| | | * æ¥è¯¢åç±»ç æ®µçç å¼ æ |
| | | * @param treeQueryObject æ æ¥è¯¢å¯¹è±¡ |
| | | * @return åç±»ç æ®µçç å¼ æ¾ç¤ºæ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶ä¸ç¬¦åè¦æ±çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | List<Tree> treeCodeClassifyValue(TreeQueryObject treeQueryObject) throws VciBaseException; |
| | | |
| | | /** |
| | | * å¢å åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | boolean addSave(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | boolean editSave(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ£æ¥ åç±»ç æ®µçç 弿¯å¦å é¤ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts屿§ |
| | | * @return æ§è¡ç»æ success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | R checkIsCanDelete(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦æä¸çº§èç¹ï¼ä¸æ ¡éªæ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true表示æä¸çº§ï¼false表示没æä¸çº§ |
| | | * @throws VciBaseException åæ°éè¯¯ï¼æè
æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | boolean checkHasChild(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * å é¤åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | R deleteCodeClassifyValue(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ£æ¥æ¯å¦æä¸çº§æ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true 表示æå¼ç¨ï¼false表示没æå¼ç¨ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºåæå¼ç¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | boolean checkChildIsLinked(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 主é®è·ååç±»ç æ®µçç å¼ |
| | | * @param oid ä¸»é® |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | CodeClassifyValueVO getObjectByOid(String oid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·ååç±»ç æ®µçç å¼ |
| | | * @param oidCollections 主é®éåï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | Collection<CodeClassifyValueVO> listCodeClassifyValueByOids(Collection<String> oidCollections) throws VciBaseException; |
| | | |
| | | /** |
| | | * åç
§æ åç±»ç æ®µçç å¼ |
| | | * @param treeQueryObject æ å½¢æ¥è¯¢å¯¹è±¡ |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºæ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | List<Tree> referTree(TreeQueryObject treeQueryObject) throws VciBaseException; |
| | | |
| | | /** |
| | | * æ¹éæ·»å åç±»ç æ®µçç å¼ï¼å¦æä¿åçéåä¸ä¸åå¨å·²å¨æ°æ®åºä¸çç å¼åå é¤ãä¸»è¦æ¯ä¿åç å¼çåºå· |
| | | * @param dtoList åç±»ç æ®µçç å¼å表 |
| | | * @param codeclassifysecoid åç±»ç æ®µçä¸»é® |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R batchSave4Order(List<CodeClassifyValueDTO> dtoList, String codeclassifysecoid); |
| | | |
| | | } |
| | | |
| | |
| | | * @param codeRuleDTO ä¸»æ°æ®ç¼ç è§åæ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | Boolean addSave(CodeRuleDTO codeRuleDTO) throws VciBaseException; |
| | | boolean addSave(CodeRuleDTO codeRuleDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»æ°æ®ç¼ç è§å |
| | | * @param codeRuleDTO ä¸»æ°æ®ç¼ç è§åæ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | Boolean editSave(CodeRuleDTO codeRuleDTO) throws VciBaseException; |
| | | boolean editSave(CodeRuleDTO codeRuleDTO) throws VciBaseException; |
| | | |
| | | /** |
| | | * å é¤ä¸»æ°æ®ç¼ç è§å |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dto.CodeBasicSecDTO; |
| | | import com.vci.ubcs.code.entity.CodeBasicSec; |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | |
| | | import com.vci.ubcs.code.mapper.CodeClassifyValueMapper; |
| | | import com.vci.ubcs.code.mapper.CodeFixedValueMapper; |
| | | import com.vci.ubcs.code.service.ICodeBasicSecService; |
| | | import com.vci.ubcs.code.service.ICodeClassifyValueService; |
| | | import com.vci.ubcs.code.service.ICodeRuleService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeBasicSecVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeRuleVO; |
| | | import com.vci.ubcs.code.wrapper.CodeBasicSecWrapper; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.revision.service.RevisionModelUtil; |
| | | import com.vci.ubcs.com.vci.starter.web.enumpck.OsCodeFillTypeEnum; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.KeyValue; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.SessionInfo; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.UIFormReferVO; |
| | | import com.vci.ubcs.com.vci.starter.web.util.BeanUtilForVCI; |
| | | import com.vci.ubcs.com.vci.starter.web.util.VciBaseUtil; |
| | | import com.vci.ubcs.com.vci.starter.web.util.WebUtil; |
| | | import com.vci.ubcs.omd.entity.DictBizM; |
| | | import com.vci.ubcs.omd.feign.IDictBizClient; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Set; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import static com.vci.ubcs.code.constant.FrameWorkLangCodeConstant.DATA_OID_NOT_EXIST; |
| | | |
| | | /** |
| | | * ç æ®µåºç¡ä¿¡æ¯æå¡æ¥å£ |
| | |
| | | private CodeClassifyValueMapper codeClassifyValueMapper; |
| | | |
| | | @Resource |
| | | private RevisionModelUtil revisionModelUtil; |
| | | |
| | | @Resource |
| | | @Lazy |
| | | private ICodeRuleService codeRuleService; |
| | | |
| | | @Resource |
| | | private ICodeClassifyValueService codeClassifyValueService; |
| | | |
| | | @Resource |
| | | private IDictBizClient iDictBizClient; |
| | | |
| | | /** |
| | | * ä¸å±åç±»ç æ®µç屿§åç§° |
| | | */ |
| | | private static final String PARENT_FIELD_NAME = "parentclassifysecoid"; |
| | | |
| | | /** |
| | | * ä¸çº§åç±»ç å¼ç屿§åç§° |
| | | */ |
| | | private static final String PARENT_CLASSIFY_VALUE_FIELD_NAME = "parentClassifyValueOid"; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææçç æ®µåºç¡ä¿¡æ¯ |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean addSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(codeBasicSecDTO, "éè¦æ·»å çæ°æ®å¯¹è±¡",codeBasicSecDTO.getPkCodeRule(),"ç¼ç è§åç主é®"); |
| | | CodeRuleVO ruleVO = codeRuleService.getObjectByOid(codeBasicSecDTO.getPkCodeRule()); |
| | |
| | | } |
| | | } |
| | | boolean resBoolean = codeBasicSecMapper.insert(codeBasicSecDO) > 0; |
| | | SessionInfo sessionInfo = VciBaseUtil.getCurrentUserSessionInfo(); |
| | | /*if(StringUtils.isNotBlank(codeBasicSecDO.getCodeFillSeparator())){ |
| | | charService.save(MdmBtmTypeConstant.CODE_BASIC_SEC,"codefileseparator",codeBasicSecDO.getCodeFillSeparator(),sessionInfo); |
| | | }*/ |
| | | //SessionInfo sessionInfo = VciBaseUtil.getCurrentUserSessionInfo(); |
| | | if(StringUtils.isNotBlank(codeBasicSecDO.getCodeFillSeparator())){ |
| | | DictBizM dictBiz = new DictBizM(); |
| | | dictBiz.setCode(MdmBtmTypeConstant.CODE_BASIC_SEC); |
| | | dictBiz.setDictKey("codefileseparator"); |
| | | dictBiz.setDictValue(codeBasicSecDO.getCodeFillSeparator()); |
| | | //ä»åæ¥çcharServiceï¼å¯è¾å¯éï¼æ´æ¹ä¸ºè°ç¨omdä¸çæ¥å£æ¥å®ç° |
| | | iDictBizClient.getCheck(dictBiz); |
| | | //charService.save(MdmBtmTypeConstant.CODE_BASIC_SEC,"codefileseparator",codeBasicSecDO.getCodeFillSeparator(),sessionInfo); |
| | | } |
| | | return resBoolean; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ç 段åºç¡ä¿¡æ¯ |
| | | * |
| | | * @param codeBasicSecDTO ç æ®µåºç¡ä¿¡æ¯æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean editSave(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(codeBasicSecDTO, "éè¦æ·»å çæ°æ®å¯¹è±¡"); |
| | | KeyValue attrKv = checkAttrNullableBySecType(codeBasicSecDTO); |
| | | if (! "success".equals(attrKv.getKey())){ |
| | | throw new VciBaseException(attrKv.getValue() + "ä¸è½ä¸ºç©º"); |
| | | } |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeBasicSec codeBasicSecDO = selectByOid(codeBasicSecDTO.getOid()); |
| | | boolean status = codeRuleService.checkEditDelStatus(codeRuleService.getObjectByOid(codeBasicSecDO.getPkCodeRule()).getLcStatus()); |
| | | boolean resBoolean; |
| | | if (!status){ |
| | | //è¿åéè¯¯ä¿¡æ¯ |
| | | throw new VciBaseException("ç¼ç è§åä¸å
许ç¼è¾æå é¤ï¼"); |
| | | } else { |
| | | //è¡¥ä½çæ¶åï¼è¦æ§å¶è¡¥ä½å符 |
| | | if((OsCodeFillTypeEnum.LEFT.getValue().equalsIgnoreCase(codeBasicSecDO.getCodeFillType()) |
| | | || OsCodeFillTypeEnum.RIGHT.getValue().equalsIgnoreCase(codeBasicSecDO.getCodeFillType())) |
| | | && StringUtils.isBlank(codeBasicSecDO.getCodeFillSeparator())){ |
| | | throw new VciBaseException("å½è¡¥ä½æ¹å¼ä¸ºå·¦è¡¥ä½æè
å³è¡¥ä½çæ¶åï¼è¡¥ä½å符ä¸è½ä¸ºç©º"); |
| | | } |
| | | //å¼ç¨ç æ®µçæ¶åï¼éè¦å¤æåç
§çä¿¡æ¯æ¯å¦æ£ç¡® |
| | | if(CodeSecTypeEnum.CODE_REFER_SEC.getValue().equalsIgnoreCase(codeBasicSecDO.getSecType())){ |
| | | if(StringUtils.isBlank(codeBasicSecDO.getReferConfig())){ |
| | | throw new VciBaseException("å¼ç¨ç æ®µçæ¶åï¼éè¦å¡«å åç
§é
ç½® çå
容"); |
| | | } |
| | | try{ |
| | | JSONObject.parseObject(codeBasicSecDO.getReferConfig(), UIFormReferVO.class); |
| | | }catch (Throwable e){ |
| | | throw new VciBaseException("å¼ç¨ç æ®µçæ¶åï¼åç
§é
ç½®çå
å®¹çæ ¼å¼ä¸æ£ç¡®,",new String[0],e); |
| | | } |
| | | } |
| | | revisionModelUtil.copyFromDTOIgnore(codeBasicSecDTO, codeBasicSecDO); |
| | | resBoolean = codeBasicSecMapper.updateById(codeBasicSecDO)>0; |
| | | //SessionInfo sessionInfo = VciBaseUtil.getCurrentUserSessionInfo(); |
| | | if(StringUtils.isNotBlank(codeBasicSecDO.getCodeFillSeparator())){ |
| | | DictBizM dictBiz = new DictBizM(); |
| | | dictBiz.setCode(MdmBtmTypeConstant.CODE_BASIC_SEC); |
| | | dictBiz.setDictKey("codefileseparator"); |
| | | dictBiz.setDictValue(codeBasicSecDO.getCodeFillSeparator()); |
| | | //ä»åæ¥çcharServiceï¼å¯è¾å¯éï¼æ´æ¹ä¸ºè°ç¨omdä¸çæ¥å£æ¥å®ç° |
| | | iDictBizClient.getCheck(dictBiz); |
| | | //charService.save(MdmBtmTypeConstant.CODE_BASIC_SEC,"codefileseparator",codeBasicSecDO.getCodeFillSeparator(),sessionInfo); |
| | | } |
| | | } |
| | | return resBoolean; |
| | | } |
| | | |
| | |
| | | return attrMap; |
| | | } |
| | | |
| | | /** |
| | | * å é¤ç 段åºç¡ä¿¡æ¯ |
| | | * @param codeBasicSecDTO ç æ®µåºç¡ä¿¡æ¯æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public boolean deleteCodeBasicSec(CodeBasicSecDTO codeBasicSecDTO) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(codeBasicSecDTO, "ç æ®µåºç¡ä¿¡æ¯æ°æ®å¯¹è±¡", codeBasicSecDTO.getOid(), "ç æ®µåºç¡ä¿¡æ¯ç主é®"); |
| | | return this.codeBasicSecMapper.deleteById(codeBasicSecDTO.getOid())>0; |
| | | } |
| | | |
| | | /** |
| | | * 主é®è·åç æ®µåºç¡ä¿¡æ¯ |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeBasicSecVO getObjectByOid(String oid) throws VciBaseException { |
| | | return CodeBasicSecWrapper.build().entityVO(selectByOid(oid)); |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·åç æ®µåºç¡ä¿¡æ¯ |
| | | * |
| | | * @param oidCollections 主é®éåï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | @Override |
| | | public Collection<CodeBasicSecVO> listCodeBasicSecByOids(Collection<String> oidCollections) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(oidCollections, "æ°æ®å¯¹è±¡ä¸»é®éå"); |
| | | List<CodeBasicSec> codeBasicSecDOList = listCodeBasicSecDOByOidCollections(oidCollections); |
| | | return CodeBasicSecWrapper.build().listVO(codeBasicSecDOList); |
| | | } |
| | | |
| | | /** |
| | | * åç
§ç 段åºç¡ä¿¡æ¯å表 |
| | | * |
| | | * @param codeBasicSecVO æ¥è¯¢æ¡ä»¶ |
| | | * @param page å页åæåº |
| | | * @return ç æ®µåºç¡ä¿¡æ¯æ¾ç¤ºå¯¹è±¡å表ï¼çæçå
容 |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public IPage<CodeBasicSecVO> refDataGridCodeBasicSec(IPage<CodeBasicSecVO> page, CodeBasicSecVO codeBasicSecVO) throws VciBaseException { |
| | | return gridCodeBasicSec(page,codeBasicSecVO); |
| | | } |
| | | |
| | | /** |
| | | * åç
§åç±»çç æ®µ |
| | | * @param codeBasicSecVO æ¥è¯¢æ¡ä»¶ |
| | | * @param page å页ç对象 |
| | | * @return ç æ®µçå
容 |
| | | */ |
| | | @Override |
| | | public IPage<CodeBasicSecVO> refDataGridClassifySec(IPage<CodeBasicSecVO> page, CodeBasicSecVO codeBasicSecVO) throws VciBaseException { |
| | | if(Func.isEmpty(codeBasicSecVO.getPkCodeRule()) || Func.isBlank(codeBasicSecVO.getPkCodeRule())){ |
| | | return null; |
| | | } |
| | | codeBasicSecVO.setSectype(CodeSecTypeEnum.CODE_CLASSIFY_SEC.getValue()); |
| | | return refDataGridCodeBasicSec(page,codeBasicSecVO); |
| | | } |
| | | |
| | | /** |
| | | * å
éç æ®µä¿¡æ¯ |
| | | * |
| | | * @param oidList æºç 段信æ¯ä¸»é®éå |
| | | * @param pkCodeRule ç®æ ç¼ç è§å |
| | | * @return å
éç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R cloneCodeBasicSec(List<String> oidList, String pkCodeRule) { |
| | | boolean isLinked = checkIsLinked(pkCodeRule,null); |
| | | if (isLinked) { |
| | | return R.fail("ç¼ç è§å已被å¼ç¨ï¼ä¸å
许ç¼è¾æå é¤"); |
| | | } |
| | | List<CodeBasicSec> createList = new ArrayList<>(); |
| | | List<CodeBasicSec> basicSecDOS = codeBasicSecMapper.selectBatchIds(oidList); |
| | | basicSecDOS.forEach(sec -> { |
| | | CodeBasicSec newSecDO = new CodeBasicSec(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(sec,newSecDO); |
| | | newSecDO.setOid(""); |
| | | newSecDO.setNameOid(""); |
| | | newSecDO.setRevisionOid(""); |
| | | newSecDO.setId(newSecDO.getId() + "_copy"); |
| | | newSecDO.setName(newSecDO.getName() + "_copy"); |
| | | newSecDO.setPkCodeRule(pkCodeRule); |
| | | createList.add(newSecDO); |
| | | }); |
| | | boolean b = saveBatch(createList); |
| | | //codeBasicSecMapper.insertBatch(createList); |
| | | return R.data(b,"å
éç æ®µä¿¡æ¯æå"); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ç®æ åç±»ç æ®µæå¨çæ ç»æ |
| | | * |
| | | * @param oid ç®æ åç±»ç æ®µä¸»é® |
| | | * @return åç±»ç æ®µæ ç»æ |
| | | */ |
| | | /*@Override |
| | | public List<Tree> gridCodeClassifySecTree(String oid) { |
| | | VciParentQueryOption queryOption = new VciParentQueryOption(PARENT_FIELD_NAME); |
| | | queryOption.setfOid(oid); |
| | | queryOption.setLinkTypeFlag(false); |
| | | queryOption.setHasSelf(true); |
| | | VciQueryWrapperForDO wrapper = new VciQueryWrapperForDO(CodeBasicSec.class); |
| | | wrapper.childQueryParent(queryOption); |
| | | List<CodeBasicSec> doList = codeBasicSecMapper.selectByWrapper(wrapper); |
| | | List<String> secOid = new ArrayList<>(); |
| | | doList.forEach(o -> secOid.add(o.getOid())); |
| | | List<CodeClassifyValueVO> valueVOs = (List<CodeClassifyValueVO>) codeClassifyValueService.listCodeClassifyValueByOids(secOid); |
| | | TreeQueryObject treeQueryObject = new TreeQueryObject(); |
| | | treeQueryObject.setMultipleSelect(false); |
| | | treeQueryObject.setShowCheckBox(false); |
| | | treeQueryObject.setQueryAllLevel(false); |
| | | treeQueryObject.setValueField("oid"); |
| | | treeQueryObject.setTextField("name"); |
| | | treeQueryObject.setQueryAllRev(false); |
| | | TreeWrapperOptions treeWrapperOptions = new TreeWrapperOptions(PARENT_CLASSIFY_VALUE_FIELD_NAME); |
| | | treeWrapperOptions.copyFromTreeQuery(treeQueryObject); |
| | | return revisionModelUtil.doList2Trees(valueVOs,treeWrapperOptions,(CodeClassifyValueVO s) ->{ |
| | | //å¯ä»¥å¨è¿éå¤çæ èç¹çæ¾ç¤º |
| | | return s.getId() + " " + s.getName() + (FrameworkDataLCStatus.DISABLED.getValue().equalsIgnoreCase(s |
| | | .getLcStatus()) ? (" ãåç¨ã ") : ""); |
| | | }); |
| | | }*/ |
| | | |
| | | /** |
| | | * ä¸ç§» |
| | | * |
| | | * @param oid ä¸»é® |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean upOrderNum(String oid) { |
| | | CodeBasicSec secDO = selectByOid(oid); |
| | | boolean resUpBoolean = false; |
| | | boolean resDownBoolean = false; |
| | | if(secDO.getOrderNum() >1){ |
| | | //çäº1çæ¶åä¸è½ä¸ç§»äº |
| | | //æ¾æ¯èªå·±å°ç |
| | | List<CodeBasicSec> lastSecDOs = codeBasicSecMapper.selectList(Wrappers.<CodeBasicSec>query() |
| | | .lambda().eq(CodeBasicSec::getPkCodeRule,secDO.getPkCodeRule()) |
| | | .eq(CodeBasicSec::getOrderNum,String.valueOf(secDO.getOrderNum()-1)) |
| | | ); |
| | | if(!CollectionUtils.isEmpty(lastSecDOs)){ |
| | | CodeBasicSec lastSec = lastSecDOs.get(0); |
| | | resDownBoolean = codeBasicSecMapper.update(null, Wrappers.<CodeBasicSec>update() |
| | | .lambda().set(CodeBasicSec::getOrderNum, lastSec.getOrderNum() + 1) |
| | | .eq(CodeBasicSec::getOid, lastSec.getOid()) |
| | | ) > 0; |
| | | } |
| | | secDO.setOrderNum(secDO.getOrderNum()-1); |
| | | resUpBoolean = codeBasicSecMapper.update(null, Wrappers.<CodeBasicSec>update() |
| | | .lambda().set(CodeBasicSec::getOrderNum, secDO.getOrderNum() - 1) |
| | | .eq(CodeBasicSec::getOid, secDO.getOid()) |
| | | ) > 0; |
| | | } |
| | | return resDownBoolean && resUpBoolean; |
| | | } |
| | | |
| | | /** |
| | | * ä¸ç§» |
| | | * |
| | | * @param oid ä¸»é® |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean downOrderNum(String oid) { |
| | | CodeBasicSec secDO = selectByOid(oid); |
| | | boolean resUpBoolean = false; |
| | | boolean resDownBoolean = false; |
| | | Long total = codeBasicSecMapper.selectCount(Wrappers.<CodeBasicSec>query() |
| | | .lambda().eq(CodeBasicSec::getPkCodeRule,secDO.getPkCodeRule()) |
| | | ); |
| | | if(secDO.getOrderNum() < total){ |
| | | //å°äºæ»æ°çæ¶åæä¸ç§» |
| | | List<CodeBasicSec> lastSecDOs = codeBasicSecMapper.selectList(Wrappers.<CodeBasicSec>query() |
| | | .lambda().eq(CodeBasicSec::getOrderNum,String.valueOf(secDO.getOrderNum()+1)) |
| | | ); |
| | | if(!CollectionUtils.isEmpty(lastSecDOs)){ |
| | | CodeBasicSec lastSec = lastSecDOs.get(0); |
| | | resUpBoolean = codeBasicSecMapper.update(null, Wrappers.<CodeBasicSec>update() |
| | | .lambda().set(CodeBasicSec::getOrderNum, lastSec.getOrderNum() - 1) |
| | | .eq(CodeBasicSec::getOid, lastSec.getOid()) |
| | | ) > 0; |
| | | } |
| | | resDownBoolean = codeBasicSecMapper.update(null, Wrappers.<CodeBasicSec>update() |
| | | .lambda().set(CodeBasicSec::getOrderNum, secDO.getOrderNum() + 1) |
| | | .eq(CodeBasicSec::getOid, secDO.getOid()) |
| | | ) > 0; |
| | | } |
| | | return resDownBoolean && resUpBoolean; |
| | | } |
| | | |
| | | /** |
| | | * æ å½¢ç»ææ¥è¯¢oid |
| | | * @param codeClassifySecOid |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<String> getOidByCodeclassifysecOid(String codeClassifySecOid) { |
| | | return codeBasicSecMapper.getOidByCodeclassifysecOid(codeClassifySecOid.trim()); |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦è¢«å¼ç¨ |
| | | * |
| | | * @param codeRuleOid ç¼ç è§åä¸»é® |
| | | * @param codeBasicSecOid ç¼ç åºç¡ä¿¡æ¯ä¸»é® |
| | | * @return true表示已被å¼ç¨ï¼false表示æªè¢«å¼ç¨ |
| | | * @throws VciBaseException 被å¼ç¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private boolean checkIsLinked(String codeRuleOid, String codeBasicSecOid) throws VciBaseException { |
| | | boolean flag = true; |
| | | if (StringUtils.isNotBlank(codeRuleOid)) { |
| | | boolean status = codeRuleService.checkEditDelStatus(codeRuleService.getObjectByOid(codeRuleOid).getLcStatus()); |
| | | if (!status){ |
| | | return true; |
| | | } |
| | | boolean alreadyInUse = codeRuleService.isAlreadyInUse(codeRuleOid); |
| | | if (!alreadyInUse){ |
| | | flag = false; |
| | | } |
| | | } else { |
| | | boolean status = codeRuleService.checkEditDelStatus(codeRuleService.getObjectByOid(codeBasicSecMapper.selectById(codeBasicSecOid).getPkCodeRule()).getLcStatus()); |
| | | if (!status){ |
| | | return true; |
| | | } |
| | | boolean alreadyInUse = codeRuleService.isAlreadyInUse(codeBasicSecMapper.selectById(codeBasicSecOid).getPkCodeRule()); |
| | | if (!alreadyInUse){ |
| | | flag = false; |
| | | } |
| | | } |
| | | return flag; |
| | | } |
| | | |
| | | /** |
| | | * 使ç¨ä¸»é®éåæ¥è¯¢æ°æ®å¯¹è±¡ |
| | | * |
| | | * @param oidCollections 主é®çéå |
| | | * @return æ°æ®å¯¹è±¡å表 |
| | | */ |
| | | private List<CodeBasicSec> listCodeBasicSecDOByOidCollections(Collection<String> oidCollections) { |
| | | List<CodeBasicSec> codeBasicSecDOList = new ArrayList<>(); |
| | | if (!CollectionUtils.isEmpty(oidCollections)) { |
| | | Collection<Collection<String>> oidCollectionsList = VciBaseUtil.switchCollectionForOracleIn(oidCollections); |
| | | for (Collection<String> oids : oidCollectionsList) { |
| | | List<CodeBasicSec> tempDOList = codeBasicSecMapper.selectBatchIds(oids); |
| | | if (!CollectionUtils.isEmpty(tempDOList)) { |
| | | codeBasicSecDOList.addAll(tempDOList); |
| | | } |
| | | } |
| | | } |
| | | return codeBasicSecDOList; |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢æ°æ®å¯¹è±¡ |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return æ°æ®å¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¹¶ä¸æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private CodeBasicSec selectByOid(String oid) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(oid, "主é®"); |
| | | CodeBasicSec codeBasicSecDO = codeBasicSecMapper.selectById(oid.trim()); |
| | | if (codeBasicSecDO == null || StringUtils.isBlank(codeBasicSecDO.getOid())) { |
| | | throw new VciBaseException(DATA_OID_NOT_EXIST); |
| | | } |
| | | return codeBasicSecDO; |
| | | } |
| | | |
| | | } |
| | |
| | | import com.vci.ubcs.com.vci.starter.web.util.BeanUtilForVCI; |
| | | import com.vci.ubcs.com.vci.starter.web.util.LangBaseUtil; |
| | | import com.vci.ubcs.com.vci.starter.web.util.VciBaseUtil; |
| | | import com.vci.ubcs.core.log.exception.ServiceException; |
| | | import org.apache.poi.hssf.util.HSSFColor; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | 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.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.code.bo.TreeWrapperOptions; |
| | | import com.vci.ubcs.code.dto.CodeClassifyValueDTO; |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | | import com.vci.ubcs.code.enumpack.FrameworkDataLCStatus; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyValueMapper; |
| | | import com.vci.ubcs.code.service.ICodeBasicSecService; |
| | | import com.vci.ubcs.code.service.ICodeClassifyValueService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyValueVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.TreeQueryObject; |
| | | import com.vci.ubcs.code.wrapper.CodeClassifyValueWrapper; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.revision.service.RevisionModelUtil; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.Tree; |
| | | import com.vci.ubcs.com.vci.starter.web.util.BeanUtilForVCI; |
| | | import com.vci.ubcs.com.vci.starter.web.util.VciBaseUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import static com.vci.ubcs.code.constant.FrameWorkDefaultValueConstant.LC_STATUS; |
| | | import static com.vci.ubcs.code.constant.FrameWorkLangCodeConstant.DATA_CASCADE_LINKED_NOT_DELETE; |
| | | import static com.vci.ubcs.code.constant.FrameWorkLangCodeConstant.DATA_OID_NOT_EXIST; |
| | | |
| | | @Service |
| | | public class CodeClassifyValueServiceImpl extends ServiceImpl<CodeClassifyValueMapper, CodeClassifyValue> implements ICodeClassifyValueService { |
| | | |
| | | @Resource |
| | | private RevisionModelUtil revisionModelUtil; |
| | | |
| | | @Resource |
| | | private CodeClassifyValueMapper codeClassifyValueMapper; |
| | | |
| | | @Resource |
| | | @Lazy |
| | | private ICodeBasicSecService codeBasicSecService; |
| | | |
| | | /** |
| | | * ä¸çº§èç¹ç屿§åç§° |
| | | */ |
| | | private static final String PARENT_FIELD_NAME = "parentClassifyValueOid"; |
| | | |
| | | /** |
| | | * æ¥è¯¢åç±»ç æ®µçç å¼ æ |
| | | * @param treeQueryObject æ æ¥è¯¢å¯¹è±¡ |
| | | * @return åç±»ç æ®µçç å¼ æ¾ç¤ºæ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶ä¸ç¬¦åè¦æ±çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<Tree> treeCodeClassifyValue(TreeQueryObject treeQueryObject) throws VciBaseException { |
| | | // List<CodeClassifyValueDO> doList =selectCodeClassifyValueDOByTree(treeQueryObject); |
| | | List<CodeClassifyValue> doList =selectCodeClassifyValueDO4Tree(treeQueryObject); |
| | | List<CodeClassifyValueVO> voList = CodeClassifyValueWrapper.build().listVO(doList); |
| | | TreeWrapperOptions treeWrapperOptions = new TreeWrapperOptions(PARENT_FIELD_NAME); |
| | | treeWrapperOptions.copyFromTreeQuery(treeQueryObject); |
| | | return revisionModelUtil.doList2Trees(voList,treeWrapperOptions,(CodeClassifyValueVO s) ->{ |
| | | //å¯ä»¥å¨è¿éå¤çæ èç¹çæ¾ç¤º |
| | | return s.getId() + " " + s.getName() + (FrameworkDataLCStatus.DISABLED.getValue().equalsIgnoreCase(s |
| | | .getLcStatus()) ? (" ãåç¨ã ") : ""); |
| | | }); |
| | | } |
| | | |
| | | /** |
| | | * å¢å åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public boolean addSave(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyValueDTO,"éè¦æ·»å çæ°æ®å¯¹è±¡"); |
| | | //æ·»å 对ç å¼åç¶çº§ç夿 |
| | | if(StringUtils.isNotBlank(codeClassifyValueDTO.getParentclassifyvalueoid())){ |
| | | String parentclassifyvalueoid = codeClassifyValueDTO.getParentclassifyvalueoid(); |
| | | String codeclassifysecoid = codeClassifyValueDTO.getCodeclassifysecoid(); |
| | | CodeClassifyValue parentDO = codeClassifyValueMapper.selectById(parentclassifyvalueoid); |
| | | if (parentDO.getCodeClassifySecOid().equalsIgnoreCase(codeclassifysecoid)){ |
| | | throw new VciBaseException("ä¸å
许å¨ç¶ç å¼ä¸ç´æ¥æ·»å åç å¼"); |
| | | } |
| | | } |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyValue codeClassifyValueDO = new CodeClassifyValue(); |
| | | BeanUtilForVCI.copyPropertiesIgnoreCase(codeClassifyValueDTO,codeClassifyValueDO); |
| | | //æ¥è¯¢ |
| | | List<CodeClassifyValue> existList = codeClassifyValueMapper.selectList(Wrappers.<CodeClassifyValue>query() |
| | | .lambda().eq(CodeClassifyValue::getCodeClassifySecOid, codeClassifyValueDO.getCodeClassifySecOid()) |
| | | .eq(CodeClassifyValue::getParentClassifyValueOid, codeClassifyValueDO.getParentClassifyValueOid()) |
| | | ); |
| | | codeClassifyValueDO.setOrderNum(existList.size() + 1); |
| | | boolean resBoolean = codeClassifyValueMapper.insert(codeClassifyValueDO) > 0; |
| | | return resBoolean; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public boolean editSave(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyValueDTO,"æ°æ®å¯¹è±¡",codeClassifyValueDTO.getOid(),"åç±»ç æ®µçç å¼ä¸»é®"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeClassifyValue codeClassifyValueDO = selectByOid(codeClassifyValueDTO.getOid()); |
| | | revisionModelUtil.copyFromDTOIgnore(codeClassifyValueDTO,codeClassifyValueDO); |
| | | boolean resBoolean = codeClassifyValueMapper.updateById(codeClassifyValueDO) > 0; |
| | | return resBoolean; |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥ åç±»ç æ®µçç 弿¯å¦å é¤ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts屿§ |
| | | * @return æ§è¡ç»æ success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public R checkIsCanDelete(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyValueDTO,"æ°æ®ä¼ è¾å¯¹è±¡",codeClassifyValueDTO.getOid(),"主é®"); |
| | | CodeClassifyValue codeClassifyValueDO = selectByOid(codeClassifyValueDTO.getOid()); |
| | | return checkIsCanDeleteForDO(codeClassifyValueDTO,codeClassifyValueDO); |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦å¯ä»¥å é¤ï¼å¦æåå¨ä¸çº§ï¼å¹¶ä¸ä¸çº§ææ°æ®å¼ç¨åä¸è½å é¤ |
| | | * @param codeClassifyValueDTO æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @param codeClassifyValueDO æ°æ®åºä¸çæ°æ®å¯¹è±¡ |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeClassifyValueDTO codeClassifyValueDTO, CodeClassifyValue codeClassifyValueDO) { |
| | | //boService.checkTs(codeClassifyValueDTO); |
| | | //æ ¡éªä¸çº§æ¯å¦æå¼ç¨ |
| | | if(checkChildIsLinked(codeClassifyValueDO.getOid())){ |
| | | return R.fail(DATA_CASCADE_LINKED_NOT_DELETE); |
| | | } |
| | | return R.status(checkHasChild(codeClassifyValueDO.getOid())); |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥æ¯å¦æä¸çº§æ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true 表示æå¼ç¨ï¼false表示没æå¼ç¨ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºåæå¼ç¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public boolean checkChildIsLinked(String oid) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | List<String> childOids = codeClassifyValueMapper.selectAllLevelChildOid(oid.trim()); |
| | | if(!CollectionUtils.isEmpty(childOids)){ |
| | | for(String childOid: childOids){ |
| | | if(!checkIsLinked(childOid)){ |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦æä¸çº§èç¹ï¼ä¸æ ¡éªæ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true表示æä¸çº§ï¼false表示没æä¸çº§ |
| | | * @throws VciBaseException åæ°éè¯¯ï¼æè
æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public boolean checkHasChild(String oid) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | return codeClassifyValueMapper.countAllLevelChildOid(oid.trim()) > 0; |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦è¢«å¼ç¨ |
| | | * @param oid ä¸»é® |
| | | * @throws VciBaseException 被å¼ç¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private boolean checkIsLinked(String oid) throws VciBaseException{ |
| | | //TODO æ·»å éè¦æ ¡éªå¼ç¨çå°æ¹ |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * å é¤åç±»ç æ®µçç å¼ |
| | | * @param codeClassifyValueDTO åç±»ç æ®µçç 弿°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼è¢«å¼ç¨æ¶æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R deleteCodeClassifyValue(CodeClassifyValueDTO codeClassifyValueDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeClassifyValueDTO,"åç±»ç æ®µçç 弿°æ®å¯¹è±¡",codeClassifyValueDTO.getOid(),"åç±»ç æ®µçç å¼ç主é®"); |
| | | CodeClassifyValue codeClassifyValueDO = selectByOid(codeClassifyValueDTO.getOid()); |
| | | R baseResult = checkIsCanDeleteForDO(codeClassifyValueDTO,codeClassifyValueDO); |
| | | if(baseResult.isSuccess()) { |
| | | //æ¾ä¸çº§çï¼è¿ä¸ªæ¯å¯ä»¥å é¤çæ¶åR |
| | | List<String> childrenOids = codeClassifyValueMapper.selectAllLevelChildOid(codeClassifyValueDO.getOid().trim()); |
| | | if (!CollectionUtils.isEmpty(childrenOids)) { |
| | | Collection<Collection<String>> childrenCollections = VciBaseUtil.switchCollectionForOracleIn(childrenOids); |
| | | for(Collection<String> s : childrenCollections){ |
| | | codeClassifyValueMapper.delete(Wrappers.<CodeClassifyValue>query().lambda().eq(CodeClassifyValue::getOid,s)); |
| | | } |
| | | } |
| | | }else{ |
| | | return baseResult; |
| | | } |
| | | //æ§è¡å é¤æä½ |
| | | boolean resBoolean = codeClassifyValueMapper.deleteById(codeClassifyValueDO.getOid()) > 0; |
| | | return R.status(resBoolean); |
| | | } |
| | | |
| | | /** |
| | | * 主é®è·ååç±»ç æ®µçç å¼ |
| | | * @param oid ä¸»é® |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼æ°æ®ä¸å卿¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public CodeClassifyValueVO getObjectByOid(String oid) throws VciBaseException{ |
| | | return CodeClassifyValueWrapper.build().entityVO(selectByOid(oid)); |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·ååç±»ç æ®µçç å¼ |
| | | * @param oidCollections 主é®éåï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºå¯¹è±¡ |
| | | * @throws VciBaseException æ¥è¯¢åºç°å¼å¸¸æ¶ä¼æåº |
| | | */ |
| | | @Override |
| | | public Collection<CodeClassifyValueVO> listCodeClassifyValueByOids(Collection<String> oidCollections) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oidCollections,"æ°æ®å¯¹è±¡ä¸»é®éå"); |
| | | List<CodeClassifyValue> codeClassifyValueDOList = listCodeClassifyValueDOByOidCollections(oidCollections); |
| | | return CodeClassifyValueWrapper.build().listVO(codeClassifyValueDOList); |
| | | } |
| | | |
| | | /** |
| | | * åç
§æ åç±»ç æ®µçç å¼ |
| | | * @param treeQueryObject æ å½¢æ¥è¯¢å¯¹è±¡ |
| | | * @return åç±»ç æ®µçç 弿¾ç¤ºæ |
| | | * @throws VciBaseException æ¥è¯¢æ¡ä»¶åå页åºéçæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public List<Tree> referTree(TreeQueryObject treeQueryObject) throws VciBaseException{ |
| | | if(treeQueryObject == null){ |
| | | treeQueryObject = new TreeQueryObject(); |
| | | } |
| | | if(treeQueryObject.getConditionMap() == null){ |
| | | treeQueryObject.setConditionMap(new HashMap<>()); |
| | | } |
| | | if(treeQueryObject.getConditionMap().containsKey(LC_STATUS)) { |
| | | treeQueryObject.getConditionMap().remove(LC_STATUS); |
| | | } |
| | | return treeCodeClassifyValue(treeQueryObject); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éæ·»å åç±»ç æ®µçç å¼ãä¸»è¦æ¯ä¿åç å¼çåºå· |
| | | * @param dtoList åç±»ç æ®µçç å¼å表 |
| | | * @param codeclassifysecoid åç±»ç æ®µçä¸»é® |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R batchSave4Order(List<CodeClassifyValueDTO> dtoList, String codeclassifysecoid) { |
| | | VciBaseUtil.alertNotNull(codeclassifysecoid,"åç±»ç æ®µä¸»é®"); |
| | | List<CodeClassifyValue> valueDOList = codeClassifyValueMapper.selectList(Wrappers.<CodeClassifyValue>query() |
| | | .lambda().eq(CodeClassifyValue::getCodeClassifySecOid,codeclassifysecoid) |
| | | ); |
| | | |
| | | List<CodeClassifyValue> updateList = new ArrayList<>(); |
| | | dtoList.forEach(dto -> { |
| | | if( StringUtils.isNotBlank( dto.getOid() )){ |
| | | List<CodeClassifyValue> collect = valueDOList.stream().filter(value -> { |
| | | return dto.getOid().equals(value.getOid()); |
| | | }).collect(Collectors.toList()); |
| | | collect.forEach(ccv -> { |
| | | ccv.setOrderNum(dto.getOrdernum()); |
| | | ccv.setId(dto.getId()); |
| | | ccv.setName(dto.getName()); |
| | | updateList.add(ccv); |
| | | }); |
| | | } |
| | | }); |
| | | boolean resBoolean = this.updateBatchById(updateList); |
| | | return R.status(resBoolean); |
| | | } |
| | | |
| | | /** |
| | | * 使ç¨ä¸»é®éåæ¥è¯¢æ°æ®å¯¹è±¡ |
| | | * @param oidCollections 主é®çéå |
| | | * @return æ°æ®å¯¹è±¡å表 |
| | | */ |
| | | private List<CodeClassifyValue> listCodeClassifyValueDOByOidCollections(Collection<String> oidCollections){ |
| | | List<CodeClassifyValue> codeClassifyValueDOList = new ArrayList<CodeClassifyValue>(); |
| | | if(!CollectionUtils.isEmpty(oidCollections)){ |
| | | Collection<Collection<String>> oidCollectionsList = VciBaseUtil.switchCollectionForOracleIn(oidCollections); |
| | | for(Collection<String> oids: oidCollectionsList){ |
| | | List<CodeClassifyValue> tempDOList = codeClassifyValueMapper.selectBatchIds(oids); |
| | | if(!CollectionUtils.isEmpty(tempDOList)){ |
| | | codeClassifyValueDOList.addAll(tempDOList); |
| | | } |
| | | } |
| | | } |
| | | return codeClassifyValueDOList; |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢æ°æ®å¯¹è±¡ |
| | | * @param oid ä¸»é® |
| | | * @return æ°æ®å¯¹è±¡ |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¹¶ä¸æ°æ®ä¸åå¨çæ¶å伿åºå¼å¸¸ |
| | | */ |
| | | private CodeClassifyValue selectByOid(String oid) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(oid,"主é®"); |
| | | CodeClassifyValue codeClassifyValueDO = codeClassifyValueMapper.selectById(oid.trim()); |
| | | if(codeClassifyValueDO == null || StringUtils.isBlank(codeClassifyValueDO.getOid())){ |
| | | throw new VciBaseException(DATA_OID_NOT_EXIST); |
| | | } |
| | | return codeClassifyValueDO; |
| | | } |
| | | |
| | | private List<CodeClassifyValue> selectCodeClassifyValueDO4Tree(TreeQueryObject treeQueryObject){ |
| | | Map<String, String> conditionMap = treeQueryObject.getConditionMap(); |
| | | List<String> oids = codeBasicSecService.getOidByCodeclassifysecOid(conditionMap.get("codeclassifysecoid")); |
| | | LambdaQueryWrapper<CodeClassifyValue> wrapper = Wrappers.<CodeClassifyValue>query() |
| | | .lambda().in(CodeClassifyValue::getCodeClassifySecOid,oids) |
| | | .orderByDesc(CodeClassifyValue::getOrderNum); |
| | | return codeClassifyValueMapper.selectList(wrapper); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeOsattributeEntity; |
| | | import com.vci.ubcs.code.service.ICodeOsattributeService; |
| | | import com.vci.ubcs.code.vo.CodeOsattributeVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.Map; |
| | | import java.util.function.Function; |
| | | |
| | | @Service |
| | | public class CodeOsattributeServiceImpl implements ICodeOsattributeService { |
| | | @Override |
| | | public IPage<CodeOsattributeVO> selectCodeOsattributePage(IPage<CodeOsattributeVO> page, CodeOsattributeVO CodeOsattribute) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveBatch(Collection<CodeOsattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveOrUpdateBatch(Collection<CodeOsattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateBatchById(Collection<CodeOsattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveOrUpdate(CodeOsattributeEntity entity) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public CodeOsattributeEntity getOne(Wrapper<CodeOsattributeEntity> queryWrapper, boolean throwEx) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> getMap(Wrapper<CodeOsattributeEntity> queryWrapper) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public <V> V getObj(Wrapper<CodeOsattributeEntity> queryWrapper, Function<? super Object, V> mapper) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public BaseMapper<CodeOsattributeEntity> getBaseMapper() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public Class<CodeOsattributeEntity> getEntityClass() { |
| | | return null; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeOsbtmtypeattributeEntity; |
| | | import com.vci.ubcs.code.service.ICodeOsbtmtypeattributeService; |
| | | import com.vci.ubcs.code.vo.CodeOsbtmtypeattributeVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.Map; |
| | | import java.util.function.Function; |
| | | @Service |
| | | public class CodeOsbtmtypeattributeServiceImpl implements ICodeOsbtmtypeattributeService { |
| | | @Override |
| | | public IPage<CodeOsbtmtypeattributeVO> selectCodeOsbtmtypeattributePage(IPage<CodeOsbtmtypeattributeVO> page, CodeOsbtmtypeattributeVO CodeOsbtmtypeattribute) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveBatch(Collection<CodeOsbtmtypeattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveOrUpdateBatch(Collection<CodeOsbtmtypeattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateBatchById(Collection<CodeOsbtmtypeattributeEntity> entityList, int batchSize) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean saveOrUpdate(CodeOsbtmtypeattributeEntity entity) { |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public CodeOsbtmtypeattributeEntity getOne(Wrapper<CodeOsbtmtypeattributeEntity> queryWrapper, boolean throwEx) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> getMap(Wrapper<CodeOsbtmtypeattributeEntity> queryWrapper) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public <V> V getObj(Wrapper<CodeOsbtmtypeattributeEntity> queryWrapper, Function<? super Object, V> mapper) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public BaseMapper<CodeOsbtmtypeattributeEntity> getBaseMapper() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public Class<CodeOsbtmtypeattributeEntity> getEntityClass() { |
| | | return null; |
| | | } |
| | | } |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public Boolean addSave(CodeRuleDTO codeRuleDTO) throws VciBaseException{ |
| | | public boolean addSave(CodeRuleDTO codeRuleDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeRuleDTO, "éè¦æ·»å çæ°æ®å¯¹è±¡"); |
| | | //å°DTO转æ¢ä¸ºDO |
| | | CodeRule codeRule = Objects.requireNonNull(BeanUtil.copy(codeRuleDTO, CodeRule.class)); |
| | |
| | | * @throws VciBaseException åæ°ä¸ºç©ºï¼å¯ä¸é¡¹ï¼å¿
è¾é¡¹ä¸éè¿æ¶ä¼æåºå¼å¸¸ |
| | | */ |
| | | @Override |
| | | public Boolean editSave(CodeRuleDTO codeRuleDTO) throws VciBaseException{ |
| | | public boolean editSave(CodeRuleDTO codeRuleDTO) throws VciBaseException{ |
| | | VciBaseUtil.alertNotNull(codeRuleDTO, "æ°æ®å¯¹è±¡", codeRuleDTO.getOid(), "ä¸»æ°æ®ç¼ç è§å主é®"); |
| | | if (!checkEditDelStatus(codeRuleDTO.getLcStatus())) { |
| | | throw new VciBaseException("ç¼ç è§åå·²åå¸ï¼ä¸å
许ç¼è¾æå é¤"); |
| | |
| | | */ |
| | | |
| | | import com.vci.ubcs.code.entity.CodeBasicSec; |
| | | import com.vci.ubcs.code.enumpack.CodeSecTypeEnum; |
| | | import com.vci.ubcs.code.lifecycle.CodeRuleLC; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeBasicSecVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | |
| | | @Override |
| | | public CodeBasicSecVO entityVO(CodeBasicSec codeBasicSec) { |
| | | CodeBasicSecVO codeBasicSecVO = Objects.requireNonNull(BeanUtil.copy(codeBasicSec, CodeBasicSecVO.class)); |
| | | |
| | | codeBasicSecVO.setLcStatusText(CodeRuleLC.getTextByValue(codeBasicSec.getLcStatus())); |
| | | codeBasicSecVO.setSectypeText(CodeSecTypeEnum.getTextByValue(codeBasicSec.getSecType())); |
| | | //User createUser = UserCache.getUser(CodeAllCode.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(CodeAllCode.getUpdateUser()); |
| | | //CodeAllCodeVO.setCreateUserName(createUser.getName()); |
| | | //CodeAllCodeVO.setUpdateUserName(updateUser.getName()); |
| | | |
| | | return codeBasicSecVO; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | |
| | | import com.vci.ubcs.code.entity.CodeClassifyValue; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyValueVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * å
¨é¨ç å¼ å
è£
ç±»,è¿åè§å¾å±æéçåæ®µ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-04-03 |
| | | */ |
| | | public class CodeClassifyValueWrapper extends BaseEntityWrapper<CodeClassifyValue, CodeClassifyValueVO> { |
| | | |
| | | public static CodeClassifyValueWrapper build() { |
| | | return new CodeClassifyValueWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeClassifyValueVO entityVO(CodeClassifyValue codeClassifyValue) { |
| | | CodeClassifyValueVO codeClassifyValueVO = Objects.requireNonNull(BeanUtil.copy(codeClassifyValue, CodeClassifyValueVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(CodeAllCode.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(CodeAllCode.getUpdateUser()); |
| | | |
| | | return codeClassifyValueVO; |
| | | } |
| | | |
| | | @Override |
| | | public List<CodeClassifyValueVO> listVO(List<CodeClassifyValue> list) { |
| | | return (List)list.stream().map(this::entityVO).collect(Collectors.toList()); |
| | | } |
| | | |
| | | } |
| | |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeBasicSecMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="CodeRuleResultMap" type="com.vci.ubcs.code.entity.CodeRule"> |
| | | |
| | | |
| | | <resultMap type="com.vci.ubcs.code.entity.CodeBasicSec" id="CodeBasicsecMap"> |
| | | <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="lastModifier" column="LASTMODIFIER" jdbcType="VARCHAR"/> |
| | | <result property="lastModifyTime" column="LASTMODIFYTIME" jdbcType="VARCHAR"/> |
| | | <result property="revisionRule" column="REVISIONRULE" jdbcType="VARCHAR"/> |
| | | <result property="versionRule" column="VERSIONRULE" 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="id" column="ID" 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="secType" column="SECTYPE" jdbcType="VARCHAR"/> |
| | | <result property="pkCodeRule" column="PKCODERULE" jdbcType="VARCHAR"/> |
| | | <result property="orderNum" column="ORDERNUM" jdbcType="INTEGER"/> |
| | | <result property="getValueClass" column="GETVALUECLASS" jdbcType="VARCHAR"/> |
| | | <result property="codeDateFormatStr" column="CODEDATEFORMATSTR" jdbcType="VARCHAR"/> |
| | | <result property="codeSecLengthType" column="CODESECLENGTHTYPE" jdbcType="VARCHAR"/> |
| | | <result property="codeFillLength" column="CODESECLENGTH" jdbcType="VARCHAR"/> |
| | | <result property="codeLevelType" column="CODELEVELTYPE" jdbcType="VARCHAR"/> |
| | | <result property="codeLevelValue" column="CODELEVELVALUE" jdbcType="INTEGER"/> |
| | | <result property="valueCutLength" column="VALUECUTLENGTH" jdbcType="INTEGER"/> |
| | | <result property="valueCutType" column="VALUECUTTYPE" jdbcType="VARCHAR"/> |
| | | <result property="codeGetValueType" column="CODEGETVALUETYPE" jdbcType="VARCHAR"/> |
| | | <result property="referCodeClassifyOid" column="REFERCODECLASSIFYOID" jdbcType="VARCHAR"/> |
| | | <result property="referConfig" column="REFERCONFIG" jdbcType="VARCHAR"/> |
| | | <result property="referValueInfo" column="REFERVALUEINFO" jdbcType="VARCHAR"/> |
| | | <result property="filterSql" column="FILTERSQL" jdbcType="VARCHAR"/> |
| | | <result property="serialStart" column="SERIALSTART" jdbcType="VARCHAR"/> |
| | | <result property="serialStep" column="SERIALSTEP" jdbcType="INTEGER"/> |
| | | <result property="codeFillType" column="CODEFILLTYPE" jdbcType="VARCHAR"/> |
| | | <result property="codeFillTypeText" column="CODEFILLTYPETEXT" jdbcType="VARCHAR"/> |
| | | <result property="codeFillSeparator" column="CODEFILLSEPARATOR" jdbcType="VARCHAR"/> |
| | | <result property="codeFillLength" column="CODEFILLLENGTH" jdbcType="VARCHAR"/> |
| | | <result property="codeFillLimit" column="CODEFILLLIMIT" jdbcType="INTEGER"/> |
| | | <result property="codeFillFlag" column="CODEFILLFLAG" jdbcType="VARCHAR"/> |
| | | <result property="customCodeSerialClass" column="CUSTOMCODESERIALCLASS" jdbcType="VARCHAR"/> |
| | | <result property="matchClassifyValueFlag" column="MATCHCLASSIFYVALUEFLAG" jdbcType="VARCHAR"/> |
| | | <result property="parentClassifySecOid" column="PARENTCLASSIFYSECOID" jdbcType="VARCHAR"/> |
| | | <result property="nullableFlag" column="NULLABLEFLAG" jdbcType="VARCHAR"/> |
| | | <result property="componentCodeFlag" column="COMPONENTCODEFLAG" jdbcType="VARCHAR"/> |
| | | <result property="serialDependFlag" column="SERIALDEPENDFLAG" jdbcType="VARCHAR"/> |
| | | <result property="displayFlag" column="DISPLAYFLAG" jdbcType="VARCHAR"/> |
| | | <result property="serialDependOrder" column="SERIALDEPENDORDER" jdbcType="INTEGER"/> |
| | | <result property="referAttributeName" column="REFERATTRIBUTENAME" jdbcType="VARCHAR"/> |
| | | <result property="referAttributeId" column="REFERATTRIBUTEID" jdbcType="VARCHAR"/> |
| | | <result property="referBtmName" column="REFERBTMNAME" jdbcType="VARCHAR"/> |
| | | <result property="referBtmId" column="REFERBTMID" jdbcType="VARCHAR"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectCodeBasicSecPage" resultMap="CodeRuleResultMap"> |
| | | |
| | | <select id="selectCodeBasicSecPage" resultMap="CodeBasicsecMap"> |
| | | select PL_CODE_BASICSEC.oid, |
| | | PL_CODE_BASICSEC.revisionoid, |
| | | PL_CODE_BASICSEC.nameoid, |
| | | PL_CODE_BASICSEC.btmname, |
| | | PL_CODE_BASICSEC.lastr, |
| | | PL_CODE_BASICSEC.firstr, |
| | | PL_CODE_BASICSEC.lastv, |
| | | PL_CODE_BASICSEC.firstv, |
| | | PL_CODE_BASICSEC.creator, |
| | | PL_CODE_BASICSEC.createtime, |
| | | PL_CODE_BASICSEC.lastmodifier, |
| | | PL_CODE_BASICSEC.lastmodifytime, |
| | | PL_CODE_BASICSEC.revisionrule, |
| | | PL_CODE_BASICSEC.versionrule, |
| | | PL_CODE_BASICSEC.revisionseq, |
| | | PL_CODE_BASICSEC.revisionvalue, |
| | | PL_CODE_BASICSEC.versionseq, |
| | | PL_CODE_BASICSEC.versionvalue, |
| | | PL_CODE_BASICSEC.lctid, |
| | | PL_CODE_BASICSEC.lcstatus, |
| | | PL_CODE_BASICSEC.ts, |
| | | PL_CODE_BASICSEC.id, |
| | | PL_CODE_BASICSEC.name, |
| | | PL_CODE_BASICSEC.description, |
| | | PL_CODE_BASICSEC.owner, |
| | | PL_CODE_BASICSEC.copyfromversion, |
| | | PL_CODE_BASICSEC.codefillseparator, |
| | | PL_CODE_BASICSEC.codeseclength, |
| | | PL_CODE_BASICSEC.valuecuttype, |
| | | PL_CODE_BASICSEC.codefilltype, |
| | | PL_CODE_BASICSEC.refervalueinfo, |
| | | PL_CODE_BASICSEC.referattributeid, |
| | | PL_CODE_BASICSEC.getvalueclass, |
| | | PL_CODE_BASICSEC.displayflag, |
| | | PL_CODE_BASICSEC.parentclassifysecoid, |
| | | PL_CODE_BASICSEC.serialstep, |
| | | PL_CODE_BASICSEC.serialdependflag, |
| | | PL_CODE_BASICSEC.filtersql, |
| | | PL_CODE_BASICSEC.codedateformatstr, |
| | | PL_CODE_BASICSEC.refercodeclassifyoid, |
| | | PL_CODE_BASICSEC.codeleveltype, |
| | | PL_CODE_BASICSEC.codeseclengthtype, |
| | | PL_CODE_BASICSEC.referattributename, |
| | | PL_CODE_BASICSEC.referbtmname, |
| | | PL_CODE_BASICSEC.codefillflag, |
| | | PL_CODE_BASICSEC.valuecutlength, |
| | | PL_CODE_BASICSEC.codegetvaluetype, |
| | | PL_CODE_BASICSEC.referbtmid, |
| | | PL_CODE_BASICSEC.codefilltypetext, |
| | | PL_CODE_BASICSEC.codelevelvalue, |
| | | PL_CODE_BASICSEC.codefilllength, |
| | | PL_CODE_BASICSEC.customcodeserialclass, |
| | | PL_CODE_BASICSEC.matchclassifyvalueflag, |
| | | PL_CODE_BASICSEC.sectype, |
| | | PL_CODE_BASICSEC.pkcoderule, |
| | | PL_CODE_BASICSEC.ordernum, |
| | | PL_CODE_BASICSEC.referconfig, |
| | | PL_CODE_BASICSEC.serialstart, |
| | | PL_CODE_BASICSEC.componentcodeflag, |
| | | PL_CODE_BASICSEC.serialdependorder, |
| | | PL_CODE_BASICSEC.nullableflag, |
| | | PL_CODE_BASICSEC.codefilllimit, |
| | | btm_codebasicsec_1.name as b__name, |
| | | platformbtm_codeclassify.name as c__name, |
| | | COUNT(*) OVER () "##VCI_COUNT_VCI##" |
| | | PL_CODE_BASICSEC.revisionoid, |
| | | PL_CODE_BASICSEC.nameoid, |
| | | PL_CODE_BASICSEC.btmname, |
| | | PL_CODE_BASICSEC.lastr, |
| | | PL_CODE_BASICSEC.firstr, |
| | | PL_CODE_BASICSEC.lastv, |
| | | PL_CODE_BASICSEC.firstv, |
| | | PL_CODE_BASICSEC.creator, |
| | | PL_CODE_BASICSEC.createtime, |
| | | PL_CODE_BASICSEC.lastmodifier, |
| | | PL_CODE_BASICSEC.lastmodifytime, |
| | | PL_CODE_BASICSEC.revisionrule, |
| | | PL_CODE_BASICSEC.versionrule, |
| | | PL_CODE_BASICSEC.revisionseq, |
| | | PL_CODE_BASICSEC.revisionvalue, |
| | | PL_CODE_BASICSEC.versionseq, |
| | | PL_CODE_BASICSEC.versionvalue, |
| | | PL_CODE_BASICSEC.lctid, |
| | | PL_CODE_BASICSEC.lcstatus, |
| | | PL_CODE_BASICSEC.ts, |
| | | PL_CODE_BASICSEC.id, |
| | | PL_CODE_BASICSEC.name, |
| | | PL_CODE_BASICSEC.description, |
| | | PL_CODE_BASICSEC.owner, |
| | | PL_CODE_BASICSEC.copyfromversion, |
| | | PL_CODE_BASICSEC.codefillseparator, |
| | | PL_CODE_BASICSEC.codeseclength, |
| | | PL_CODE_BASICSEC.valuecuttype, |
| | | PL_CODE_BASICSEC.codefilltype, |
| | | PL_CODE_BASICSEC.refervalueinfo, |
| | | PL_CODE_BASICSEC.referattributeid, |
| | | PL_CODE_BASICSEC.getvalueclass, |
| | | PL_CODE_BASICSEC.displayflag, |
| | | PL_CODE_BASICSEC.parentclassifysecoid, |
| | | PL_CODE_BASICSEC.serialstep, |
| | | PL_CODE_BASICSEC.serialdependflag, |
| | | PL_CODE_BASICSEC.filtersql, |
| | | PL_CODE_BASICSEC.codedateformatstr, |
| | | PL_CODE_BASICSEC.refercodeclassifyoid, |
| | | PL_CODE_BASICSEC.codeleveltype, |
| | | PL_CODE_BASICSEC.codeseclengthtype, |
| | | PL_CODE_BASICSEC.referattributename, |
| | | PL_CODE_BASICSEC.referbtmname, |
| | | PL_CODE_BASICSEC.codefillflag, |
| | | PL_CODE_BASICSEC.valuecutlength, |
| | | PL_CODE_BASICSEC.codegetvaluetype, |
| | | PL_CODE_BASICSEC.referbtmid, |
| | | PL_CODE_BASICSEC.codefilltypetext, |
| | | PL_CODE_BASICSEC.codelevelvalue, |
| | | PL_CODE_BASICSEC.codefilllength, |
| | | PL_CODE_BASICSEC.customcodeserialclass, |
| | | PL_CODE_BASICSEC.matchclassifyvalueflag, |
| | | PL_CODE_BASICSEC.sectype, |
| | | PL_CODE_BASICSEC.pkcoderule, |
| | | PL_CODE_BASICSEC.ordernum, |
| | | PL_CODE_BASICSEC.referconfig, |
| | | PL_CODE_BASICSEC.serialstart, |
| | | PL_CODE_BASICSEC.componentcodeflag, |
| | | PL_CODE_BASICSEC.serialdependorder, |
| | | PL_CODE_BASICSEC.nullableflag, |
| | | PL_CODE_BASICSEC.codefilllimit, |
| | | btm_codebasicsec_1.name as b__name, |
| | | platformbtm_codeclassify.name as c__name, |
| | | COUNT(*) OVER () "##VCI_COUNT_VCI##" |
| | | from PL_CODE_BASICSEC |
| | | left join PL_CODE_BASICSEC btm_codebasicsec_1 |
| | | on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid |
| | | left join PL_CODE_BASICSEC platformbtm_codeclassify |
| | | on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid |
| | | where |
| | | and PL_CODE_BASICSEC.pkcoderule = #{codeBasicSec.pkCodeRule} |
| | | left join PL_CODE_BASICSEC btm_codebasicsec_1 |
| | | on btm_codebasicsec_1.oid = PL_CODE_BASICSEC.parentclassifysecoid |
| | | left join PL_CODE_BASICSEC platformbtm_codeclassify |
| | | on platformbtm_codeclassify.oid = PL_CODE_BASICSEC.refercodeclassifyoid |
| | | <where> |
| | | <if test="codeBasicSec.oid != null and codeBasicSec.oid != ''"> |
| | | and PL_CODE_BASICSEC.OID = #{codeBasicSec.oid} |
| | | </if> |
| | | <if test="codeBasicSec.revisionOid != null and codeBasicSec.revisionOid != ''"> |
| | | and PL_CODE_BASICSEC.REVISIONOID = #{codeBasicSec.revisionOid} |
| | | </if> |
| | | <if test="codeBasicSec.nameOid != null and codeBasicSec.nameOid != ''"> |
| | | and PL_CODE_BASICSEC.NAMEOID = #{codeBasicSec.nameOid} |
| | | </if> |
| | | <if test="codeBasicSec.btmname != null and codeBasicSec.btmname != ''"> |
| | | and PL_CODE_BASICSEC.BTMNAME = #{codeBasicSec.btmname} |
| | | </if> |
| | | <if test="codeBasicSec.lastR != null and codeBasicSec.lastR != ''"> |
| | | and PL_CODE_BASICSEC.LASTR = #{codeBasicSec.lastR} |
| | | </if> |
| | | <if test="codeBasicSec.firstR != null and codeBasicSec.firstR != ''"> |
| | | and PL_CODE_BASICSEC.FIRSTR = #{codeBasicSec.firstR} |
| | | </if> |
| | | <if test="codeBasicSec.lastV != null and codeBasicSec.lastv != ''"> |
| | | and PL_CODE_BASICSEC.LASTV = #{codeBasicSec.lastV} |
| | | </if> |
| | | <if test="codeBasicSec.firstV != null and codeBasicSec.firstV != ''"> |
| | | and PL_CODE_BASICSEC.FIRSTV = #{codeBasicSec.firstV} |
| | | </if> |
| | | <if test="codeBasicSec.creator != null and codeBasicSec.creator != ''"> |
| | | and PL_CODE_BASICSEC.CREATOR = #{codeBasicSec.creator} |
| | | </if> |
| | | <if test="codeBasicSec.createTime != null and codeBasicSec.createTime != ''"> |
| | | and PL_CODE_BASICSEC.CREATETIME = #{codeBasicSec.createTime} |
| | | </if> |
| | | <if test="codeBasicSec.lastModifier != null and codeBasicSec.lastModifier != ''"> |
| | | and PL_CODE_BASICSEC.LASTMODIFIER = #{codeBasicSec.lastModifier} |
| | | </if> |
| | | <if test="codeBasicSec.lastModifyTime != null and codeBasicSec.lastModifyTime != ''"> |
| | | and PL_CODE_BASICSEC.LASTMODIFYTIME = #{codeBasicSec.lastModifyTime} |
| | | </if> |
| | | <if test="codeBasicSec.revisionRule != null and codeBasicSec.revisionRule != ''"> |
| | | and PL_CODE_BASICSEC.REVISIONRULE = #{codeBasicSec.revisionRule} |
| | | </if> |
| | | <if test="codeBasicSec.versionRule != null and codeBasicSec.versionRule != ''"> |
| | | and PL_CODE_BASICSEC.VERSIONRULE = #{codeBasicSec.versionRule} |
| | | </if> |
| | | <if test="codeBasicSec.revisionSeq != null"> |
| | | and PL_CODE_BASICSEC.REVISIONSEQ = #{codeBasicSec.revisionSeq} |
| | | </if> |
| | | <if test="codeBasicSec.revisionValue != null and codeBasicSec.revisionValue != ''"> |
| | | and PL_CODE_BASICSEC.REVISIONVALUE = #{codeBasicSec.revisionValue} |
| | | </if> |
| | | <if test="codeBasicSec.versionSeq != null"> |
| | | and PL_CODE_BASICSEC.VERSIONSEQ = #{codeBasicSec.versionSeq} |
| | | </if> |
| | | <if test="codeBasicSec.versionValue != null and codeBasicSec.versionValue != ''"> |
| | | and PL_CODE_BASICSEC.VERSIONVALUE = #{codeBasicSec.versionValue} |
| | | </if> |
| | | <if test="codeBasicSec.lctid != null and codeBasicSec.lctid != ''"> |
| | | and PL_CODE_BASICSEC.LCTID = #{codeBasicSec.lctid} |
| | | </if> |
| | | <if test="codeBasicSec.lcStatus != null and codeBasicSec.lcStatus != ''"> |
| | | and PL_CODE_BASICSEC.LCSTATUS = #{codeBasicSec.lcStatus} |
| | | </if> |
| | | <if test="codeBasicSec.ts != null and codeBasicSec.ts != ''"> |
| | | and PL_CODE_BASICSEC.TS = #{codeBasicSec.ts} |
| | | </if> |
| | | <if test="codeBasicSec.id != null and codeBasicSec.id != ''"> |
| | | and PL_CODE_BASICSEC.ID = #{codeBasicSec.id} |
| | | </if> |
| | | <if test="codeBasicSec.name != null and codeBasicSec.name != ''"> |
| | | and PL_CODE_BASICSEC.NAME = #{codeBasicSec.name} |
| | | </if> |
| | | <if test="codeBasicSec.description != null and codeBasicSec.description != ''"> |
| | | and PL_CODE_BASICSEC.DESCRIPTION = #{codeBasicSec.description} |
| | | </if> |
| | | <if test="codeBasicSec.owner != null and codeBasicSec.owner != ''"> |
| | | and PL_CODE_BASICSEC.OWNER = #{codeBasicSec.owner} |
| | | </if> |
| | | <if test="codeBasicSec.copyFromVersion != null and codeBasicSec.copyFromVersion != ''"> |
| | | and PL_CODE_BASICSEC.COPYFROMVERSION = #{codeBasicSec.copyFromVersion} |
| | | </if> |
| | | <if test="codeBasicSec.sectype != null and codeBasicSec.sectype != ''"> |
| | | and PL_CODE_BASICSEC.SECTYPE = #{codeBasicSec.sectype} |
| | | </if> |
| | | <if test="codeBasicSec.pkCodeRule != null and codeBasicSec.pkCodeRule != ''"> |
| | | and PL_CODE_BASICSEC.PKCODERULE = #{codeBasicSec.pkCodeRule} |
| | | </if> |
| | | <if test="codeBasicSec.orderNum != null"> |
| | | and PL_CODE_BASICSEC.ORDERNUM = #{codeBasicSec.orderNum} |
| | | </if> |
| | | <if test="codeBasicSec.getValueClass != null and codeBasicSec.getValueClass != ''"> |
| | | and PL_CODE_BASICSEC.GETVALUECLASS = #{codeBasicSec.getValueClass} |
| | | </if> |
| | | <if test="codeBasicSec.codeDateFormatStr != null and codeBasicSec.codeDateFormatStr != ''"> |
| | | and PL_CODE_BASICSEC.CODEDATEFORMATSTR = #{codeBasicSec.codeDateFormatStr} |
| | | </if> |
| | | <if test="codeBasicSec.codeSecLengthType != null and codeBasicSec.codeSecLengthType != ''"> |
| | | and PL_CODE_BASICSEC.CODESECLENGTHTYPE = #{codeBasicSec.codeSecLengthType} |
| | | </if> |
| | | <if test="codeBasicSec.codeSecLength != null and codeBasicSec.codeSecLength != ''"> |
| | | and PL_CODE_BASICSEC.CODESECLENGTH = #{codeBasicSec.codeSecLength} |
| | | </if> |
| | | <if test="codeBasicSec.codeLevelType != null and codeBasicSec.codeLevelType != ''"> |
| | | and PL_CODE_BASICSEC.CODELEVELTYPE = #{codeBasicSec.codeLevelType} |
| | | </if> |
| | | <if test="codeBasicSec.codeLevelValue != null"> |
| | | and PL_CODE_BASICSEC.CODELEVELVALUE = #{codeBasicSec.codeLevelValue} |
| | | </if> |
| | | <if test="codeBasicSec.valueCutLength != null"> |
| | | and PL_CODE_BASICSEC.VALUECUTLENGTH = #{codeBasicSec.valueCutLength} |
| | | </if> |
| | | <if test="codeBasicSec.valueCutType != null and codeBasicSec.valueCutType != ''"> |
| | | and PL_CODE_BASICSEC.VALUECUTTYPE = #{codeBasicSec.valueCutType} |
| | | </if> |
| | | <if test="codeBasicSec.codeGetValueType != null and codeBasicSec.codeGetValueType != ''"> |
| | | and PL_CODE_BASICSEC.CODEGETVALUETYPE = #{codeBasicSec.codeGetValueType} |
| | | </if> |
| | | <if test="codeBasicSec.referCodeClassifyOid != null and codeBasicSec.referCodeClassifyOid != ''"> |
| | | and PL_CODE_BASICSEC.REFERCODECLASSIFYOID = #{codeBasicSec.referCodeClassifyOid} |
| | | </if> |
| | | <if test="codeBasicSec.referConfig != null and codeBasicSec.referConfig != ''"> |
| | | and PL_CODE_BASICSEC.REFERCONFIG = #{codeBasicSec.referConfig} |
| | | </if> |
| | | <if test="codeBasicSec.referValueInfo != null and codeBasicSec.referValueInfo != ''"> |
| | | and PL_CODE_BASICSEC.REFERVALUEINFO = #{codeBasicSec.referValueInfo} |
| | | </if> |
| | | <if test="codeBasicSec.filterSql != null and codeBasicSec.filterSql != ''"> |
| | | and PL_CODE_BASICSEC.FILTERSQL = #{codeBasicSec.filterSql} |
| | | </if> |
| | | <if test="codeBasicSec.serialStart != null and scodeBasicSec.serialStart != ''"> |
| | | and PL_CODE_BASICSEC.SERIALSTART = #{codeBasicSec.serialStart} |
| | | </if> |
| | | <if test="codeBasicSec.serialStep != null"> |
| | | and PL_CODE_BASICSEC.SERIALSTEP = #{codeBasicSec.serialStep} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillType != null and codeBasicSec.codeFillType != ''"> |
| | | and PL_CODE_BASICSEC.CODEFILLTYPE = #{codeBasicSec.codeFillType} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillTypeText != null and codeBasicSec.codeFillTypeText != ''"> |
| | | and PL_CODE_BASICSEC.CODEFILLTYPETEXT = #{codeBasicSec.codeFillTypeText} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillSeparator != null and codeBasicSec.codeFillSeparator != ''"> |
| | | and PL_CODE_BASICSEC.CODEFILLSEPARATOR = #{codeBasicSec.codeFillSeparator} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillLength != null and codeBasicSec.codeFillLength != ''"> |
| | | and PL_CODE_BASICSEC.CODEFILLLENGTH = #{codeBasicSec.codeFillLength} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillLimit != null"> |
| | | and PL_CODE_BASICSEC.CODEFILLLIMIT = #{codeBasicSec.codeFillLimit} |
| | | </if> |
| | | <if test="codeBasicSec.codeFillFlag != null and codeBasicSec.codeFillFlag != ''"> |
| | | and PL_CODE_BASICSEC.CODEFILLFLAG = #{codeBasicSec.codeFillFlag} |
| | | </if> |
| | | <if test="codeBasicSec.customCodeSerialClass != null and codeBasicSec.customCodeSerialClass != ''"> |
| | | and PL_CODE_BASICSEC.CUSTOMCODESERIALCLASS = #{codeBasicSec.customCodeSerialClass} |
| | | </if> |
| | | <if test="codeBasicSec.matchClassifyValueFlag != null and codeBasicSec.matchClassifyValueFlag != ''"> |
| | | and PL_CODE_BASICSEC.MATCHCLASSIFYVALUEFLAG = #{codeBasicSec.matchClassifyValueFlag} |
| | | </if> |
| | | <if test="codeBasicSec.parentClassifySecOid != null and codeBasicSec.parentClassifySecOid != ''"> |
| | | and PL_CODE_BASICSEC.PARENTCLASSIFYSECOID = #{codeBasicSec.parentClassifySecOid} |
| | | </if> |
| | | <if test="codeBasicSec.nullableFlag != null and codeBasicSec.nullableFlag != ''"> |
| | | and PL_CODE_BASICSEC.NULLABLEFLAG = #{codeBasicSec.nullableFlag} |
| | | </if> |
| | | <if test="codeBasicSec.componentCodeFlag != null and codeBasicSec.componentCodeFlag != ''"> |
| | | and PL_CODE_BASICSEC.COMPONENTCODEFLAG = #{codeBasicSec.componentCodeFlag} |
| | | </if> |
| | | <if test="codeBasicSec.serialDependFlag != null and codeBasicSec.serialDependFlag != ''"> |
| | | and PL_CODE_BASICSEC.SERIALDEPENDFLAG = #{codeBasicSec.serialDependFlag} |
| | | </if> |
| | | <if test="codeBasicSec.displayFlag != null and codeBasicSec.displayFlag != ''"> |
| | | and PL_CODE_BASICSEC.DISPLAYFLAG = #{codeBasicSec.displayFlag} |
| | | </if> |
| | | <if test="codeBasicSec.serialDependOrder != null"> |
| | | and PL_CODE_BASICSEC.SERIALDEPENDORDER = #{codeBasicSec.serialDependOrder} |
| | | </if> |
| | | <if test="codeBasicSec.referAttributeName != null and codeBasicSec.referAttributeName != ''"> |
| | | and PL_CODE_BASICSEC.REFERATTRIBUTENAME = #{codeBasicSec.referAttributeName} |
| | | </if> |
| | | <if test="codeBasicSec.referAttributeId != null and codeBasicSec.referAttributeId != ''"> |
| | | and PL_CODE_BASICSEC.REFERATTRIBUTEID = #{codeBasicSec.referAttributeId} |
| | | </if> |
| | | <if test="codeBasicSec.referBtmName != null and codeBasicSec.referBtmName != ''"> |
| | | and PL_CODE_BASICSEC.REFERBTMNAME = #{codeBasicSec.referBtmName} |
| | | </if> |
| | | <if test="codeBasicSec.referBtmId != null and codeBasicSec.referBtmId != ''"> |
| | | and PL_CODE_BASICSEC.REFERBTMID = #{codeBasicSec.referBtmId} |
| | | </if> |
| | | </where> |
| | | |
| | | </select> |
| | | |
| | | <insert id="insertBatch" keyProperty="oid" useGeneratedKeys="true"> |
| | | insert into PL_CODE_BASICSEC(REVISIONOID, NAMEOID, BTMNAME, LASTR, FIRSTR, LASTV, FIRSTV, CREATOR, CREATETIME, |
| | | LASTMODIFIER, LASTMODIFYTIME, REVISIONRULE, VERSIONRULE, REVISIONSEQ, REVISIONVALUE, VERSIONSEQ, VERSIONVALUE, |
| | | LCTID, LCSTATUS, TS, ID, NAME, DESCRIPTION, OWNER, COPYFROMVERSION, SECTYPE, PKCODERULE, ORDERNUM, |
| | | GETVALUECLASS, CODEDATEFORMATSTR, CODESECLENGTHTYPE, CODESECLENGTH, CODELEVELTYPE, CODELEVELVALUE, |
| | | VALUECUTLENGTH, VALUECUTTYPE, CODEGETVALUETYPE, REFERCODECLASSIFYOID, REFERCONFIG, REFERVALUEINFO, FILTERSQL, |
| | | SERIALSTART, SERIALSTEP, CODEFILLTYPE, CODEFILLTYPETEXT, CODEFILLSEPARATOR, CODEFILLLENGTH, CODEFILLLIMIT, |
| | | CODEFILLFLAG, CUSTOMCODESERIALCLASS, MATCHCLASSIFYVALUEFLAG, PARENTCLASSIFYSECOID, NULLABLEFLAG, |
| | | COMPONENTCODEFLAG, SERIALDEPENDFLAG, DISPLAYFLAG, SERIALDEPENDORDER, REFERATTRIBUTENAME, REFERATTRIBUTEID, |
| | | REFERBTMNAME, REFERBTMID) |
| | | <foreach collection="entities" item="entity" separator="union all" index="index"> |
| | | select #{entity.revisionoid}, #{entity.nameoid}, #{entity.btmname}, #{entity.lastr}, #{entity.firstr}, |
| | | #{entity.lastv}, #{entity.firstv}, #{entity.creator}, #{entity.createtime}, #{entity.lastmodifier}, |
| | | #{entity.lastmodifytime}, #{entity.revisionrule}, #{entity.versionrule}, #{entity.revisionseq}, |
| | | #{entity.revisionvalue}, #{entity.versionseq}, #{entity.versionvalue}, #{entity.lctid}, #{entity.lcstatus}, |
| | | #{entity.ts}, #{entity.id}, #{entity.name}, #{entity.description}, #{entity.owner}, |
| | | #{entity.copyfromversion}, #{entity.sectype}, #{entity.pkcoderule}, #{entity.ordernum}, |
| | | #{entity.getvalueclass}, #{entity.codedateformatstr}, #{entity.codeseclengthtype}, #{entity.codeseclength}, |
| | | #{entity.codeleveltype}, #{entity.codelevelvalue}, #{entity.valuecutlength}, #{entity.valuecuttype}, |
| | | #{entity.codegetvaluetype}, #{entity.refercodeclassifyoid}, #{entity.referconfig}, #{entity.refervalueinfo}, |
| | | #{entity.filtersql}, #{entity.serialstart}, #{entity.serialstep}, #{entity.codefilltype}, |
| | | #{entity.codefilltypetext}, #{entity.codefillseparator}, #{entity.codefilllength}, #{entity.codefilllimit}, |
| | | #{entity.codefillflag}, #{entity.customcodeserialclass}, #{entity.matchclassifyvalueflag}, |
| | | #{entity.parentclassifysecoid}, #{entity.nullableflag}, #{entity.componentcodeflag}, |
| | | #{entity.serialdependflag}, #{entity.displayflag}, #{entity.serialdependorder}, |
| | | #{entity.referattributename}, #{entity.referattributeid}, #{entity.referbtmname}, #{entity.referbtmid} |
| | | from dual |
| | | </foreach> |
| | | </insert> |
| | | |
| | | |
| | | <select id="countByCondition" resultType="java.lang.Long"> |
| | | |
| | | |
| | | </select> |
| | | |
| | | |
| | | <select id="getOidByCodeclassifysecOid" resultType="java.lang.String"> |
| | | SELECT OID |
| | | FROM PLATFORMBTM_CODEBASICSEC |
| | | START WITH OID = #{codeClassifySecOid} CONNECT BY PRIOR PARENTCLASSIFYSECOID = OID |
| | | </select> |
| | | |
| | | |
| | |
| | | <!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.CodeClassifyValueMapper"> |
| | | |
| | | <select id="selectAllLevelChildOid" resultType="java.lang.String"> |
| | | SELECT OID |
| | | FROM PL_CODE_CLASSIFYVALUE |
| | | START WITH PARENTCLASSIFYVALUEOID = #{oid} |
| | | CONNECT BY PRIOR PARENTCLASSIFYVALUEOID = OID |
| | | </select> |
| | | |
| | | |
| | | <select id="countAllLevelChildOid" resultType="java.lang.Long"> |
| | | select count(OID) countsize |
| | | FROM PL_CODE_CLASSIFYVALUE |
| | | START WITH PARENTCLASSIFYVALUEOID = #{oid} |
| | | CONNECT BY PRIOR PARENTCLASSIFYVALUEOID = OID |
| | | </select> |
| | | |
| | | |
| | | </mapper> |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.core.log.exception.ServiceException; |
| | | import com.vci.ubcs.omd.mapper.DictBizMapper; |
| | | import com.vci.ubcs.omd.service.IDictBizService; |
| | | import com.vci.ubcs.omd.wrapper.DictBizWrapper; |
| | | import com.vci.ubcs.common.constant.CommonConstant; |
| | | 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.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-12 10:19:06,557 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:41:58,594 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.3.Final |
| | | 2023-04-15 15:41:59,224 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-15 15:41:59,224 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-15 15:42:03,295 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:42:03,316 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:42:03,343 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob-dev.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:42:03,343 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs.yaml,DEFAULT_GROUP'}] |
| | | 2023-04-15 15:42:03,374 INFO [main] c.v.ubcs.job.executor.JobApplication [SpringApplication.java : 640] The following 1 profile is active: "dev" |
| | | 2023-04-15 15:42:04,948 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode |
| | | 2023-04-15 15:42:04,959 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode. |
| | | 2023-04-15 15:42:04,980 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. |
| | | 2023-04-15 15:42:05,219 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=8a87525c-4e09-336f-9e65-667cebc7cd92 |
| | | 2023-04-15 15:42:05,223 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 150] BladePropertySourcePostProcessor init. |
| | | 2023-04-15 15:42:05,235 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 62] BladePropertySourcePostProcessor process @BladePropertySource bean. |
| | | 2023-04-15 15:42:05,267 WARN [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 67] Not found @BladePropertySource on spring bean class. |
| | | 2023-04-15 15:42:05,659 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:05,659 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:05,667 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$490/1267255950] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:05,669 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:05,720 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:05,720 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:42:06,086 WARN [main] io.undertow.websockets.jsr [Bootstrap.java : 68] UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used |
| | | 2023-04-15 15:42:06,125 INFO [main] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring embedded WebApplicationContext |
| | | 2023-04-15 15:42:06,125 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 292] Root WebApplicationContext: initialization completed in 2721 ms |
| | | 2023-04-15 15:42:06,428 INFO [main] c.v.u.j.executor.config.XxlJobConfig [XxlJobConfig.java : 43] >>>>>>>>>>> xxl-job config init. |
| | | 2023-04-15 15:42:06,443 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@105db94d[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler] |
| | | 2023-04-15 15:42:06,443 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1d99ee1b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler2] |
| | | 2023-04-15 15:42:06,443 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3915e7c3[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#httpJobHandler] |
| | | 2023-04-15 15:42:06,443 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@167a21b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#commandJobHandler] |
| | | 2023-04-15 15:42:06,443 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@7c0df4ab[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#shardingJobHandler] |
| | | 2023-04-15 15:42:06,758 INFO [main] c.a.c.s.SentinelWebMvcConfigurer [SentinelWebMvcConfigurer.java : 52] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. |
| | | 2023-04-15 15:42:06,814 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse) |
| | | 2023-04-15 15:42:06,814 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest) |
| | | 2023-04-15 15:42:06,815 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{GET [/test/testRequest]}" onto com.vci.ubcs.job.executor.controller.TestController#testRequest(String) |
| | | 2023-04-15 15:42:08,965 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:42:08,967 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 62] initializer namespace from System Property : null |
| | | 2023-04-15 15:42:08,967 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 66] initializer namespace from System Environment :null |
| | | 2023-04-15 15:42:08,967 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 73] initializer namespace from System Property :null |
| | | 2023-04-15 15:42:08,985 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-15 15:42:08,985 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-15 15:42:08,995 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 95] [RpcClientFactory] create a new rpc client of ba57e1f7-2b02-4f6f-b802-93dd3b2869f9 |
| | | 2023-04-15 15:42:08,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] RpcClient init label, labels = {module=naming, source=sdk} |
| | | 2023-04-15 15:42:08,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager |
| | | 2023-04-15 15:42:08,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService |
| | | 2023-04-15 15:42:08,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler |
| | | 2023-04-15 15:42:08,997 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Try to connect to server on start up, server: {serverIp = '192.168.3.9', server main port = 38848} |
| | | 2023-04-15 15:42:09,167 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Success to connect to server [192.168.3.9:38848] on start up, connectionId = 1681544515845_192.168.3.7_52659 |
| | | 2023-04-15 15:42:09,167 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Notify connected event to listeners. |
| | | 2023-04-15 15:42:09,167 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler |
| | | 2023-04-15 15:42:09,169 INFO [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 76] Grpc connection connect |
| | | 2023-04-15 15:42:09,169 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$376/99695585 |
| | | 2023-04-15 15:42:09,373 INFO [main] o.s.b.a.e.web.EndpointLinksResolver [EndpointLinksResolver.java : 58] Exposing 20 endpoint(s) beneath base path '/actuator' |
| | | 2023-04-15 15:42:10,638 INFO [main] o.s.b.f.a.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 367] Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties) |
| | | 2023-04-15 15:42:12,430 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:42:12,590 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. |
| | | 2023-04-15 15:42:12,701 INFO [main] c.x.r.r.p.XxlRpcProviderFactory [XxlRpcProviderFactory.java : 197] >>>>>>>>>>> xxl-rpc, provider factory add service success. serviceKey = com.xxl.job.core.biz.ExecutorBiz, serviceBean = class com.xxl.job.core.biz.impl.ExecutorBizImpl |
| | | 2023-04-15 15:42:13,465 INFO [main] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 141] [SUBSCRIBE-SERVICE] service:ubcs-xxljob, group:DEFAULT_GROUP, clusters:DEFAULT |
| | | 2023-04-15 15:42:13,514 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-15 15:42:13,533 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-15 15:42:13,540 INFO [Thread-51] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 66] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 7018 |
| | | 2023-04-15 15:42:13,564 INFO [main] io.undertow [Undertow.java : 120] starting server: Undertow - 2.2.18.Final |
| | | 2023-04-15 15:42:13,584 INFO [main] org.xnio [Xnio.java : 95] XNIO version 3.8.7.Final |
| | | 2023-04-15 15:42:13,604 INFO [main] org.xnio.nio [NioXnio.java : 58] XNIO NIO Implementation Version 3.8.7.Final |
| | | 2023-04-15 15:42:13,675 INFO [main] org.jboss.threads [Version.java : 52] JBoss Threads version 3.1.0.Final |
| | | 2023-04-15 15:42:13,747 INFO [main] o.s.b.w.e.undertow.UndertowWebServer [UndertowWebServer.java : 119] Undertow started on port(s) 36009 (http) |
| | | 2023-04-15 15:42:13,758 INFO [main] com.alibaba.nacos.client.naming [NamingGrpcClientProxy.java : 111] [REGISTER-SERVICE] public registering service ubcs-xxljob with instance Instance{instanceId='null', ip='192.168.237.1', port=36009, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} |
| | | 2023-04-15 15:42:13,822 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP ubcs-xxljob 192.168.237.1:36009 register finished |
| | | 2023-04-15 15:42:14,114 INFO [nacos-grpc-client-executor-192.168.3.9-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Receive server push request, request = NotifySubscriberRequest, requestId = 541 |
| | | 2023-04-15 15:42:14,114 INFO [nacos-grpc-client-executor-192.168.3.9-8] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000}] |
| | | 2023-04-15 15:42:14,114 INFO [nacos-grpc-client-executor-192.168.3.9-8] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000}] |
| | | 2023-04-15 15:42:14,129 INFO [nacos-grpc-client-executor-192.168.3.9-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [ba57e1f7-2b02-4f6f-b802-93dd3b2869f9] Ack server push request, request = NotifySubscriberRequest, requestId = 541 |
| | | 2023-04-15 15:42:14,493 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000}] |
| | | 2023-04-15 15:42:14,493 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000}] |
| | | 2023-04-15 15:42:15,160 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:42:15,161 INFO [main] o.s.core.launch.StartEventListener [StartEventListener.java : 45] ---[UBCS-XXLJOB]---å¯å¨å®æï¼å½å使ç¨ç端å£:[36009]ï¼ç¯å¢åé:[dev]--- |
| | | 2023-04-15 15:42:15,173 INFO [main] c.v.ubcs.job.executor.JobApplication [StartupInfoLogger.java : 61] Started JobApplication in 18.558 seconds (JVM running for 20.269) |
| | | 2023-04-15 15:42:15,183 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 65] nacos.cache.data.init.snapshot = true |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob+DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:42:15,193 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob, group=DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,203 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,203 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:42:15,203 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,203 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,203 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:42:15,211 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,211 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,211 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:42:15,211 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:42:15,591 INFO [RMI TCP Connection(10)-192.168.3.7] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2023-04-15 15:42:15,591 INFO [RMI TCP Connection(10)-192.168.3.7] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet' |
| | | 2023-04-15 15:42:15,591 INFO [RMI TCP Connection(10)-192.168.3.7] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 0 ms |
| | | 2023-04-15 15:42:15,601 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:42:15,601 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:42:47,635 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:42:47,635 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:43:19,664 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:43:19,665 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:43:51,687 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:43:51,687 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:44:23,707 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:44:23,708 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:44:55,736 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:44:55,736 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:45:18,902 WARN [Thread-17] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 136] [NotifyCenter] Start destroying Publisher |
| | | 2023-04-15 15:45:18,902 WARN [Thread-7] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 108] [HttpClientBeanHolder] Start destroying common HttpClient |
| | | 2023-04-15 15:45:18,904 WARN [Thread-17] c.a.nacos.common.notify.NotifyCenter [NotifyCenter.java : 153] [NotifyCenter] Destruction of the end |
| | | 2023-04-15 15:45:18,905 WARN [Thread-7] c.a.n.c.http.HttpClientBeanHolder [HttpClientBeanHolder.java : 114] [HttpClientBeanHolder] Destruction of the end |
| | | 2023-04-15 15:45:18,907 INFO [SpringApplicationShutdownHook] io.undertow [Undertow.java : 259] stopping server: Undertow - 2.2.18.Final |
| | | 2023-04-15 15:45:18,913 INFO [SpringApplicationShutdownHook] io.undertow.servlet [ServletContextImpl.java : 382] Destroying Spring FrameworkServlet 'dispatcherServlet' |
| | | 2023-04-15 15:45:18,916 ERROR [SpringApplicationShutdownHook] c.a.cloud.nacos.discovery.NacosWatch [NacosWatch.java : 180] namingService unsubscribe failed, properties:NacosDiscoveryProperties{serverAddr='192.168.3.9:38848', username='', password='', endpoint='', namespace='', watchDelay=30000, logName='', service='ubcs-xxljob', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.237.1', networkInterface='', port=36009, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, instanceEnabled=true, ephemeral=true, failureToleranceEnabled=false}, ipDeleteTimeout=null, failFast=true} |
| | | java.lang.IllegalStateException: UT015023: This Context has been already destroyed |
| | | at io.undertow.servlet.spec.ServletContextImpl.getDeploymentInfo(ServletContextImpl.java:211) |
| | | at io.undertow.servlet.spec.ServletContextImpl.getInitParameterNames(ServletContextImpl.java:449) |
| | | at org.springframework.web.context.support.ServletContextPropertySource.getPropertyNames(ServletContextPropertySource.java:41) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getPropertyNames(PropertySourcesUtils.java:130) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getSubProperties(PropertySourcesUtils.java:103) |
| | | at com.alibaba.spring.util.PropertySourcesUtils.getSubProperties(PropertySourcesUtils.java:57) |
| | | at com.alibaba.cloud.nacos.NacosDiscoveryProperties.enrichNacosDiscoveryProperties(NacosDiscoveryProperties.java:657) |
| | | at com.alibaba.cloud.nacos.NacosDiscoveryProperties.getNacosProperties(NacosDiscoveryProperties.java:651) |
| | | at com.alibaba.cloud.nacos.discovery.NacosWatch.stop(NacosWatch.java:175) |
| | | at com.alibaba.cloud.nacos.discovery.NacosWatch.stop(NacosWatch.java:107) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:234) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.access$300(DefaultLifecycleProcessor.java:54) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:373) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:206) |
| | | at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:129) |
| | | at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1067) |
| | | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.doClose(ServletWebServerApplicationContext.java:174) |
| | | at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1021) |
| | | at org.springframework.boot.SpringApplicationShutdownHook.closeAndWait(SpringApplicationShutdownHook.java:145) |
| | | at java.lang.Iterable.forEach(Iterable.java:75) |
| | | at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:114) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:45:18,917 INFO [Thread-51] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 74] >>>>>>>>>>> xxl-rpc remoting server stop. |
| | | 2023-04-15 15:47:26,389 INFO [background-preinit] o.h.validator.internal.util.Version [Version.java : 21] HV000001: Hibernate Validator 6.2.3.Final |
| | | 2023-04-15 15:47:27,368 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-15 15:47:27,369 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-15 15:47:30,916 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:47:30,928 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:47:30,950 WARN [main] c.a.c.n.c.NacosPropertySourceBuilder [NacosPropertySourceBuilder.java : 87] Ignore the empty nacos configuration and get it based on dataId[ubcs-xxljob-dev.yaml] & group[DEFAULT_GROUP] |
| | | 2023-04-15 15:47:30,952 INFO [main] o.s.c.b.c.PropertySourceBootstrapConfiguration [PropertySourceBootstrapConfiguration.java : 109] Located property source: [BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-xxljob,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-ubcs.yaml,DEFAULT_GROUP'}] |
| | | 2023-04-15 15:47:30,985 INFO [main] c.v.ubcs.job.executor.JobApplication [SpringApplication.java : 640] The following 1 profile is active: "dev" |
| | | 2023-04-15 15:47:32,616 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 262] Multiple Spring Data modules found, entering strict repository configuration mode |
| | | 2023-04-15 15:47:32,619 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 132] Bootstrapping Spring Data Redis repositories in DEFAULT mode. |
| | | 2023-04-15 15:47:32,647 INFO [main] o.s.d.r.c.RepositoryConfigurationDelegate [RepositoryConfigurationDelegate.java : 201] Finished Spring Data repository scanning in 9 ms. Found 0 Redis repository interfaces. |
| | | 2023-04-15 15:47:32,969 INFO [main] o.s.cloud.context.scope.GenericScope [GenericScope.java : 283] BeanFactory id=8a87525c-4e09-336f-9e65-667cebc7cd92 |
| | | 2023-04-15 15:47:32,973 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 150] BladePropertySourcePostProcessor init. |
| | | 2023-04-15 15:47:32,986 INFO [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 62] BladePropertySourcePostProcessor process @BladePropertySource bean. |
| | | 2023-04-15 15:47:33,022 WARN [main] o.s.c.l.p.BladePropertySourcePostProcessor [BladePropertySourcePostProcessor.java : 67] Not found @BladePropertySource on spring bean class. |
| | | 2023-04-15 15:47:33,263 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,268 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,269 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$490/1132189701] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,273 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,328 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,332 INFO [main] o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker [PostProcessorRegistrationDelegate.java : 376] Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
| | | 2023-04-15 15:47:33,805 WARN [main] io.undertow.websockets.jsr [Bootstrap.java : 68] UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used |
| | | 2023-04-15 15:47:33,836 INFO [main] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring embedded WebApplicationContext |
| | | 2023-04-15 15:47:33,837 INFO [main] o.s.b.w.s.c.ServletWebServerApplicationContext [ServletWebServerApplicationContext.java : 292] Root WebApplicationContext: initialization completed in 2824 ms |
| | | 2023-04-15 15:47:34,210 INFO [main] c.v.u.j.executor.config.XxlJobConfig [XxlJobConfig.java : 43] >>>>>>>>>>> xxl-job config init. |
| | | 2023-04-15 15:47:34,229 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:shardingJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@70091872[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#shardingJobHandler] |
| | | 2023-04-15 15:47:34,230 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:commandJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@105db94d[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#commandJobHandler] |
| | | 2023-04-15 15:47:34,233 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@1d99ee1b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler] |
| | | 2023-04-15 15:47:34,233 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:httpJobHandler, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@3915e7c3[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#httpJobHandler] |
| | | 2023-04-15 15:47:34,234 INFO [main] c.x.job.core.executor.XxlJobExecutor [XxlJobExecutor.java : 211] >>>>>>>>>>> xxl-job register jobhandler success, name:demoJobHandler2, jobHandler:com.xxl.job.core.handler.impl.MethodJobHandler@167a21b[class com.vci.ubcs.job.executor.jobhandler.SampleXxlJob#demoJobHandler2] |
| | | 2023-04-15 15:47:34,595 INFO [main] c.a.c.s.SentinelWebMvcConfigurer [SentinelWebMvcConfigurer.java : 52] [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**]. |
| | | 2023-04-15 15:47:34,658 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error], produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse) |
| | | 2023-04-15 15:47:34,659 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{ [/error]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest) |
| | | 2023-04-15 15:47:34,659 INFO [main] o.s.c.c.v.BladeRequestMappingHandlerMapping [BladeRequestMappingHandlerMapping.java : 99] Mapped "{GET [/test/testRequest]}" onto com.vci.ubcs.job.executor.controller.TestController#testRequest(String) |
| | | 2023-04-15 15:47:37,077 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:47:37,082 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 62] initializer namespace from System Property : null |
| | | 2023-04-15 15:47:37,083 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 66] initializer namespace from System Environment :null |
| | | 2023-04-15 15:47:37,084 INFO [main] com.alibaba.nacos.client.naming [InitUtils.java : 73] initializer namespace from System Property :null |
| | | 2023-04-15 15:47:37,096 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. |
| | | 2023-04-15 15:47:37,097 INFO [main] c.a.n.p.a.s.c.ClientAuthPluginManager [ClientAuthPluginManager.java : 56] [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. |
| | | 2023-04-15 15:47:37,105 INFO [main] c.alibaba.nacos.common.remote.client [RpcClientFactory.java : 95] [RpcClientFactory] create a new rpc client of 22f48b2d-09ca-452c-b39b-775ce46d05e4 |
| | | 2023-04-15 15:47:37,106 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] RpcClient init label, labels = {module=naming, source=sdk} |
| | | 2023-04-15 15:47:37,108 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager |
| | | 2023-04-15 15:47:37,109 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService |
| | | 2023-04-15 15:47:37,110 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler |
| | | 2023-04-15 15:47:37,111 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Try to connect to server on start up, server: {serverIp = '192.168.3.9', server main port = 38848} |
| | | 2023-04-15 15:47:37,266 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Success to connect to server [192.168.3.9:38848] on start up, connectionId = 1681544843946_192.168.3.7_53635 |
| | | 2023-04-15 15:47:37,267 INFO [com.alibaba.nacos.client.remote.worker] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Notify connected event to listeners. |
| | | 2023-04-15 15:47:37,266 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler |
| | | 2023-04-15 15:47:37,268 INFO [com.alibaba.nacos.client.remote.worker] com.alibaba.nacos.client.naming [NamingGrpcRedoService.java : 76] Grpc connection connect |
| | | 2023-04-15 15:47:37,268 INFO [main] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$376/99695585 |
| | | 2023-04-15 15:47:37,485 INFO [main] o.s.b.a.e.web.EndpointLinksResolver [EndpointLinksResolver.java : 58] Exposing 20 endpoint(s) beneath base path '/actuator' |
| | | 2023-04-15 15:47:38,290 INFO [main] o.s.b.f.a.AutowiredAnnotationBeanPostProcessor [AutowiredAnnotationBeanPostProcessor.java : 367] Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties) |
| | | 2023-04-15 15:47:39,841 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:47:39,912 WARN [main] o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger [LoadBalancerCacheAutoConfiguration.java : 82] Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. |
| | | 2023-04-15 15:47:39,965 INFO [main] c.x.r.r.p.XxlRpcProviderFactory [XxlRpcProviderFactory.java : 197] >>>>>>>>>>> xxl-rpc, provider factory add service success. serviceKey = com.xxl.job.core.biz.ExecutorBiz, serviceBean = class com.xxl.job.core.biz.impl.ExecutorBizImpl |
| | | 2023-04-15 15:47:40,484 INFO [main] com.alibaba.nacos.client.naming [NamingClientProxyDelegate.java : 141] [SUBSCRIBE-SERVICE] service:ubcs-xxljob, group:DEFAULT_GROUP, clusters:DEFAULT |
| | | 2023-04-15 15:47:40,507 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-15 15:47:40,515 INFO [Thread-52] com.xxl.rpc.remoting.net.Server [NettyHttpServer.java : 66] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 7018 |
| | | 2023-04-15 15:47:40,519 INFO [main] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(0) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [] |
| | | 2023-04-15 15:47:40,549 INFO [main] io.undertow [Undertow.java : 120] starting server: Undertow - 2.2.18.Final |
| | | 2023-04-15 15:47:40,561 INFO [main] org.xnio [Xnio.java : 95] XNIO version 3.8.7.Final |
| | | 2023-04-15 15:47:40,576 INFO [main] org.xnio.nio [NioXnio.java : 58] XNIO NIO Implementation Version 3.8.7.Final |
| | | 2023-04-15 15:47:40,623 INFO [main] org.jboss.threads [Version.java : 52] JBoss Threads version 3.1.0.Final |
| | | 2023-04-15 15:47:40,699 INFO [main] o.s.b.w.e.undertow.UndertowWebServer [UndertowWebServer.java : 119] Undertow started on port(s) 36009 (http) |
| | | 2023-04-15 15:47:40,707 INFO [main] com.alibaba.nacos.client.naming [NamingGrpcClientProxy.java : 111] [REGISTER-SERVICE] public registering service ubcs-xxljob with instance Instance{instanceId='null', ip='192.168.237.1', port=36009, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} |
| | | 2023-04-15 15:47:40,727 INFO [main] c.a.c.n.r.NacosServiceRegistry [NacosServiceRegistry.java : 75] nacos registry, DEFAULT_GROUP ubcs-xxljob 192.168.237.1:36009 register finished |
| | | 2023-04-15 15:47:41,054 INFO [nacos-grpc-client-executor-192.168.3.9-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Receive server push request, request = NotifySubscriberRequest, requestId = 555 |
| | | 2023-04-15 15:47:41,057 INFO [nacos-grpc-client-executor-192.168.3.9-8] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 181] init new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-15 15:47:41,058 INFO [nacos-grpc-client-executor-192.168.3.9-8] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-15 15:47:41,067 INFO [nacos-grpc-client-executor-192.168.3.9-8] c.alibaba.nacos.common.remote.client [LoggerUtils.java : 60] [22f48b2d-09ca-452c-b39b-775ce46d05e4] Ack server push request, request = NotifySubscriberRequest, requestId = 555 |
| | | 2023-04-15 15:47:41,134 INFO [XNIO-1 task-1] io.undertow.servlet [ServletContextImpl.java : 382] Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2023-04-15 15:47:41,134 INFO [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 525] Initializing Servlet 'dispatcherServlet' |
| | | 2023-04-15 15:47:41,137 INFO [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet [FrameworkServlet.java : 547] Completed initialization in 2 ms |
| | | 2023-04-15 15:47:41,514 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 234] new ips(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-15 15:47:41,515 INFO [com.alibaba.nacos.client.naming.updater.0] com.alibaba.nacos.client.naming [ServiceInfoHolder.java : 166] current ips:(1) service: DEFAULT_GROUP@@ubcs-xxljob@@DEFAULT -> [{"ip":"192.168.237.1","port":36009,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@ubcs-xxljob","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}] |
| | | 2023-04-15 15:47:42,048 INFO [main] o.s.cloud.commons.util.InetUtils [InetUtils.java : 170] Cannot determine local hostname |
| | | 2023-04-15 15:47:42,048 INFO [main] o.s.core.launch.StartEventListener [StartEventListener.java : 45] ---[UBCS-XXLJOB]---å¯å¨å®æï¼å½å使ç¨ç端å£:[36009]ï¼ç¯å¢åé:[dev]--- |
| | | 2023-04-15 15:47:42,063 INFO [main] c.v.ubcs.job.executor.JobApplication [StartupInfoLogger.java : 61] Started JobApplication in 17.724 seconds (JVM running for 19.647) |
| | | 2023-04-15 15:47:42,069 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 65] nacos.cache.data.init.snapshot = true |
| | | 2023-04-15 15:47:42,071 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,072 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:47:42,073 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,073 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob+DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,073 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:47:42,073 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob, group=DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,074 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,075 INFO [main] c.a.n.c.config.impl.ClientWorker [ClientWorker.java : 373] [fixed-192.168.3.9_38848] [subscribe] ubcs-xxljob-dev.yaml+DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,076 INFO [main] c.a.n.client.config.impl.CacheData [CacheData.java : 180] [fixed-192.168.3.9_38848] [add-listener] ok, tenant=, dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP, cnt=1 |
| | | 2023-04-15 15:47:42,076 INFO [main] c.a.c.n.r.NacosContextRefresher [NacosContextRefresher.java : 105] listening config: dataId=ubcs-xxljob-dev.yaml, group=DEFAULT_GROUP |
| | | 2023-04-15 15:47:42,576 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:47:42,577 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:48:14,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-04-15 15:48:14,624 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:48:46,671 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:48:46,672 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:49:18,751 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:49:18,751 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:49:50,776 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:49:50,776 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:50:22,814 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:50:22,815 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:50:54,856 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:50:54,857 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:51:26,903 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:51:26,903 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:51:58,934 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:51:58,934 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:52:30,979 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:52:30,980 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:53:03,034 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:53:03,035 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:53:35,078 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:53:35,080 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:54:07,116 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:54:07,117 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:54:39,181 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:54:39,182 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:55:11,228 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:55:11,229 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:55:43,256 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:55:43,256 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:56:15,288 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:56:15,289 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:56:47,318 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:56:47,319 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:57:19,363 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:57:19,364 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:57:51,395 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:57:51,395 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:58:23,464 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:58:23,464 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:58:55,498 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:58:55,499 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:59:27,556 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:59:27,557 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 15:59:59,594 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 15:59:59,594 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 16:00:31,624 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 16:00:31,626 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 16:01:03,653 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 16:01:03,653 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |
| | | 2023-04-15 16:01:35,687 ERROR [xxl-job, executor ExecutorRegistryThread] c.x.job.core.util.XxlJobRemotingUtil [XxlJobRemotingUtil.java : 146] Connection refused: connect |
| | | java.net.ConnectException: Connection refused: connect |
| | | at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) |
| | | at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81) |
| | | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) |
| | | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) |
| | | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) |
| | | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162) |
| | | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) |
| | | at java.net.Socket.connect(Socket.java:606) |
| | | at sun.net.NetworkClient.doConnect(NetworkClient.java:175) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) |
| | | at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) |
| | | at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:339) |
| | | at sun.net.www.http.HttpClient.New(HttpClient.java:357) |
| | | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) |
| | | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) |
| | | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) |
| | | at com.xxl.job.core.util.XxlJobRemotingUtil.postBody(XxlJobRemotingUtil.java:94) |
| | | at com.xxl.job.core.biz.client.AdminBizClient.registry(AdminBizClient.java:41) |
| | | at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48) |
| | | at java.lang.Thread.run(Thread.java:748) |
| | | 2023-04-15 16:01:35,688 INFO [xxl-job, executor ExecutorRegistryThread] c.x.j.c.t.ExecutorRegistryThread [ExecutorRegistryThread.java : 54] >>>>>>>>>>> xxl-job registry fail, registryParam:RegistryParam{registryGroup='EXECUTOR', registryKey='blade-xxljob', registryValue='127.0.0.1:7018'}, registryResult:ReturnT [code=500, msg=xxl-rpc remoting error(Connection refused: connect), for url : http://127.0.0.1:37012/xxl-job-admin/api/registry, content=null] |