如果这里没有这两个属性,返回的int值是影响的行数。如果加了这两个属性,会获取主键并赋值到keyProperty设置的领域模型属性中 ShippingMapper: Read More
posted @ 2018-03-08 16:38 虚极静笃 Views(1282) Comments(0) Diggs(0)
注意:new BigDecimal()的参数必须是String类型,否则还是会存在精度问题。 CartMapper: Read More
posted @ 2018-03-08 14:17 虚极静笃 Views(383) Comments(0) Diggs(0)