Fancy
2024-07-09 b56f0b0c09f150b8a6747b3076ea07053b07a940
getWorkLast change null to error
2个文件已修改
4 ■■■ 已修改文件
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceLifeLastMapper.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoSta/StaDeviceLifeLastMapper.java
@@ -21,6 +21,7 @@
    int insertSelective(StaDeviceLifeLast record);
    StaDeviceLifeLast selectByPrimaryKey(Long id);
    List<StaDeviceLifeLast> selectByDeviceNo(String deviceNo);
    int updateByPrimaryKeySelective(StaDeviceLifeLast record);
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/WorkOrderSv.java
@@ -172,7 +172,8 @@
    public StaAssemblyWorkLast getWorkLast(String workId) {
        StaAssemblyWorkLast result = assemblyWorkLastDao.selectByPrimaryKey(Long.parseLong(workId));
        if (result == null) {
            return null;
            throw new RuntimeException("系统中没有该条登录信息");
            //return null;
        }
        BaUser userInfo = getUserInfo(result.getUserId().toString());
        PltStation stationInfo = getStationInfo(result.getStationId().toString());