Browse Source

[fix]

品质管理 品质单
新增根据入库单号和物料号查询品质单详情mapper方法;
dev
王晓迪 2 months ago
parent
commit
c3e0362d44
  1. 4
      ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java
  2. 6
      ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml

4
ruoyi-admin/src/main/java/com/ruoyi/quality/mapper/QualityOrderDetailMapper.java

@ -108,4 +108,8 @@ public interface QualityOrderDetailMapper
* 查询委内加工品质单开始品质 物料相关信息
*/
List<QualityOrderDetail> selectMakeInOrderDetailListByCode(String qualityOrderCode);
// 根据入库单号和物料号查询品质单详情
QualityOrderDetail selectQualityOrderDetailByStorageCodeAndno(QualityOrderDetail qualityOrderDetail);
}

6
ruoyi-admin/src/main/resources/mapper/quality/QualityOrderDetailMapper.xml

@ -274,4 +274,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update quality_order_detail set del_flag = '0' where quality_order_detail_id = #{qualityOrderDetailId}
</update>
<select id="selectQualityOrderDetailByStorageCodeAndno" parameterType="QualityOrderDetail" resultMap="QualityOrderDetailResult">
<include refid="selectQualityOrderDetailVo"/>
where material_no = #{materialNo}
and in_storage_code = #{inStorageCode}
</select>
</mapper>
Loading…
Cancel
Save