diff --git a/ghy-custom/src/main/resources/mapper/customer/CustomerAddressMapper.xml b/ghy-custom/src/main/resources/mapper/customer/CustomerAddressMapper.xml index cdbeedff..e8d423bb 100644 --- a/ghy-custom/src/main/resources/mapper/customer/CustomerAddressMapper.xml +++ b/ghy-custom/src/main/resources/mapper/customer/CustomerAddressMapper.xml @@ -72,16 +72,16 @@ remark, create_time )values( - ${customerId}, - ${name}, - ${phone}, - ${provinceId}, - ${cityId}, - ${countryId}, - ${status}, - ${isDefault}, - ${createBy}, - ${remark}, + #{customerId}, + #{name}, + #{phone}, + #{provinceId}, + #{cityId}, + #{countryId}, + #{status}, + #{isDefault}, + #{createBy}, + #{remark}, sysdate() ) @@ -89,11 +89,11 @@ update costomer_address - name = ${name}, - phone = ${phone}, - province_id = ${provinceId}, - city_id = ${cityId}, - country_id = ${countryId}, + name = #{name}, + phone = #{phone}, + province_id = #{provinceId}, + city_id = #{cityId}, + country_id = #{countryId}, address = #{address}, is_default = #{isDefault}, status = #{status},