#
luxiaotao1123
2024-09-23 0bc6c523adf1d514d4da9ff4c000f871b0de3f39
#
34个文件已修改
140 ■■■■ 已修改文件
zy-acs-flow/src/page/action/ActionCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/actionSts/ActionStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/actionType/ActionTypeCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/agv/AgvCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/agvDetail/AgvDetailCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/agvSts/AgvStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/bus/BusCreate.jsx 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/busSts/BusStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/code/CodeCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/codeGap/CodeGapCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/config/ConfigCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/host/HostCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/jam/JamCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/loc/LocCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/locSts/LocStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/locType/LocTypeCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/role/RoleCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/route/RouteCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/segment/SegmentCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/sta/StaCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/staSts/StaStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/staType/StaTypeCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/task/TaskCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/taskSts/TaskStsCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/taskType/TaskTypeCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/tenant/TenantCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/travel/TravelCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/user/UserCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/userLogin/UserLoginCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/vehFaultRec/VehFaultRecCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/zone/ZoneCreate.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/BusServiceImpl.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/action/ActionCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/actionSts/ActionStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/actionType/ActionTypeCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/agv/AgvCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/agvDetail/AgvDetailCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/agvModel/AgvModelCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/agvSts/AgvStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/bus/BusCreate.jsx
@@ -68,8 +68,6 @@
            })
        }
        if (open) {
            console.log(1);
            queryLocStsByStock();
            queryLocStsByIdle();
        }
@@ -86,8 +84,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/busSts/BusStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/code/CodeCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/codeGap/CodeGapCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/config/ConfigCreate.jsx
@@ -45,8 +45,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/funcSta/FuncStaCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/host/HostCreate.jsx
@@ -45,8 +45,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/jam/JamCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/loc/LocCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/locSts/LocStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/locType/LocTypeCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/role/RoleCreate.jsx
@@ -45,8 +45,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/route/RouteCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/segment/SegmentCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/sta/StaCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/staSts/StaStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/staType/StaTypeCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/task/TaskCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/taskSts/TaskStsCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/taskType/TaskTypeCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/tenant/TenantCreate.jsx
@@ -45,8 +45,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/travel/TravelCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/user/UserCreate.jsx
@@ -51,8 +51,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/userLogin/UserLoginCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/vehFaultRec/VehFaultRecCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-flow/src/page/zone/ZoneCreate.jsx
@@ -48,8 +48,8 @@
        notify('common.response.success');
    };
    const handleError = async (data) => {
        notify('common.response.fail');
    const handleError = async (error) => {
        notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
    };
    return (
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/service/impl/BusServiceImpl.java
@@ -48,6 +48,9 @@
            if (!Cools.isEmpty(dto.getOriSta()) && !Cools.isEmpty(dto.getOriLoc())) {
                return "OriSta and OriLoc cannot exist at the same time!";
            }
            if (Cools.isEmpty(dto.getOriSta()) && Cools.isEmpty(dto.getOriLoc())) {
                return "OriSta and OriLoc must have one!";
            }
            if (!Cools.isEmpty(dto.getOriSta())) {
                if (Cools.isEmpty(dto.getDestSta()) && Cools.isEmpty(dto.getDestLoc())) {
                    return "Destination cannot be empty!";
@@ -67,6 +70,9 @@
            if (!Cools.isEmpty(dto.getDestSta()) && !Cools.isEmpty(dto.getDestLoc())) {
                return "DestSta and DestLoc cannot exist at the same time!";
            }
            if (Cools.isEmpty(dto.getDestSta()) && Cools.isEmpty(dto.getDestLoc())) {
                return "DestSta and DestLoc must have one!";
            }
            if (!Cools.isEmpty(dto.getDestSta())) {
                if (Cools.isEmpty(dto.getOriSta()) && Cools.isEmpty(dto.getOriLoc())) {
                    return "Origin cannot be empty!";