Kaynağa Gözat

日志逻辑变更

longht 4 yıl önce
ebeveyn
işleme
5e5b21e16d

+ 13 - 0
META-INF/DevLogServer.upm

@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<module name="PubDevToolEJB">
+	<public>
+		
+	    <!--NCDEVLOGSERVER-->
+        <component remote="true" singleton="true" tx="CMT">
+            <interface>nc.itf.pubdev.pubtool.logserver.IDevExecLogServer_RequiresNew</interface>
+            <implementation>nc.impl.pubtool.logserver.DevExecLogServer_RequiresNewimpl</implementation>
+        </component> 
+	</public>
+	<private>
+	</private>
+</module>

+ 1 - 8
META-INF/PubDevTool.upm

@@ -7,14 +7,7 @@
 		      <interface>nc.itf.pubdev.pubtool.filetool.IDevFileGainTool</interface>
 		      <implementation>nc.impl.pubdev.pubtool.filetool.DevFileGainToolimpl</implementation>
 	      </component>
-	      
-	      
-	      <!--NCDEVLOGSERVER-->
-        <component remote="true" singleton="true" tx="CMT">
-            <interface>nc.itf.pubdev.pubtool.logserver.IDevExecLogServer_RequiresNew</interface>
-            <implementation>nc.impl.pubtool.logserver.DevExecLogServer_RequiresNewimpl</implementation>
-        </component> 
-        
+  
           <!--BDGain-->
         <component remote="true" singleton="true" tx="CMT">
             <interface>nc.itf.pubdev.pubtool.BDTool.IBDDatasGainTool</interface>

+ 2 - 5
src/private/nc/impl/pubtool/logserver/DevExecLogServer_RequiresNewimpl.java

@@ -3,7 +3,6 @@ package nc.impl.pubtool.logserver;
 import nc.bs.dao.BaseDAO;
 import nc.bs.logging.Logger;
 import nc.itf.pubdev.pubtool.logserver.IDevExecLogServer_RequiresNew;
-import nc.vo.pub.BusinessException;
 import nc.vo.pub.lang.UFBoolean;
 import nc.vo.pub.pubtool.logserver.NCDevExecLogVO;
 import nc.vo.pub.pubtool.logserver.NCFileDownLogVO;
@@ -13,8 +12,7 @@ public class DevExecLogServer_RequiresNewimpl implements
 
 	public boolean insertLog_RequiresNew(UFBoolean isSuccess, String operation,
 			String resultInfo, String errorInfo, String sendData,
-			String billId, String billType, String billName)
-			throws BusinessException {
+			String billId, String billType, String billName) {
 		// TODO Auto-generated method stub
 		try {
 			Logger.debug("==============enter method insertLog_RequiresNew ========");
@@ -44,8 +42,7 @@ public class DevExecLogServer_RequiresNewimpl implements
 
 	@Override
 	public boolean insertFileLog_RequiresNew(UFBoolean isSuccess, String operation, String resultInfo, String errorInfo,
-			String sendData, String filename, String downdate, String downtype, String filetype)
-			throws BusinessException {
+			String sendData, String filename, String downdate, String downtype, String filetype) {
 		// TODO Auto-generated method stub
 
 		// TODO Auto-generated method stub

+ 2 - 2
src/public/nc/itf/pubdev/pubtool/logserver/IDevExecLogServer_RequiresNew.java

@@ -20,7 +20,7 @@ public interface IDevExecLogServer_RequiresNew {
 	 */
 	public boolean insertLog_RequiresNew(UFBoolean isSuccess, String operation,
 			String resultInfo, String errorInfo, String sendData,
-			String billId, String billType, String billName) throws BusinessException;
+			String billId, String billType, String billName) ;
 	
 	
 	/**
@@ -39,6 +39,6 @@ public interface IDevExecLogServer_RequiresNew {
 	 */
 	public boolean insertFileLog_RequiresNew(UFBoolean isSuccess, String operation,
 			String resultInfo, String errorInfo, String sendData,
-			String filename, String downdate, String downtype,String filetype) throws BusinessException;
+			String filename, String downdate, String downtype,String filetype);
 
 }