inspect-server/src/main/resources/mapper/RawInspectMapper.xml
@@ -56,6 +56,7 @@ <if test="name!=null and name!=''"> and name like concat('%',#{name},'%') </if> ORDER BY id DESC </select> <!--根据原材料检验单id查看详情--> @@ -115,4 +116,14 @@ and rp.state = 1 and r.id = #{id} </select> <!--根据原材料编码查询最近一条数据--> <select id="selOneByCode" resultType="com.yuanchu.mom.pojo.RawInspect"> select * from mom_ocean.raw_inspect where state = 1 and code = #{code} order by id desc limit 1 </select> </mapper>