zss
2023-07-20 65fd581bef13be2380e481cc341b81c58a061a4a
standard-server/src/main/resources/mapper/ProductMapper.xml
@@ -7,4 +7,11 @@
        where material_id = #{material_id}
        and state = 1
    </select>
    <select id="getProductInformation" parameterType="integer" resultType="map">
        SELECT p.method, ifnull(null, p.father) projectClassification, p.user_id, date_format(p.update_time, '%Y-%m-%d %H:%i:%s') updateTime,
               p.unit, p.required, p.internal
        FROM product p
        where p.id = #{productId}
    </select>
</mapper>