Commit fa73fd67 by gechengyang

1.解决Oracle Long数据类型异常;

2.优化IContext相关函数
parent 7cf34218
...@@ -187,7 +187,8 @@ public class Acdopn extends AbstractTransaction{ ...@@ -187,7 +187,8 @@ public class Acdopn extends AbstractTransaction{
Object resMsg = new ResultMsg(); Object resMsg = new ResultMsg();
Map retMap=new HashMap(); Map retMap=new HashMap();
retMap.put("code","000000"); retMap.put("code","000000");
retMap.put("exeTaskResult","1"); //retMap.put("exeTaskResult","1");
retMap.put("promptInfo","exeTaskResult is null,please check!");
ResultMsg retMsg= (ResultMsg) resMsg; ResultMsg retMsg= (ResultMsg) resMsg;
retMsg.setContent(retMap); retMsg.setContent(retMap);
resMsg=retMsg; resMsg=retMsg;
...@@ -409,8 +410,8 @@ public class Acdopn extends AbstractTransaction{ ...@@ -409,8 +410,8 @@ public class Acdopn extends AbstractTransaction{
this.getAcdgrp().getRec().copyValue(acd); this.getAcdgrp().getRec().copyValue(acd);
//测试用 //测试用
//ctx.getDaoSession().dbRead(this.getAcdgrp().getRec(),new Argument<String>("inr",EQ,"00000686")); ctx.getDaoSession().dbRead(this.getAcdgrp().getRec(),new Argument<String>("inr",EQ,"00000686"));
ctx.getDaoSession().dbReadByInr(this.getAcdgrp().getRec(),"00000686"); //ctx.getDaoSession().dbReadByInr(this.getAcdgrp().getRec(),"00000686");
......
...@@ -289,7 +289,8 @@ ...@@ -289,7 +289,8 @@
</delete> </delete>
<select id="dyncRead" resultMap="BaseResultMap"> <select id="dyncRead" resultMap="BaseResultMap">
${sql} <!-- ${sql}-->
select <include refid="Base_Column_List"></include> from acd where ${conditions}
</select> </select>
</mapper> </mapper>
......
...@@ -128,10 +128,11 @@ public class MdaContext implements IContext { ...@@ -128,10 +128,11 @@ public class MdaContext implements IContext {
} }
public void setMessage(String errorNo, Object message) { public void setMessage(String errorNo, Object message) {
if (errorNo != null && errorNo.matches("E\\d+")) { // if (errorNo != null && errorNo.matches("E\\d+")) {
this.errorNo = errorNo; this.errorNo = errorNo;
this.message = message + ""; this.errorMessage = message + "";
} //this.message = message + "";
// }
} }
public boolean checkAll(IModule module) { public boolean checkAll(IModule module) {
......
...@@ -185,7 +185,8 @@ public abstract class AbstractRouteService<V extends BaseVO> { ...@@ -185,7 +185,8 @@ public abstract class AbstractRouteService<V extends BaseVO> {
} }
public boolean isStdErrorNo(String errorNo) { public boolean isStdErrorNo(String errorNo) {
if (errorNo != null && errorNo.matches("E\\d{4}")) { //if (errorNo != null && errorNo.matches("E\\d{4}")) {
if (errorNo != null) {
return true; return true;
} }
return false; return false;
......
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