Fancy
2024-07-15 2db191d2c36c490f27a9e985005ef8cf4df261ee
solve some bug
1个文件已修改
4 ■■■■ 已修改文件
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java
@@ -170,6 +170,9 @@
    }
    public StaAssemblyWorkLast getWorkLast(String workId) {
        if(StringUtils.isBlank(workId)){
            throw new RuntimeException("登录ID为空,请联系管理员查看并解决问题.");
        }
        StaAssemblyWorkLast result = assemblyWorkLastDao.selectByPrimaryKey(Long.parseLong(workId));
        if (result == null) {
            throw new RuntimeException("系统中没有该条登录信息");
@@ -185,6 +188,7 @@
            //直接删除记录
            logout(result.getId().toString());
            result.setId(null);
            result.setStatus(STATUS_WORK_LAST_LOGOUT);
            if(userInfo == null){
                result.setUserId(null);
                result.setUserName("");