lxw
2022-08-25 6011a4686b2a2f7aa4c374cfd6f92a5138b3c518
物料分页模糊查询websocket修改
1个文件已修改
5 ■■■■■ 已修改文件
src/main/resources/mapper/MaterialMapper.xml 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/MaterialMapper.xml
@@ -183,8 +183,9 @@
    </select>
    <select id="selectMaterialProductHistory"  resultType="com.whyc.pojo.MaterialProductHistory">
        select DISTINCT tb_Material_product_history.*  FROM db_doc.tb_material_product_history,db_doc.tb_product
        where  tb_product.version=tb_Material_product_history.version
          and tb_product.id=tb_Material_product_history.product_id
        where  tb_product.version>=tb_Material_product_history.s_version and tb_product.version&lt;=tb_Material_product_history.e_version
          and tb_product.parent_code=tb_Material_product_history.parent_code
          and tb_product.custom_code=tb_Material_product_history.custom_code
          and tb_Material_product_history.material_id=#{id}
    </select>
    <select id="selectMaterialInProduct"  resultType="com.whyc.pojo.Product">