@@ -230,7 +230,7 @@ public class MonthlyService {
//月报名称
String name=userDTO.getName()+split[0]+"年"+split[1]+"月月报";
monthly.setName(name);
- monthlyMapper.updateById(monthly);
+ monthlyMapper.insert(monthly);
//修改附件
List<WorkAttachmentInfo> files = monthlyDTO.getFiles();