| | |
| | | import com.ruoyi.account.bean.dto.sales.SalesOutboundDto; |
| | | import com.ruoyi.account.bean.vo.sales.SalesOutboundVo; |
| | | import com.ruoyi.stock.dto.StockOutRecordDto; |
| | | import com.ruoyi.sales.dto.SalesLedgerDto; |
| | | import com.ruoyi.sales.pojo.SalesLedger; |
| | | import com.ruoyi.stock.execl.StockOutRecordExportData; |
| | | import com.ruoyi.stock.pojo.StockOutRecord; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | |
| | | */ |
| | | List<StockOutRecord> selectByRecordIds(@Param("recordIds") List<Long> recordIds, |
| | | @Param("recordType") String recordType); |
| | | |
| | | /** |
| | | * 油品出库可绑定的销售台账下拉。 |
| | | * |
| | | * <p>销售台账是被出库单引用的主数据,而 {@code sales_ledger} 不在 {@code IgnoreTableConfig.IGNORE_TABLES} |
| | | * 白名单里,按 create_user/dept_id 过滤会让油库/发货角色选不到销售建的台账,所以这里显式跳过数据权限。 |
| | | * 只读查询,且不按 ledgerType 过滤 —— 代储台账也要能绑(绑了走代储出库)</p> |
| | | */ |
| | | IPage<SalesLedger> bindableSalesLedgerPage(Page page, @Param("req") SalesLedgerDto salesLedgerDto); |
| | | } |