业务流转bug修改

master
郑明梁 2 years ago
parent 2a9afbd600
commit cf1ad41f30

@ -436,10 +436,10 @@ public class IoPurChangeService {
ioOrderEntity.setAction(basicBusTypeChangeEntity.getTargetAction()); ioOrderEntity.setAction(basicBusTypeChangeEntity.getTargetAction());
ioOrderEntity.setFromCorp(m.getKey()); ioOrderEntity.setFromCorp(m.getKey());
ioOrderEntity.setFromType(ConstantStatus.FROM_Order); ioOrderEntity.setFromType(ConstantStatus.FROM_Order);
if(basicBusTypeChangeEntity.getAuditStatus()==0){ if(basicBusTypeChangeEntity.getAuditStatus()==1){
ioOrderEntity.setStatus(ConstantStatus.ORDER_STATUS_TEMP_SAVE); ioOrderEntity.setStatus(ConstantStatus.ORDER_STATUS_TEMP_SAVE);
ioOrderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_TEMP_SAVE); ioOrderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_TEMP_SAVE);
}else if(basicBusTypeChangeEntity.getAuditStatus()==1){ }else if(basicBusTypeChangeEntity.getAuditStatus()==2){
ioOrderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK); ioOrderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK);
ioOrderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_PROCESS); ioOrderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_PROCESS);
} }

Loading…
Cancel
Save