修复代码生成器

v1.4.1
Parker 4 years ago
parent f53cf7cb0c
commit 62d212a9e9

@ -18,6 +18,7 @@ package org.opsli.core.creater.strategy.create;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.IoUtil;
import com.jfinal.kit.Kv;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opsli.api.ApiFlag;
@ -50,6 +51,7 @@ import java.util.Map;
* @CreateTime: 2020-11-20 17:30
* @Description: Java
*/
@Slf4j
public enum CodeBuilder {
/** 实例对象 */
@ -140,7 +142,9 @@ public enum CodeBuilder {
// 输出流文件
IoUtil.write(out,true, baos.toByteArray());
}
}catch (Exception ignored){}
}catch (Exception e){
log.error(e.getMessage(), e);
}
}

Loading…
Cancel
Save