郑永安
2023-06-19 59e91a4e9ddaf23cebb12993c774aa899ab22d16
src/main/java/com/gk/firework/Mapper/ContractDetailInfoMapper.java
对比新文件
@@ -0,0 +1,29 @@
package com.gk.firework.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.firework.Domain.ContractDetailInfo;
import com.gk.firework.Domain.Vo.ProductVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
@Repository
public interface ContractDetailInfoMapper extends BaseMapper<ContractDetailInfo> {
    int deleteByPrimaryKey(Long id);
    ContractDetailInfo selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(ContractDetailInfo record);
    int updateByPrimaryKey(ContractDetailInfo record);
    void deleteByOrder(String ordercode);
    List<ProductVo> selectByOrder(String ordercode);
    void updateChangNum(String ordercode, String productCode, Integer returnNum);
    List<ContractDetailInfo> selectAllDetailAtSpecificDate(@Param("productCode")String productCode, @Param("producedate") Date producedate);
}