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
4255bc56
Commit
4255bc56
authored
Jul 01, 2023
by
gechengyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交数据库配置初始化模板
parent
50ca4183
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
+37
-5
Acdopn.java
...siness/src/main/java/com/ceb/gjjs/mda/manager/Acdopn.java
+17
-5
MybatisDbUtil.java
.../brilliance/mda/support/mybatis/config/MybatisDbUtil.java
+16
-0
mybatis.properties
...-bd-mybatis-support/src/main/resources/mybatis.properties
+4
-0
No files found.
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/manager/Acdopn.java
View file @
4255bc56
...
...
@@ -2,13 +2,14 @@ package com.ceb.gjjs.mda.manager;
import
java.util.*
;
import
java.math.BigDecimal
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
import
com.brilliance.eibs.core.service.ResultMsg
;
import
com.brilliance.mda.runtime.mda.*
;
import
com.brilliance.mda.runtime.mda.impl.*
;
import
com.brilliance.mda.runtime.annotation.*
;
import
com.brilliance.mda.runtime.mda.driver.*
;
import
static
com
.
brilliance
.
mda
.
runtime
.
mda
.
Constants
.*;
import
com.fasterxml.jackson.annotation.*
;
import
com.brilliance.mda.runtime.mda.util.*
;
import
lombok.Getter
;
...
...
@@ -26,6 +27,7 @@ import com.ceb.gjjs.mda.manager.module.Rmkmod;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
/**
* 在线预约开户
*/
...
...
@@ -179,7 +181,14 @@ public class Acdopn extends AbstractTransaction{
yymap
.
put
(
"ContactAddress"
,
this
.
getAcdgrp
().
getRec
().
getContactaddress
());
//新增
yymap
.
put
(
"AppointmentDate"
,
MdaUtils
.
format
(
this
.
getAcdgrp
().
getRec
().
getAppointmentdate
(),
"yyyyMMdd"
));
//新增
yymap
.
put
(
"openaccRegion"
,
bk
);
//新增
Object
resMsg
=
MdaUtils
.
invoke
(
"com.brilliance.eibs.main.Client"
,
"scall"
,
"w414"
,
"w414"
,
new
Object
[]{
yymap
});
//Object resMsg = MdaUtils.invoke("com.brilliance.eibs.main.Client","scall","w414","w414",new Object[]{yymap});
Object
resMsg
=
new
ResultMsg
();
Map
retMap
=
new
HashMap
();
ResultMsg
retMsg
=
(
ResultMsg
)
resMsg
;
retMsg
.
setContent
(
retMap
);
resMsg
=
retMsg
;
Map
yyrst
=
null
;
if
((
Boolean
)
MdaUtils
.
invoke
(
resMsg
,
"isSuccess"
))
{
...
...
@@ -396,8 +405,11 @@ public class Acdopn extends AbstractTransaction{
if
(!
MdaUtils
.
isEmpty
(
acd
))
this
.
getAcdgrp
().
getRec
().
copyValue
(
acd
);
this
.
getAcdgrp
().
getRec
().
setCredat
(
MdaUtils
.
today
());
//测试用
//ctx.getDaoSession().dbRead(this.getAcdgrp().getRec(),new Argument<String>("inr",EQ,"00000686"));
ctx
.
getDaoSession
().
dbReadByInr
(
this
.
getAcdgrp
().
getRec
(),
"00000686"
);
ctx
.
getDaoSession
().
dbRead
(
this
.
getAcdgrp
().
getPty
(),
new
Argument
<
String
>(
"cifno"
,
EQ
,
this
.
getAcdgrp
().
getRec
().
getSocialcrdtcd
()));
this
.
getAcdgrp
().
getRec
().
setNcid
(
this
.
getAcdgrp
().
getPty
().
getCid
());
...
...
gjjs-bd-mybatis-support/src/main/java/com/brilliance/mda/support/mybatis/config/MybatisDbUtil.java
0 → 100644
View file @
4255bc56
package
com
.
brilliance
.
mda
.
support
.
mybatis
.
config
;
import
lombok.Data
;
import
org.apache.commons.beanutils.PropertyUtils
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.context.annotation.Configuration
;
public
class
MybatisDbUtil
{
// private static Map
static
{
// PropertyUtils
}
}
gjjs-bd-mybatis-support/src/main/resources/mybatis.properties
0 → 100644
View file @
4255bc56
#数据库相关配置信息
dbinfo.multidb
=
false
dbinfo.name
=
ipsnew
\ No newline at end of file
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