zss
2023-07-26 f330903e12d38af89d61f16c96856924d241a0f2
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>