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,is_product,modify_user,modify_time)
values(#{storageLocationCode},#{storageLocationName},#{warehouseWhere},#{storageLocationType},#{isNotDisable},#{storageLocationCapacity},NOW(),#{isProduct},#{modifyUser},NOW())
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},
is_product = #{isProduct},
modify_user = #{modifyUser},modify_time=now(),
where id = #{id}