智慧农业后台管理
guoshilong
2022-09-09 8b36859fbe464c43fbfb8b2e8ef9ba4327d2d041
src/main/java/org/springblade/modules/processInv/mapper/ProcessInvMapper.xml
@@ -38,13 +38,13 @@
    <select id="selectBySPId" resultType="org.springblade.modules.processInv.entity.ProcessInv">
        SELECT id,strain_id,product_id,product_inventory_num,create_time,update_user,update_time,status,is_deleted
        FROM sys_process_inv
        WHERE is_deleted = 0 AND strain_id = #{strainId} AND product_id = #{productId}
        WHERE is_deleted = 0 AND strain_id = #{strainId} AND product_id = #{productId} AND fps_id = #{fpsId}
    </select>
    <select id="selectBySFId" resultType="org.springblade.modules.processInv.entity.ProcessInv">
        SELECT id,strain_id,product_id,product_inventory_num,create_time,update_user,update_time,status,is_deleted
        FROM sys_process_inv
        WHERE is_deleted = 0 AND strain_id = #{strainId} AND product_id = #{fpsId}
        WHERE is_deleted = 0 AND strain_id = #{strainId} AND fps_id = #{fpsId}
    </select>
    <insert id="add">