basic-server/src/main/java/com/ruoyi/basic/service/impl/CoalInfoServiceImpl.java
@@ -48,7 +48,7 @@ BeanUtils.copyProperties(coalInfoDto, coalInfo); coalInfo.setMaintainerId(SecurityUtils.getUserId()); coalInfo.setMaintenanceDate(DateUtils.getNowDate()); if (Objects.isNull(coalInfo.getId())) { if (Objects.isNull(coalInfoDto.getId())) { return coalInfoMapper.insert(coalInfo); } else { return coalInfoMapper.updateById(coalInfo);