id,storage_location_code,storage_location_name,warehouse_where,storage_location_type,is_not_disable,storage_location_capacity,create_time
insert into tld_storage_location(storage_location_code,storage_location_name,warehouse_where,storage_location_type,is_not_disable,storage_location_capacity,create_time)
values(#{storageLocationCode},#{storageLocationName},#{warehouseWhere},#{storageLocationType},#{isNotDisable},#{storageLocationCapacity},DATE_FORMAT(NOW(), '%Y-%m-%d'))
delete from tld_storage_location where id = #{id}
update tld_storage_location
storage_location_code = #{storageLocationCode},
storage_location_name = #{storageLocationName},
warehouse_where = #{warehouseWhere},
storage_location_type = #{storageLocationType},
storage_location_capacity = #{storageLocationCapacity},
is_not_disable = #{isNotDisable},
where id = #{id}