fix:修改新beta 自动处理文件路径不正确问题

This commit is contained in:
xiaoguangbin 2024-10-09 19:19:12 +08:00
parent 489eb4cf81
commit dde5c8e373

View File

@ -549,7 +549,7 @@ public class SelfBaseUtil extends AbstractLogOrReport {
* @param g_counts ROI卡出来的Gamma数据
*/
public static void createGammaFile(String pathName,String fileName, EnergySpectrumStruct struct, List<Long> g_counts) {
File file = new File(pathName + File.separator + fileName);
File file = new File(pathName + StrUtil.SLASH + fileName);
// 创建PrintWriter对象
PrintWriter out = null;
DecimalFormat decimalFormat = new DecimalFormat("0.000000");