Commit 4255bc56 by gechengyang

提交数据库配置初始化模板

parent 50ca4183
...@@ -2,13 +2,14 @@ package com.ceb.gjjs.mda.manager; ...@@ -2,13 +2,14 @@ package com.ceb.gjjs.mda.manager;
import java.util.*; import java.util.*;
import java.math.BigDecimal; 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.*;
import com.brilliance.mda.runtime.mda.impl.*; import com.brilliance.mda.runtime.mda.impl.*;
import com.brilliance.mda.runtime.annotation.*; import com.brilliance.mda.runtime.annotation.*;
import com.brilliance.mda.runtime.mda.driver.*; import com.brilliance.mda.runtime.mda.driver.*;
import static com.brilliance.mda.runtime.mda.Constants.*; import static com.brilliance.mda.runtime.mda.Constants.*;
import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.annotation.*;
import com.brilliance.mda.runtime.mda.util.*; import com.brilliance.mda.runtime.mda.util.*;
import lombok.Getter; import lombok.Getter;
...@@ -26,6 +27,7 @@ import com.ceb.gjjs.mda.manager.module.Rmkmod; ...@@ -26,6 +27,7 @@ import com.ceb.gjjs.mda.manager.module.Rmkmod;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/** /**
* 在线预约开户 * 在线预约开户
*/ */
...@@ -179,7 +181,14 @@ public class Acdopn extends AbstractTransaction{ ...@@ -179,7 +181,14 @@ public class Acdopn extends AbstractTransaction{
yymap.put("ContactAddress",this.getAcdgrp().getRec().getContactaddress());//新增 yymap.put("ContactAddress",this.getAcdgrp().getRec().getContactaddress());//新增
yymap.put("AppointmentDate",MdaUtils.format(this.getAcdgrp().getRec().getAppointmentdate(),"yyyyMMdd"));//新增 yymap.put("AppointmentDate",MdaUtils.format(this.getAcdgrp().getRec().getAppointmentdate(),"yyyyMMdd"));//新增
yymap.put("openaccRegion",bk);//新增 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; Map yyrst = null;
if((Boolean)MdaUtils.invoke(resMsg,"isSuccess")) if((Boolean)MdaUtils.invoke(resMsg,"isSuccess"))
{ {
...@@ -396,8 +405,11 @@ public class Acdopn extends AbstractTransaction{ ...@@ -396,8 +405,11 @@ public class Acdopn extends AbstractTransaction{
if(!MdaUtils.isEmpty(acd)) if(!MdaUtils.isEmpty(acd))
this.getAcdgrp().getRec().copyValue(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())); ctx.getDaoSession().dbRead(this.getAcdgrp().getPty(),new Argument<String>("cifno",EQ,this.getAcdgrp().getRec().getSocialcrdtcd()));
this.getAcdgrp().getRec().setNcid(this.getAcdgrp().getPty().getCid()); this.getAcdgrp().getRec().setNcid(this.getAcdgrp().getPty().getCid());
......
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
}
}
#数据库相关配置信息
dbinfo.multidb=false
dbinfo.name=ipsnew
\ No newline at end of file
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