|
|
@ -179,6 +179,9 @@ public class ProductionReturnServiceImpl implements ProductionReturnService { |
|
|
@Override |
|
|
@Override |
|
|
@org.springframework.transaction.annotation.Transactional(rollbackFor = Exception.class) |
|
|
@org.springframework.transaction.annotation.Transactional(rollbackFor = Exception.class) |
|
|
public List<String> productionReturnConfirm(DirectUnissueDto returnDto) throws Exception{ |
|
|
public List<String> productionReturnConfirm(DirectUnissueDto returnDto) throws Exception{ |
|
|
|
|
|
if(1==1){ |
|
|
|
|
|
throw new XJException("功能维护中,暂停使用"); |
|
|
|
|
|
} |
|
|
// 验证工单状态 |
|
|
// 验证工单状态 |
|
|
if (!validateWorkOrderStatus(returnDto.getWorkOrderNo(), returnDto.getSite())) { |
|
|
if (!validateWorkOrderStatus(returnDto.getWorkOrderNo(), returnDto.getSite())) { |
|
|
throw new XJException("工单状态不允许发料"); |
|
|
throw new XJException("工单状态不允许发料"); |
|
|
@ -398,6 +401,9 @@ public class ProductionReturnServiceImpl implements ProductionReturnService { |
|
|
@Override |
|
|
@Override |
|
|
@org.springframework.transaction.annotation.Transactional(rollbackFor = Exception.class) |
|
|
@org.springframework.transaction.annotation.Transactional(rollbackFor = Exception.class) |
|
|
public List<String> productionReturnUnissueConfirm(DirectUnissueDto returnDto) throws Exception{ |
|
|
public List<String> productionReturnUnissueConfirm(DirectUnissueDto returnDto) throws Exception{ |
|
|
|
|
|
if(1==1){ |
|
|
|
|
|
throw new XJException("功能维护中,暂停使用"); |
|
|
|
|
|
} |
|
|
// 验证工单状态 |
|
|
// 验证工单状态 |
|
|
if (!validateWorkOrderStatus(returnDto.getWorkOrderNo(), returnDto.getSite())) { |
|
|
if (!validateWorkOrderStatus(returnDto.getWorkOrderNo(), returnDto.getSite())) { |
|
|
throw new XJException("工单状态不允许发料"); |
|
|
throw new XJException("工单状态不允许发料"); |
|
|
|