Commit f5d0f424 by jianglong

actMapper新增查询方法,新增cbsconf.ini类FXD配置

parent 76f905e1
...@@ -78,4 +78,6 @@ public interface ActMapper { ...@@ -78,4 +78,6 @@ public interface ActMapper {
List<Act> selectCashAccList(@Param("holptyinr") String holptyinr, @Param("cur") String cur); List<Act> selectCashAccList(@Param("holptyinr") String holptyinr, @Param("cur") String cur);
List<Act> selectByExtkeyAndActpro(@Param("extkey") String extkey); List<Act> selectByExtkeyAndActpro(@Param("extkey") String extkey);
List<String> getSerAccByConditionSql(@Param(value = "conditionSql") String conditionSql);
} }
\ No newline at end of file
...@@ -32,6 +32,7 @@ COD30=BDD ...@@ -32,6 +32,7 @@ COD30=BDD
COD31=BFD COD31=BFD
COD31=NID COD31=NID
COD31=NCD COD31=NCD
COD33=FXD
[CBCCOD] [CBCCOD]
COD1=ACRACR COD1=ACRACR
COD2=AOPSUM COD2=AOPSUM
...@@ -1244,4 +1245,46 @@ OPN=- ...@@ -1244,4 +1245,46 @@ OPN=-
UTLSUM=+ UTLSUM=+
[NID-UTLAMT-COL] [NID-UTLAMT-COL]
COD1=OPN COD1=OPN
COD2=UTLSUM COD2=UTLSUM
\ No newline at end of file [FXD-CCVIN]
OPR1=+CCVSUM
[FXD-CCVIN-OPR]
CCVSUM=+
[FXD-CCVIN-COL]
COD1=CCVSUM
[FXD-CCVOUT]
OPR1=-CCVSUM
[FXD-CCVOUT-OPR]
CCVSUM=-
[FXD-CCVOUT-COL]
COD1=CCVSUM
[FXD-MAXAMT]
OPR1=+MAXSUM
OPR2=+OPN
[FXD-MAXAMT-OPR]
MAXSUM=+
OPN=+
[FXD-MAXAMT-COL]
COD1=MAXSUM
COD2=OPN
[FXD-NOMAMT]
OPR1=+NOMSUM
[FXD-NOMAMT-OPR]
NOMSUM=+
[FXD-NOMAMT-COL]
COD1=NOMSUM
[FXD-OPNAMT]
OPR1=+OPN2
[FXD-OPNAMT-OPR]
OPN2=+
[FXD-OPNAMT-COL]
COD1=OPN2
[FXD-UTLAMT]
OPR1=-OPN
OPR2=+UTLSUM
[FXD-UTLAMT-OPR]
OPN=-
UTLSUM=+
[FXD-UTLAMT-COL]
COD1=OPN
COD2=UTLSUM
...@@ -300,6 +300,13 @@ ...@@ -300,6 +300,13 @@
${conditionSql} ${conditionSql}
</select> </select>
<select id="getSerAccByConditionSql" resultMap="BaseResultMap">
select
seracc
from act
${conditionSql}
</select>
<select id="selectPtyinrListByExtkey" resultType="java.lang.String"> <!--环境用的是oracle数据库,实际再调整--> <select id="selectPtyinrListByExtkey" resultType="java.lang.String"> <!--环境用的是oracle数据库,实际再调整-->
select distinct holptyinr from ACT WHERE EXTKEY=#{extkey,jdbcType=VARCHAR} select distinct holptyinr from ACT WHERE EXTKEY=#{extkey,jdbcType=VARCHAR}
</select> </select>
......
...@@ -82,7 +82,11 @@ public class DyncDaoService { ...@@ -82,7 +82,11 @@ public class DyncDaoService {
Map<String, Object> params = ImmutableBiMap.of("sql", sql); Map<String, Object> params = ImmutableBiMap.of("sql", sql);
Map<String, Object> result = publicMapper.dyncQueryMap(params); Map<String, Object> result = publicMapper.dyncQueryMap(params);
if (result != null && result.size() > 0) { if (result != null && result.size() > 0) {
return (T) result.get(field); if (result.get(field)!=null ){
return (T) result.get(field);
}else{
return (T) result.get(field.toUpperCase());
}
} }
return null; return null;
} }
......
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