集成悟动ERP审批流并添加相关链接
- 在采购订单、零售出库单、销售订单和库存调整单的审批通知中添加ERP系统链接 - 重构相关服务类以支持新增的链接信息 - 更新pom文件,添加xingyun-template依赖
This commit is contained in:
parent
9173abf1d3
commit
128b28e62f
|
@ -22,5 +22,9 @@
|
||||||
<groupId>com.lframework</groupId>
|
<groupId>com.lframework</groupId>
|
||||||
<artifactId>xingyun-basedata</artifactId>
|
<artifactId>xingyun-basedata</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.lframework</groupId>
|
||||||
|
<artifactId>xingyun-template</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package com.lframework.xingyun.sc.controller.ydool;
|
package com.lframework.xingyun.sc.controller.ydool;
|
||||||
|
|
||||||
import com.lframework.starter.web.annotations.OpenApi;
|
import com.lframework.starter.web.annotations.OpenApi;
|
||||||
|
import com.lframework.starter.web.common.security.AbstractUserDetails;
|
||||||
|
import com.lframework.starter.web.common.utils.ApplicationUtil;
|
||||||
import com.lframework.starter.web.controller.DefaultBaseController;
|
import com.lframework.starter.web.controller.DefaultBaseController;
|
||||||
import com.lframework.starter.web.resp.InvokeResult;
|
import com.lframework.starter.web.resp.InvokeResult;
|
||||||
import com.lframework.starter.web.resp.InvokeResultBuilder;
|
import com.lframework.starter.web.resp.InvokeResultBuilder;
|
||||||
|
@ -9,6 +11,9 @@ import com.lframework.xingyun.sc.bo.purchase.GetPurchaseOrderBo;
|
||||||
import com.lframework.xingyun.sc.dto.purchase.PurchaseOrderFullDto;
|
import com.lframework.xingyun.sc.dto.purchase.PurchaseOrderFullDto;
|
||||||
import com.lframework.xingyun.sc.service.purchase.PurchaseOrderService;
|
import com.lframework.xingyun.sc.service.purchase.PurchaseOrderService;
|
||||||
import com.lframework.xingyun.sc.vo.ydool.YdoolApproveOrderVo;
|
import com.lframework.xingyun.sc.vo.ydool.YdoolApproveOrderVo;
|
||||||
|
import com.lframework.xingyun.template.inner.controller.AuthController;
|
||||||
|
import com.lframework.xingyun.template.inner.dto.LoginDto;
|
||||||
|
import com.lframework.xingyun.template.inner.impl.UserDetailsService;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiImplicitParam;
|
import io.swagger.annotations.ApiImplicitParam;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
|
|
@ -676,6 +676,7 @@ public class PurchaseOrderServiceImpl extends BaseMpServiceImpl<PurchaseOrderMap
|
||||||
.set("audit_person_ids", "120,262")
|
.set("audit_person_ids", "120,262")
|
||||||
.set("push_person_ids", "120,262")
|
.set("push_person_ids", "120,262")
|
||||||
.set("remark", bo.getDescription())
|
.set("remark", bo.getDescription())
|
||||||
|
.set("url","https://erp.fpvone.cn/#/purchasedet/"+id)
|
||||||
.set("ghd_goodlist_info", list);
|
.set("ghd_goodlist_info", list);
|
||||||
|
|
||||||
String jsonString = JSONObject.toJSONString(dict);
|
String jsonString = JSONObject.toJSONString(dict);
|
||||||
|
|
|
@ -732,6 +732,7 @@ public class RetailOutSheetServiceImpl extends
|
||||||
.set("audit_person_ids", "120,262")
|
.set("audit_person_ids", "120,262")
|
||||||
.set("push_person_ids", "120,262")
|
.set("push_person_ids", "120,262")
|
||||||
.set("remark", bo.getDescription())
|
.set("remark", bo.getDescription())
|
||||||
|
.set("url","https://erp.fpvone.cn/#/retaildetail/"+id)
|
||||||
.set("ghd_goodlist_info", list);
|
.set("ghd_goodlist_info", list);
|
||||||
|
|
||||||
String jsonString = JSONObject.toJSONString(dict);
|
String jsonString = JSONObject.toJSONString(dict);
|
||||||
|
|
|
@ -637,6 +637,7 @@ public class SaleOrderServiceImpl extends BaseMpServiceImpl<SaleOrderMapper, Sal
|
||||||
.set("audit_person_ids", "120,262")
|
.set("audit_person_ids", "120,262")
|
||||||
.set("push_person_ids", "120,262")
|
.set("push_person_ids", "120,262")
|
||||||
.set("remark", result.getDescription())
|
.set("remark", result.getDescription())
|
||||||
|
.set("url","https://erp.fpvone.cn/#/saledetail/"+id)
|
||||||
.set("ghd_goodlist_info", list);
|
.set("ghd_goodlist_info", list);
|
||||||
String jsonString = JSONObject.toJSONString(dict);
|
String jsonString = JSONObject.toJSONString(dict);
|
||||||
String json = HttpUtil.post("https://nb.ydool.com/api/ydoolerp/erp_ajax.ashx/send_xs", jsonString);
|
String json = HttpUtil.post("https://nb.ydool.com/api/ydoolerp/erp_ajax.ashx/send_xs", jsonString);
|
||||||
|
|
|
@ -535,6 +535,7 @@ public class StockAdjustSheetServiceImpl extends
|
||||||
.set("audit_person_ids", "120,262")
|
.set("audit_person_ids", "120,262")
|
||||||
.set("push_person_ids", "120,262")
|
.set("push_person_ids", "120,262")
|
||||||
.set("remark", bo.getDescription())
|
.set("remark", bo.getDescription())
|
||||||
|
.set("url","https://erp.fpvone.cn/#/stockdetail/"+id)
|
||||||
.set("ghd_goodlist_info", list);
|
.set("ghd_goodlist_info", list);
|
||||||
|
|
||||||
String jsonString = JSONObject.toJSONString(dict);
|
String jsonString = JSONObject.toJSONString(dict);
|
||||||
|
|
Loading…
Reference in New Issue