package com.dk.mdm.mapper.ivt; import com.dk.mdm.model.pojo.ivt.Inbound; import com.dk.common.mapper.BaseMapper; import com.dk.mdm.model.pojo.ivt.InboundItem; import com.dk.mdm.model.query.ivt.InboundQuery; import com.dk.mdm.model.query.pur.PurchaseQuery; import com.dk.mdm.model.response.ivt.InboundResponse; import com.dk.mdm.model.response.mst.DictionaryDataResponse; import com.dk.mdm.model.response.pur.PurchaseResponse; import org.springframework.stereotype.Repository; import java.util.List; /** * 入库单 Mapper */ @Repository public interface InboundMapper extends BaseMapper{ /** * @desc : 根据条件进行查询 * @author : 于继渤 * @date : 2024/2/26 10:36 */ List selectInboundAndItem(InboundQuery inboundQuery); /** * @desc : 根据id查询入库单 及其明细 * @author : 王英杰 * @date : 2024/3/08 10:36 */ InboundResponse selectInboundAndItemById(InboundQuery inboundQuery); /** * @desc : 根据条件进行查询(数量) * @author : 于继渤 * @date : 2024/2/26 10:36 */ Long selectInboundAndItemCountByCond(InboundQuery inboundQuery); /** * @desc : 修改金额数量 * @author : 于继渤 * @date : 2024/2/26 10:36 */ int updateAmount(Inbound inbound); /** * @desc : 条件查询 (采购入库用) * @author : 王英杰 * @date : 2024/3/8 10:58 */ List selectByCond(InboundQuery inboundQuery); /** * @desc : 条件查询个数 (采购入库用) * @author : 王英杰 * @date : 2024/3/8 10:58 */ Long countByCond(InboundQuery inboundQuery); }