| | |
| | | WHERE shopping_goods_id = #{shoppingGoodsId} |
| | | </update> |
| | | |
| | | <select id="selectGoodsRelationGoodsList" resultType="com.matrix.system.app.vo.ShoppingGoodsDetailVo"> |
| | | select |
| | | b.name goodsName, |
| | | b.measure measure, |
| | | b.volume volume |
| | | from shopping_goods_assemble a |
| | | inner join shopping_goods b on a.assembleGoodId=b.id |
| | | where a.shopping_goods_id=#{goodsId} |
| | | <if test="goodsType!= null and goodsType != ''"> |
| | | and b.good_type=#{goodsType} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | <select id="selectProjIdNotNull" resultType="ShoppingGoodsAssemble"> |
| | | select * from shopping_goods_assemble where assemble_proj_id is not null |
| | | </select> |
| | | |
| | | <select id="selectProjInfoById" resultType="java.util.HashMap"> |
| | | select * from sys_proj_info where id=#{id} |
| | | </select> |
| | | </mapper> |