|
@@ -785,8 +785,7 @@ public class SaleRetreatOrderLogic {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void trialApproval(String id, String examineStatus, String approvalRemark) throws InterruptedException {
|
|
|
SalesOrder salesOrder = salesOrderService.getById(id);
|
|
|
- if (!salesOrder.getSyncStatus().equals(1))
|
|
|
- throw new RemoteServiceException("订单尚未同步,无法反审");
|
|
|
+
|
|
|
if (!salesOrder.getExamineStatus().equals(ExamineStatusEnum.OK.toString()))
|
|
|
throw new RemoteServiceException("此订单弃审,无法再次审批");
|
|
|
salesOrder.setExamineStatus(ExamineStatusEnum.WAIT.toString());
|