Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
fa73fd67
Commit
fa73fd67
authored
Jul 03, 2023
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.解决Oracle Long数据类型异常;
2.优化IContext相关函数
parent
7cf34218
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
Acdopn.java
...siness/src/main/java/com/ceb/gjjs/mda/manager/Acdopn.java
+4
-3
acdmapper.xml
...usiness/src/main/resources/META-INF/orm/mda/acdmapper.xml
+2
-1
MdaContext.java
...ava/com/brilliance/mda/runtime/mda/driver/MdaContext.java
+4
-3
AbstractRouteService.java
.../brilliance/mda/support/service/AbstractRouteService.java
+2
-1
No files found.
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/manager/Acdopn.java
View file @
fa73fd67
...
...
@@ -187,7 +187,8 @@ public class Acdopn extends AbstractTransaction{
Object
resMsg
=
new
ResultMsg
();
Map
retMap
=
new
HashMap
();
retMap
.
put
(
"code"
,
"000000"
);
retMap
.
put
(
"exeTaskResult"
,
"1"
);
//retMap.put("exeTaskResult","1");
retMap
.
put
(
"promptInfo"
,
"exeTaskResult is null,please check!"
);
ResultMsg
retMsg
=
(
ResultMsg
)
resMsg
;
retMsg
.
setContent
(
retMap
);
resMsg
=
retMsg
;
...
...
@@ -409,8 +410,8 @@ public class Acdopn extends AbstractTransaction{
this
.
getAcdgrp
().
getRec
().
copyValue
(
acd
);
//测试用
//
ctx.getDaoSession().dbRead(this.getAcdgrp().getRec(),new Argument<String>("inr",EQ,"00000686"));
ctx
.
getDaoSession
().
dbReadByInr
(
this
.
getAcdgrp
().
getRec
(),
"00000686"
);
ctx
.
getDaoSession
().
dbRead
(
this
.
getAcdgrp
().
getRec
(),
new
Argument
<
String
>(
"inr"
,
EQ
,
"00000686"
));
//
ctx.getDaoSession().dbReadByInr(this.getAcdgrp().getRec(),"00000686");
...
...
gjjs-bd-business/src/main/resources/META-INF/orm/mda/acdmapper.xml
View file @
fa73fd67
...
...
@@ -289,7 +289,8 @@
</delete>
<select
id=
"dyncRead"
resultMap=
"BaseResultMap"
>
${sql}
<!-- ${sql}-->
select
<include
refid=
"Base_Column_List"
></include>
from acd where ${conditions}
</select>
</mapper>
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/mda/driver/MdaContext.java
View file @
fa73fd67
...
...
@@ -128,10 +128,11 @@ public class MdaContext implements IContext {
}
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
.
message
=
message
+
""
;
}
this
.
errorMessage
=
message
+
""
;
//this.message = message + "";
// }
}
public
boolean
checkAll
(
IModule
module
)
{
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/support/service/AbstractRouteService.java
View file @
fa73fd67
...
...
@@ -185,7 +185,8 @@ public abstract class AbstractRouteService<V extends BaseVO> {
}
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
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment