package com.dk.mdm.mapper.ivt; import com.dk.common.mapper.BaseMapper; import com.dk.mdm.model.pojo.ivt.Inbound; import com.dk.mdm.model.query.ivt.InboundQuery; import com.dk.mdm.model.response.ivt.InboundResponse; import com.dk.mdm.model.response.pur.PurchaseResponse; import org.apache.ibatis.annotations.Param; 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 : 根据条件进行查询(数量) * @author : 于继渤 * @date : 2024/2/26 10:36 */ Long selectInboundAndItemCountByCond(InboundQuery inboundQuery); /** * @desc : 根据id查询 * @date : 2024/3/9 9:14 * @author : 寇珊珊 */ InboundResponse selectById(@Param("intoId") String intoId); /** * @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); }