修复发起时的自定义名称错误

This commit is contained in:
wulin 2020-11-13 18:02:42 +08:00
parent 564a791d5f
commit 4e44349c7e

View File

@ -189,8 +189,8 @@ public class FlowStartServiceImpl extends ServiceImpl<FlowStartMapper, FlowStart
log.info("未设置有效考核结束月份");
return R.error("未设置有效考核结束月份");
}
String endDate = sdf.format(flowStart.getStartTime());
flowStart.setName(startDate + "-" + endDate + "绩效考核");
String endDate = sdf.format(flowStart.getEndTime());
flowStart.setName(startDate + "" + endDate + "绩效考核");
}else{
flowStart.setName(startDate + "绩效考核");
}