Ver Fonte

前台配了保存即审批,把形态转换里的审批去掉

pancy há 1 ano atrás
pai
commit
5e759b4088
1 ficheiros alterados com 6 adições e 5 exclusões
  1. 6 5
      xh/xh/src/private/nc/bs/xh/impl/TransformAddImpl.java

+ 6 - 5
xh/xh/src/private/nc/bs/xh/impl/TransformAddImpl.java

@@ -114,13 +114,14 @@ public class TransformAddImpl extends BaseServlet implements IHttpServletAdaptor
 			
 			ITransformMaitain itransform=(ITransformMaitain)NCLocator.getInstance().lookup(ITransformMaitain.class);
 			itransform.insert(transformvos);
-			IPFBusiAction service = NCLocator.getInstance().lookup(IPFBusiAction.class);
-			HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态 
-			pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(transformvos[0]));
-			service.processAction("APPROVE",
-	                "4N", null, transformvos[0], null, pfparam);
+//			IPFBusiAction service = NCLocator.getInstance().lookup(IPFBusiAction.class);
+//			HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态 
+//			pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(transformvos[0]));
+//			service.processAction("APPROVE",
+//	                "4N", null, transformvos[0], null, pfparam);
 			out.print(formatRSJsonData("成功","",vbillcode)); 
 			
+			
 		} catch (Exception e) {
 			// TODO Auto-generated catch block
 			resp.getWriter().write(formatRSJsonData("失败",