修正生产报工的报错提示
This commit is contained in:
parent
2be50e2a9a
commit
b56042a9ac
@ -327,10 +327,9 @@ public class ShopOrderStatisticTransController {
|
||||
// 处理ERP返回的报文
|
||||
invokeResponse = updateMaterialConsumption(invokeResponse.getObjectResponse(), srcList, invokeResponse);
|
||||
} catch (Exception e) {
|
||||
throw BusinessException.build(e.getMessage());
|
||||
} finally {
|
||||
// 保存日志
|
||||
saveLogData(invokeRequest, invokeResponse);
|
||||
// 不用回滚,将错误抛出
|
||||
invokeResponse.setResult("E");
|
||||
invokeResponse.setMessageContent(e.getMessage());
|
||||
}
|
||||
}
|
||||
if ("E".equals(invokeResponse.getResult())) {
|
||||
@ -460,10 +459,9 @@ public class ShopOrderStatisticTransController {
|
||||
// 处理ERP返回的报文
|
||||
invokeResponse = updateLotComplete(invokeResponse.getObjectResponse(), srcList, invokeResponse);
|
||||
} catch (Exception e) {
|
||||
throw BusinessException.build(e.getMessage());
|
||||
} finally {
|
||||
// 保存日志
|
||||
saveLogData(invokeRequest, invokeResponse);
|
||||
// 不用回滚,将错误抛出
|
||||
invokeResponse.setResult("E");
|
||||
invokeResponse.setMessageContent(e.getMessage());
|
||||
}
|
||||
}
|
||||
if ("E".equals(invokeResponse.getResult())) {
|
||||
|
||||
@ -25,7 +25,6 @@ import lombok.AllArgsConstructor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user