fix(入库计划明细实体): 增加根据入库计划明细ID查询
This commit is contained in:
parent
5eb96ee45b
commit
65969a44ec
@ -19,6 +19,13 @@ public interface WmsInPlanDetailEntityMapper
|
||||
*/
|
||||
public WmsInPlanDetailEntity selectWmsInPlanDetailEntityById(Long id);
|
||||
|
||||
/**
|
||||
* 根据入库计划明细 id查询
|
||||
* @param id 入库计划明细主键
|
||||
* @return 入库计划明细实体
|
||||
*/
|
||||
public WmsInPlanDetailEntity selectWmsInPlanDetailEntityByPlanDetailsId(Long id);
|
||||
|
||||
/**
|
||||
* 查询入库计划明细实体列表
|
||||
*
|
||||
|
@ -19,6 +19,14 @@ public interface IWmsInPlanDetailEntityService
|
||||
*/
|
||||
public WmsInPlanDetailEntity selectWmsInPlanDetailEntityById(Long id);
|
||||
|
||||
/**
|
||||
* 根据入库计划明细ID 查询入库计划明细实体
|
||||
*
|
||||
* @param id 入库计划明细主键
|
||||
* @return 入库计划明细实体
|
||||
*/
|
||||
public WmsInPlanDetailEntity selectWmsInPlanDetailEntityByPlanDetailsId(Long id);
|
||||
|
||||
/**
|
||||
* 查询入库计划明细实体列表
|
||||
*
|
||||
|
@ -32,6 +32,17 @@ public class WmsInPlanDetailEntityServiceImpl implements IWmsInPlanDetailEntityS
|
||||
return wmsInPlanDetailEntityMapper.selectWmsInPlanDetailEntityById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据入库计划明细ID 查询入库计划明细实体
|
||||
*
|
||||
* @param id 入库计划明细主键
|
||||
* @return 入库计划明细实体
|
||||
*/
|
||||
@Override
|
||||
public WmsInPlanDetailEntity selectWmsInPlanDetailEntityByPlanDetailsId(Long id) {
|
||||
return wmsInPlanDetailEntityMapper.selectWmsInPlanDetailEntityByPlanDetailsId(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询入库计划明细实体列表
|
||||
*
|
||||
|
@ -52,6 +52,11 @@
|
||||
where ID = #{id}
|
||||
</select>
|
||||
|
||||
<select id="selectWmsInPlanDetailEntityByPlanDetailsId" parameterType="Long" resultMap="WmsInPlanDetailEntityResult">
|
||||
<include refid="selectWmsInPlanDetailEntityVo"/>
|
||||
where PLAN_DETAILS_ID = #{planDetailsId}
|
||||
</select>
|
||||
|
||||
<insert id="insertWmsInPlanDetailEntity" parameterType="WmsInPlanDetailEntity" useGeneratedKeys="true"
|
||||
keyProperty="id">
|
||||
insert into WMS_IN_PLAN_DETAIL_ENTITY
|
||||
|
Loading…
Reference in New Issue
Block a user