|
@@ -66,14 +66,9 @@ public class ApsProductDetailServiceImpl extends ServiceImpl<ApsProductDetailDao
|
|
|
@Override
|
|
|
public R getCustomOrderData(Map<String, Object> params) {
|
|
|
R r = new R();
|
|
|
- String curtenantid = params.get("CURTENANTID").toString();
|
|
|
+// String curtenantid = params.get("CURTENANTID").toString();
|
|
|
List<String> orderNos = new ArrayList<>();
|
|
|
orderNos.add(params.get("CUSTOMORDERNO").toString());
|
|
|
- List<ApsProductionOrderDo> apsProductionOrderDos = apsProductDetailDao.getProductionOrders(curtenantid, orderNos);
|
|
|
- if (apsProductionOrderDos.size() > 0) {
|
|
|
- return R.error("该客户订单已经存在");
|
|
|
- }
|
|
|
-
|
|
|
List<VNcOrderVo> vNcOrderVos = slaveSourceService.getVNcOrderVo(orderNos);
|
|
|
if (vNcOrderVos.size() == 0) {
|
|
|
return R.error("客户订单系统没有找到该订单");
|