核销2-已暂停开发
This commit is contained in:
		
							parent
							
								
									f7183c871d
								
							
						
					
					
						commit
						684f9a1d95
					
				|  | @ -0,0 +1,32 @@ | ||||||
|  | // | ||||||
|  | // Source code recreated from a .class file by IntelliJ IDEA | ||||||
|  | // (powered by FernFlower decompiler) | ||||||
|  | // | ||||||
|  | 
 | ||||||
|  | package nccloud.web.gl.verify.action; | ||||||
|  | 
 | ||||||
|  | import nc.vo.pub.BusinessException; | ||||||
|  | import nccloud.dto.gl.verify.VerifyInfoWebVO; | ||||||
|  | import nccloud.framework.core.exception.ExceptionUtils; | ||||||
|  | import nccloud.framework.service.ServiceLocator; | ||||||
|  | import nccloud.framework.web.action.itf.ICommonAction; | ||||||
|  | import nccloud.framework.web.container.IRequest; | ||||||
|  | import nccloud.framework.web.json.JsonFactory; | ||||||
|  | import nccloud.pubitf.gl.lightgl.verify.IVerifyWebService; | ||||||
|  | 
 | ||||||
|  | public class VerifyMulAction implements ICommonAction { | ||||||
|  |     public VerifyMulAction() { | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public Object doAction(IRequest request) { | ||||||
|  |         String json = request.read(); | ||||||
|  |         VerifyInfoWebVO verifyInfoWebVO = (VerifyInfoWebVO)JsonFactory.create().fromJson(json, VerifyInfoWebVO.class); | ||||||
|  | 
 | ||||||
|  |         try { | ||||||
|  |             return ((IVerifyWebService)ServiceLocator.find(IVerifyWebService.class)).onVerifyMul(verifyInfoWebVO); | ||||||
|  |         } catch (BusinessException e) { | ||||||
|  |             ExceptionUtils.wrapException(e); | ||||||
|  |             return null; | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | @ -0,0 +1,83 @@ | ||||||
|  | <authorizes> | ||||||
|  | 	<authorize> | ||||||
|  | 		<!--核销--> | ||||||
|  | 		<appcode>20020NAIPT,20020VRIFY,20020VYOBS,20021DLANL,20021VYBAL,20021VYQRY</appcode> | ||||||
|  | 		<actions> | ||||||
|  | 			<!--查询财务核算账簿是否启用二级核算等信息--> | ||||||
|  | 			<action>gl.voucher.queryBookCombineInfo</action> | ||||||
|  | 			<!--根据会计科目查询辅助核算项目--> | ||||||
|  | 			<action>>gl.voucher.queryAssItem</action> | ||||||
|  | 			<!--核销查询--> | ||||||
|  | 			<action>gl.verify.query</action> | ||||||
|  | 			<!--核销--> | ||||||
|  | 			<action>gl.verify.onverify</action> | ||||||
|  | 			<!--异币种核销--> | ||||||
|  | 			<action>gl.verify.onverifyMul</action> | ||||||
|  | 			<!--核销历史查询--> | ||||||
|  | 			<action>gl.verify.historyquery</action> | ||||||
|  | 			<!--核销历史打印--> | ||||||
|  | 			<action>gl.verify.verhistoryprint</action> | ||||||
|  | 			<!--核销历史输出--> | ||||||
|  | 			<action>gl.verify.verhistoryoutput</action>	 | ||||||
|  | 			<!--期初未达打印--> | ||||||
|  | 			<action>gl.verify.verifybeginprint</action> | ||||||
|  | 			<!--期初未达输出--> | ||||||
|  | 			<action>gl.verify.verifybeginoutput</action> | ||||||
|  | 			<!--取消核销-->	 | ||||||
|  | 			<action>gl.verify.unverify</action> | ||||||
|  | 			<!--红蓝对冲--> | ||||||
|  | 			<action>gl.verify.onRedBlue</action> | ||||||
|  | 			<!--自动核销--> | ||||||
|  | 			<action>gl.verify.onAutoVerify</action> | ||||||
|  | 			<!--自动红蓝对冲--> | ||||||
|  | 			<action>gl.verify.onAutoRedBlue</action> | ||||||
|  | 			<!--核销余额查询--> | ||||||
|  | 			<action>gl.verify.verBalanceQuery</action> | ||||||
|  | 			<!--核销余额打印--> | ||||||
|  | 			<action>gl.verify.verbalanceprint</action> | ||||||
|  | 			<!--核销余额输出--> | ||||||
|  | 			<action>gl.verify.verbalanceoutput</action> | ||||||
|  | 			<!--核销明细查询-->	 | ||||||
|  | 			<action>gl.verify.verDetailQuery</action> | ||||||
|  | 			<!--联查核销情况--> | ||||||
|  | 			<action>gl.verify.verDetailLinkQuery</action> | ||||||
|  | 			<!--往来核销查询(汇总)--> | ||||||
|  | 			<action>gl.verify.accountAgeAnalysis</action> | ||||||
|  | 			<!--往来核销查询(明细)--> | ||||||
|  | 			<action>gl.verify.accountAgeAnalysisDetail</action> | ||||||
|  | 			<!--查询坏账比率--> | ||||||
|  | 			<action>gl.verify.badaccountrate</action> | ||||||
|  | 			<!--核销对象查询--> | ||||||
|  | 			<action>gl.verify.verifyobjquery</action> | ||||||
|  | 			<!--核销对象保存--> | ||||||
|  | 			<action>gl.verify.verifyobjsave</action> | ||||||
|  | 			<!--核销对象删除--> | ||||||
|  | 			<action>gl.verify.verifyobjdelete</action> | ||||||
|  | 			<!--核销对象启用校验--> | ||||||
|  | 			<action>gl.verify.verifyobjcheck</action> | ||||||
|  | 			<!--核销对象启用--> | ||||||
|  | 			<action>gl.verify.verifyobjenable</action> | ||||||
|  | 			<!--核销对象停用--> | ||||||
|  | 			<action>gl.verify.verifyobjdisable</action> | ||||||
|  | 			<!--期初未达查询--> | ||||||
|  | 			<action>gl.verify.verifyinitquery</action> | ||||||
|  | 			<!--期初未达表头信息--> | ||||||
|  | 			<action>gl.verify.verifyinitheadtitle</action> | ||||||
|  | 			<!--期初未达保存--> | ||||||
|  | 			<action>gl.verify.verifyinitsave</action> | ||||||
|  | 			<!--期初未达导入期初余额--> | ||||||
|  | 			<action>gl.verify.verifyinitimportqc</action> | ||||||
|  | 			<!--期初未达导入凭证--> | ||||||
|  | 			<action>gl.verify.verifyinitfromvoucher</action> | ||||||
|  | 			<!--期初未达导出excel--> | ||||||
|  | 			<action>gl.verify.verifyinitexportexcel</action> | ||||||
|  | 			<!--期初未达导入excel--> | ||||||
|  | 			<action>gl.verify.verifyinitimportexcel</action> | ||||||
|  | 			<!--核销对象检查是否显示业务单元--> | ||||||
|  | 			<action>gl.verify.verifyobjcheckbu</action> | ||||||
|  | 			<!--会计科目查询核销对象--> | ||||||
|  | 			<action>gl.verify.verifyobjinfo</action> | ||||||
|  | 			<action>gl.voucher.voucherRelatedApp</action> | ||||||
|  | 		</actions> | ||||||
|  | 	</authorize> | ||||||
|  | </authorizes> | ||||||
|  | @ -0,0 +1,199 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8" standalone="no" ?> | ||||||
|  | <actions> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.rtverify</name> | ||||||
|  |         <label>即时核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.RTVerifyAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.refverify</name> | ||||||
|  |         <label>参照核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.RefVerifyAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.query</name> | ||||||
|  |         <label>核销查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.QueryVerifyAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.onverify</name> | ||||||
|  |         <label>核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyMulAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.onverifyMul</name> | ||||||
|  |         <label>异币种核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyMulAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.historyquery</name> | ||||||
|  |         <label>核销历史查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.HistoryQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verhistoryprint</name> | ||||||
|  |         <label>核销历史打印</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerHistoryPrintAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verhistoryoutput</name> | ||||||
|  |         <label>核销历史输出</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerHistoryOutputAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifybeginprint</name> | ||||||
|  |         <label>期初未达打印</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyBeginPrintAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifybeginoutput</name> | ||||||
|  |         <label>期初未达输出</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyBeginOutputAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.unverify</name> | ||||||
|  |         <label>取消核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.UnVerifyAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.onRedBlue</name> | ||||||
|  |         <label>红蓝对冲</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.RedBlueAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.onAutoVerify</name> | ||||||
|  |         <label>自动核销</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.AutoVerifyAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.onAutoRedBlue</name> | ||||||
|  |         <label>自动红蓝对冲</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.AutoRedBlueAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verBalanceQuery</name> | ||||||
|  |         <label>核销余额查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerBalanceQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verbalanceprint</name> | ||||||
|  |         <label>核销余额打印</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerBalancePrintAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verbalanceoutput</name> | ||||||
|  |         <label>核销余额输出</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerBalanceOutputAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verDetailQuery</name> | ||||||
|  |         <label>核销明细查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerDetailQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verDetailLinkQuery</name> | ||||||
|  |         <label>联查核销情况</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerDetailLinkQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.accountAgeAnalysis</name> | ||||||
|  |         <label>往来核销查询(汇总)</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.AccoungAgeAnalysisAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.accountAgeAnalysisDetail</name> | ||||||
|  |         <label>往来核销查询(明细)</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.AccoungAgeAnalysisDetailAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.badaccountrate</name> | ||||||
|  |         <label>查询坏账比率</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.BadAccountRateAction</clazz> | ||||||
|  |     </action> | ||||||
|  | 
 | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjquery</name> | ||||||
|  |         <label>核销对象查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjsave</name> | ||||||
|  |         <label>核销对象保存</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjSaveAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjdelete</name> | ||||||
|  |         <label>核销对象删除</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjDeleteAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjcheck</name> | ||||||
|  |         <label>核销对象启用校验</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjCheckAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjenable</name> | ||||||
|  |         <label>核销对象启用</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjEnableAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjdisable</name> | ||||||
|  |         <label>核销对象停用</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjDisableAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitquery</name> | ||||||
|  |         <label>期初未达查询</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitQueryAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitheadtitle</name> | ||||||
|  |         <label>期初未达表头信息</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitHeadTitleAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitsave</name> | ||||||
|  |         <label>期初未达保存</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitSaveAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitimportqc</name> | ||||||
|  |         <label>期初未达导入期初余额</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitImportQCAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitfromvoucher</name> | ||||||
|  |         <label>期初未达导入凭证</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitFromVoucherAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitexportexcel</name> | ||||||
|  |         <label>期初未达导出excel</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitExportExcelAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyinitimportexcel</name> | ||||||
|  |         <label>期初未达导入excel</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyInitImportExcelAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjcheckbu</name> | ||||||
|  |         <label>核销对象检查是否显示业务单元</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjCheckBUAction</clazz> | ||||||
|  |     </action> | ||||||
|  |     <action> | ||||||
|  |         <name>gl.verify.verifyobjinfo</name> | ||||||
|  |         <label>会计科目查询核销对象</label> | ||||||
|  |         <clazz>nccloud.web.gl.verify.action.VerifyObjInfoAction</clazz> | ||||||
|  |     </action> | ||||||
|  | </actions> | ||||||
|  | @ -244,8 +244,31 @@ public class VerifyWebServiceImpl implements IVerifyWebService { | ||||||
|         verifyModel.setDebitVerify(debitVerifyVOs); |         verifyModel.setDebitVerify(debitVerifyVOs); | ||||||
|         verifyModel.onVerify(); |         verifyModel.onVerify(); | ||||||
|         verifyModel.onQuery(verifyModel.getFilterVO(verifyInfoWebVO.getCondition())); |         verifyModel.onQuery(verifyModel.getFilterVO(verifyInfoWebVO.getCondition())); | ||||||
|         resultMap.put("credit", verifyModel.getCreditVerifyWebInfo()); |         Map<String, Map<String, Object>>[] creditInfo = verifyModel.getCreditVerifyWebInfo(); | ||||||
|         resultMap.put("debit", verifyModel.getDebitVerifyWebInfo()); |         Map<String, Map<String, Object>>[] debitInfo = verifyModel.getDebitVerifyWebInfo(); | ||||||
|  |         setCurrTypeNameForVerify(creditInfo, debitInfo); | ||||||
|  |         resultMap.put("credit", creditInfo); | ||||||
|  |         resultMap.put("debit", debitInfo); | ||||||
|  |         return resultMap; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     @Override | ||||||
|  |     public Map<String, Object> onVerifyMul(VerifyInfoWebVO verifyInfoWebVO) throws BusinessException { | ||||||
|  |         Map<String, Object> resultMap = new HashMap<String, Object>(); | ||||||
|  |         GlVerifyWebModel verifyModel = new GlVerifyWebModel(); | ||||||
|  |         verifyModel.setPk_accountingbook((String) verifyInfoWebVO.getCondition().get("pk_accountingbook")); | ||||||
|  |         verifyModel.checkVerifyObj(verifyInfoWebVO.getCondition()); | ||||||
|  |         VerifyDetailVO[] creditVerifyVOs = verifyModel.transferWebToVO(verifyInfoWebVO.getCredit().toArray(new VerifyDetailWebVO[0])); | ||||||
|  |         VerifyDetailVO[] debitVerifyVOs = verifyModel.transferWebToVO(verifyInfoWebVO.getDebit().toArray(new VerifyDetailWebVO[0])); | ||||||
|  |         verifyModel.setCreditVerify(creditVerifyVOs); | ||||||
|  |         verifyModel.setDebitVerify(debitVerifyVOs); | ||||||
|  |         verifyModel.onVerifyMul(); | ||||||
|  |         verifyModel.onQuery(verifyModel.getFilterVO(verifyInfoWebVO.getCondition())); | ||||||
|  |         Map<String, Map<String, Object>>[] creditInfo = verifyModel.getCreditVerifyWebInfo(); | ||||||
|  |         Map<String, Map<String, Object>>[] debitInfo = verifyModel.getDebitVerifyWebInfo(); | ||||||
|  |         setCurrTypeNameForVerify(creditInfo, debitInfo); | ||||||
|  |         resultMap.put("credit", creditInfo); | ||||||
|  |         resultMap.put("debit", debitInfo); | ||||||
|         return resultMap; |         return resultMap; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -737,23 +760,27 @@ public class VerifyWebServiceImpl implements IVerifyWebService { | ||||||
|             processCurrencyTypes(debitInfo, pk_currtypes); |             processCurrencyTypes(debitInfo, pk_currtypes); | ||||||
| 
 | 
 | ||||||
|             // ²éѯ±ÒÖÖÃû³Æ |             // ²éѯ±ÒÖÖÃû³Æ | ||||||
|             String pk_currtypeStr = String.join("','", pk_currtypes); |             if (!pk_currtypes.isEmpty()) { | ||||||
|             // NCCForUAPLogger.debug("pk_currtypeStr:" + pk_currtypeStr); |                 String pk_currtypeStr = String.join("','", pk_currtypes); | ||||||
|             String sql = "select pk_currtype, name from bd_currtype where pk_currtype in ('" + pk_currtypeStr + "') and dr = 0"; |                 // NCCForUAPLogger.debug("pk_currtypeStr:" + pk_currtypeStr); | ||||||
|             List<Map> results = (List<Map>) new BaseDAO().executeQuery(sql, new MapListProcessor()); |                 String sql = "select pk_currtype, name from bd_currtype where pk_currtype in ('" + pk_currtypeStr + "') and dr = 0"; | ||||||
|  |                 List<Map> results = (List<Map>) new BaseDAO().executeQuery(sql, new MapListProcessor()); | ||||||
| 
 | 
 | ||||||
|             for (Map result : results) { |                 for (Map result : results) { | ||||||
|                 String pk_currtype = result.getOrDefault("pk_currtype", "") + ""; |                     String pk_currtype = result.getOrDefault("pk_currtype", "") + ""; | ||||||
|                 String name = result.getOrDefault("name", "") + ""; |                     String name = result.getOrDefault("name", "") + ""; | ||||||
|                 if (pk_currtype.isEmpty() || name.isEmpty()) { |                     if (pk_currtype.isEmpty() || name.isEmpty()) { | ||||||
|                     continue; |                         continue; | ||||||
|  |                     } | ||||||
|  |                     resMap.put(pk_currtype, name); | ||||||
|                 } |                 } | ||||||
|                 resMap.put(pk_currtype, name); |  | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             // ÉèÖñÒÖÖÃû³Æ |             // ÉèÖñÒÖÖÃû³Æ | ||||||
|             setCurrencyNameInArr(creditInfo, resMap); |             if (!resMap.isEmpty()) { | ||||||
|             setCurrencyNameInArr(debitInfo, resMap); |                 setCurrencyNameInArr(creditInfo, resMap); | ||||||
|  |                 setCurrencyNameInArr(debitInfo, resMap); | ||||||
|  |             } | ||||||
|         } catch (Exception e) { |         } catch (Exception e) { | ||||||
|             NCCForUAPLogger.debug("setCurrTypeNameForVerify-exp:" + e.getMessage()); |             NCCForUAPLogger.debug("setCurrTypeNameForVerify-exp:" + e.getMessage()); | ||||||
|             throw new RuntimeException(e); |             throw new RuntimeException(e); | ||||||
|  | @ -761,26 +788,30 @@ public class VerifyWebServiceImpl implements IVerifyWebService { | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     private void processCurrencyTypes(Map<String, Map<String, Object>>[] infoArray, Set<String> pk_currtypes) { |     private void processCurrencyTypes(Map<String, Map<String, Object>>[] infoArray, Set<String> pk_currtypes) { | ||||||
|         for (Map<String, Map<String, Object>> map : infoArray) { |         if (infoArray != null) { | ||||||
|             Map<String, Object> currtypeMap = map.get("m_pk_currtype"); |             for (Map<String, Map<String, Object>> map : infoArray) { | ||||||
|             // NCCForUAPLogger.debug("infoArray-m_pk_currtype= " + currtypeMap); |                 Map<String, Object> currtypeMap = map.get("m_pk_currtype"); | ||||||
|             if (!"".equals(currtypeMap.getOrDefault("value", ""))) { |                 // NCCForUAPLogger.debug("infoArray-m_pk_currtype= " + currtypeMap); | ||||||
|                 String pk_currtype = currtypeMap.getOrDefault("value", "") + ""; |                 if (!"".equals(currtypeMap.getOrDefault("value", ""))) { | ||||||
|                 pk_currtypes.add(pk_currtype); |                     String pk_currtype = currtypeMap.getOrDefault("value", "") + ""; | ||||||
|  |                     pk_currtypes.add(pk_currtype); | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     private void setCurrencyNameInArr(Map<String, Map<String, Object>>[] infoArray, Map<String, String> resMap) { |     private void setCurrencyNameInArr(Map<String, Map<String, Object>>[] infoArray, Map<String, String> resMap) { | ||||||
|         for (Map<String, Map<String, Object>> map : infoArray) { |         if (infoArray != null) { | ||||||
|             Map<String, Object> currtypeMap = map.get("m_pk_currtype"); |             for (Map<String, Map<String, Object>> map : infoArray) { | ||||||
|             String pk_currtype = currtypeMap.getOrDefault("value", "") + ""; |                 Map<String, Object> currtypeMap = map.get("m_pk_currtype"); | ||||||
|             String m_currtypeName = resMap.get(pk_currtype); |                 String pk_currtype = currtypeMap.getOrDefault("value", "") + ""; | ||||||
|  |                 String m_currtypeName = resMap.get(pk_currtype); | ||||||
| 
 | 
 | ||||||
|             Map<String, Object> currtypeNameMap = new HashMap<>(); |                 Map<String, Object> currtypeNameMap = new HashMap<>(); | ||||||
|             currtypeNameMap.put("value", m_currtypeName); |                 currtypeNameMap.put("value", m_currtypeName); | ||||||
|             currtypeNameMap.put("display", m_currtypeName); |                 currtypeNameMap.put("display", m_currtypeName); | ||||||
|             map.put("m_currtypeName", currtypeNameMap); |                 map.put("m_currtypeName", currtypeNameMap); | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -0,0 +1,47 @@ | ||||||
|  | // | ||||||
|  | // Source code recreated from a .class file by IntelliJ IDEA | ||||||
|  | // (powered by FernFlower decompiler) | ||||||
|  | // | ||||||
|  | 
 | ||||||
|  | package nccloud.pubitf.gl.lightgl.verify; | ||||||
|  | 
 | ||||||
|  | import nc.vo.gl.pubvoucher.DetailVO; | ||||||
|  | import nc.vo.pub.BusinessException; | ||||||
|  | import nccloud.dto.gl.verify.VerifyInfoWebVO; | ||||||
|  | 
 | ||||||
|  | import java.util.List; | ||||||
|  | import java.util.Map; | ||||||
|  | 
 | ||||||
|  | public interface IVerifyWebService { | ||||||
|  |     Map<String, Object> queryRtVerifyData(String var1, String var2, String var3) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> queryVerifyDatas(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onVerify(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onVerifyMul(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onAutoVerify(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> queryHistoryDatas(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> unVerify(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onRedBlue(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onAutoRedBlue(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> verBalanceQuery(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> verDetailQuery(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> verDetailLinkQuery(VerifyInfoWebVO var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onQuery(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> onDetailed(Map<String, Object> var1) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     Map<String, Object> refVerify(DetailVO var1, String var2) throws BusinessException; | ||||||
|  | 
 | ||||||
|  |     List<Object> queryBadAccountRate(String var1) throws BusinessException; | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue