Browse Source

特殊字符替换处理

zhouy 3 months ago
parent
commit
b6fe1f225d

+ 1 - 1
uas-office-qywx/src/main/java/com/usoftchina/uas/office/qywx/entity/OutSign.java

@@ -36,7 +36,7 @@ public class OutSign {
         this.mo_address = data.getLocation_detail();
         this.mo_mancode = employee.getEm_code();
         this.mo_man = employee.getEm_name();
-        this.mo_company = data.getLocation_title();
+        this.mo_company = (StringUtils.hasText(data.getLocation_title())?data.getLocation_title().replaceAll("'",""):null);
         this.mo_status = "已提交";
         this.mo_statuscode = "COMMITED";
         this.mo_groupname = data.getGroupname();