|
@@ -34,6 +34,7 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
+import java.util.LinkedList;
|
|
|
import java.util.List;
|
|
|
import java.util.Set;
|
|
|
import java.util.stream.Collectors;
|
|
@@ -279,6 +280,15 @@ public class ApsProductionOrderServiceImpl extends ServiceImpl<ApsProductionOrde
|
|
|
apsProductionMergeOrderDo.setTenantid(tenantId);
|
|
|
}
|
|
|
|
|
|
+ //=============发布排程================
|
|
|
+ List<String> productOrderIdList = new LinkedList<>();
|
|
|
+ productOrderIdList.add(apsProductionOrderDo.getId());
|
|
|
+ R publish = this.publish(productOrderIdList);
|
|
|
+ if (!publish.getCode().equals("200")) {
|
|
|
+ return R.error(publish.getMsg());
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
return R.ok();
|
|
|
}
|
|
|
|