|
@@ -1544,19 +1544,10 @@ public class ImportPaperService {
|
|
|
newPaper.setLastModifyName(user.getName());
|
|
|
newPaper.setOrgId(user.getRootOrgId().toString());
|
|
|
newPaper.setCourse(course);
|
|
|
+ newPaper.setCourseNo(course.getCode());
|
|
|
newPaper.setId(null);
|
|
|
return paperRepo.save(newPaper);
|
|
|
}
|
|
|
-
|
|
|
- public static void main(String[] args){
|
|
|
- String s1 = null;
|
|
|
- String s2 = " ";
|
|
|
- boolean b = false;
|
|
|
- if(s2 == null){
|
|
|
- b = true;
|
|
|
- }
|
|
|
- System.out.println(b);
|
|
|
- }
|
|
|
|
|
|
public static boolean isInteger(String str) {
|
|
|
Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");
|