|
|
@ -138,6 +138,7 @@ import com.yxt.anrui.fin.api.fincompanyinvoicing.FinCompanyInvoicingDetailsVo; |
|
|
|
import com.yxt.anrui.fin.api.fincompanyinvoicing.FinCompanyInvoicingFeign; |
|
|
|
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.fin.api.finuncollectedreceivablesdetailed.UnCollectionDto; |
|
|
|
import com.yxt.anrui.flowable.api.flow.FlowSelectVo; |
|
|
|
import com.yxt.anrui.flowable.api.flow.FlowableFeign; |
|
|
@ -1731,6 +1732,19 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
//将应收未收中的订金设置为作废
|
|
|
|
//-------修改应收未收款项表中的款项状态为02作废------------
|
|
|
|
List<BusSalesOrderVehicle> vehicleList = busSalesOrderVehicleService.selectListByOrderSid(query.getBusinessSid()); |
|
|
|
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.setMsg("操作失败!提交的数据不一致!"); |
|
|
|
} |
|
|
|