Commit 69594d07 by 丁伟峰

to test

1 parent 3a58ffb9
...@@ -62,7 +62,7 @@ public class BusinessTeamServiceImpl implements BusinessTeamService { ...@@ -62,7 +62,7 @@ public class BusinessTeamServiceImpl implements BusinessTeamService {
private List<String> getWorkdaysChinese(String workDays){ private List<String> getWorkdaysChinese(String workDays){
// 将 1,2,3 转换为 周一、周二、周三 // 将 1,2,3 转换为 周一、周二、周三
return Arrays.stream(workDays.split(",")).map(e->{ return Arrays.stream(workDays.split(",")).map(e->{
return Week.valueOf(e).toChinese("周"); return Week.of(Integer.valueOf(e)).toChinese("周");
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }
@Override @Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!