| | |
| | | </select> |
| | | <select id="selectSoftWares" resultType="com.whyc.pojo.Software"> |
| | | select DISTINCT tb_software.* FROM tb_software |
| | | where apply_material_code=#{subCode} |
| | | where apply_material_code=#{subCode} and lock_flag=0 |
| | | </select> |
| | | <select id="selectMaterial" resultType="com.whyc.pojo.Material"> |
| | | select DISTINCT tb_Material.* FROM tb_Material,tb_material_product_history |
| | |
| | | |
| | | <select id="selectSoftware" resultType="com.whyc.pojo.Software"> |
| | | select DISTINCT tb_software.* FROM tb_software |
| | | where apply_material_code=#{parentCode} |
| | | where apply_material_code=#{parentCode} and lock_flag=0 |
| | | </select> |
| | | <select id="getBomListByProductIdAndSubVersion" resultMap="Map_ProductBomHistory"> |
| | | <!--SELECT h.product_id,h.material_id,h.quantity,m.*--> |