Appearance
#{}计算参数
用在SQL条件语句
列表组件:
注意,1.0和2.0写法不同: 1.0:
select * from hd_sys_machine_cc where machineName = '#{mName}'
2.0: select * from hd_sys_machine_cc where machineName = #{mName}
效果:
用于自动计算金额
数量: 单价:
总金额:
注意,1.0和2.0写法不同: 1.0: select '#{price}' * '#{num}' as total 2.0: select #{price} * #{num} as total 效果: