外食计算

This commit is contained in:
xiezhijun
2021-02-23 18:53:29 +08:00
parent 9de0e2bffc
commit 20b7697ddc
8 changed files with 155 additions and 13 deletions

View File

@ -207,4 +207,10 @@
</foreach>
</delete>
<!-- 根据食材名称查询食材 -->
<select id="selectSysIngredientByName" parameterType="String" resultMap="SysIngredientResult">
select id,name,protein_ratio,fat_ratio,carbon_ratio from sys_ingredient
where name = #{name} limit 1
</select>
</mapper>