Commit 22ac8838 by wuwenlong

项目立项bugfix;

parent 50d9760f
......@@ -159,6 +159,10 @@ public class HGSCTools {
.collect(Collectors.toList());
long count = stringList.stream().distinct().count();
AssertUtils.isTrue(stringList.size() != count, "项目负责人重复!");
objList.stream().forEach( o -> {
AssertUtils.isEmpty(o.getUserCode(), "请选择负责人!");
});
}
public static List<HGSC001A> save(List<HGSC001A> hgsc001AList, Long projId){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment