生产工序代码

This commit is contained in:
liuzhaotian
2024-04-26 16:52:47 +08:00
parent ff14836e10
commit 7db670ad0d
2 changed files with 14 additions and 2 deletions
@@ -74,4 +74,6 @@ public interface OrderItemMapper extends BaseMapperX<OrderItemDO> {
void insertPartsId(@Param("packId") Long packId, @Param("addPartsIdList") List<Long> addPartsIdList); void insertPartsId(@Param("packId") Long packId, @Param("addPartsIdList") List<Long> addPartsIdList);
String selectBodyName(@Param("plateId") Long plateId);
} }
@@ -302,7 +302,6 @@
<update id="deleteOrderPack"> <update id="deleteOrderPack">
UPDATE order_item oi UPDATE order_item oi
@@ -400,4 +399,15 @@
</update> </update>
<select id="selectBodyName" resultType="java.lang.String" parameterType="java.lang.Long">
select ob.room_name
from order_item oi
join order_body ob on oi.body_id = ob.id
where oi.plate_id = #{plateId};
</select>
</mapper> </mapper>