Merge remote-tracking branch 'origin/master'

orign^2
wws 1 year ago
commit e2a7281396

@ -95,6 +95,7 @@ public class ProOrderServiceImpl implements IProOrderService {
*/ */
@Override @Override
@DS("#header.poolName") @DS("#header.poolName")
@Transactional(rollbackFor = Exception.class)
public AjaxResult subSplitOrder(SplitOrderDTO splitOrderDTO) { public AjaxResult subSplitOrder(SplitOrderDTO splitOrderDTO) {
boolean checkout = true; boolean checkout = true;
// 校验批次编号是否存在(重复问题) // 校验批次编号是否存在(重复问题)

@ -225,7 +225,7 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
*/ */
@Override @Override
@DS("#header.poolName") @DS("#header.poolName")
//@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public int downProOrderWorkorderByWorkorderIds(String[] workorderIds) { public int downProOrderWorkorderByWorkorderIds(String[] workorderIds) {
List<SapCreateOrder> sapList = null;//回传给sap的工单 List<SapCreateOrder> sapList = null;//回传给sap的工单
//如果是白坯生成备料单 //如果是白坯生成备料单
@ -311,7 +311,7 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
R<List<Map<String, String>>> r = remoteSapService.SapCreateOrder(sapList); R<List<Map<String, String>>> r = remoteSapService.SapCreateOrder(sapList);
logger.info("sap工单回传" + r.getMsg()); logger.info("sap工单回传" + r.getMsg());
if (500 == r.getCode()) { if (500 == r.getCode()) {
logger.error("sap工单回传" + r.getMsg()); logger.error("sap工单回传(sap订单创建)" + r.getMsg());
return 0; return 0;
} }
List<Map<String, String>> returnMaps = r.getData(); List<Map<String, String>> returnMaps = r.getData();

Loading…
Cancel
Save