证书修改

This commit is contained in:
wuchunlei
2024-09-19 14:33:45 +08:00
parent 5727a4358f
commit 14ee4b060b
2 changed files with 19 additions and 8 deletions

View File

@@ -309,9 +309,9 @@ public class UserCertificateServiceImpl extends ServiceImpl<UserCertificateDao,
boolean space = true; //第一行空两格
String des = "";
if ("ZK".equals(type)){
des = "has past the online-examination study of "+edes[0]+" Courses in Tai Hu Education online.";
des = "Has past the online-examination study of "+edes[0]+" Courses in Tai Hu Education online.";
}else {
des = "Has satisfactorily completed an online courseTCM on "+edes[0]+" with "+edes[1]+" course hours intotal, and has been recongnized eligibility without assessment.";
des = "Has satisfactorily completed an online course on "+edes[0]+" with "+edes[1]+" course hours intotal, and has been recongnized eligibility without assessment.";
}
for (int i = 0; i < des.length(); i++) {
int oneWordWidth = dess.charWidth(des.charAt(i)); //获取单个字符的长度