李林
2023-07-20 35c5447197f7a2341f21ecc2555d0b5ed4c7513a
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>