2023-02-22 15:59:13 +08:00
|
|
|
package com.cnbm.packing.mapper;
|
2023-03-17 12:39:56 +08:00
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
2023-03-06 11:24:16 +08:00
|
|
|
import com.cnbm.packing.dto.PowerReportDTO;
|
2023-03-07 10:27:24 +08:00
|
|
|
import com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO;
|
2023-03-06 11:24:16 +08:00
|
|
|
import com.cnbm.packing.param.PowerReportQueryParam;
|
2023-03-17 12:39:56 +08:00
|
|
|
import com.cnbm.packing.param.SubIdQueryParam;
|
|
|
|
import com.cnbm.packing.vo.SubIdPageVo;
|
2023-02-23 14:28:05 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
2023-02-22 15:59:13 +08:00
|
|
|
|
|
|
|
import com.cnbm.common.dao.BaseDao;
|
|
|
|
import com.cnbm.packing.entity.WoPackagingBoxSubstrate;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
2023-03-06 11:24:16 +08:00
|
|
|
import java.time.LocalDateTime;
|
|
|
|
import java.util.List;
|
2023-03-16 09:55:43 +08:00
|
|
|
import java.util.Map;
|
2023-03-06 11:24:16 +08:00
|
|
|
|
2023-02-22 15:59:13 +08:00
|
|
|
/**
|
|
|
|
* 包装箱基板关联表
|
|
|
|
*
|
|
|
|
* @author codeGenerator
|
|
|
|
* @since 2023-02-16
|
|
|
|
*/
|
|
|
|
@Mapper
|
|
|
|
public interface WoPackagingBoxSubstrateMapper extends BaseDao<WoPackagingBoxSubstrate> {
|
2023-02-23 14:28:05 +08:00
|
|
|
WoPackagingBoxSubstrate getOneByWoSubstrateId(@Param("woSubstrateId") String woSubstrateId);
|
|
|
|
|
2023-03-03 14:33:18 +08:00
|
|
|
|
|
|
|
int updatePackagingBoxIdAndSlotByWoSubstrateId(@Param("packagingBoxId") String packagingBoxId, @Param("slot") Integer slot, @Param("woSubstrateId") String woSubstrateId);
|
2023-03-06 11:24:16 +08:00
|
|
|
|
|
|
|
List<PowerReportDTO> powerReport(@Param("queryParam") PowerReportQueryParam queryParam);
|
|
|
|
List<String> orderNameList();
|
2023-03-07 10:27:24 +08:00
|
|
|
|
2023-03-16 09:55:43 +08:00
|
|
|
List<WoPackagingBoxSubstrateDTO> substrateList(Map<String, Object> params);
|
2023-03-07 10:27:24 +08:00
|
|
|
List<WoPackagingBoxSubstrateDTO> substrateList(@Param("woSubstrateId") String woSubstrateId);
|
2023-03-17 12:39:56 +08:00
|
|
|
|
|
|
|
IPage<SubIdPageVo> subIdPage(Page<?> page, @Param("param") SubIdQueryParam param);
|
2023-03-03 14:33:18 +08:00
|
|
|
}
|