chenjiahe
2024-07-22 b37872c8a62a7bb0498b0801f5c35d8e781f7e12
Merge remote-tracking branch 'origin/master-base' into master-base
1个文件已修改
3 ■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/service/impl/FileServiceImpl.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/service/impl/FileServiceImpl.java
@@ -107,8 +107,9 @@
            throw new TipsException("导出标识错误,导出记录不存在!");
        }
        Map<String, Object> sqlMap = SimpleTool.beanToMap(fileExUpdateDto);
        sqlMap.put("completeTime",DateUtil.formatDate(new Date(),"yyyy-MM-dd HH:mm:ss"));
        SqlSentence sqlSentence = new SqlSentence();
        sqlSentence.sqlUpdate(" status = #{m.status},fileName = #{m.fileName},fileUrl = #{m.fileUrl},errMsg = #{m.errMsg} WHERE id = #{m.id} ",sqlMap);
        sqlSentence.sqlUpdate(" status = #{m.status},fileName = #{m.fileName},fileUrl = #{m.fileUrl},errMsg = #{m.errMsg},completeTime = #{m.completeTime} WHERE id = #{m.id} ",sqlMap);
        if (fileImportExportMapper.updateWhere(sqlSentence) != 1){
            throw new TipsException("修改失败!");
        }