From a07b4b6ff1c98dcf81338bb45d59308db7c058a9 Mon Sep 17 00:00:00 2001 From: 李旭东 <woaiguo66@sina.com> Date: 星期五, 03 十一月 2023 17:18:56 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/pipeoutplan/mapper/PipeOutPlanMapper.java | 83 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 0 deletions(-) diff --git a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/pipeoutplan/mapper/PipeOutPlanMapper.java b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/pipeoutplan/mapper/PipeOutPlanMapper.java new file mode 100644 index 0000000..c6d8ae4 --- /dev/null +++ b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/pipeoutplan/mapper/PipeOutPlanMapper.java @@ -0,0 +1,83 @@ +package com.thhy.materials.modules.biz.pipeoutplan.mapper; + +import com.thhy.materials.modules.biz.pipeoutplan.entity.PipeOutPlanEntity; +import com.thhy.materials.modules.biz.pipeoutplan.entity.PipeOutPlanMothEntity; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; +import java.util.Map; + +/** + * @Author QiuYuHao + * @CreateDate 2023-11-03 9:41:37 + * 发运计划mapper + */ +@Mapper +public interface PipeOutPlanMapper { + + /** + * 新增发运计划表 + * @param pipeOutPlanEntity + */ + void insert(PipeOutPlanEntity pipeOutPlanEntity); + + /** + * 新增发运计划月数表 + * @param pipeOutPlanMothEntity + */ + void insertMoth(PipeOutPlanMothEntity pipeOutPlanMothEntity); + + /** + * 删除发运计划表 + * @param pipeNeedId + */ + void delete(String pipeNeedId); + + /** + * 删除发运计划月数表 + * @param pipeNeedId + */ + void deleteMoth(String pipeNeedId); + + /** + * 更新发运计划表 + * @param pipeOutPlanEntity + */ + void update(PipeOutPlanEntity pipeOutPlanEntity); + + /** + * 查询单条发运计划表 + * @param pipeNeedId + * @return + */ + PipeOutPlanEntity selectInfo(String pipeNeedId); + + PipeOutPlanEntity selectInfoByProIdAndYear( + @Param("proId") String proId, + @Param("planYear") Integer year); + + /** + * 查询发运计划列表 + * @param map + * @return + */ + List<PipeOutPlanEntity> findAll(Map<String,Object> map); + + /** + * 查询发运计划月数表 + * @param pipeNeedId + * @return + */ + List<PipeOutPlanMothEntity> findMothList(String pipeNeedId); + + /** + * 查询每月数量 + * @param proId + * @param year + * @return + */ + List<PipeOutPlanMothEntity> findMothListByProIdAndYear(@Param("proId") String proId, + @Param("year") String year, + @Param("planOutId") String planOutId); +} -- Gitblit v1.9.3