Wrdp See merge request o2oa/o2oa!2050
@@ -447,6 +447,12 @@
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencyManagement>
@@ -1017,4 +1023,10 @@
</snapshots>
</repository>
</repositories>
+ <distributionManagement>
+ <repository>
+ <id>o2oa-release</id>
+ <url>http://maven.o2oa.net/repository/o2oa-release/</url>
+ </repository>
+ </distributionManagement>
</project>
@@ -128,6 +128,12 @@
</execution>
</executions>
@@ -1,5 +1,7 @@
package com.x.base.core.openjpa.jdbc.sql;
+import org.apache.openjpa.jdbc.sql.BooleanRepresentation;
+import org.apache.openjpa.jdbc.sql.BooleanRepresentationFactory;
import org.apache.openjpa.jdbc.sql.DBDictionary;
import org.apache.openjpa.lib.util.Localizer;
@@ -18,6 +20,9 @@ public class OscarDictionary extends DBDictionary {
maxEmbeddedClobSize = -1;
maxEmbeddedBlobSize = -1;
doubleTypeName = "DOUBLE PRECISION";
+ booleanTypeName = "BOOL";
}
+ protected BooleanRepresentation booleanRepresentation = BooleanRepresentationFactory.BOOLEAN;
+
@@ -124,6 +124,12 @@
@@ -144,6 +144,12 @@
@@ -107,6 +107,12 @@
@@ -136,6 +136,12 @@
@@ -133,6 +133,12 @@
@@ -153,6 +153,12 @@
@@ -120,6 +120,12 @@
@@ -150,6 +150,12 @@
@@ -116,6 +116,12 @@
@@ -132,6 +132,12 @@
@@ -147,6 +147,12 @@
@@ -138,6 +138,12 @@
@@ -151,6 +151,12 @@
@@ -140,6 +140,12 @@
@@ -3859,6 +3859,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
var text = "您确定要将“" + title + "”标记为已阅吗?";
this.app.confirm("infor", e, "标记已阅确认", text, 300, 120, function () {
+ var confirmDlg = this;
var read = null;
for (var i = 0; i < _self.businessData.readList.length; i++) {
if (_self.businessData.readList[i].person === layout.session.user.distinguishedName) {
@@ -3876,7 +3877,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
//移动端页面关闭
_self.finishOnMobile()
} else {
- this.close();
+ confirmDlg.close();
}, null, read.id, read);
@@ -3886,7 +3887,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({