Commit 8b435bb5 authored by duanruiming's avatar duanruiming

[update] 添加通过编码查询厂商信息

parent 773b2eeb
......@@ -28,4 +28,5 @@ public interface ManufacturerInfoMapper {
Integer selectIdByNick(@Param("manufacturerNick") String manufacturerNick);
String selectNickById(@Param("manufacturerId") Integer manufacturerId);
Integer selectIdByCode(@Param("code") String code);
}
......@@ -86,4 +86,9 @@
select nick_name from t_manufacturer_info
where id = #{manufacturerId}
</select>
<select id="selectIdByCode" resultType="java.lang.Integer">
select id from t_manufacturer_info
where code = #{code}
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment