|
|
@ -66,6 +66,7 @@ import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivabl |
|
|
|
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedFeign; |
|
|
|
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.FinUncollectedReceivablesDetailed; |
|
|
|
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.FinUncollectedReceivablesDetailedFeign; |
|
|
|
import com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.StateQuery; |
|
|
|
import com.yxt.anrui.flowable.api.flow.FlowableFeign; |
|
|
|
import com.yxt.anrui.flowable.api.flow.UpdateFlowFieldVo; |
|
|
|
import com.yxt.anrui.flowable.api.flow2.FlowFeign; |
|
|
@ -616,12 +617,17 @@ public class BusSalesOrderReturnVehApplyService extends MybatisBaseService<BusSa |
|
|
|
busSalesOrderService.updateById(salesOrder); |
|
|
|
} |
|
|
|
} |
|
|
|
//修改应收未收款项表中的款项状态为02作废
|
|
|
|
/* if (!vehicleList.isEmpty()) { |
|
|
|
//-------修改应收未收款项表中的款项状态为02作废------------
|
|
|
|
StateQuery stateQuery = new StateQuery(); |
|
|
|
List<String> busVinSidListState = new ArrayList<>(); |
|
|
|
if (!vehicleList.isEmpty()) { |
|
|
|
vehicleList.stream().forEach(v -> { |
|
|
|
|
|
|
|
busVinSidListState.add(v.getSid()); |
|
|
|
}); |
|
|
|
}*/ |
|
|
|
stateQuery.setKxState("02"); |
|
|
|
stateQuery.setBusVinSid(busVinSidListState); |
|
|
|
ResultBean updateStateResultBean = finUncollectedReceivablesDetailedFeign.updateKxState(stateQuery); |
|
|
|
} |
|
|
|
} |
|
|
|
return rb.success().setData(resultBean.getData()); |
|
|
|
} else { |
|
|
|