|
@@ -18,6 +18,7 @@ import nc.bs.servlet.service.BaseServlet;
|
|
import nc.itf.ic.m4n.ITransformMaitain;
|
|
import nc.itf.ic.m4n.ITransformMaitain;
|
|
import nc.itf.pu.m21.IOrderMaintain;
|
|
import nc.itf.pu.m21.IOrderMaintain;
|
|
import nc.itf.uap.IUAPQueryBS;
|
|
import nc.itf.uap.IUAPQueryBS;
|
|
|
|
+import nc.itf.uap.pf.IPFBusiAction;
|
|
import nc.jdbc.framework.processor.ColumnProcessor;
|
|
import nc.jdbc.framework.processor.ColumnProcessor;
|
|
import nc.log.NcLog;
|
|
import nc.log.NcLog;
|
|
import nc.vo.ic.m4n.entity.TransformHeadVO;
|
|
import nc.vo.ic.m4n.entity.TransformHeadVO;
|
|
@@ -47,6 +48,8 @@ public class TransformAddImpl extends BaseServlet implements IHttpServletAdaptor
|
|
PrintWriter out = resp.getWriter();
|
|
PrintWriter out = resp.getWriter();
|
|
vbillcode = json.getString("vbillcode");
|
|
vbillcode = json.getString("vbillcode");
|
|
checkJson(json);//·Ç¿ÕÅжÏ
|
|
checkJson(json);//·Ç¿ÕÅжÏ
|
|
|
|
+
|
|
|
|
+
|
|
InvocationInfoProxy.getInstance().setGroupId(SqlexecuteQuery("pk_group", "org_group", "code", json.getString("pk_group")));
|
|
InvocationInfoProxy.getInstance().setGroupId(SqlexecuteQuery("pk_group", "org_group", "code", json.getString("pk_group")));
|
|
InvocationInfoProxy.getInstance().setUserId(SqlexecuteQuery("cuserid", "sm_user", "user_code", json.getString("creator")));
|
|
InvocationInfoProxy.getInstance().setUserId(SqlexecuteQuery("cuserid", "sm_user", "user_code", json.getString("creator")));
|
|
|
|
|
|
@@ -106,7 +109,10 @@ public class TransformAddImpl extends BaseServlet implements IHttpServletAdaptor
|
|
|
|
|
|
ITransformMaitain itransform=(ITransformMaitain)NCLocator.getInstance().lookup(ITransformMaitain.class);
|
|
ITransformMaitain itransform=(ITransformMaitain)NCLocator.getInstance().lookup(ITransformMaitain.class);
|
|
itransform.insert(transformvos);
|
|
itransform.insert(transformvos);
|
|
- out.print(formatRSJsonData("³É¹¦","",vbillcode));
|
|
|
|
|
|
+ IPFBusiAction service = NCLocator.getInstance().lookup(IPFBusiAction.class);
|
|
|
|
+ service.processAction("APPROVE",
|
|
|
|
+ "4N", null, transformvos[0], null, null);
|
|
|
|
+ out.print(formatRSJsonData("³É¹¦","",vbillcode));
|
|
|
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
// TODO Auto-generated catch block
|
|
// TODO Auto-generated catch block
|